Commit Graph

1916 Commits

Author SHA1 Message Date
Omari Stephens
c594a15b38 am a43c57a8: Merge change 23664 into eclair
Merge commit 'a43c57a870ee74fe899a0e92beb2f1ac40150387' into eclair-plus-aosp

* commit 'a43c57a870ee74fe899a0e92beb2f1ac40150387':
  Add ContactsProvider tests to runtest as 'contactsprov'
2009-09-02 14:20:30 -07:00
Android (Google) Code Review
a43c57a870 Merge change 23664 into eclair
* changes:
  Add ContactsProvider tests to runtest as 'contactsprov'
2009-09-02 14:19:07 -07:00
Raphael
846c7d8b2e am b1e9793d: ADT GLE: change error display to a separate sash.
Merge commit 'b1e9793d6620ef973552f4d8672578f1276d68c2' into eclair-plus-aosp

* commit 'b1e9793d6620ef973552f4d8672578f1276d68c2':
  ADT GLE: change error display to a separate sash.
2009-09-02 14:05:53 -07:00
Omari Stephens
a341046b9d Add ContactsProvider tests to runtest as 'contactsprov'
Also, move GoogleContactsProvider tests from 'contactsprov' to 'gcontactsprov'
Finally, switch the gcontactsprov test to the right coverage class
2009-09-02 13:01:11 -07:00
Raphael
b1e9793d66 ADT GLE: change error display to a separate sash.
This allows GEP to display both the latest error and the latest
successful rendering. The error still needs an icon and the
canvas will need to be grayed or something.

Also the LayoutCanvas will directly use the ILayoutResult and we
won't need to custom EditData in UiElementNode so the correspond
method is @deprecated (but obviously still supported for GLE1.)

Change-Id: Ia3afed836755dbd84a4511eaed0782c85a383ac9
2009-09-02 12:39:24 -07:00
Xavier Ducrohet
76c794b224 am 34103a59: Merge change 23640 into eclair
Merge commit '34103a59621db1de67a42f45dbeed50421ed3bce' into eclair-plus-aosp

* commit '34103a59621db1de67a42f45dbeed50421ed3bce':
  Remove unused git files.
2009-09-02 11:20:50 -07:00
Android (Google) Code Review
34103a5962 Merge change 23640 into eclair
* changes:
  Remove unused git files.
2009-09-02 11:17:32 -07:00
Xavier Ducrohet
43713c575e Remove unused git files.
Change-Id: I1501ae5bc5d8608f149f9d404e198aa9398b665b
2009-09-02 11:14:04 -07:00
Xavier Ducrohet
4f05812048 am 5a0b7395: Merge change 23546 into eclair
Merge commit '5a0b7395be0fc57f168fdc68bb3af68c810abcfe' into eclair-plus-aosp

* commit '5a0b7395be0fc57f168fdc68bb3af68c810abcfe':
  Add "Dump HPROF file" to DDMS/DDMS plugin
2009-09-02 11:02:51 -07:00
Android (Google) Code Review
5a0b7395be Merge change 23546 into eclair
* changes:
  Add "Dump HPROF file" to DDMS/DDMS plugin
2009-09-02 10:54:54 -07:00
Eric Fischer
9f74298611 am 0c12e21a: Merge change 23532 into eclair
Merge commit '0c12e21a3152b62fb330c86b5ea544e927300608' into eclair-plus-aosp

* commit '0c12e21a3152b62fb330c86b5ea544e927300608':
  Add backslashes before apostrophes so they don't get lost.
2009-09-01 17:33:25 -07:00
Android (Google) Code Review
0c12e21a31 Merge change 23532 into eclair
* changes:
  Add backslashes before apostrophes so they don't get lost.
2009-09-01 17:30:51 -07:00
Xavier Ducrohet
d2d24351d3 Add "Dump HPROF file" to DDMS/DDMS plugin
This uses the (new in cupcake) VM command through JDWP.
Older VMs are detected through the (also new) 'FEAT' command that notifies
which features the VM supports.

The hprof file is right now saved in /sdcard. Due to donut+ apps not having
the SD Card permission by default, we may need to change this in the (near)
future.

Upon completion of the dump by the VM, DDMS will give the user a file selector
to choose a place to save the file on the host machine.

Future improvements: run (our own) hat, or hprof-conv and a standard hprof
tool (Eclipse MAT integration for instance). This should be configurable
by the user.

Change-Id: I33696b0263e3d0788ad5d90cedf3cd17393d2f9b
2009-09-01 16:29:18 -07:00
Piotr Gurgul
8899d822de am 56098693: Merge change 23515 into eclair
Merge commit '56098693d29346fc3bf995a125e12fb2d3e1523d' into eclair-plus-aosp

* commit '56098693d29346fc3bf995a125e12fb2d3e1523d':
  Update apkbuilder to support new property names
2009-09-01 15:54:39 -07:00
Android (Google) Code Review
56098693d2 Merge change 23515 into eclair
* changes:
  Update apkbuilder to support new property names
2009-09-01 15:52:35 -07:00
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
Piotr Gurgul
4280da6d70 Update apkbuilder to support new property names
out.debug.unaligned.package property name has not been updated in
ApkBuilderTask.java and that is why ApkBuilder misbehaved
BUG: 2090896
2009-09-01 15:39:23 -07:00
Xavier Ducrohet
c604b9bb3d am 6ef45eb8: Merge change 23388 into eclair
Merge commit '6ef45eb862a8eb0f03fbd6b1c915ec03fc28f1e9' into eclair-plus-aosp

* commit '6ef45eb862a8eb0f03fbd6b1c915ec03fc28f1e9':
  DDMS now queries the VM for its features.
2009-09-01 11:59:21 -07:00
Android (Google) Code Review
6ef45eb862 Merge change 23388 into eclair
* changes:
  DDMS now queries the VM for its features.
2009-09-01 11:57:14 -07:00
Brett Chabot
3ea427ad1f am b8b984d0: Merge change 23420 into eclair
Merge commit 'b8b984d0776ad0f34d94e41938fa12086bf2dc59' into eclair-plus-aosp

* commit 'b8b984d0776ad0f34d94e41938fa12086bf2dc59':
  ADT: change continuous test ant script to run both functional and unit tests.
2009-09-01 11:18:09 -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
Jean-Baptiste Queru
9dc454b1b1 merge from open-source master 2009-09-01 08:27:45 -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
Xavier Ducrohet
bc4a352b19 DDMS now queries the VM for its features.
This is a first step to support method profiling on/off and hprof dump from
DDMS.

Change-Id: Id95767b458a8405a31bcbe295bb969597f0e6e03
2009-08-31 18:06:49 -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 Code Review
2748afc271 Merge change 6506
* changes:
  Updated to better distinguish between options and operands
2009-08-26 11:26:45 -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
Nate Karstens
582fcd428d Updated to better distinguish between options and operands 2009-08-26 10:10:57 -07:00
Muthu Ramadoss
8f5361ba0d Enhancement: ApiDemos - App - Dialog - AlertDialog with MultipleChoices backed by Cursor
Added an example for using AlertDialog in Multichoice mode backed up by Cursor. This example can be used to test the following bug: http://code.google.com/p/android/issues/detail?id=955

AMEND:
	Added a Toast to display readonly status of cursor, so data will not be updated.
	Removed empty code blocks, which did nothing.
2009-08-26 08:48:03 -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