OSDN Git Service

android-x86/sdk.git
13 years agomerge from open-source master
The Android Open Source Project [Fri, 1 Oct 2010 21:16:05 +0000 (14:16 -0700)]
merge from open-source master

Change-Id: Ib9a3c29118ca3b933295fa7c917c938fd26fa930

13 years agoMake ddmlb-tests optional.
Brett Chabot [Fri, 1 Oct 2010 21:06:00 +0000 (14:06 -0700)]
Make ddmlb-tests optional.

Change-Id: Ia584549aae4bffe0ca9ddee860337cb20fa0e313

13 years agomerge from open-source master
The Android Open Source Project [Fri, 1 Oct 2010 20:02:00 +0000 (13:02 -0700)]
merge from open-source master

Change-Id: Ic53d217bf6b2008bb394f31aac8441a99e449201

13 years agoMerge "In some cases release build is actually a debug build."
Xavier Ducrohet [Thu, 30 Sep 2010 23:11:24 +0000 (16:11 -0700)]
Merge "In some cases release build is actually a debug build."

13 years agoMerge "Fix ddmlib test run failure and metric reporting."
Brett Chabot [Thu, 30 Sep 2010 18:28:39 +0000 (11:28 -0700)]
Merge "Fix ddmlib test run failure and metric reporting."

13 years agoFix ddmlib test run failure and metric reporting.
Brett Chabot [Wed, 29 Sep 2010 23:55:00 +0000 (16:55 -0700)]
Fix ddmlib test run failure and metric reporting.

This submit fixes two bugs:

1) Test run failures were not getting reported correctly in some scenarios, and
in others testRunFailed was being called before testRunStarted was called. With
this submit, the order of ITestRunListener callbacks is documented and strictly
adhered to.
2) test metrics were getting reported for regularly occuring instrumentation
output such as 'stream' and 'id'.

Also cleaned up the associated unit tests and changed them to use easymock.

Change-Id: I4cee3abebdf1c607ac1dc51a240c92ca9611ca31

13 years agoMerge "Add in support for the sys.executable variable."
Bill Napier [Thu, 30 Sep 2010 17:21:32 +0000 (10:21 -0700)]
Merge "Add in support for the sys.executable variable."

13 years agoAdd in support for the sys.executable variable.
Bill Napier [Thu, 30 Sep 2010 17:07:50 +0000 (10:07 -0700)]
Add in support for the sys.executable variable.

This allows things like pydoc to work.

Change-Id: I16206a17099f7a3785ebcb303bd760b65db36b68

13 years agoMerge "ADT: Fix attributes UI in Android Manifest Editor."
Raphael Moll [Thu, 30 Sep 2010 16:54:58 +0000 (09:54 -0700)]
Merge "ADT: Fix attributes UI in Android Manifest Editor."

13 years agomerge from open-source master
The Android Open Source Project [Thu, 30 Sep 2010 15:29:26 +0000 (08:29 -0700)]
merge from open-source master

Change-Id: Ief0d8b20aeddb245f9ebaa4989d06d6eb86d12fd

13 years agoADT: Fix attributes UI in Android Manifest Editor.
Raphael Moll [Thu, 30 Sep 2010 01:48:10 +0000 (18:48 -0700)]
ADT: Fix attributes UI in Android Manifest Editor.

External bug: http://b.android.com/11392

Issue: all customized fields were showing as regular "string"
references (with the default string browser) instead of having
customized pre-selected choices, etc.

The core issue is that the UI widgets were created using reflection
but I changed the base class constructor of the default
TextAttributeDescriptor recently and forgot to update DescriptorUtils
accordingly. Since it was failing to create a custom widget it was
reverting to the default UI for a string reference.

The long-term fix is to stop using reflection.
Creator pattern to the rescue!
Instead there's a new ITextAttributeCreator interface and the
override map uses a static "creator" instance that will instantiate
the correct UI widget when needed.

Change-Id: Ie7afbf682a2aa8ae18565d08445e73a8c051a6c7

13 years agoIn some cases release build is actually a debug build.
Xavier Ducrohet [Thu, 30 Sep 2010 00:12:31 +0000 (17:12 -0700)]
In some cases release build is actually a debug build.

If the manifest sets debuggable=true then this override
the release build to be a debug build instead.

Change-Id: Ib66bf9053cecfa7c19a02cefdbf187a20bd6da37

13 years agoAdd missing dependency in the ddms manifest.
Xavier Ducrohet [Wed, 29 Sep 2010 18:21:09 +0000 (11:21 -0700)]
Add missing dependency in the ddms manifest.

Change-Id: Ifdfb8bbabf2b2aadf46ce0b27dcf99ef428d1ec9

13 years agomerge from open-source master
The Android Open Source Project [Tue, 28 Sep 2010 22:14:12 +0000 (15:14 -0700)]
merge from open-source master

Change-Id: I4d60cd73d8d69877fe5256478865ce75d9b600fa

13 years agoTools specific atree file.
Xavier Ducrohet [Mon, 27 Sep 2010 22:48:38 +0000 (15:48 -0700)]
Tools specific atree file.

Change-Id: I7a71f4d91993c48c147bc080c08f830457a23ef1

13 years agomerge from open-source master
The Android Open Source Project [Mon, 27 Sep 2010 23:39:14 +0000 (16:39 -0700)]
merge from open-source master

Change-Id: I828d80902bb5505fea8d1892623b27a310586120

13 years agoMake the tools work with the new location of adb.
Xavier Ducrohet [Mon, 27 Sep 2010 20:27:22 +0000 (13:27 -0700)]
Make the tools work with the new location of adb.

adb has been moved to the platform-tools folder.

This changes ADT, DDMS, HierarchyViewer which all care
where adb is (to launch it).

Also fixed the local SDK parser of the SDK Updater to find
the platform-tools package.

Change-Id: I3c869159d7b0e0ad9aaea06f376b7ba3e53bfc7f

13 years agomerge from open-source master
The Android Open Source Project [Mon, 27 Sep 2010 19:59:34 +0000 (12:59 -0700)]
merge from open-source master

Change-Id: I042d0153b76bd8b164a815165f80d29b4ed94df2

13 years agoAnt doc on how to replace proguard.
Xavier Ducrohet [Mon, 27 Sep 2010 17:09:55 +0000 (10:09 -0700)]
Ant doc on how to replace proguard.

Change-Id: I27faad2282fbe6cff565d945c2b64d42d31db1fe

13 years agomerge from open-source master
The Android Open Source Project [Fri, 24 Sep 2010 23:39:10 +0000 (16:39 -0700)]
merge from open-source master

Change-Id: Ie20ef0aec822d00c70e9bb1764002cd624b4ae38

13 years agoMake it easier to use a different obfuscator.
Xavier Ducrohet [Fri, 24 Sep 2010 19:55:24 +0000 (12:55 -0700)]
Make it easier to use a different obfuscator.

Change-Id: I3fb80a8b91482de5117a9e093b2d50010bb99546

13 years agoUse proguard for release builds through Ant.
Xavier Ducrohet [Fri, 17 Sep 2010 01:53:44 +0000 (18:53 -0700)]
Use proguard for release builds through Ant.

This is only activated if default.properties contains
a property "proguard.config" with the name of a proguard
config file.

Some clean-up in the Ant tasks and in the name
of the properties used by the rules and the custom
tasks to make them clearer.

Added a new test app with a project using a jar file
as well as a library using a jar file.

Change-Id: Ia8f4d873025993d454c0a484e61d47ae679ea79c

13 years agoWork around a bug in the jar verifier of Android.
Xavier Ducrohet [Fri, 24 Sep 2010 21:51:22 +0000 (14:51 -0700)]
Work around a bug in the jar verifier of Android.

up to Android 1.6, if the signature file of an apk was
a multiple of 1024 the jar verification failed.

This make sure the signing code in ADT/Ant does not
generate such a signature file by adding an extra CRLF
at the end.

See http://b.android.com/830

Change-Id: Ia9ec0563d2abfaa6402ca4d19ca27335e9ba57a3

13 years agomerge from open-source master
The Android Open Source Project [Fri, 24 Sep 2010 21:37:03 +0000 (14:37 -0700)]
merge from open-source master

Change-Id: If12bf352bc918d9f874e619bb5b3053c755c9699

13 years agoMerge "Make javac ant options configurable."
Xavier Ducrohet [Fri, 24 Sep 2010 21:30:52 +0000 (14:30 -0700)]
Merge "Make javac ant options configurable."

13 years agomerge from open-source master
The Android Open Source Project [Fri, 24 Sep 2010 21:25:39 +0000 (14:25 -0700)]
merge from open-source master

Change-Id: I7fee1fbea13a71ba6606b320c2cac13d7929f57e

13 years agoMerge "Don't force a workspace build on launch."
Xavier Ducrohet [Fri, 24 Sep 2010 21:19:34 +0000 (14:19 -0700)]
Merge "Don't force a workspace build on launch."

13 years agoMake javac ant options configurable.
Xavier Ducrohet [Fri, 24 Sep 2010 15:11:12 +0000 (08:11 -0700)]
Make javac ant options configurable.

Change-Id: I303acdb4fc8de6ba5d8de7c18e020e97fe01e3de

13 years agoDon't force a workspace build on launch.
Xavier Ducrohet [Fri, 24 Sep 2010 14:19:37 +0000 (07:19 -0700)]
Don't force a workspace build on launch.

Bug: http://b.android.com/11452
Change-Id: Ibbb8b15ef448694fc8975f6fb32b1703e9edd54f

13 years agomerge from open-source master
The Android Open Source Project [Fri, 24 Sep 2010 18:47:48 +0000 (11:47 -0700)]
merge from open-source master

Change-Id: Ic83e9d9494c6d6ff143940b8d38a10e928821dbe

13 years agoFix target loading when sdk.properties is not present.
Xavier Ducrohet [Fri, 24 Sep 2010 14:41:30 +0000 (07:41 -0700)]
Fix target loading when sdk.properties is not present.

Older (obsolete) targets would fail to load if
sdk.properties was not present. Since the content
is optional anyway, it's ok to load the target.

Change-Id: I6539be1450e72096de7b651e1c9137b41060e315

13 years agomerge from open-source master
The Android Open Source Project [Thu, 23 Sep 2010 16:56:31 +0000 (09:56 -0700)]
merge from open-source master

Change-Id: I2a22de9d181eaad8f9ebf750d9a742222525cd86

13 years agoMerge "Improve waitForConnection for booting devices."
Bill Napier [Thu, 23 Sep 2010 16:50:37 +0000 (09:50 -0700)]
Merge "Improve waitForConnection for booting devices."

13 years agomerge from tools_r7
Jean-Baptiste Queru [Thu, 23 Sep 2010 16:49:54 +0000 (09:49 -0700)]
merge from tools_r7

Change-Id: I15581b778be83b662b23994e53ff9c22ab796667

13 years agoImprove waitForConnection for booting devices.
Bill Napier [Thu, 23 Sep 2010 16:43:30 +0000 (09:43 -0700)]
Improve waitForConnection for booting devices.

Have waitForConnection actually wait until the device is ONLINE before returning
it.  Also give the on device monkey some more time to startup.

Change-Id: I86193a8532a84d64dddd9a60012af4f3ef507841

13 years agomerge from tools_r7
Jean-Baptiste Queru [Thu, 23 Sep 2010 16:46:28 +0000 (09:46 -0700)]
merge from tools_r7

Change-Id: Iea8ce7b939b70244eaf10cf716770ab8f1659d38

13 years agoADT: change to 0.9.9 (fix for ADT removing source folders)
Raphael Moll [Wed, 22 Sep 2010 19:41:35 +0000 (12:41 -0700)]
ADT: change to 0.9.9 (fix for ADT removing source folders)

Change-Id: I0a177531edd35d91a7994760881474f285dc7832

13 years agoFix an issue where src files can be deleted in ADT.
Xavier Ducrohet [Wed, 22 Sep 2010 17:23:38 +0000 (10:23 -0700)]
Fix an issue where src files can be deleted in ADT.

Older projects generated the java class (R, aidl) into
the main src folder.

There is code in ADT to migrate them to the new model
(where generated classes go in gen/) by removing derived
resources from the source folder. This is also used
by the clean feature of the pre-compiler builder
to clean the content of gen.

To make it better, in ADT 0.9.8, we added something to
delete the folder containing the derived resources.
Except this doesn't check if the folder is not empty
after the derived resources have been deleted (or
not if it contained non-derived resources).

this means importing older projects (or possibly
team projects -- see http://b.android.com/11347)
would delete the whole content of the source folder.

This change makes sure that only folders for which
all members have been deleted are deleted.

Change-Id: I1ddbb3bd4c37859c7ddbf660377c598bae246269

13 years agomerge from open-source master
The Android Open Source Project [Wed, 22 Sep 2010 18:54:46 +0000 (11:54 -0700)]
merge from open-source master

Change-Id: I62a5b76c5366502d8988579e0a3e4031e17b1cb4

13 years agoMerge "Fix an issue where src files can be deleted in ADT."
Xavier Ducrohet [Wed, 22 Sep 2010 18:52:10 +0000 (11:52 -0700)]
Merge "Fix an issue where src files can be deleted in ADT."

13 years agoFix an issue where src files can be deleted in ADT.
Xavier Ducrohet [Wed, 22 Sep 2010 17:23:38 +0000 (10:23 -0700)]
Fix an issue where src files can be deleted in ADT.

Older projects generated the java class (R, aidl) into
the main src folder.

There is code in ADT to migrate them to the new model
(where generated classes go in gen/) by removing derived
resources from the source folder. This is also used
by the clean feature of the pre-compiler builder
to clean the content of gen.

To make it better, in ADT 0.9.8, we added something to
delete the folder containing the derived resources.
Except this doesn't check if the folder is not empty
after the derived resources have been deleted (or
not if it contained non-derived resources).

this means importing older projects (or possibly
team projects -- see http://b.android.com/11347)
would delete the whole content of the source folder.

This change makes sure that only folders for which
all members have been deleted are deleted.

Change-Id: I04b6d986fb3e454a259213fcda197400e9e7c974

13 years agomerge from open-source master
The Android Open Source Project [Tue, 21 Sep 2010 21:32:52 +0000 (14:32 -0700)]
merge from open-source master

Change-Id: I11840af6a6ec193c80962b5abeb569458601754d

13 years agoMerge "Add a runName parameter to ITestRunListener#testRunStarted."
Brett Chabot [Tue, 21 Sep 2010 21:29:52 +0000 (14:29 -0700)]
Merge "Add a runName parameter to ITestRunListener#testRunStarted."

13 years agomerge from open-source master
The Android Open Source Project [Fri, 17 Sep 2010 20:12:31 +0000 (13:12 -0700)]
merge from open-source master

Change-Id: Ide549ff2451d2b14765df700f2f911d6bc443e4e

13 years agoMerge "GLE2: fix layout editor not properly closed when dirty."
Raphael Moll [Fri, 17 Sep 2010 20:09:40 +0000 (13:09 -0700)]
Merge "GLE2: fix layout editor not properly closed when dirty."

13 years agoAdd a runName parameter to ITestRunListener#testRunStarted.
Brett Chabot [Thu, 16 Sep 2010 23:54:09 +0000 (16:54 -0700)]
Add a runName parameter to ITestRunListener#testRunStarted.

Change-Id: Ibaab85879f5432a24f8d44dc8d22aa6b0965a0c2

13 years agomerge from open-source master
The Android Open Source Project [Thu, 16 Sep 2010 03:25:17 +0000 (20:25 -0700)]
merge from open-source master

Change-Id: I1961157a504a5e8116c8c6a98f0b591922e534cf

13 years agoFix var path name generation.
Xavier Ducrohet [Thu, 16 Sep 2010 03:19:43 +0000 (20:19 -0700)]
Fix var path name generation.

The hashcode can be a negative int.
Convert it to an always positive long and convert
to hexadecimal.

Change-Id: Ia655dd92ef1986834680cb942ac004eb7374916f

13 years agoGLE2: fix layout editor not properly closed when dirty.
Raphael Moll [Thu, 16 Sep 2010 02:25:54 +0000 (19:25 -0700)]
GLE2: fix layout editor not properly closed when dirty.

The symptom was that once the layout editor had a modification
and was in the "dirty" mode, closing it would keep the model
around and re-opening would show the previous state. That was
a red herring.

The actual issue is that the undo begin/end wrapper methods
were calling getModelForEdit() without doing a proper
releaseFromEdit() call after the fact. Somewhere down in the
overly complex code that disposes the EditorPart there is
a test that would not purge the model if it is still locked.

The fix is thus in the begin/endUndoRecording of the base
AndroidXmlEditor.

This CL also cleans up some IFile usage; when fixing the
code above I noticed we can now get the model without
first getting an SSE internal document, instead we can use
the editor's IFile. However I doubt SSE for 3.3 would have
the API, I need to check that in another CL. Later, it's a P3.

Change-Id: I2437475dfeee9d6689b7b604782ae140d7aff1c3

13 years agomerge from open-source master
The Android Open Source Project [Thu, 16 Sep 2010 00:56:19 +0000 (17:56 -0700)]
merge from open-source master

Change-Id: I26581e1e1a0ac4e71968fd3ac99c7fbf28dca512

13 years agoEnsure the library path variable is valid.
Xavier Ducrohet [Tue, 14 Sep 2010 21:21:05 +0000 (14:21 -0700)]
Ensure the library path variable is valid.

Remove all non-valid characters and attempt
to reduce collisions.

Change-Id: Ie36924b80f9ed02dd46bfc12f211036257451014

13 years agomerge from open-source master
The Android Open Source Project [Wed, 15 Sep 2010 21:38:28 +0000 (14:38 -0700)]
merge from open-source master

Change-Id: I370b33be17b5a286ed477a85845534b1bd462750

13 years agoGLE2: fix RelativeLayout insert bad attributes sometimes.
Raphael Moll [Wed, 15 Sep 2010 18:28:02 +0000 (11:28 -0700)]
GLE2: fix RelativeLayout insert bad attributes sometimes.

When RelativeLayout drops new elements, it filters the
attributes and the filter is supposed to return false to
indicate some attribute is not needed. Unfortunately the
filtering code was assigning this to a String type and
thus the false value was auto-converted to "false", thus
failing the test and ending up as-is in the XML.

Change-Id: Ife48ad9214a48016b7eb616950660deb3c962f6d

13 years agomerge from open-source master
The Android Open Source Project [Tue, 14 Sep 2010 21:33:10 +0000 (14:33 -0700)]
merge from open-source master

Change-Id: I7fd0fd51666489afe7e4645d2ec4970acbb0b4a9

13 years agoADT: remove obsolete GEF-related method.
Raphael Moll [Tue, 14 Sep 2010 21:06:58 +0000 (14:06 -0700)]
ADT: remove obsolete GEF-related method.

Remove the GEF selection synchronizer which was
necessary only for the obsolete GLE1.

Change-Id: I9ca4b1ac125e071fb3e19b69879df880c0b4be2c

13 years agoADT XML Wizard: auto-select single android project.
Raphael Moll [Tue, 14 Sep 2010 20:23:54 +0000 (13:23 -0700)]
ADT XML Wizard: auto-select single android project.

When opening the XML creation wizard, we try to auto-select
the project based on the selection. If the selection is empty
but there's only one accessible (i.e. open) Android project,
just auto-select it.

Change-Id: Ibdcabd7ed7e4f96602c5cb65c999db0645f9fad4

13 years agoADT: XML wizard creates layouts in fill_parent by default.
Raphael Moll [Tue, 14 Sep 2010 20:13:20 +0000 (13:13 -0700)]
ADT: XML wizard creates layouts in fill_parent by default.

Change the XML wizard to create the root layout of new
XML layouts using layout_width/height=fill_parent by
default. This makes the interraction with the layout
editor a lot easier.

Change-Id: If8e56ffe963a914ed78e4a842d48f01d94618f4e

13 years agomerge from open-source master
The Android Open Source Project [Tue, 14 Sep 2010 01:02:15 +0000 (18:02 -0700)]
merge from open-source master

Change-Id: I9da203c9724e3fa8026dcb1ca4c8d0e365b5caad

13 years agoMerge "ADT: remove GLE1."
Raphael Moll [Tue, 14 Sep 2010 00:44:18 +0000 (17:44 -0700)]
Merge "ADT: remove GLE1."

13 years agomerge from open-source master
The Android Open Source Project [Tue, 14 Sep 2010 00:13:34 +0000 (17:13 -0700)]
merge from open-source master

Change-Id: Iabc452eebbf351155e9886ae945cb18cc0a22ae0

13 years agoMerge "Enhance Android Classpath Container"
Xavier Ducrohet [Tue, 14 Sep 2010 00:04:21 +0000 (17:04 -0700)]
Merge "Enhance Android Classpath Container"

13 years agoADT: remove GLE1.
Raphael Moll [Mon, 13 Sep 2010 23:02:27 +0000 (16:02 -0700)]
ADT: remove GLE1.

Change-Id: I80dbd00988748842b940312f4d8136e7b9187500

13 years agomerge from open-source master
The Android Open Source Project [Mon, 13 Sep 2010 22:55:52 +0000 (15:55 -0700)]
merge from open-source master

Change-Id: Ie00f88eb12c81dc3736caa43393428c42b871e7c

13 years agoMerge "Add alloc number in the alloc tracker."
Xavier Ducrohet [Mon, 13 Sep 2010 22:44:53 +0000 (15:44 -0700)]
Merge "Add alloc number in the alloc tracker."

13 years agomerge from open-source master
The Android Open Source Project [Mon, 13 Sep 2010 22:27:59 +0000 (15:27 -0700)]
merge from open-source master

Change-Id: I81c4e89aef3090e537dbf4368a17a9e99a582c68

13 years agoMerge "GLE2: proper feedback on invalid drop targets."
Raphael Moll [Mon, 13 Sep 2010 22:24:34 +0000 (15:24 -0700)]
Merge "GLE2: proper feedback on invalid drop targets."

13 years agomerge from open-source master
The Android Open Source Project [Mon, 13 Sep 2010 21:25:48 +0000 (14:25 -0700)]
merge from open-source master

Change-Id: I94b7bb82473b1d4fcb5439d8e6e478b50d83c00f

13 years agoAdd alloc number in the alloc tracker.
Xavier Ducrohet [Mon, 13 Sep 2010 20:46:34 +0000 (13:46 -0700)]
Add alloc number in the alloc tracker.

This lets the user sort the allocation in the order they
happened (or reverse)

Change-Id: I85ca3b190f3a5d63828d78882ee833e5523c2154

13 years agoFix the config manager dialog in the GLE.
Xavier Ducrohet [Mon, 13 Sep 2010 20:01:29 +0000 (13:01 -0700)]
Fix the config manager dialog in the GLE.

Change-Id: I29296b35c6d2a42908b22b878697d137af71a796

13 years agomerge from open-source master
The Android Open Source Project [Mon, 13 Sep 2010 19:26:54 +0000 (12:26 -0700)]
merge from open-source master

Change-Id: Iaeb49f269cb29e696c185e88ff4ae7c36c56b13d

13 years agoNew zoom controls in the layout editor.
Xavier Ducrohet [Fri, 10 Sep 2010 20:12:13 +0000 (13:12 -0700)]
New zoom controls in the layout editor.

New 100% and "real size" buttons. The real size
computes a scale value based on the dpi of the monitor
and the dpi of the layout device info.

Also cleaned-up the CustomToggle class to be a
CustomButton (toggle optional) as the 100% and
zoom in/out buttons are not toggles.

Migrated the clipping button to be set up through
a CustomButton.

Added groups of CustomButton, which are closer to
each others than normal.

Change-Id: Id4b6ed54b7f275f848333b04aeb42ef80e89ea9b

13 years agomerge from open-source master
The Android Open Source Project [Mon, 13 Sep 2010 18:49:36 +0000 (11:49 -0700)]
merge from open-source master

Change-Id: I0eeb8079983f90e5f29988c8365ca7bf3fe45ee0

13 years agoMerge "Filter input in the alloc tracker panel."
Xavier Ducrohet [Mon, 13 Sep 2010 18:45:32 +0000 (11:45 -0700)]
Merge "Filter input in the alloc tracker panel."

13 years agoMerge "Allocation tracker content can now be sorted."
Xavier Ducrohet [Mon, 13 Sep 2010 18:45:29 +0000 (11:45 -0700)]
Merge "Allocation tracker content can now be sorted."

13 years agoMerge "Display error for missing required attributes in ant tasks"
Xavier Ducrohet [Mon, 13 Sep 2010 18:45:23 +0000 (11:45 -0700)]
Merge "Display error for missing required attributes in ant tasks"

13 years agomerge from open-source master
The Android Open Source Project [Mon, 13 Sep 2010 18:08:11 +0000 (11:08 -0700)]
merge from open-source master

Change-Id: If7bfde22466609563307d2c9c46022528b009d6c

13 years agoMerge "SDK: Use Android's SparseArray classes."
Raphael Moll [Mon, 13 Sep 2010 18:04:10 +0000 (11:04 -0700)]
Merge "SDK: Use Android's SparseArray classes."

13 years agoFilter input in the alloc tracker panel.
Xavier Ducrohet [Sun, 12 Sep 2010 21:47:53 +0000 (14:47 -0700)]
Filter input in the alloc tracker panel.

Change-Id: Ib8f591022228d3ec2a8d50c0dc3d2caadca86e81

13 years agoAllocation tracker content can now be sorted.
Xavier Ducrohet [Sun, 12 Sep 2010 20:44:49 +0000 (13:44 -0700)]
Allocation tracker content can now be sorted.

Change-Id: I9f4009e5634e0c4a2b871082c2c281f62a67ca2f

13 years agoDisplay error for missing required attributes in ant tasks
Xavier Ducrohet [Sun, 12 Sep 2010 19:39:02 +0000 (12:39 -0700)]
Display error for missing required attributes in ant tasks

Change-Id: I4a9babcda7a541a7defd226e36bb8f74f88853ed

13 years agoGLE2: proper feedback on invalid drop targets.
Raphael Moll [Sat, 11 Sep 2010 07:47:44 +0000 (00:47 -0700)]
GLE2: proper feedback on invalid drop targets.

Change-Id: I412a64fc261314d681009da87ed20fba278afa33

13 years agoGLE2: Properly represent mixed choices in dynamic context menu.
Raphael Moll [Sat, 11 Sep 2010 05:19:11 +0000 (22:19 -0700)]
GLE2: Properly represent mixed choices in dynamic context menu.

Example: when display the context menu for a multiple selection,
some items might be on wrap_parent whilst others might be in
match_parent. This new change has the menu display a different
icon for these choices and indicate that N out of M items are
in a given state. Basically this converts boolean support to
a tristate support.

Change-Id: Ia409a87fa17e5d36912ace6dde5f4eb094fa865f

13 years agoSDK: Use Android's SparseArray classes.
Raphael Moll [Sat, 11 Sep 2010 05:17:45 +0000 (22:17 -0700)]
SDK: Use Android's SparseArray classes.

These are a fantastic replacement for Map when you have
int keys.

Change-Id: Ied0feaa9e723ede3372c5a156a72929daa5797e0

13 years agomerge from open-source master
The Android Open Source Project [Sat, 11 Sep 2010 01:43:06 +0000 (18:43 -0700)]
merge from open-source master

Change-Id: I7f8d4353f2905aa5de511e61f4d0f13e0bc4ddc6

13 years agoFix test ant rules.
Xavier Ducrohet [Fri, 10 Sep 2010 23:54:32 +0000 (16:54 -0700)]
Fix test ant rules.

They were importing the old name of the main rules.

Change-Id: If5d591d48f420e5bd8a24843c99befdbb487cd80

13 years agomerge from open-source master
The Android Open Source Project [Fri, 10 Sep 2010 21:52:12 +0000 (14:52 -0700)]
merge from open-source master

Change-Id: I2c05f25df603002fca6fb827893d76799c0fb3dd

13 years agoEnhance Android Classpath Container
snpe [Thu, 19 Aug 2010 22:01:42 +0000 (00:01 +0200)]
Enhance Android Classpath Container

Change-Id: Iaa4f1ea8766dbeb9054ca3dc1445f5154f841c44

13 years agoGLE2: Indicate when drag'n'drop is rejected in RelativeLayout.
Raphael Moll [Fri, 10 Sep 2010 07:21:40 +0000 (00:21 -0700)]
GLE2: Indicate when drag'n'drop is rejected in RelativeLayout.

This is the case where a view from a RelativeLayout is being
moved on a dependent view. Now it marks the view with a blue
cross to give a clue that it's not a suitable target.

Change-Id: I9989427ae9b52e054ff0dcee7cfe860a240ded29

13 years agoGLE2: display selection a bit better.
Raphael Moll [Fri, 10 Sep 2010 06:41:18 +0000 (23:41 -0700)]
GLE2: display selection a bit better.

Change-Id: Ifb1297299697712273694b239a07cf0812e20e7b

13 years agomerge from open-source master
The Android Open Source Project [Fri, 10 Sep 2010 06:12:49 +0000 (23:12 -0700)]
merge from open-source master

Change-Id: I7b1a186d7e1d469d873d1f0a63acfa9cb404da0a

13 years agoMerge "ADT GLE2: adjust selection on right-click or drag."
Raphael Moll [Fri, 10 Sep 2010 06:06:07 +0000 (23:06 -0700)]
Merge "ADT GLE2: adjust selection on right-click or drag."

13 years agomerge from open-source master
The Android Open Source Project [Fri, 10 Sep 2010 02:21:01 +0000 (19:21 -0700)]
merge from open-source master

Change-Id: I70ad5eb8ea57d0a224cb5ed0cc3d4d65a7afc58a

13 years agoADT GLE2: adjust selection on right-click or drag.
Raphael Moll [Fri, 10 Sep 2010 00:11:29 +0000 (17:11 -0700)]
ADT GLE2: adjust selection on right-click or drag.

Change-Id: I553e2d659f95d727e87df5d174d737a220a1685d

13 years agoUpdate export wizard for new release export.
Xavier Ducrohet [Thu, 9 Sep 2010 23:53:03 +0000 (16:53 -0700)]
Update export wizard for new release export.

Use the ExportHelper to fully rebuild the release
package as taking the debug package no longer works
(because it inserts debuggable=true).

Also clean up the ApkSettings thing that's not
used anymore.

Change-Id: Ia47c316df80f614d6c43fb5c625ccd859c3baa37

13 years agomerge from open-source master
The Android Open Source Project [Thu, 9 Sep 2010 04:02:58 +0000 (21:02 -0700)]
merge from open-source master

Change-Id: Ieb44492164256a2f01a8a7062b5cf868398b5ddf

13 years agoFix platform update site categories.
Xavier Ducrohet [Thu, 9 Sep 2010 03:49:45 +0000 (20:49 -0700)]
Fix platform update site categories.

Change-Id: Ib569e389aecea51fd15dde3b838d2b17581127c6

13 years agomerge from open-source master
The Android Open Source Project [Thu, 9 Sep 2010 03:21:28 +0000 (20:21 -0700)]
merge from open-source master

Change-Id: I9be77e4dd63859b6679a87895f693c32128eea32

13 years agoMerge "GLE2: perform all context menu edits in the same undo session."
Raphael Moll [Thu, 9 Sep 2010 03:05:12 +0000 (20:05 -0700)]
Merge "GLE2: perform all context menu edits in the same undo session."

13 years agomerge from open-source master
The Android Open Source Project [Thu, 9 Sep 2010 01:59:03 +0000 (18:59 -0700)]
merge from open-source master

Change-Id: I19aead365e0e65b12dd92c0b9ae4b8cc8ff60bdf

13 years agoFix internal update site.
Xavier Ducrohet [Thu, 9 Sep 2010 01:44:05 +0000 (18:44 -0700)]
Fix internal update site.

Platform category didn't have a desc which seems
cause problems.

Change-Id: I449279fd191254c486556573717f215c0a56a479