OSDN Git Service

android-x86/sdk.git
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 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 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 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 "ADT: remove GLE1."
Raphael Moll [Tue, 14 Sep 2010 00:44:18 +0000 (17:44 -0700)]
Merge "ADT: remove GLE1."

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 "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 "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 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 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 "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 "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 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 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 "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 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 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 "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 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

13 years agoGLE2: perform all context menu edits in the same undo session.
Raphael Moll [Wed, 8 Sep 2010 18:14:23 +0000 (11:14 -0700)]
GLE2: perform all context menu edits in the same undo session.

Change-Id: I9516066edaa1704725ab234f1a65664d5eabfb39

13 years agoMerge "PDT implements the new extension from ddms"
Xavier Ducrohet [Thu, 9 Sep 2010 01:05:04 +0000 (18:05 -0700)]
Merge "PDT implements the new extension from ddms"

13 years agoMerge "GLE2: fix executing actions on multi-selection"
Raphael Moll [Wed, 8 Sep 2010 23:45:27 +0000 (16:45 -0700)]
Merge "GLE2: fix executing actions on multi-selection"

13 years agoMerge "GLE2: Don't change the selection on right click > menu."
Raphael Moll [Wed, 8 Sep 2010 23:45:16 +0000 (16:45 -0700)]
Merge "GLE2: Don't change the selection on right click > menu."

13 years agoMerge "Fix max memory to be 512, not 5126"
Xavier Ducrohet [Wed, 8 Sep 2010 23:25:26 +0000 (16:25 -0700)]
Merge "Fix max memory to be 512, not 5126"

13 years agoMerge "Manifest process name can start with :"
Xavier Ducrohet [Wed, 8 Sep 2010 23:20:52 +0000 (16:20 -0700)]
Merge "Manifest process name can start with :"

13 years agoFix max memory to be 512, not 5126
Xavier Ducrohet [Wed, 8 Sep 2010 21:27:10 +0000 (14:27 -0700)]
Fix max memory to be 512, not 5126

Change-Id: Ibf1d070d89514a5faf1ed4f33f72dd6385ff534e

13 years agoGLE2: fix executing actions on multi-selection
Raphael Moll [Tue, 7 Sep 2010 21:12:40 +0000 (14:12 -0700)]
GLE2: fix executing actions on multi-selection

Change-Id: I057dca413d81c9ae3e00bc074eeb31b032f7e85e

13 years agoGLE2: Don't change the selection on right click > menu.
Raphael Moll [Tue, 7 Sep 2010 20:57:36 +0000 (13:57 -0700)]
GLE2: Don't change the selection on right click > menu.

Change-Id: I94c4a1bc57287d250963456339aa24e6a10a92c0

13 years agoPDT implements the new extension from ddms
Xavier Ducrohet [Wed, 8 Sep 2010 00:25:55 +0000 (17:25 -0700)]
PDT implements the new extension from ddms

Change-Id: I9622deec64ca60b9bfc2a4cdfa640821123ad4c0

13 years agoFix interdepency between ADT and DDMS.
Xavier Ducrohet [Wed, 8 Sep 2010 00:53:04 +0000 (17:53 -0700)]
Fix interdepency between ADT and DDMS.

The issue was due to DDMS instantiating ADT classes
in start() when ADT was doing the same with DDMS classes.

This prevented the plug-ins from loading.

Change-Id: Ifea9e0fdcfb14581931d734cdd232c537537c30d

13 years agoMerge "Open the debug perspective when showing hprof files."
Xavier Ducrohet [Wed, 8 Sep 2010 00:25:11 +0000 (17:25 -0700)]
Merge "Open the debug perspective when showing hprof files."

13 years agoMerge "New extension points for DDMS"
Xavier Ducrohet [Wed, 8 Sep 2010 00:24:56 +0000 (17:24 -0700)]
Merge "New extension points for DDMS"

13 years agoManifest process name can start with :
Xavier Ducrohet [Tue, 7 Sep 2010 23:47:16 +0000 (16:47 -0700)]
Manifest process name can start with :

When an activity (or other component) starts with :
the actual process name become <package>:<name>.

This needs to be done in the manifest parser so that
matches can be found.

Change-Id: Ib4407bc7e3f9f73f60aa9f7e391bc90e0aebf35f

13 years agoMerge "Update the change log for the tools and sdk."
Xavier Ducrohet [Tue, 7 Sep 2010 23:21:06 +0000 (16:21 -0700)]
Merge "Update the change log for the tools and sdk."

13 years agoOpen the debug perspective when showing hprof files.
Xavier Ducrohet [Tue, 7 Sep 2010 23:19:56 +0000 (16:19 -0700)]
Open the debug perspective when showing hprof files.

This prevents the creation of an editor area in the
ddms perspective (the only way to get rid of it later
seems to be to reset the perspective).

Change-Id: I1eb4a3f6a77f27cc462b18b9db43d27cfef09337

13 years agoNew extension points for DDMS
Xavier Ducrohet [Tue, 7 Sep 2010 22:54:35 +0000 (15:54 -0700)]
New extension points for DDMS

debugger connector is used by the "debug running app" button in the
device list view.

source revealer is used by the thread panel when double clicking
on an entry of the stack trace.

Change-Id: Ida07617a24d37f1d769d86859fd35d5bb19f5fd2

13 years agoUpdate the change log for the tools and sdk.
Xavier Ducrohet [Tue, 7 Sep 2010 20:18:31 +0000 (13:18 -0700)]
Update the change log for the tools and sdk.

Change-Id: I4e1a779aafd1a658858a00d9706bd679b6621aeb

13 years agoMerge "GLE2: Extract the dynamic context menu handling."
Raphael Moll [Tue, 7 Sep 2010 20:12:58 +0000 (13:12 -0700)]
Merge "GLE2: Extract the dynamic context menu handling."

13 years agoMerge "First version of the PDT."
Xavier Ducrohet [Tue, 7 Sep 2010 19:57:43 +0000 (12:57 -0700)]
Merge "First version of the PDT."

13 years agoMerge "DDMS now receives the adb location through an extension point."
Xavier Ducrohet [Tue, 7 Sep 2010 19:57:35 +0000 (12:57 -0700)]
Merge "DDMS now receives the adb location through an extension point."

13 years agoGLE2: Extract the dynamic context menu handling.
Raphael Moll [Fri, 3 Sep 2010 19:44:10 +0000 (12:44 -0700)]
GLE2: Extract the dynamic context menu handling.

This is a pure refactoring that extracts the dynamic context
menu handling in a class outside of LayoutCanvas. The original
is long enough like this. It's used by the ouline view too.

Change-Id: I3a9e59bde2e9ceb69479490ca9179aab29cc13a6

13 years agoFirst version of the PDT.
Xavier Ducrohet [Sat, 4 Sep 2010 02:22:26 +0000 (19:22 -0700)]
First version of the PDT.

PDT stands for (Android) Platform Development Tools.

The first version is pretty basic. A single pref page
to give the location of the dev tree. From this it
finds the location of adb and provides it to ddms through
its extension point.

Change-Id: Ibed895852bc46b83ac6bf749d0ea37f0a54fad08

13 years agoMerge "GLE2: Let scripts display message dialog & input dialog."
Raphael Moll [Tue, 7 Sep 2010 19:49:04 +0000 (12:49 -0700)]
Merge "GLE2: Let scripts display message dialog & input dialog."

13 years agoMerge "Handle instrumentation time output that contains a bracket."
Brett Chabot [Sun, 5 Sep 2010 22:25:55 +0000 (15:25 -0700)]
Merge "Handle instrumentation time output that contains a bracket."

13 years agoMerge "Doc Change: Updated usage doc for android tool"
Xavier Ducrohet [Sat, 4 Sep 2010 01:06:15 +0000 (18:06 -0700)]
Merge "Doc Change: Updated usage doc for android tool"

13 years agoMerge "Doc Change: Updated usage help for Android tool"
Xavier Ducrohet [Sat, 4 Sep 2010 01:05:52 +0000 (18:05 -0700)]
Merge "Doc Change: Updated usage help for Android tool"

13 years agoDDMS now receives the adb location through an extension point.
Xavier Ducrohet [Sat, 4 Sep 2010 00:14:29 +0000 (17:14 -0700)]
DDMS now receives the adb location through an extension point.

Previously DDMS received the adb location through a normal Java API
which requires the other plug-in to be actually running (This
was done in the the start method of ADT).

The new change allows DDMS to start a plug-in (by loading
an extension provided by the plug-in) to query for the location
of adb.

This allows us to have plug-ins with no UI able to provide
the location of ADB (ie a "platform" plug-in that has no UI
besides a pref page, that is started by DDMS indirectly).

Also cleaned up how HierarchyViewer use the AndroidDebugBridge.

Change-Id: I8e842a294eea94c06417149144a2ce435e719cfd

13 years agoMerge "Move plug-ins version to 8.0.0 to match r8"
Xavier Ducrohet [Fri, 3 Sep 2010 23:57:48 +0000 (16:57 -0700)]
Merge "Move plug-ins version to 8.0.0 to match r8"

13 years agoMove plug-ins version to 8.0.0 to match r8
Xavier Ducrohet [Fri, 3 Sep 2010 22:09:19 +0000 (15:09 -0700)]
Move plug-ins version to 8.0.0 to match r8

Change-Id: Ia186695240e5f641c517a31ae93100143fc42694

13 years agoHandle instrumentation time output that contains a bracket.
Brett Chabot [Fri, 3 Sep 2010 19:56:14 +0000 (12:56 -0700)]
Handle instrumentation time output that contains a bracket.

Bug 2975380

Change-Id: I51bcb5b3aaaf320b25619b0b8b4679691c4bff7e

13 years agoGLE2: Let scripts display message dialog & input dialog.
Raphael Moll [Fri, 3 Sep 2010 02:49:29 +0000 (19:49 -0700)]
GLE2: Let scripts display message dialog & input dialog.

Change-Id: I0d07d5f7e672d3ef6b077c5cf24ba5f20fe1dabb

13 years agoSimplify icons in test apps.
Xavier Ducrohet [Fri, 3 Sep 2010 00:14:57 +0000 (17:14 -0700)]
Simplify icons in test apps.

Change-Id: I9dad8dc30e0fa2499c9b003abbe08d91dc4041ab

13 years agoMerge "New test projects."
Xavier Ducrohet [Fri, 3 Sep 2010 00:08:38 +0000 (17:08 -0700)]
Merge "New test projects."

13 years agoMerge "Support for debug build in Ant."
Xavier Ducrohet [Fri, 3 Sep 2010 00:08:25 +0000 (17:08 -0700)]
Merge "Support for debug build in Ant."

13 years agoMerge "Fix possible NPE in layout configuration UI."
Xavier Ducrohet [Fri, 3 Sep 2010 00:08:12 +0000 (17:08 -0700)]
Merge "Fix possible NPE in layout configuration UI."

13 years agoSupport for debug build in Ant.
Xavier Ducrohet [Thu, 2 Sep 2010 21:59:38 +0000 (14:59 -0700)]
Support for debug build in Ant.

"ant debug" now automatically insert debuggable=true in the manifest.

Also cleaned up a lot of the Ant stuff (versioned Ant rules, support
for importing different rules files based on compatibility computation).

This is rendered moot with our new single aapt executable. The ant
rules will now evolve alongside aapt, and there will not be mismatch
between the two.

Change-Id: Iaf309f40e6ab4a0204dfbdb428cfb569bf5ca3b3

13 years agoFix possible NPE in layout configuration UI.
Xavier Ducrohet [Wed, 1 Sep 2010 22:06:31 +0000 (15:06 -0700)]
Fix possible NPE in layout configuration UI.

Change-Id: Ib5974aea2a7e5e67133e1d195f569335bd224fed

13 years agoNew test projects.
Xavier Ducrohet [Thu, 2 Sep 2010 22:18:38 +0000 (15:18 -0700)]
New test projects.

Also fixed some trailing space in templates
and automatically generated files.

Change-Id: I2ed5f0067dff4c62b53857b7e0a2dea5dd9a101c

13 years agoGLE2: Context menu in Outline view.
Raphael Moll [Thu, 2 Sep 2010 21:35:46 +0000 (14:35 -0700)]
GLE2: Context menu in Outline view.

Change-Id: I9e149310cd0b0ada5bb16262a2d6d833a54b3c93

13 years agoGLE2: Fix comments, refactor context menu code.
Raphael Moll [Thu, 2 Sep 2010 21:06:10 +0000 (14:06 -0700)]
GLE2: Fix comments, refactor context menu code.

Simple refactor of the main method populating the dynamic context menu.
It was started to grow a bit too much.
Also added some comments to explain what's going on.

Change-Id: Id58779da5082bb454c1bcae914582e4471364a12

13 years agoMerge "ADT refactor the builders into their own package."
Xavier Ducrohet [Thu, 2 Sep 2010 17:59:17 +0000 (10:59 -0700)]
Merge "ADT refactor the builders into their own package."

13 years agoMerge "ADT: Make release and debug builds really different."
Xavier Ducrohet [Thu, 2 Sep 2010 17:52:41 +0000 (10:52 -0700)]
Merge "ADT: Make release and debug builds really different."

13 years agoADT refactor the builders into their own package.
Xavier Ducrohet [Thu, 2 Sep 2010 02:38:02 +0000 (19:38 -0700)]
ADT refactor the builders into their own package.

Put the growing list of generic build classes
into the main build package.

Change-Id: I65d7067bb2547d7cc9b71674f4df8a6778dd8ac8

13 years agoADT: Make release and debug builds really different.
Xavier Ducrohet [Tue, 31 Aug 2010 17:21:29 +0000 (10:21 -0700)]
ADT: Make release and debug builds really different.

Release export should not be debug builds that are
stripped of their signature and (optionnaly) resigned.
Instead they should actually build the apk in "release"
mode.

Refactor PostCompilerHelper to be easier to use for
export feature (moved all error handling into the
actual IncrementalBuilder since we don't want the
helper to put error/warning marker during release
export).

Update the API of ApkBuilder and PostCompilerHelper
to deal better with signing key:
- option to package with a "sign with debug" flag.
- new option to package/sign with given keys.

Debug build (through incremental builder) use the new
aapt option --debug-mode that automatically insert
debuggable=true in the manifest. This allows for the
same source code to generate debug and release builds.

Currently, only the "export unsigned release apk"
action use the new "release" build. Need to update
the export wizard. Also need to add support for this
in Ant.

New folder in sdk.git/testapps for test projects
to be used in upcoming automated build tests.
Simple "basicProject" to start with.

Change-Id: I3041312bc817153603656de2aa355f8fcaf00b5b

13 years agoMerge "Fix Hierarchy viewer plug-in again."
Xavier Ducrohet [Thu, 2 Sep 2010 01:12:52 +0000 (18:12 -0700)]
Merge "Fix Hierarchy viewer plug-in again."

13 years agoMerge "Previous commit lacked this change to hierarchyviewer."
Xavier Ducrohet [Wed, 1 Sep 2010 23:45:43 +0000 (16:45 -0700)]
Merge "Previous commit lacked this change to hierarchyviewer."

13 years agoPrevious commit lacked this change to hierarchyviewer.
Xavier Ducrohet [Wed, 1 Sep 2010 23:44:19 +0000 (16:44 -0700)]
Previous commit lacked this change to hierarchyviewer.

This is meant to be part of the fix for MacOs X.

Change-Id: Ic2090cd7806f4ae7801851aa0b3f9b8975f150af

13 years agoMerge changes I682ba19d,Ie7451c21
Raphael Moll [Wed, 1 Sep 2010 23:34:51 +0000 (16:34 -0700)]
Merge changes I682ba19d,Ie7451c21

* changes:
  GLE2 context menu: Handle boolean properties as tri-state.
  GLE2 context menu support.

13 years agoGLE2 context menu: Handle boolean properties as tri-state.
Raphael Moll [Wed, 1 Sep 2010 22:32:22 +0000 (15:32 -0700)]
GLE2 context menu: Handle boolean properties as tri-state.

Also offer a clear option for enums and flags.

Change-Id: I682ba19d9f5a1c1d5da28909b02a90ec01f4fc62

13 years agoFix Hierarchy viewer plug-in again.
Xavier Ducrohet [Wed, 1 Sep 2010 20:05:14 +0000 (13:05 -0700)]
Fix Hierarchy viewer plug-in again.

Change-Id: I15ef8c3050826c7f17dc1ee822a3c8e268c62c36

13 years agomerge from tools_r7
The Android Open Source Project [Wed, 1 Sep 2010 13:18:44 +0000 (06:18 -0700)]
merge from tools_r7

Change-Id: I061d6122963907a348ec592bd08077df302413e2

13 years agoRevert "Fixed problem with keymap files copied to target"
Jean-Baptiste Queru [Wed, 1 Sep 2010 13:16:36 +0000 (06:16 -0700)]
Revert "Fixed problem with keymap files copied to target"

This reverts commit 1fc95cae8ec2ccfe134ff279ed9082311ad0d877.

13 years agoRevert "Fixed problem with keymap files copied to target"
Jean-Baptiste Queru [Wed, 1 Sep 2010 13:11:12 +0000 (06:11 -0700)]
Revert "Fixed problem with keymap files copied to target"

This reverts commit 246e0ee6968ed0030fe99cc12ca154a1513b8645.

13 years agoMerge "Fix HierarchyViewer2 to run on MacOS X correctly."
Xavier Ducrohet [Wed, 1 Sep 2010 02:22:38 +0000 (19:22 -0700)]
Merge "Fix HierarchyViewer2 to run on MacOS X correctly."

13 years agoFix HierarchyViewer2 to run on MacOS X correctly.
Xavier Ducrohet [Wed, 1 Sep 2010 00:50:58 +0000 (17:50 -0700)]
Fix HierarchyViewer2 to run on MacOS X correctly.

This also fix the issue with the app never closing correctly
(throwing an exception).

Also updated the launcher script to match the new ones we use in
the other Java based tools.

Change-Id: I851f0732a78c6e6c072728f05e611f01eee8fc19

13 years agoGLE2 context menu support.
Raphael Moll [Fri, 27 Aug 2010 07:02:30 +0000 (00:02 -0700)]
GLE2 context menu support.

Context menu now shows some view properties:
- for all views, quick access to layout width/height.
- for LinearLayout, quick access to orientation.
- for all views, quick access to all boolean, enum or flag attributes.

Some follow up will be necessary in another CL, namely:
- booleans must be tri-states (true, false, cleared).
- need a way to clear enum and flags rather than just change the value.

Change-Id: Ie7451c21f0781f0efb0a1bbc676abef80027c4f7

13 years agomerge from tools_r7
The Android Open Source Project [Wed, 1 Sep 2010 00:34:21 +0000 (17:34 -0700)]
merge from tools_r7

Change-Id: I9de1ce4221adea247a5f6afe958e2a2e67332034

13 years agoFixed problem with keymap files copied to target
Magnus Karlsson [Mon, 30 Aug 2010 14:54:03 +0000 (16:54 +0200)]
Fixed problem with keymap files copied to target

Moved Android.mk and keymap files except AVRCP.kl from sdk/emulator/keymaps
to build/target/board/generic. This causes the keymap files to copied into
the system image of generic and sdk products, but not into the system image
of HW products. Originally the qwerty.kl was copied to target no matter
if the target had a qwerty keyboard or not, which is the case for e.g.
the Nexus One.

Change-Id: I6f76bcd4e23b8478f36f213090d22d7d3ea1255b

13 years agoMerge "Fixed problem with keymap files copied to target"
Jean-Baptiste Queru [Tue, 31 Aug 2010 21:52:59 +0000 (14:52 -0700)]
Merge "Fixed problem with keymap files copied to target"

13 years agoresolve conflict from tools_r7
Jean-Baptiste Queru [Tue, 31 Aug 2010 19:59:17 +0000 (12:59 -0700)]
resolve conflict from tools_r7

Change-Id: I5f416c6e77def15fdc6ae1022bbfe3033a6992ef

13 years agoMerge changes I7b091c36,I767c1513
Raphael Moll [Tue, 31 Aug 2010 19:10:40 +0000 (12:10 -0700)]
Merge changes I7b091c36,I767c1513

* changes:
  SDK Manager: Remove static package class map.
  SdkManager: exclude obsolete packages from automatic update

13 years agoMerge "Don't process events for non Android projects"
Xavier Ducrohet [Tue, 31 Aug 2010 18:20:44 +0000 (11:20 -0700)]
Merge "Don't process events for non Android projects"

13 years agoMerge "Icons for explode and outline toggle in the Layout Editor."
Xavier Ducrohet [Tue, 31 Aug 2010 17:53:14 +0000 (10:53 -0700)]
Merge "Icons for explode and outline toggle in the Layout Editor."

13 years agoMake the HierarchyViewer plug-in not screw up DDMS.
Xavier Ducrohet [Tue, 31 Aug 2010 17:36:01 +0000 (10:36 -0700)]
Make the HierarchyViewer plug-in not screw up DDMS.

The HV plug-in behaved like the standalone app and initialized
the AndroidDebugBridge with no client support (even though
this init is handled by DDMS) and would recreate the bridge
object destroying the one created by DDMS.

This completely broke DDMS.

Change-Id: Ife1187c74daef69607d508aabb1f7234507a170f

13 years agoIcons for explode and outline toggle in the Layout Editor.
Xavier Ducrohet [Tue, 31 Aug 2010 01:35:58 +0000 (18:35 -0700)]
Icons for explode and outline toggle in the Layout Editor.

Change-Id: Iee2e75bcd127c079f80d192bc21f4e692d247447