Commit Graph

1892 Commits

Author SHA1 Message Date
Eric Fischer
2528f77daa Add backslashes before apostrophes so they don't get lost.
This is required by another change I am about to submit that makes it
an error not to include the backslash, since it is inevitably a mistake
when someone fails to include it.
2009-09-01 15:42:46 -07:00
Android (Google) Code Review
b8b984d077 Merge change 23420 into eclair
* changes:
  ADT: change continuous test ant script to run both functional and unit tests.
2009-09-01 11:16:31 -07:00
Brett Chabot
60c6de766d ADT: change continuous test ant script to run both functional and unit tests. 2009-09-01 01:06:47 -07:00
Scott Main
38b43f9cda am 50992e80: docs only. add a homepage for the searchable dictionary sample app. and make all urls relative
Merge commit '50992e805e758e2231f28ec2127b57a1a9fd0ddc' into eclair

* commit '50992e805e758e2231f28ec2127b57a1a9fd0ddc':
  docs only.
2009-08-31 19:36:23 -07:00
Scott Main
50992e805e docs only.
add a homepage for the searchable dictionary sample app.
and make all urls relative
2009-08-31 15:22:28 -07:00
Mike LeBeau
7b818e955a am 67545123: Reinclude SearchableDictionary sample app as a demo of third party inclusion in Quick Search Box.
Merge commit '67545123a4188c714fbcf24e7fe1cf1f614b610c' into eclair

* commit '67545123a4188c714fbcf24e7fe1cf1f614b610c':
  Reinclude SearchableDictionary sample app as a demo of third party inclusion in Quick Search Box.
2009-08-28 10:53:53 -07:00
Mike LeBeau
83e2eae3fb Reinclude SearchableDictionary sample app as a demo of third party inclusion in Quick Search Box.
This reverts commit 3e83e8bc8b.
2009-08-28 10:42:04 -07:00
Mike LeBeau
67545123a4 Reinclude SearchableDictionary sample app as a demo of third party inclusion in Quick Search Box.
This reverts commit 3e83e8bc8b.
2009-08-28 10:35:46 -07:00
Dianne Hackborn
b8ff7ade69 Add sample of correctly requesting camera feature, optional shared lib.
Change-Id: I5697e70cedeba9de6458caf50a363057278a7387
2009-08-27 20:13:19 -07:00
Raphael
3a5851d125 ADT: GraphicalEditorPart is the new GLE2.
This CL represents the base for the new "Graphical Editor Part".

First, GLE2 has been renamed in GraphicalEditorPart. That's the
final name, I swear I won't change it again (until next month that is.)

The editor part has 3 composites: the top ConfigConfiguration
(same as usual, reused as-is), a new PaletteComposite and a new
LayoutCanavas. This last one displays the rendering image and
will deal with interactivity.

The LayoutCanvas is actually stacked with a label which displays
the rendering error. After a rendering, either the error or the
canvas is visible, depending on the success of the operation.
That would make it easier to have a different mechanism, for example
the error could be next to the last known rendering, they don't
have to be mutually exclusive.

It is worth noting that GraphicalEditorPart is 95% similar to
the GLE1, reusing all the glue code that we had to handle
layout requestes, refresh requests, sdk/framework load listeners,
configuration and file input changes, etc.

Both PaletteComposite and LayoutCanvas are currently embryonic
at best, just to make sure the editor part is structured correctly.

Change-Id: I36c2ae4d85a68e68a349adc63a718f06375e12c5
2009-08-27 09:52:49 -07:00
Brett Chabot
3befd76efa am aa1be08c: Merge change 22791 into donut
Merge commit 'aa1be08c90507e20c1ee78d0c7cbd4fa5c40a799' into eclair

* commit 'aa1be08c90507e20c1ee78d0c7cbd4fa5c40a799':
  Add test definition for cts-gesture.
2009-08-26 17:46:15 -07:00
Android (Google) Code Review
aa1be08c90 Merge change 22791 into donut
* changes:
  Add test definition for cts-gesture.
2009-08-26 17:44:09 -07:00
Xavier Ducrohet
0614664583 Make ApkBuilder create filenames supported by older rules.
'ant install' must know the debug apk filename so newer naming scheme breaks
on older rule files (1.5 and earlier).
The fix is to check for the presence of the property naming the debug,
signed, unaligned package. If the property is present, then we use
the new naming scheme ({base}[-{config}]-debug-unaligned.apk), else we use
the old one ({base}-[-{config}]-debug.apk).

Also merge the install/reinstall targets, since 'adb install -r <file>'
works even if the apk was not yet installed.

Change-Id: Id0670610a6539a3f48c955756955f950039c3cd0
2009-08-26 14:58:56 -07:00
Brett Chabot
08a3dc0d34 Add test definition for cts-gesture.
BUG 2048364

Change-Id: I71b2cc197a9f6809dfb863d919a7fdeae75bd411
2009-08-26 11:58:23 -07:00
Xavier Ducrohet
2328b4f3f5 am 3a92963b: Merge change 22652 into donut
Merge commit '3a92963bf3865330e89b3e7a66b66dd9cfc8792b' into eclair

* commit '3a92963bf3865330e89b3e7a66b66dd9cfc8792b':
  Cleanup SDK packaging: remove alias build files.
2009-08-26 11:41:53 -07:00
Xavier Ducrohet
e0c9ef3d67 am aa1abe87: (-s ours) Make ApkBuilder create filenames supported by older rules.
Merge commit 'aa1abe879a53e1d25b8a95f677a920938097f3c9' into eclair

* commit 'aa1abe879a53e1d25b8a95f677a920938097f3c9':
  Make ApkBuilder create filenames supported by older rules.
2009-08-26 11:41:50 -07:00
Android (Google) Code Review
3a92963bf3 Merge change 22652 into donut
* changes:
  Cleanup SDK packaging: remove alias build files.
2009-08-26 11:26:06 -07:00
Xavier Ducrohet
b908430652 Cleanup SDK packaging: remove alias build files. 2009-08-26 11:23:20 -07:00
Xavier Ducrohet
aa1abe879a Make ApkBuilder create filenames supported by older rules.
'ant install' must know the debug apk filename so newer naming scheme breaks
on older rule files (1.5 and earlier).
The fix is to check for the presence of the property naming the debug,
signed, unaligned package. If the property is present, then we use
the new naming scheme ({base}[-{config}]-debug-unaligned.apk), else we use
the old one ({base}-[-{config}]-debug.apk).

Also merge the install/reinstall targets, since 'adb install -r <file>'
works even if the apk was not yet installed.

DO NOT MERGE
2009-08-26 11:17:04 -07:00
Xavier Ducrohet
6e0e018751 Make sure older rules files can find the SDK Location.
Change-Id: Idb2463f07c233015927181e79955ae71e10dcb19
2009-08-25 18:17:07 -07:00
Android (Google) Code Review
2de4241074 Merge change 22697 into eclair
* changes:
  Ant clean target added
2009-08-25 17:27:37 -07:00
Piotr Gurgul
e2c37d4f44 Ant clean target added
Removes output files created by other targets.
2009-08-25 17:19:00 -07:00
Xavier Ducrohet
338bc1cc45 Move from arbitrary resource filters to fix ones
Resource filters are used when generating additional APK containing only
specific resources.
The previous UI allowed for any type of filters, but we are moving to a
simpler way with fixed filters.
The first one is the density. Selecting the filter will generate 4 APKs per
application: default (all resources), hdpi (only hdpi/nodpi and default
resources), mdpi, ldpi.
2009-08-25 17:17:15 -07:00
Android (Google) Code Review
68a7a11d24 Merge change 22676 into eclair
* changes:
  Ant properties names legacy support
2009-08-25 16:52:21 -07:00
Piotr Gurgul
3259661b26 Ant properties names legacy support
Support for old property names in SetupTask.java, in order to maintain
compatibility with Donut and earlier.
2009-08-25 16:48:17 -07:00
Raphael
b8a74f4551 ADT: Fix some potential NPE in the configuration composite.
This is just based on Eclipse static analysis of potential null pointers.
It doesn't mean we were ever going to have any NPE there.

Change-Id: I2a326048d2eb6afff7598f9300f48e35495ff3c2
2009-08-25 16:19:25 -07:00
Raphael
5837c3cc34 ADT: Tag classes with "@since GLE1"
This adds a @since GLE1 to all classes involved in the current GLE
and a @since GLE2 to the new classes. The idea is that both classes
are going to be mixed in the same packages and it will help later
to remove the old GLE by just searching for this specific tag.

The alternative would be to move the classes in a sub-package
layout.gle1 vs layout.gle2, but that seems unecessary.

Change-Id: I577cd81819db4c6e0209ebbd910a393fc2182619
2009-08-25 15:29:51 -07:00
Android (Google) Code Review
c216dea016 Merge change 22555 into eclair
* changes:
  ADT: Skeleton for GLE2.
2009-08-25 14:43:37 -07:00
Android (Google) Code Review
dfed3cda60 Merge change 22632 into eclair
* changes:
  Alias rules properties names update
2009-08-25 13:55:41 -07:00
Piotr Gurgul
9fccdf5b88 Alias rules properties names update
android-tools change to android.tools.dir
sdk-folder to sdk.dir
resource-dir to resource.dir
out-package to out.package
Some minor style changes introduced.
2009-08-25 10:59:55 -07:00
Mike Reed
1cafac5ce7 allow gamma change using Volume up/down 2009-08-25 13:47:03 -04:00
Android (Google) Code Review
1fd0534f48 Merge change 22569 into eclair
* changes:
  Ant properties names changed
2009-08-25 10:00:59 -07:00
Piotr Gurgul
2968aa3020 Ant properties names changed
application-package to application.package
sdk-location to sdk.dir
android-jar to android.jar
android-aidl to android.aidl
in order to make their names compliant with the ant standards and rest
of the property names.
Properties names in alias rules deliberately ommited in this CL.
Some minor style changes introduced.
2009-08-24 23:06:56 -07:00
Raphael
59aac85f63 ADT: Skeleton for GLE2.
This refactors the GLE base class into an interface, to make it
possible to not depend on GEF at all.

The GLE2 editor part displays and does nothing. It's just an empty shell.
To enable, setenv USE_GLE2 to anything. Unset to remove it.

Change-Id: I7a95b4a1a5a8ddf5a3f18acf7a04b1f9b3439655
2009-08-24 20:16:28 -07:00
Dianne Hackborn
945b236290 Update sample code for new service semantics. 2009-08-24 16:28:39 -07:00
Scott Main
1ef50a9d95 am 04680858: docs only. Add new web pages for sample apps included in the SDK. Revise the existing sample app web pages. Delete screenshots for notepad and lunar lander (these have moved into frameworks/base/docs/html/guide/samples/image/.
Merge commit '04680858a0671ad615f088edeea87b61ea243f24' into eclair

* commit '04680858a0671ad615f088edeea87b61ea243f24':
  docs only.
2009-08-24 16:20:14 -07:00
Scott Main
04680858a0 docs only.
Add new web pages for sample apps included in the SDK.
Revise the existing sample app web pages.
Delete screenshots for notepad and lunar lander (these have
moved into frameworks/base/docs/html/guide/samples/image/.
2009-08-24 15:27:00 -07:00
Andrew Stadler
0dd6085f0d Remove IM sources which no longer build. 2009-08-24 14:47:39 -07:00
Piotr Gurgul
424b833edf Updated build.xml template
build.template file has been updated to make it up-to-date with new
android_rules.xml file. Besides, some minor style changes have been introduced.
2009-08-22 14:45:00 -07:00
Piotr Gurgul
832c859693 Refactoring of android_rules.xml file
This is a new CL because of merge conflict in the old one.
Naming changed to 'property.name' style for property names.
Property 'value' attributes changed to 'location' for props containing location.
Suffix '.dir' added to properties' names indicating directories.
'-description' prefix added to intermediate/internal targets.
'*.location' properties removed, as 'location' attribute should take care of
full paths, adding $basedir implicitly, so hopefully there is no need to
define them explicitly.
External property names (taken from other files or hardcoded somewhere)
stayed untouched in this CL.
Some minor improvements to comments in order to make them more consistent.
2009-08-22 13:15:26 -07:00
Xavier Ducrohet
53b3190a47 am e95a86cf: Merge change 22346 into donut
Merge commit 'e95a86cfec18836ddbff149690a13766bfc9ada3' into eclair

* commit 'e95a86cfec18836ddbff149690a13766bfc9ada3':
  Fix target for ApiDemos (API is now 4)
2009-08-22 07:44:12 -07:00
Android (Google) Code Review
e95a86cfec Merge change 22346 into donut
* changes:
  Fix target for ApiDemos (API is now 4)
2009-08-21 16:08:11 -07:00
Xavier Ducrohet
c86903288c Fix target for ApiDemos (API is now 4)
Also add some progress output to the ant rules.
2009-08-21 15:59:02 -07:00
Xavier Ducrohet
8535518cb2 Device hardware profile for config selector in GLE
- Built-in device list for now
- Config selector in GLE is changed to only have
  - MCC/MNC
  - Locale
  - Device List
  - Device config.
2009-08-21 15:03:54 -07:00
Android (Google) Code Review
f051ea0d38 Merge change 22138 into eclair
* changes:
  Add basic support for full height rendering.
2009-08-21 13:26:30 -07:00
Anonymous Coward
978ec5abe1 am 3e83e8bc: Remove SearchableDictionary sample app as it is a demo of third party inclusion in quick search box.
Merge commit '3e83e8bc8b969a993b026dab9d13b99b315d9af0' into eclair

* commit '3e83e8bc8b969a993b026dab9d13b99b315d9af0':
  Remove SearchableDictionary sample app as it is a demo of third party inclusion in quick search box.
2009-08-21 12:47:14 -07:00
Anonymous Coward
3e83e8bc8b Remove SearchableDictionary sample app as it is a demo of third party inclusion in quick search box.
update: remove entry from build.sdk
2009-08-21 12:43:21 -07:00
Jack Palevich
83d8d83ad1 Remove unused getConfigSpec methods from ApiDemos sample code
At one time during the development of GLSurfaceView, the
GLSurfaceView.Renderer interface had a getConfigSpec method that was used to
select the frame buffer format. This method was removed from the
Renderer interface before GLSurfaceView became a public API, but
the sample code still defined these now-unused methods.

To reduce the chance of confusing a developer who uses the sample code,
this change removes the dead, no-longer-called getConfigSpec
implementations from the three samples.

See GLSurfaceView.setEGLConfigChooser for the replacement
technique.
2009-08-21 11:48:50 -07:00
Xavier Ducrohet
9f944d673b Add basic support for full height rendering. 2009-08-21 11:32:17 -07:00
Raphael
eec015ad14 am 8fccf9eb: mgwz.dll must be packaged next to tools/zipalign.exe in the Windows SDK.
Merge commit '8fccf9eb7c099a42729d0ff4a8a250f73a68c3f9' into eclair

* commit '8fccf9eb7c099a42729d0ff4a8a250f73a68c3f9':
  mgwz.dll must be packaged next to tools/zipalign.exe in the Windows SDK.
2009-08-20 21:46:18 -07:00