OSDN Git Service

android-x86/sdk.git
14 years agoSDK Manager > AVD > Start: print computed scale. DO NOT MERGE.
Raphael [Thu, 29 Oct 2009 20:00:11 +0000 (13:00 -0700)]
SDK Manager > AVD > Start: print computed scale. DO NOT MERGE.

This displays the scale computed by AVD Start.
I find it more intuitive to use if I see what the
emulator will be called with.

Change-Id: I6b97fee06bd4e6dc36c977ffef3c25315469b766

14 years agoMerge change I2089d86d into eclair-sdk
Android (Google) Code Review [Thu, 29 Oct 2009 19:28:07 +0000 (15:28 -0400)]
Merge change I2089d86d into eclair-sdk

* changes:
  Fix the android launcher script to not force Java 1.5 on MacOS

14 years agoFix the android launcher script to not force Java 1.5 on MacOS
Xavier Ducrohet [Thu, 29 Oct 2009 18:40:20 +0000 (11:40 -0700)]
Fix the android launcher script to not force Java 1.5 on MacOS

14 years agodoc change only: update gae python server script (tested)
Dirk Dougherty [Sat, 10 Oct 2009 00:15:52 +0000 (17:15 -0700)]
doc change only: update gae python server script (tested)

14 years agoMerge change I235da4a8 into eclair-sdk
Android (Google) Code Review [Wed, 21 Oct 2009 20:09:28 +0000 (16:09 -0400)]
Merge change I235da4a8 into eclair-sdk

* changes:
  SDK android "update project" must not require --target parameter.

14 years agoSDK android "update project" must not require --target parameter.
Raphael [Wed, 21 Oct 2009 19:30:21 +0000 (12:30 -0700)]
SDK android "update project" must not require --target parameter.

SDK BUG 2203846

Change-Id: I235da4a8892de9a4334d5630667484220472f168

14 years agoMerge change I075d2eae into eclair-sdk
Android (Google) Code Review [Tue, 20 Oct 2009 22:18:18 +0000 (18:18 -0400)]
Merge change I075d2eae into eclair-sdk

* changes:
  SDK Updater: UI polish

14 years agoMerge change I5b1f8bca into eclair-sdk
Android (Google) Code Review [Tue, 20 Oct 2009 22:16:59 +0000 (18:16 -0400)]
Merge change I5b1f8bca into eclair-sdk

* changes:
  AVD Manager: Properly disable AVD > Start > ? under Windows

14 years agoAVD Manager: Properly disable AVD > Start > ? under Windows
Raphael [Tue, 20 Oct 2009 22:09:56 +0000 (15:09 -0700)]
AVD Manager: Properly disable AVD > Start > ? under Windows

SDK BUG 2201546

Change-Id: I5b1f8bcaf57f2e7f94b4109cb62a3a5eadcd24a9

14 years agoSDK Updater: UI polish
Raphael [Tue, 20 Oct 2009 21:54:30 +0000 (14:54 -0700)]
SDK Updater: UI polish

Fixes the following issues:
- Updater says it didnd't install addon and then install it
  (cause: UpdaterData was looking for an ArchiveInfo in a map of Archive)
- Added a label explaining the [*] in the dependency list.
- Added the originating site to the long description in the package chooser.
- Display downloading/installing comments in the result window.
- Fixed app name in dialog when tools are updated.

Change-Id: I075d2eaeb357f33671f7e9e70a906ca48000908d

14 years agoMerge change I4151529e into eclair-sdk
Android (Google) Code Review [Tue, 20 Oct 2009 20:13:50 +0000 (16:13 -0400)]
Merge change I4151529e into eclair-sdk

* changes:
  Fix potential NPE in manifest editor when switching SDKs

14 years agoFix potential NPE in manifest editor when switching SDKs
Raphael [Tue, 20 Oct 2009 19:44:18 +0000 (12:44 -0700)]
Fix potential NPE in manifest editor when switching SDKs

The UiElementNode depends on the target to compute the
description and it's entirely possible for the target to
be null while the SDK is being unloaded/reloaded.

SDK BUG 2196260

Change-Id: I4151529ea3b6a65eade47d03e55fc93cad8596d9

14 years agoAndroid.bat: remove /O in xcopy.
Raphael [Tue, 20 Oct 2009 19:16:51 +0000 (12:16 -0700)]
Android.bat: remove /O in xcopy.

It means "copy ownership". But on the Vista 64 box in the lab,
it make the xcopy of lib/x86/swt.jar fail the next time when it
was already present.

SDK BUG 2198636

14 years agoMerge change I1a00abb0 into eclair-sdk
Android (Google) Code Review [Mon, 19 Oct 2009 21:24:34 +0000 (17:24 -0400)]
Merge change I1a00abb0 into eclair-sdk

* changes:
  Fix a deadlock when ADT starts, starts building projects, and load the SDK at the same time.

14 years agoFix a deadlock when ADT starts, starts building projects, and load the SDK at the...
Xavier Ducrohet [Mon, 19 Oct 2009 19:56:57 +0000 (12:56 -0700)]
Fix a deadlock when ADT starts, starts building projects, and load the SDK at the same time.

14 years agoSDK Updater: properly update/install doc. (do not merge)
Raphael [Thu, 15 Oct 2009 23:44:18 +0000 (16:44 -0700)]
SDK Updater: properly update/install doc. (do not merge)

This contains the following changes:
- a new interface IPackageVersion for all Package classes that can
  provide an AndroidVersion getVersion().
- fixes the "update sdk" where the local repo has no doc by suggesting
  to install the most up-to-date doc.
- fixes a bad cast in the UpdaterLogic.
- normalizes the long descriptions but adding the revision if not
  present.
- fixes an edge case when displaying the very long description of the
  docs package, i.e. need to indicate it is upgraded due to a version
  change.

SDK BUG 2192352

14 years agoAdd save/load for the user-made Layout Devices. (do not merge)
Xavier Ducrohet [Thu, 15 Oct 2009 00:57:30 +0000 (17:57 -0700)]
Add save/load for the user-made Layout Devices. (do not merge)

Also added support for mcc/mnc in the schema.

14 years agoWQVGA skin (240x400) (do not merge)
Xavier Ducrohet [Thu, 15 Oct 2009 18:07:41 +0000 (11:07 -0700)]
WQVGA skin (240x400) (do not merge)

14 years agoMerge change Ie7eb359a into eclair
Android (Google) Code Review [Thu, 15 Oct 2009 01:14:36 +0000 (21:14 -0400)]
Merge change Ie7eb359a into eclair

* changes:
  Tweaks to Pointer Location.

14 years agoTweaks to Pointer Location.
Dianne Hackborn [Wed, 14 Oct 2009 23:30:09 +0000 (16:30 -0700)]
Tweaks to Pointer Location.

Have it show the amount of total movement after a release, and whether this
is above the touch slop.

Change-Id: Ie7eb359a84e20786779015c3146ea5d96f380188

14 years agoMerge change I74fdf8c6 into eclair
Android (Google) Code Review [Wed, 14 Oct 2009 22:58:02 +0000 (18:58 -0400)]
Merge change I74fdf8c6 into eclair

* changes:
  Fix device dpi handling in the Layout device parsing/UI.

14 years agoMerge change I3986492c into eclair
Android (Google) Code Review [Wed, 14 Oct 2009 22:57:32 +0000 (18:57 -0400)]
Merge change I3986492c into eclair

* changes:
  Add --prebuilt-ndk=FILE and --no-git options to build/tools/make-release.sh script.

14 years agoAdd --prebuilt-ndk=FILE and --no-git options to build/tools/make-release.sh script.
David 'Digit' Turner [Wed, 14 Oct 2009 22:22:11 +0000 (15:22 -0700)]
Add --prebuilt-ndk=FILE and --no-git options to build/tools/make-release.sh script.

This is used to help people easily package experimental versions of the NDK to
test and distribute fixes and improvements. The main idea is to allow external
contributors to play with it in interesting way and share the result easily.

14 years agoFix device dpi handling in the Layout device parsing/UI.
Xavier Ducrohet [Wed, 14 Oct 2009 22:25:15 +0000 (15:25 -0700)]
Fix device dpi handling in the Layout device parsing/UI.

Change-Id: I74fdf8c62a7b005e40e1817d9f39c59d8f99c070

14 years agoMerge change Idad5a0ab into eclair
Android (Google) Code Review [Wed, 14 Oct 2009 19:16:28 +0000 (15:16 -0400)]
Merge change Idad5a0ab into eclair

* changes:
  SDK: Remove STOPSHIP keyword.

14 years agoSDK: Remove STOPSHIP keyword.
Raphael [Wed, 14 Oct 2009 19:11:56 +0000 (12:11 -0700)]
SDK: Remove STOPSHIP keyword.

Change-Id: Idad5a0ab0f31c3e513ce19d914e2eb686078d44f

14 years agoWindows SDK: copy SDK Setup.exe at root of SDK.
Raphael [Wed, 14 Oct 2009 13:52:59 +0000 (06:52 -0700)]
Windows SDK: copy SDK Setup.exe at root of SDK.

Also add a source.properties (we'll install it on the vendor/google
script part of the script).

SDK BUG 2173135

Change-Id: Icb0f22a65ffd819bf7b0f48adbec51cbc1243f71

14 years agoMerge change Idc447b41 into eclair
Android (Google) Code Review [Wed, 14 Oct 2009 05:51:44 +0000 (01:51 -0400)]
Merge change Idc447b41 into eclair

* changes:
  UI to manage/create custom Layout Devices.

14 years agoFix RawImage.getARGB to force alpha to 0xFF for buffers with no alpha.
Xavier Ducrohet [Wed, 14 Oct 2009 02:24:58 +0000 (19:24 -0700)]
Fix RawImage.getARGB to force alpha to 0xFF for buffers with no alpha.

Change-Id: I6b95f5758c36979cca06483f1ff797ba67ecd056

14 years agoUI to manage/create custom Layout Devices.
Xavier Ducrohet [Thu, 1 Oct 2009 08:58:52 +0000 (01:58 -0700)]
UI to manage/create custom Layout Devices.

Change-Id: Idc447b4136a6f709d7a665321af68de552ec613a

14 years agoMerge change I6dbcafab into eclair
Android (Google) Code Review [Tue, 13 Oct 2009 18:41:47 +0000 (14:41 -0400)]
Merge change I6dbcafab into eclair

* changes:
  Fix NPE in the parsing of property file.

14 years agoFix NPE in the parsing of property file.
Xavier Ducrohet [Tue, 13 Oct 2009 17:28:16 +0000 (10:28 -0700)]
Fix NPE in the parsing of property file.

this could happen if the log object is null and the parsing fails.

Change-Id: I6dbcafab26c5405efba20b30f511104fcee5bf78

14 years agoMerge change Ib096f1f0 into eclair
Android (Google) Code Review [Tue, 13 Oct 2009 04:38:11 +0000 (00:38 -0400)]
Merge change Ib096f1f0 into eclair

* changes:
  SDK Manager: suggest install of new platforms, addons or extra packages.

14 years agoSDK: Support "android.bat update sdk"
Raphael [Mon, 12 Oct 2009 22:20:52 +0000 (15:20 -0700)]
SDK: Support "android.bat update sdk"

This ammends the batch file to recognize "android update sdk" to start
the updater UI.

SDK BUG 2173128 2173150

Change-Id: I3a2b9df9a3c52aa86bf34d05389c4034d60d57dc

14 years agoMerge change I5359971f into eclair
Android (Google) Code Review [Mon, 12 Oct 2009 21:13:23 +0000 (17:13 -0400)]
Merge change I5359971f into eclair

* changes:
  New "SDK Launcher" for Windows.

14 years agoSDK Manager: suggest install of new platforms, addons or extra packages.
Raphael [Sat, 10 Oct 2009 01:24:08 +0000 (18:24 -0700)]
SDK Manager: suggest install of new platforms, addons or extra packages.

Supports the new "android update sdk" action.

Change-Id: Ib096f1f024639018252c58d4f9c8872ead3c39b9

14 years agoMerge change I26a21669 into eclair
Android (Google) Code Review [Mon, 12 Oct 2009 19:36:08 +0000 (15:36 -0400)]
Merge change I26a21669 into eclair

* changes:
  Set SDK Platform/Doc to API 5.

14 years agoNew "SDK Launcher" for Windows.
Raphael [Mon, 12 Oct 2009 05:32:49 +0000 (22:32 -0700)]
New "SDK Launcher" for Windows.

This simple .exe will sit at the root of the Windows SDK
and currently simply executes tools\android.bat

It uses the same icon as the emulator.

Eventually it should simply replace the batch file.

Change-Id: I5359971fd476d6809d4ccb6bc0a0bcd34e30a3e6

14 years agoSDK Manager: display packages revisions
Raphael [Sat, 10 Oct 2009 01:17:21 +0000 (18:17 -0700)]
SDK Manager: display packages revisions

This changes the short description of all the package types
to display the revision.

It also changes the long description to be "whatever" is in the
XML; if there's nothing in the xml, use the short description.
Also appends the requirements for addon/platform and min-tools-rev.

I will address the packaging script to put proper descriptions
when generating the XML.

SDK BUG 2136068

Change-Id: Iaca7692f048f7f63111c2fe1f25c5588f0fc2099

14 years agoMerge change I2fb42327 into eclair
Android (Google) Code Review [Sun, 11 Oct 2009 16:52:46 +0000 (12:52 -0400)]
Merge change I2fb42327 into eclair

* changes:
  SDK Manager: extra packages must respect min-tools-rev too.

14 years agoMerge change I408e3eda into eclair
Android (Google) Code Review [Sun, 11 Oct 2009 16:51:53 +0000 (12:51 -0400)]
Merge change I408e3eda into eclair

* changes:
  SDK Manager: fix selection of non-expanded remote archives.

14 years agoSet SDK Platform/Doc to API 5.
Raphael [Sat, 10 Oct 2009 21:16:20 +0000 (14:16 -0700)]
Set SDK Platform/Doc to API 5.

14 years agoSDK Manager: extra packages must respect min-tools-rev too.
Raphael [Sat, 10 Oct 2009 01:45:15 +0000 (18:45 -0700)]
SDK Manager: extra packages must respect min-tools-rev too.

SDK BUG 2040986

Change-Id: I2fb42327ff6d474fd8ad58fcd0725af3972ea026

14 years agoSDK Manager: fix selection of non-expanded remote archives.
Raphael [Sat, 10 Oct 2009 00:34:30 +0000 (17:34 -0700)]
SDK Manager: fix selection of non-expanded remote archives.

SDK BUG 2177033

Change-Id: I408e3edaa5a418df871ebf0da567468bf81189df

14 years agoAdd missing override.
Xavier Ducrohet [Fri, 9 Oct 2009 22:36:52 +0000 (15:36 -0700)]
Add missing override.

Change-Id: Id9608b8ac9f05c3e0db92668797b2d80f0690397

14 years agoFix adt-tests: remove UpdaterLogicTest
Raphael [Fri, 9 Oct 2009 21:20:04 +0000 (14:20 -0700)]
Fix adt-tests: remove UpdaterLogicTest

Also reverts UpdaterLogic as package-private and
adds some javadoc to it.

SDK BUG 2179267

Change-Id: I19644cc4c99ac70598f3cbcfface2f19d9999931

14 years agoMerge change Ib18a32c1 into eclair
Android (Google) Code Review [Fri, 9 Oct 2009 21:20:52 +0000 (17:20 -0400)]
Merge change Ib18a32c1 into eclair

* changes:
  Minor label change (size -> resolution)

14 years agoMerge change I3e6a5048 into eclair
Android (Google) Code Review [Fri, 9 Oct 2009 20:45:44 +0000 (16:45 -0400)]
Merge change I3e6a5048 into eclair

* changes:
  Fix ADT tests failures:  - Separate functional tests into ones which load their own Sdk, vs ones which need to use the same one as Adt.  - Make all base test classes abstract with protected constructors.

14 years agoMinor label change (size -> resolution)
Xavier Ducrohet [Fri, 9 Oct 2009 20:41:56 +0000 (13:41 -0700)]
Minor label change (size -> resolution)

Also remove unused imports

Change-Id: Ib18a32c126bc913e3e0c14546d2ce693190be1d1

14 years agoFix ADT tests failures:
Brett Chabot [Wed, 7 Oct 2009 21:00:24 +0000 (14:00 -0700)]
Fix ADT tests failures:
 - Separate functional tests into ones which load their own Sdk, vs ones which
need to use the same one as Adt.
 - Make all base test classes abstract with protected constructors.

BUG 21733822173847

14 years agoMerge change Ic77859c7 into eclair
Android (Google) Code Review [Fri, 9 Oct 2009 19:22:43 +0000 (15:22 -0400)]
Merge change Ic77859c7 into eclair

* changes:
  Remove flaky ApiDemos tests from continuous.

14 years agoRemove flaky ApiDemos tests from continuous.
Brett Chabot [Thu, 8 Oct 2009 22:33:33 +0000 (15:33 -0700)]
Remove flaky ApiDemos tests from continuous.

These aren't needed anyway, since they are run as part of SDK test set.

BUG 2081356

14 years agoMerge change Ied6c54f1 into eclair
Android (Google) Code Review [Fri, 9 Oct 2009 19:15:45 +0000 (15:15 -0400)]
Merge change Ied6c54f1 into eclair

* changes:
  Fix continuous adt-test: UpdaterLogic is now public.

14 years agoFix continuous adt-test: UpdaterLogic is now public.
Raphael [Fri, 9 Oct 2009 18:48:04 +0000 (11:48 -0700)]
Fix continuous adt-test: UpdaterLogic is now public.

Also remove the make sdkuilib from create_tests_symlinks, since
adt-tests actually uses the one from adt.

SDK BUG 2177557

Change-Id: Ied6c54f1227ed73fb77723e016559357fc1c1ee2

14 years agoMerge change Idf5bcb58 into eclair
Android (Google) Code Review [Fri, 9 Oct 2009 18:45:22 +0000 (14:45 -0400)]
Merge change Idf5bcb58 into eclair

* changes:
  Fix ant install when -Dadb.device.arg not provided.

14 years agoFix ant install when -Dadb.device.arg not provided.
Brett Chabot [Fri, 9 Oct 2009 04:19:36 +0000 (21:19 -0700)]
Fix ant install when -Dadb.device.arg not provided.

And also add the adb.device.arg support to ant uninstall.

BUG 2172690

14 years agoMerge change I2c7af74e into eclair
Android (Google) Code Review [Fri, 9 Oct 2009 17:52:36 +0000 (13:52 -0400)]
Merge change I2c7af74e into eclair

* changes:
  SDK Updater: don't auto-expand archives when selecting a package

14 years agoSDK Updater: don't auto-expand archives when selecting a package
Raphael [Thu, 8 Oct 2009 23:36:41 +0000 (16:36 -0700)]
SDK Updater: don't auto-expand archives when selecting a package

SDK BUG 2177033

Change-Id: I2c7af74e0dbbb3fc452e15e135b656a89bde4d31

14 years agoFix "android create project" to properly set name in strings.xml
Raphael [Thu, 8 Oct 2009 22:16:22 +0000 (15:16 -0700)]
Fix "android create project" to properly set name in strings.xml

Layout was wrong too.

SDK BUG 2176634

Change-Id: Ibbec1c47037d4a6dd875953c1875daaac4f11106

14 years agoSupport adb device-targeting arguments in ant scripts.
Raphael [Thu, 8 Oct 2009 22:02:10 +0000 (15:02 -0700)]
Support adb device-targeting arguments in ant scripts.

Example of usage:
  $ ant install -Dadb.device.arg=-d

SDK BUG 2172690

Change-Id: I196441f9aab888b1356b4fc0255842570be5140f

14 years agoMerge change Ic4387354 into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 21:46:14 +0000 (17:46 -0400)]
Merge change Ic4387354 into eclair

* changes:
  Make WVGA/High skins use a higher VM heap size.

14 years agoMake WVGA/High skins use a higher VM heap size.
Xavier Ducrohet [Thu, 8 Oct 2009 21:40:12 +0000 (14:40 -0700)]
Make WVGA/High skins use a higher VM heap size.

Change-Id: Ic43873545dd7a9482e4214ed3750a8e2108cafc6

14 years agoMerge change I935c71f2 into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 21:35:44 +0000 (17:35 -0400)]
Merge change I935c71f2 into eclair

* changes:
  Add sholes to Windows USB Driver in Eclair.

14 years agoAdd sholes to Windows USB Driver in Eclair.
Raphael [Mon, 21 Sep 2009 19:45:53 +0000 (12:45 -0700)]
Add sholes to Windows USB Driver in Eclair.

SDK BUG 2132512

Change-Id: I935c71f2fb689ed8e493e3375ad676f6f66a3f76

14 years agoMerge change I7d549c26 into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 21:20:28 +0000 (17:20 -0400)]
Merge change I7d549c26 into eclair

* changes:
  Add SdkUiLib tests to adt-tests.

14 years agoMerge change Ica46d149 into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 19:51:29 +0000 (15:51 -0400)]
Merge change Ica46d149 into eclair

* changes:
  SDK Updater: platform dependency on tools, addon dependency on platform.

14 years agoSDK Updater: platform dependency on tools, addon dependency on platform.
Raphael [Wed, 7 Oct 2009 05:42:13 +0000 (22:42 -0700)]
SDK Updater: platform dependency on tools, addon dependency on platform.

SDK BUG 2040986

Change-Id: Ica46d14939bb3a9bf499899a0bf571456d4c6017

14 years agoMerge change Ia20b55c7 into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 18:35:38 +0000 (14:35 -0400)]
Merge change Ia20b55c7 into eclair

* changes:
  Add hardware support to AVD creation dialog.

14 years agoam fb244224: merge from donut-gms
Jean-Baptiste Queru [Thu, 8 Oct 2009 17:43:28 +0000 (10:43 -0700)]
am fb244224: merge from donut-gms

Merge commit 'fb244224235c33b492774f32e8caf8d43f2a3cec' into eclair

* commit 'fb244224235c33b492774f32e8caf8d43f2a3cec':
  Remove unnecessary preprocessing of monkey commands, fix bug where it didn't recognize '@', '+', '.', etc.
  adding a recorder function to collect output into an xml file; adding getvars and listvars command to MonkeyRunner
  Add runtest test def for cts-webkit.

14 years agoMerge change I2e026098 into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 17:10:19 +0000 (13:10 -0400)]
Merge change I2e026098 into eclair

* changes:
  Three implementations of a live wallpaper showing a spinning cube. One very basic, one slightly more elaborate (selectable shape, settings panel), and one that uses renderscript.

14 years agomerge from donut-gms
Jean-Baptiste Queru [Thu, 8 Oct 2009 17:00:39 +0000 (10:00 -0700)]
merge from donut-gms

14 years agoAdd SdkUiLib tests to adt-tests.
Raphael [Thu, 8 Oct 2009 04:57:50 +0000 (21:57 -0700)]
Add SdkUiLib tests to adt-tests.

Also fixes the create_tests_symlink for Windows.

SDK BUG 2040986

Change-Id: I7d549c265efb9dbb5936ed7c9a7798eefee52d9b

14 years agoAdd hardware support to AVD creation dialog.
Xavier Ducrohet [Thu, 8 Oct 2009 02:47:30 +0000 (19:47 -0700)]
Add hardware support to AVD creation dialog.

Change-Id: Ia20b55c788191b40159b5c38b66f1da333179ccc

14 years agoMerge change I0d2bc2d1 into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 23:08:05 +0000 (19:08 -0400)]
Merge change I0d2bc2d1 into eclair

* changes:
  New based dialog class.

14 years agoNew based dialog class.
Xavier Ducrohet [Wed, 7 Oct 2009 21:30:42 +0000 (14:30 -0700)]
New based dialog class.

This simply (for now) extends the jface dialog to properly
set it up.

Change-Id: I0d2bc2d10aad3811201f9d1df3efbfc87be50cb4

14 years agoSDK: remove default.properties from ApiDemos
Raphael [Wed, 7 Oct 2009 22:18:12 +0000 (15:18 -0700)]
SDK: remove default.properties from ApiDemos

It's annoying to have to maintain this. Remove it and understand
why we needed it in the first place. If we do, we'll generate
it when packaging the SDK rather than have it in the tree.

SDK BUG 2144477

14 years agoFix the MergeRootFrameLayout rule by checking the presence of padding.
Romain Guy [Wed, 7 Oct 2009 19:31:17 +0000 (12:31 -0700)]
Fix the MergeRootFrameLayout rule by checking the presence of padding.

Change-Id: I3a8b257025e74f6899233d9b99f7f86b5675e997

14 years agoMerge change I47bf273a into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 00:19:28 +0000 (20:19 -0400)]
Merge change I47bf273a into eclair

* changes:
  Update AVD creation UI to be easier for skin/sdcard.

14 years agoMerge change Iafd22833 into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 00:19:02 +0000 (20:19 -0400)]
Merge change Iafd22833 into eclair

* changes:
  Add git ignore file for ninepatch eclipse project.

14 years agoUpdate AVD creation UI to be easier for skin/sdcard.
Xavier Ducrohet [Tue, 6 Oct 2009 23:54:20 +0000 (16:54 -0700)]
Update AVD creation UI to be easier for skin/sdcard.

BUG: 2162198

Change-Id: I47bf273a730a1bf6e0c3f47fb5247f02d06259a5

14 years agoAdd git ignore file for ninepatch eclipse project.
Xavier Ducrohet [Tue, 6 Oct 2009 23:59:38 +0000 (16:59 -0700)]
Add git ignore file for ninepatch eclipse project.

Change-Id: Iafd228336791a4a5b3b9443ba7ea075f8bf1d8a0

14 years agoMerge change I15034878 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 23:46:08 +0000 (19:46 -0400)]
Merge change I15034878 into eclair

* changes:
  Fix Windows SDK build broken by layoutopt change.

14 years agoFix Windows SDK build broken by layoutopt change.
Raphael [Tue, 6 Oct 2009 23:43:05 +0000 (16:43 -0700)]
Fix Windows SDK build broken by layoutopt change.

Change-Id: I1503487861ef20dead3de62548feea6328e0d60d

14 years agoFix error in InefficientWeight rule. It would wrongly assume 0dip != 0dip.
Romain Guy [Tue, 6 Oct 2009 23:22:58 +0000 (16:22 -0700)]
Fix error in InefficientWeight rule. It would wrongly assume 0dip != 0dip.

Change-Id: I2ab9b3c6b57744563c87cb8457c55afd0cbfcb57

14 years agoThree implementations of a live wallpaper showing a spinning cube.
Marco Nelissen [Tue, 6 Oct 2009 23:00:27 +0000 (16:00 -0700)]
Three implementations of a live wallpaper showing a spinning cube.
One very basic, one slightly more elaborate (selectable shape, settings panel), and one that uses renderscript.

14 years agoMerge change Idc3d3b2f into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 22:19:28 +0000 (18:19 -0400)]
Merge change Idc3d3b2f into eclair

* changes:
  Moved the test data to their own package.

14 years agoMerge change Id7515f9a into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 21:56:15 +0000 (17:56 -0400)]
Merge change Id7515f9a into eclair

* changes:
  New rules for layoutopt: IncorrectHeight/WidthIn[Horizontal]ScrollView, UselessView.

14 years agoMerge change I56443773 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 19:35:46 +0000 (15:35 -0400)]
Merge change I56443773 into eclair

* changes:
  Add support for loading 9-patch from a stream.

14 years agoAdd support for loading 9-patch from a stream.
Xavier Ducrohet [Tue, 6 Oct 2009 19:10:42 +0000 (12:10 -0700)]
Add support for loading 9-patch from a stream.

This will be used by the tests.
Also added the eclipse project files.

Change-Id: I56443773d90594475fc3f14464d48e56d5a1bbb5

14 years agoMoved the test data to their own package.
Xavier Ducrohet [Tue, 6 Oct 2009 19:02:35 +0000 (12:02 -0700)]
Moved the test data to their own package.

This allows us to select the whole package for binary inclusion
in adt-test (which doesn't automatically take any non java file for
packaging)

Change-Id: Idc3d3b2f27623de1b0fccd7e01dd88948923081c

14 years agoNew rules for layoutopt: IncorrectHeight/WidthIn[Horizontal]ScrollView, UselessView.
Romain Guy [Tue, 6 Oct 2009 18:37:46 +0000 (11:37 -0700)]
New rules for layoutopt: IncorrectHeight/WidthIn[Horizontal]ScrollView, UselessView.

This change also refactors the uix library to remove an unnecessary class (LayoutNode.)
The refactoring helps writing cleaner script by accessing only the node object instead
of xml and node. This change also augment the capabilities of the node in Groovy scripts.

Change-Id: Id7515f9a79826909834d82496a6d9dfbc19988ad

14 years agoMerge change Iddb7f466 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 18:16:58 +0000 (14:16 -0400)]
Merge change Iddb7f466 into eclair

* changes:
  Put kxml back in adt-test

14 years agoFix NPE in layoutopt when trying to open non-XML files.
Romain Guy [Tue, 6 Oct 2009 17:51:05 +0000 (10:51 -0700)]
Fix NPE in layoutopt when trying to open non-XML files.

Change-Id: I59900c35996ce4465e2ecfd2eb26a19e3fa66403

14 years agoPut kxml back in adt-test
Xavier Ducrohet [Tue, 6 Oct 2009 17:45:18 +0000 (10:45 -0700)]
Put kxml back in adt-test

Since adt doesn't export the package, it's just easier that way.

Change-Id: Iddb7f4660ccc0bc51374128a544975596cb051aa

14 years agoMerge change Idc9b152e into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 17:05:53 +0000 (13:05 -0400)]
Merge change Idc9b152e into eclair

* changes:
  Add layoutopt to the SDK.

14 years agoOnly create folder if not present.
Xavier Ducrohet [Tue, 6 Oct 2009 03:44:42 +0000 (20:44 -0700)]
Only create folder if not present.

Change-Id: I77673e0f43d7a00f42e2a97663bd9aed2aaf09f2

14 years agoMerge change Iab62c8e9 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 03:09:40 +0000 (23:09 -0400)]
Merge change Iab62c8e9 into eclair

* changes:
  Add layoutlib.jar to the classpath of adt-tests

14 years agoAdd layoutlib.jar to the classpath of adt-tests
Xavier Ducrohet [Tue, 6 Oct 2009 03:08:31 +0000 (20:08 -0700)]
Add layoutlib.jar to the classpath of adt-tests

Change-Id: Iab62c8e9849873e91640484c70110660aabd4b8e

14 years agoAdd layoutopt to the SDK.
Romain Guy [Tue, 6 Oct 2009 01:11:09 +0000 (18:11 -0700)]
Add layoutopt to the SDK.

Change-Id: Idc9b152e2a5abffaa9feb2cf70791d8288cfa1dd

14 years agoMerge change Ic1eff784 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 02:35:24 +0000 (22:35 -0400)]
Merge change Ic1eff784 into eclair

* changes:
  Fix script (and build)