OSDN Git Service

android-x86/development.git
14 years agohdpi artwork for development/{apps,samples}.
Daniel Sandler [Tue, 29 Sep 2009 20:30:07 +0000 (16:30 -0400)]
hdpi artwork for development/{apps,samples}.

(drop dated 29-Sep-2009)

Change-Id: Ie022d478ed4eafc641e475dad94f507a6c358595

14 years agoMerge change Ic86de6e9 into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 17:09:41 +0000 (13:09 -0400)]
Merge change Ic86de6e9 into eclair

* changes:
  Fix NPE when opening new layout file.

14 years agoAdd development setting for compatibility mode.
Dianne Hackborn [Tue, 29 Sep 2009 07:03:59 +0000 (00:03 -0700)]
Add development setting for compatibility mode.

Also some cleanup here and there.

Change-Id: Iebf563cf6ec2d0b1671a54bd534336e8fef4b9c0

14 years agoFix NPE when opening new layout file.
Xavier Ducrohet [Tue, 29 Sep 2009 00:53:47 +0000 (17:53 -0700)]
Fix NPE when opening new layout file.

When adding the parsing of the device XML files, I mostly tested with a
layout file already opened when Eclipse launched.

Well it turns out there's a slightly different code path when opening a file
*after* Eclipse has launched. The load of the device UI in the config
selected caused a rendering before the XML model was loaded which ended
up in an NPE in the recomputeLayout method.

Additionnally, I hadn't finalized the code for the GLE2, so this brings it
in line with the GLE1.

Change-Id: Ic86de6e91ca13793aceecb5706bc963edddb9241

14 years agoMerge change Ic94b435b into eclair
Android (Google) Code Review [Mon, 28 Sep 2009 22:14:51 +0000 (18:14 -0400)]
Merge change Ic94b435b into eclair

* changes:
  Fix bug 2142296 where the user couldn't back out of the JetBoy demo. The application was trapping the key up event on the back key. It worked on Donut because the framework implemented the "back" behavior on the key down. The fix consists in sending the key up event on the back button to the Activity class.

14 years agoFix bug 2142296 where the user couldn't back out of the JetBoy demo.
Jean-Michel Trivi [Mon, 28 Sep 2009 22:06:25 +0000 (15:06 -0700)]
Fix bug 2142296 where the user couldn't back out of the JetBoy demo.
The application was trapping the key up event on the back key. It
worked on Donut because the framework implemented the "back" behavior
on the key down. The fix consists in sending the key up event on the
back button to the Activity class.

14 years agoFix ADT to use the new sdklib API
Xavier Ducrohet [Mon, 28 Sep 2009 21:32:34 +0000 (14:32 -0700)]
Fix ADT to use the new sdklib API

ManifestConstants got renamed AndroidManifest but I
forgot to update ADT.

Change-Id: I60d40c63a67968c31789e91f14020c61114907ca

14 years agoMerge change I097b444e into eclair
Android (Google) Code Review [Mon, 28 Sep 2009 20:49:09 +0000 (16:49 -0400)]
Merge change I097b444e into eclair

* changes:
  Fix ApiDemo Layout rendering test

14 years agoFix ApiDemo Layout rendering test
Xavier Ducrohet [Mon, 28 Sep 2009 19:56:34 +0000 (12:56 -0700)]
Fix ApiDemo Layout rendering test

The issue came from a lack of device configuration and
missing default versions of some resources. We know use
an ADP1 configuration to choose the resources used by
the rendering.

Change-Id: I097b444e4fdc5572cfc53293a3215f1382f5d49c

14 years agoMerge change I663d4cb7 into eclair
Android (Google) Code Review [Mon, 28 Sep 2009 20:33:57 +0000 (16:33 -0400)]
Merge change I663d4cb7 into eclair

* changes:
  Update the project creation (from the command line):

14 years agoMerge change Ib1b01007 into eclair
Android (Google) Code Review [Mon, 28 Sep 2009 20:29:25 +0000 (16:29 -0400)]
Merge change Ib1b01007 into eclair

* changes:
  Parse add-on supplied layout devices.

14 years agoMerge change I1dbeeca5 into eclair
Android (Google) Code Review [Mon, 28 Sep 2009 19:53:19 +0000 (15:53 -0400)]
Merge change I1dbeeca5 into eclair

* changes:
  Fix NDK usage of libgcc.a when building shared libraries

14 years agoFix ResourceQualifier tests.
Xavier Ducrohet [Mon, 28 Sep 2009 19:16:16 +0000 (12:16 -0700)]
Fix ResourceQualifier tests.

Change-Id: Ib6109c1bb76dadddeef24aec3af16e178a931651

14 years agoFix NDK usage of libgcc.a when building shared libraries
David 'Digit' Turner [Thu, 24 Sep 2009 22:48:44 +0000 (15:48 -0700)]
Fix NDK usage of libgcc.a when building shared libraries

The main idea is that libgcc.a should appear after object files and
static libraries but before depending shared libraries. This willl
force the linker to copy the libgcc.a functions required by the
generated library into the target binary, instead of relying on
what's available in libc.so and others.

This ensures maximum portability, and prevent problems in the future
when we change the toolchain, which translates to different libgcc.a
functions embedded in libc.so and other exposed native libraries.

However, this will make also generated shared libraries bigger, because
the compiler insists on generating code that depends on a bunch of C++
support functions (even when building from C sources). An increase of
about 8KB per shared library is expected.

14 years agoParse add-on supplied layout devices.
Xavier Ducrohet [Mon, 28 Sep 2009 04:39:07 +0000 (21:39 -0700)]
Parse add-on supplied layout devices.

Add-ons are expected to provide a file called devices.xml in their root
folder. The XML schema for this file is
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/layout-configs.xsd

I slightly fixed the schema so that normal screen size use the token
"normal" instead of "medium" to match the resource qualifier.

To round up the feature, the following changes are included:
- getEnum in the resource qualifier enum has been made public. There's no
sense in keeping it private and it'll help with people possibly using
valueOf which behaves differently (case sensitive so
ScreenSize.valueOf("normal") fails, while getEnum on the same string succeed.
- Updated the device configuration UI to deal with missing list of
devices while the SDK loads.

Change-Id: Ib1b01007d2ae7fd6398172c3549b2686c33d48be

14 years agoUpdate the project creation (from the command line):
Xavier Ducrohet [Fri, 25 Sep 2009 22:52:52 +0000 (15:52 -0700)]
Update the project creation (from the command line):

- Make the distinction between the activity class name, manifest entry,
  fully-qualified name, and tested activity for the template place-holders.
  Test activity names now directly contain the full name (including the
  "Test" prefix) instead of the template adding it.
  This is required by the new 'create test-project'

- New action: create test-project
  This requires a path to the main project. It reads the package, activity
  name and target from the main project.
  The activity is read from the manifest and can be in a more complex form
  than previously expected (for instance .subpackage.MyClass, instead of
  simply MyClass). This is what required the re-work the activity related
  template place holders.
  Options:
   -m --main Location path of the project to test, relative to the new
             project [required]
   -n --name Project name
   -p --path Location path of the new project [required]

   Example: for 2 projects MyProject and MyTests located in the same folder,
            calling from their parent folder.

     android create test-project -p MyTests -m ../MyProject

- build.properties now only gets application.package for older targets
  as the new one get it directly from XPath

- Remove AndroidXPathFactory from the anttasks project as it was already
  in sdklib which is a dependency.

- Removed IntelliJ templates for the SDK. We haven't supported them for
  a while, and now that IntelliJ has built-in support for Android, it's
  not that useful anymore.

While there is the command line parameters for 'update test-project'
it's not yet implemented.

Change-Id: I663d4cb7f439bb2abfe866f893e58f4d13aff975

14 years agoMerge change 27217 into eclair
Android (Google) Code Review [Mon, 28 Sep 2009 00:22:59 +0000 (20:22 -0400)]
Merge change 27217 into eclair

* changes:
  XML Schema for layout configurations.

14 years agoXML Schema for layout configurations.
Raphael [Thu, 24 Sep 2009 22:38:55 +0000 (15:38 -0700)]
XML Schema for layout configurations.

The only changes to the original XML sample:
- the root element is called "layout-configs" (plural for container).

- the <default> and <config> elements must be defined in that order:
 - 0..1 of <default>
   folowed by
 - 1..n of <config>
It's invalid for the <device> node to be empty.

default/config are defined by a <xsd:sequence>, which imposes the
strict ordering. At first I used an <xsd:choice> which does not
impose any ordering but then it becomes possible to define an
empty <device> element. I'd rather live with the strict ordering
(which also makes sense anyway) and enforce non-empty <device>
elements in the schema.

BUG 2138329

Change-Id: I581afb1d72825ae79df00d81c74c80a2a18680ad

14 years agoMerge change 27167 into eclair
Android (Google) Code Review [Sun, 27 Sep 2009 20:56:53 +0000 (16:56 -0400)]
Merge change 27167 into eclair

* changes:
  Added a target to run the Contacts tests using runtest.

14 years agoAdded a target to run the Contacts tests using runtest.
Nicolas Catania [Fri, 25 Sep 2009 23:30:09 +0000 (16:30 -0700)]
Added a target to run the Contacts tests using runtest.

14 years agoMerge change 27163 into eclair
Android (Google) Code Review [Fri, 25 Sep 2009 23:12:39 +0000 (19:12 -0400)]
Merge change 27163 into eclair

* changes:
  Add transition animation sample, log to service sample.

14 years agoAdd transition animation sample, log to service sample.
Dianne Hackborn [Fri, 25 Sep 2009 02:27:54 +0000 (19:27 -0700)]
Add transition animation sample, log to service sample.

Change-Id: I7021a7fbbe26d9c52699d7c2216452a5bd51452b

14 years agoSync DDMS/Traceview/Android version on the repository source.
Xavier Ducrohet [Fri, 25 Sep 2009 21:52:55 +0000 (14:52 -0700)]
Sync DDMS/Traceview/Android version on the repository source.

All apps now read source.properties located in SDK/tools
to know which version they. This is used in about box display
and in ping usage.

Change-Id: I6620c3eb703c32bfcdfd96e6a27bffc7a123b974

14 years agoMerge change 26982 into eclair
Android (Google) Code Review [Fri, 25 Sep 2009 19:49:48 +0000 (15:49 -0400)]
Merge change 26982 into eclair

* changes:
  Add info about location of the coverage report

14 years agoMerge change 26983 into eclair
Android (Google) Code Review [Fri, 25 Sep 2009 17:49:47 +0000 (13:49 -0400)]
Merge change 26983 into eclair

* changes:
  Fix colSpan for screenshot display from 3 to 4 in DDMS.

14 years agoAdd info about location of the coverage report
Piotr Gurgul [Fri, 25 Sep 2009 03:58:35 +0000 (20:58 -0700)]
Add info about location of the coverage report

Target 'coverage' outputs now path to the generated coverage report.

Change-Id: I442c0ff002c5d269cf1f573674105691df9caec5

14 years agoMerge change 26996 into eclair
Android (Google) Code Review [Fri, 25 Sep 2009 03:33:56 +0000 (23:33 -0400)]
Merge change 26996 into eclair

* changes:
  JarUtils: Ignore visual source safe files in resources

14 years agoJarUtils: Ignore visual source safe files in resources
Raphael [Fri, 25 Sep 2009 02:56:39 +0000 (19:56 -0700)]
JarUtils: Ignore visual source safe files in resources

BUG 1895888

Change-Id: I75af6ef9ba22701fae9e4c2b08f11b8a8c2aaaa6

14 years agoFix colSpan for screenshot display from 3 to 4 in DDMS.
Xavier Ducrohet [Fri, 25 Sep 2009 02:13:26 +0000 (19:13 -0700)]
Fix colSpan for screenshot display from 3 to 4 in DDMS.

Change-Id: I4cf92b2f6ee66cd6f8e9b224879d8459e82949b6

14 years agoMerge change 26976 into eclair
Android (Google) Code Review [Fri, 25 Sep 2009 01:35:55 +0000 (21:35 -0400)]
Merge change 26976 into eclair

* changes:
  Add tested.project.dir to classpath for install and debug

14 years agoAdd tested.project.dir to classpath for install and debug
Piotr Gurgul [Fri, 25 Sep 2009 01:17:22 +0000 (18:17 -0700)]
Add tested.project.dir to classpath for install and debug

Now buildfile recognizes whether targets 'debug' or 'install' are being run for
an ordinary or test project and for the test projects classpath is extended
to enclose the tested project. Tested project is being compiled if necessary.

14 years agoMerge change 26915 into eclair
Android (Google) Code Review [Thu, 24 Sep 2009 23:41:23 +0000 (19:41 -0400)]
Merge change 26915 into eclair

* changes:
  Fixed screenshot command line tool to deal with new RawImage

14 years agoMerge change 26741 into eclair
Android (Google) Code Review [Thu, 24 Sep 2009 23:04:50 +0000 (19:04 -0400)]
Merge change 26741 into eclair

* changes:
  Add workaround to runtest to build cts dependencies.

14 years agoFixed screenshot command line tool to deal with new RawImage
Xavier Ducrohet [Thu, 24 Sep 2009 21:33:45 +0000 (14:33 -0700)]
Fixed screenshot command line tool to deal with new RawImage

Also added a rotate method to DDMS.

Change-Id: I9ec2774ff0679b8b4f044341470b3dfa527f9680

14 years agoMerge change 26885 into eclair
Android (Google) Code Review [Thu, 24 Sep 2009 21:21:44 +0000 (17:21 -0400)]
Merge change 26885 into eclair

* changes:
  Tell the SDK that ApiDemoes requires Eclair preview.

14 years agoMerge change 26901 into eclair
Android (Google) Code Review [Thu, 24 Sep 2009 21:09:28 +0000 (17:09 -0400)]
Merge change 26901 into eclair

* changes:
  Move the screenshot button above the image

14 years agoMerge change 26893 into eclair
Android (Google) Code Review [Thu, 24 Sep 2009 21:09:23 +0000 (17:09 -0400)]
Merge change 26893 into eclair

* changes:
  Make archquery use the same VM as DDMS/Traceview

14 years agoAdd workaround to runtest to build cts dependencies.
Brett Chabot [Thu, 24 Sep 2009 01:05:28 +0000 (18:05 -0700)]
Add workaround to runtest to build cts dependencies.

BUG 2141242

14 years agoMove the screenshot button above the image
Xavier Ducrohet [Thu, 24 Sep 2009 20:20:42 +0000 (13:20 -0700)]
Move the screenshot button above the image

This will help when taking screenshots of large screen devices
on laptop screens.

Change-Id: Ief7b03d2f1711970e76f4dfe6086e3ea0d606c99

14 years agoMake archquery use the same VM as DDMS/Traceview
Xavier Ducrohet [Thu, 24 Sep 2009 19:16:03 +0000 (12:16 -0700)]
Make archquery use the same VM as DDMS/Traceview

archquery is used to figure out whether the VM is 32 or 64 bit, but on
MacOS X, it used the normal "java" command while the application was
forced to use java 1.5

This could lead to cases where archquery ran in 1.6 64bit but the app
in 1.5 32 bit, creating a mismatch and make the app using the wrong
SWT version.

14 years agoTell the SDK that ApiDemoes requires Eclair preview.
Raphael [Thu, 24 Sep 2009 18:52:40 +0000 (11:52 -0700)]
Tell the SDK that ApiDemoes requires Eclair preview.

After the preview we'll change it to the final API level.

BUG 2141157

14 years agoMerge change 26773 into eclair
Android (Google) Code Review [Thu, 24 Sep 2009 06:35:11 +0000 (02:35 -0400)]
Merge change 26773 into eclair

* changes:
  Disable clipping toggle when not supported.

14 years agoMerge change 26740 into eclair
Android (Google) Code Review [Thu, 24 Sep 2009 06:34:55 +0000 (02:34 -0400)]
Merge change 26740 into eclair

* changes:
  Add warning on mismatch minSdkVersion.

14 years agoDisable clipping toggle when not supported.
Xavier Ducrohet [Thu, 24 Sep 2009 03:33:13 +0000 (20:33 -0700)]
Disable clipping toggle when not supported.

This is only supported in Eclair+, so the toggle button
is disable if the edited file is donut or before.

Change-Id: I8bf1f8a8aa3604f269cb226d788c5e1438a5ae0b

14 years agoAdd warning on mismatch minSdkVersion.
Xavier Ducrohet [Thu, 24 Sep 2009 00:53:24 +0000 (17:53 -0700)]
Add warning on mismatch minSdkVersion.

This is for both Ant and ADT.
For Ant, also added a check for non-integer values when the platform
is not a preview.

BUG:2118374

Change-Id: Ic8ec533d66a31d9e4b51c9c38b5eaab97bca7414

14 years agoMerge change 26540 into eclair
Android (Google) Code Review [Thu, 24 Sep 2009 03:34:38 +0000 (23:34 -0400)]
Merge change 26540 into eclair

* changes:
  Make the Density enum use the int value from the api Density enum.

14 years agoMerge change 26751 into eclair
Android (Google) Code Review [Thu, 24 Sep 2009 02:49:47 +0000 (22:49 -0400)]
Merge change 26751 into eclair

* changes:
  Hide APK split UI (not ready yet)

14 years agoHide APK split UI (not ready yet)
Xavier Ducrohet [Thu, 24 Sep 2009 01:22:49 +0000 (18:22 -0700)]
Hide APK split UI (not ready yet)

Change-Id: I2ace823139710e836c72cc323427024b54384e38

14 years agoAdd --no-locals to dx when dexing instrumented classes
Piotr Gurgul [Wed, 23 Sep 2009 22:51:44 +0000 (15:51 -0700)]
Add --no-locals to dx when dexing instrumented classes

Emma instrumentation modifies .class files in that way they cannot be processed
by dx without --no-locals option.

14 years agoMerge change 26649 into eclair
Android (Google) Code Review [Wed, 23 Sep 2009 22:30:28 +0000 (18:30 -0400)]
Merge change 26649 into eclair

* changes:
  Define tested.project.dir property for existing samples

14 years agoMake the Density enum use the int value from the api Density enum.
Xavier Ducrohet [Wed, 23 Sep 2009 04:01:14 +0000 (21:01 -0700)]
Make the Density enum use the int value from the api Density enum.

Change-Id: I13cace9a3fd7d17171ebe1e8b98c31adfa8509dc

14 years agoDefine tested.project.dir property for existing samples
Piotr Gurgul [Wed, 23 Sep 2009 19:15:05 +0000 (12:15 -0700)]
Define tested.project.dir property for existing samples

As now test projects are recognized by presence of the property
tested.project.dir, it has been manually added for existing
test project samples.

14 years agoAdd cts-media test definition in eclair.
Brett Chabot [Wed, 23 Sep 2009 18:38:25 +0000 (11:38 -0700)]
Add cts-media test definition in eclair.

14 years agoMerge change 26604 into eclair
Android (Google) Code Review [Wed, 23 Sep 2009 17:38:42 +0000 (13:38 -0400)]
Merge change 26604 into eclair

* changes:
  Fix the simulator. libhardware now needs a property named "default" to be set to the value "default", otherwise it won't fall back to the default implementation for a module.

14 years agoMerge change 26490 into eclair
Android (Google) Code Review [Wed, 23 Sep 2009 17:33:35 +0000 (13:33 -0400)]
Merge change 26490 into eclair

* changes:
  Fix possible NPE in DDMS plugin init.

14 years agoFix the simulator. libhardware now needs a property named "default" to be set to...
Marco Nelissen [Wed, 23 Sep 2009 16:52:22 +0000 (09:52 -0700)]
Fix the simulator. libhardware now needs a property named "default" to be set to the value "default", otherwise it won't fall back to the default implementation for a module.

14 years agoFix possible NPE in DDMS plugin init.
Xavier Ducrohet [Wed, 23 Sep 2009 00:06:31 +0000 (17:06 -0700)]
Fix possible NPE in DDMS plugin init.

Change-Id: Ie1649b319948514473e11c27b4ad126ffe2d40ef

14 years agoMerge change 26495 into eclair
Android (Google) Code Review [Wed, 23 Sep 2009 03:24:32 +0000 (23:24 -0400)]
Merge change 26495 into eclair

* changes:
  Disable menu items based on device/app selection.

14 years agoMerge change 26521 into eclair
Android (Google) Code Review [Wed, 23 Sep 2009 03:06:48 +0000 (23:06 -0400)]
Merge change 26521 into eclair

* changes:
  Force update to the next plugin.

14 years agoCreate Density based resource values when needed.
Xavier Ducrohet [Wed, 23 Sep 2009 01:32:17 +0000 (18:32 -0700)]
Create Density based resource values when needed.

This will let the layoutlib know when to scale bitmaps
that are not in the native density of the rendering.

Change-Id: I08c99666460b5b5a3ed8d0aac7fa1b7c0136fd6b

14 years agoMerge change 26471 into eclair
Android (Google) Code Review [Wed, 23 Sep 2009 02:40:48 +0000 (22:40 -0400)]
Merge change 26471 into eclair

* changes:
  Fix the qualifier match algorithm.

14 years agoForce update to the next plugin.
Xavier Ducrohet [Wed, 23 Sep 2009 01:45:44 +0000 (18:45 -0700)]
Force update to the next plugin.

Change-Id: I2f1042a087ca6227396a41d23eed26525fbbbbf6

14 years agoDisable menu items based on device/app selection.
Xavier Ducrohet [Wed, 23 Sep 2009 00:38:24 +0000 (17:38 -0700)]
Disable menu items based on device/app selection.

Change-Id: I78572430c68f2c1952a118814d4b467182004e23

14 years agoAdd legacy support for application.package property
Piotr Gurgul [Wed, 23 Sep 2009 00:28:26 +0000 (17:28 -0700)]
Add legacy support for application.package property

application.package in android_rules.xml and android_test_rules.xml has been
replaced by manifest.package which value is taken from AndroidManifest.xml.
This is because old versions of build.properties contain already
application.package property which has precedence over the extracted one
and overrides it.

Change-Id: I909e145926169922ec6ec0e179ad88c413aa85b2

14 years agoFix the qualifier match algorithm.
Xavier Ducrohet [Tue, 22 Sep 2009 22:04:35 +0000 (15:04 -0700)]
Fix the qualifier match algorithm.

Add proper support for density and keyboard state match.

Change-Id: I410aba52ee0f0d9df31fa2abdc9485054595263f

14 years agoMerge change 26441 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 21:57:40 +0000 (17:57 -0400)]
Merge change 26441 into eclair

* changes:
  Add support for Keyboard state "Soft"

14 years agoMerge change 26440 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 21:21:05 +0000 (17:21 -0400)]
Merge change 26440 into eclair

* changes:
  Add auto-generated tested.project.dir property

14 years agoMerge change 26436 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 21:18:17 +0000 (17:18 -0400)]
Merge change 26436 into eclair

* changes:
  Add a new skin to the SDK.

14 years agoAdd support for Keyboard state "Soft"
Xavier Ducrohet [Tue, 22 Sep 2009 21:16:26 +0000 (14:16 -0700)]
Add support for Keyboard state "Soft"

Change-Id: Ief65b3988973fb3b3d9edbbb99df9354ffe85663

14 years agoAdd auto-generated tested.project.dir property
Piotr Gurgul [Tue, 22 Sep 2009 20:58:28 +0000 (13:58 -0700)]
Add auto-generated tested.project.dir property

Adds tested.project.dir=".." to ProjectDir/tests/build.properties in order
to indicate automatically that this is a test project and point the
tested project directory.

14 years agoAdd a new skin to the SDK.
Xavier Ducrohet [Tue, 22 Sep 2009 20:51:14 +0000 (13:51 -0700)]
Add a new skin to the SDK.

Change-Id: I988a5a4bf372c0f8608facf64314ada1e9ee791e

14 years agoMerge change 26329 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 18:44:28 +0000 (14:44 -0400)]
Merge change 26329 into eclair

* changes:
  Distinguish jar folders and jar files in ApkBuilder script

14 years agoDistinguish jar folders and jar files in ApkBuilder script
Piotr Gurgul [Tue, 22 Sep 2009 04:02:00 +0000 (21:02 -0700)]
Distinguish jar folders and jar files in ApkBuilder script

Checking if -rj parameter value is a directory or a file
and calling the appropriate function for each of them.

14 years agoAdd automatic application package extraction from manifest
Piotr Gurgul [Tue, 22 Sep 2009 04:40:15 +0000 (21:40 -0700)]
Add automatic application package extraction from manifest

Automatic extraction of the application.package property has been added
leveradging xpath ant task. This reduces redundancy, removes hardcoded
application.package and solves bug with uninstalling test application
package. In order to function properly needs removing application.package
from build.properties file.

14 years agoMerge change 26298 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 02:32:55 +0000 (22:32 -0400)]
Merge change 26298 into eclair

* changes:
  Add build path info to runtest --list_tests

14 years agoAdd build path info to runtest --list_tests
Brett Chabot [Tue, 22 Sep 2009 00:48:26 +0000 (17:48 -0700)]
Add build path info to runtest --list_tests

BUG 2133198

14 years agoMerge change 26291 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 00:42:14 +0000 (20:42 -0400)]
Merge change 26291 into eclair

* changes:
  Update the SDK/AVD manager toolbar icon tooltip to be consistent.

14 years agoMerge change 26292 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 00:31:08 +0000 (20:31 -0400)]
Merge change 26292 into eclair

* changes:
  Increase reusability of zipalign macrodef

14 years agoIncrease reusability of zipalign macrodef
Piotr Gurgul [Tue, 22 Sep 2009 00:22:34 +0000 (17:22 -0700)]
Increase reusability of zipalign macrodef

debug-helper macro has been renamed to zipalign-helper to reflect better its
function. Two parameters for input and output packages have been introduced.
Macro has been additionally leveradged in 'release' target where zipalign
was previously called directly, duplicating the code.

14 years agoMerge change 26277 into eclair
Android (Google) Code Review [Tue, 22 Sep 2009 00:22:27 +0000 (20:22 -0400)]
Merge change 26277 into eclair

* changes:
  Add an XPath Ant task to be used in the android_rules.xml file.

14 years agoUpdate the SDK/AVD manager toolbar icon tooltip to be consistent.
Xavier Ducrohet [Tue, 22 Sep 2009 00:20:48 +0000 (17:20 -0700)]
Update the SDK/AVD manager toolbar icon tooltip to be consistent.

Change-Id: Ie4c98537035e11543dd22b870880d52506ca1b99

14 years agoAdd global verbosity control for SDK ant targets
Piotr Gurgul [Thu, 17 Sep 2009 23:59:28 +0000 (16:59 -0700)]
Add global verbosity control for SDK ant targets

The user-configurable property 'verbose' has been introduced. It is set by
default to 'false' and switching in on enables verbose mode for all the
intermediate steps for a given target.

14 years agoAdd an XPath Ant task to be used in the android_rules.xml file.
Xavier Ducrohet [Mon, 21 Sep 2009 23:10:37 +0000 (16:10 -0700)]
Add an XPath Ant task to be used in the android_rules.xml file.

This task is designed to run XPath expression targetting Android XML files.
It will handle the Android namespace with the 'android' prefix, and store
the result of the XPath into a property.

Change-Id: I9094f5661d5e1ef86553ee1c54bdeca62366e0cd
classname: XPathTask
classpath: anttasks.jar, sdklib.jar

Usage:
<xpathtask input="path/of/file/to/read" output="name.of.property.to.write"
    expression="/xpath/expression/to/evaluate" />

14 years agorenaming setJavaClassName to setPluginStubJavaClassName
Derek Sollenberger [Mon, 21 Sep 2009 13:15:38 +0000 (09:15 -0400)]
renaming setJavaClassName to setPluginStubJavaClassName

Change-Id: I1a962ed93e27615611a248b8791d3392ba36df1e

14 years agoMerge change 25854 into eclair
Android (Google) Code Review [Sat, 19 Sep 2009 18:58:41 +0000 (14:58 -0400)]
Merge change 25854 into eclair

* changes:
  Add UUID intent to BluetoothDebug app.

14 years agoMerge change 25645 into eclair
Android (Google) Code Review [Sat, 19 Sep 2009 07:01:15 +0000 (03:01 -0400)]
Merge change 25645 into eclair

* changes:
  Fix the skins to do proper dpad rotation in landscape mode.

14 years agoAdd UUID intent to BluetoothDebug app.
Jaikumar Ganesh [Fri, 18 Sep 2009 23:08:18 +0000 (16:08 -0700)]
Add UUID intent to BluetoothDebug app.

Change-Id: If1198f4f03eb261afe29f4c363924033aa49a477

14 years agoMerge change 25692 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 03:01:49 +0000 (23:01 -0400)]
Merge change 25692 into eclair

* changes:
  Fix a bug in processing jarfolders in ApkBuilder

14 years agoFix a bug in processing jarfolders in ApkBuilder
Piotr Gurgul [Fri, 18 Sep 2009 02:42:01 +0000 (19:42 -0700)]
Fix a bug in processing jarfolders in ApkBuilder

Wrong parameter has been passed to the function which resulted
in exception.
http://b/issue?id=2127927

14 years agoFix the skins to do proper dpad rotation in landscape mode.
David 'Digit' Turner [Fri, 18 Sep 2009 00:19:09 +0000 (17:19 -0700)]
Fix the skins to do proper dpad rotation in landscape mode.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 17 Sep 2009 21:27:17 +0000 (14:27 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoMerge change 25538 into eclair
Android (Google) Code Review [Thu, 17 Sep 2009 20:01:19 +0000 (16:01 -0400)]
Merge change 25538 into eclair

* changes:
  Do not install libsampleplugin by default.

14 years agoMerge change 25340 into eclair
Android (Google) Code Review [Thu, 17 Sep 2009 19:23:23 +0000 (15:23 -0400)]
Merge change 25340 into eclair

* changes:
  Specify emma dump file location on the device explicitly

14 years agoDo not install libsampleplugin by default.
Patrick Scott [Thu, 17 Sep 2009 19:06:19 +0000 (15:06 -0400)]
Do not install libsampleplugin by default.

This avoids installing the library during a normal build. When building
SampleBrowserPlugin, the library will be packaged in the apk.

14 years agoMerge change 25229 into eclair
Android (Google) Code Review [Thu, 17 Sep 2009 00:11:48 +0000 (20:11 -0400)]
Merge change 25229 into eclair

* changes:
  Add support for new framebuffer protocol over adb.

14 years agoSpecify emma dump file location on the device explicitly
Piotr Gurgul [Wed, 16 Sep 2009 20:29:07 +0000 (13:29 -0700)]
Specify emma dump file location on the device explicitly

This is to avoid using default location for the emma dump file (coverage.ec)
which is generated on the device. Pointing out the custom location (which
for now is the same as the default one) is more straightforward and
will be important if the default location changes in the future.

14 years agoAdd support for new framebuffer protocol over adb.
Xavier Ducrohet [Wed, 16 Sep 2009 03:09:08 +0000 (20:09 -0700)]
Add support for new framebuffer protocol over adb.

This is backward compatible with the original protocol.

Change-Id: I93e811cb7775a10af82e70f31ae66d4cd74636b5

14 years agoMerge change 25298 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 19:04:27 +0000 (15:04 -0400)]
Merge change 25298 into eclair

* changes:
  Clean up temporary files after generating coverage report

14 years agoMerge change 25165 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 18:23:10 +0000 (14:23 -0400)]
Merge change 25165 into eclair

* changes:
  Remove IM from code coverage targets.

14 years agoClean up temporary files after generating coverage report
Piotr Gurgul [Wed, 16 Sep 2009 17:43:19 +0000 (10:43 -0700)]
Clean up temporary files after generating coverage report

After generating coverage report instrumentation.dir and files coverage.ec
and coverage.em are being deleted. As Emma treats both files incrementally,
running 'ant coverage' in the project with these files already existing
may produce unexpected results.