OSDN Git Service

android-x86/ndk.git
14 years agoAdd sdklib tests to the adt-tests Unit tests.
Xavier Ducrohet [Mon, 5 Oct 2009 19:39:53 +0000 (12:39 -0700)]
Add sdklib tests to the adt-tests Unit tests.

Change-Id: Ieb4e722b1b5a29cef250e2cb5575a71e09f956c3

14 years agoMerge change I7d761ffa into eclair
Android (Google) Code Review [Mon, 5 Oct 2009 19:29:16 +0000 (15:29 -0400)]
Merge change I7d761ffa into eclair

* changes:
  Fix best match resource selection when there's only one match.

14 years agoFix best match resource selection when there's only one match.
Xavier Ducrohet [Mon, 5 Oct 2009 19:15:08 +0000 (12:15 -0700)]
Fix best match resource selection when there's only one match.

Was using the wrong index.

Change-Id: I7d761ffa553f0aeec176a4752185dde238991e5e

14 years agoOnly process XML files in layoutopt.
Romain Guy [Mon, 5 Oct 2009 19:08:48 +0000 (12:08 -0700)]
Only process XML files in layoutopt.

Change-Id: I847109409601ccfbb10abff3b9972afdb3032821

14 years agoMerge change I5dfb2567 into eclair
Android (Google) Code Review [Mon, 5 Oct 2009 18:59:48 +0000 (14:59 -0400)]
Merge change I5dfb2567 into eclair

* changes:
  Add new rules to layoutopt: UseCompoundDrawables and UselessLayout.

14 years agoAdd new rules to layoutopt: UseCompoundDrawables and UselessLayout.
Romain Guy [Mon, 5 Oct 2009 18:58:09 +0000 (11:58 -0700)]
Add new rules to layoutopt: UseCompoundDrawables and UselessLayout.

Change-Id: I5dfb2567d923da8442b1df1e703e4ebca6e9523b

14 years agoaccount manager api review changes
Fred Quintana [Sat, 3 Oct 2009 00:19:38 +0000 (17:19 -0700)]
account manager api review changes

14 years agoMerge change I8e4697e1 into eclair
Android (Google) Code Review [Mon, 5 Oct 2009 11:13:21 +0000 (07:13 -0400)]
Merge change I8e4697e1 into eclair

* changes:
  New layout optimization tool. Run layoutopt on the command line.

14 years agoNew layout optimization tool. Run layoutopt on the command line.
Romain Guy [Mon, 5 Oct 2009 09:21:30 +0000 (02:21 -0700)]
New layout optimization tool. Run layoutopt on the command line.

Change-Id: I8e4697e19ca8a203dc8a41b464f7cb46d52184b0

14 years agoMerge change I69afafa4 into eclair
Android (Google) Code Review [Sat, 3 Oct 2009 02:52:31 +0000 (22:52 -0400)]
Merge change I69afafa4 into eclair

* changes:
  ADT: Create project from existing sample in New Project Wizard

14 years agoADT: Create project from existing sample in New Project Wizard
Raphael [Sat, 3 Oct 2009 02:41:49 +0000 (19:41 -0700)]
ADT: Create project from existing sample in New Project Wizard

The UI workflow:
- user selects the new "Create project from existingsample" radio button
- user selects an SDK target in the NPW
- a popup is filled with all available samples

This also fixes 2 edge cases:
- when the selected sample contains a build|default.propertie that is
  a base of the currently selected SDK target, don't reset it.
- when the user manually changes the project name or the app name for
  the sample, simply empty the fields and the next selected sample
  will recompute the adequate names. Any non-empty user input is never
  overridden.

SDK BUG 2121819

Change-Id: I69afafa460b86942046ef6baca3d4c7ee7dbe97d

14 years agoFix resource resolution in the graphical layout editor.
Xavier Ducrohet [Sat, 3 Oct 2009 00:40:52 +0000 (17:40 -0700)]
Fix resource resolution in the graphical layout editor.

Resource with qualifiers take precedence over the ones without
even if the qualifiers are not present on the requested configuration.

Change-Id: I0d19889064e8031179ea6ee13c93a4198fe971fd

14 years agoMonintor resolution/size chooser dialog
Xavier Ducrohet [Fri, 2 Oct 2009 21:30:43 +0000 (14:30 -0700)]
Monintor resolution/size chooser dialog

This simple dialog lets the user choose a screen size (from a fixed list) and
a resolution (as returned by SWT's Display class).

This is used by the AVD start options dialog to help users figure out
the pixel density of their monitor.

Change-Id: I3eec0e7fac850c82e836d2bc0291a491f29f516e

14 years agoEmulator launch options dialog.
Xavier Ducrohet [Fri, 2 Oct 2009 00:22:22 +0000 (17:22 -0700)]
Emulator launch options dialog.

This is displayed when clicking the Start button in the AVD manager.

The dialog allows to easily scale the emulator to match an arbitrary screen size
and to wipe the user data if needed.

The required monitor dpi is computed using java.awt.Toolkit, but (at least
on MacOS) it doesn't return the correct value, so it can be user supplied.
It's stored at least while the app is running and if possible in the settings
of the ADV/SDK Manager/Updater.

The wipe-data and scale flags are stored and reused while the app keeps
running as well.

Change-Id: Ia2f3ff5f4de285a3d505c6914d6b89cc663be284

14 years agoSDK: Fix CustomLocale to properly setup Language+Country
Raphael [Fri, 2 Oct 2009 18:18:10 +0000 (11:18 -0700)]
SDK: Fix CustomLocale to properly setup Language+Country

SDK BUG 2154263

Change-Id: I74db5bc237921ff6a6fd55664a2a3c62f544081b

14 years agoRevise template to match spec per jham.
Jeff Sharkey [Fri, 2 Oct 2009 03:54:54 +0000 (20:54 -0700)]
Revise template to match spec per jham.

14 years agoEnsure the version of 'awk' detected by host-setup.sh is used during the build
David 'Digit' Turner [Thu, 1 Oct 2009 23:44:54 +0000 (16:44 -0700)]
Ensure the version of 'awk' detected by host-setup.sh is used during the build

14 years agoMerge change Ia78a7753 into eclair
Android (Google) Code Review [Fri, 2 Oct 2009 03:26:50 +0000 (23:26 -0400)]
Merge change Ia78a7753 into eclair

* changes:
  Remove bash-specific operator from build/host-setup.sh.

14 years agoFix Android Manifest parser.
Xavier Ducrohet [Fri, 2 Oct 2009 00:06:58 +0000 (17:06 -0700)]
Fix Android Manifest parser.

While the test is in the java package as the parser, it's in a different
plug-in and this prevents accessing package-protected methods.

Change-Id: Ib17765095e4da518d62ee65cb9e1987d0e22be6e

14 years agoRemove bash-specific operator from build/host-setup.sh.
David 'Digit' Turner [Thu, 1 Oct 2009 23:38:44 +0000 (16:38 -0700)]
Remove bash-specific operator from build/host-setup.sh.

14 years agoADT Manifest Editor: Fix for uses-sdk dup that won't go away.
Raphael [Thu, 1 Oct 2009 19:32:56 +0000 (12:32 -0700)]
ADT Manifest Editor: Fix for uses-sdk dup that won't go away.

It was a display issue only, meaning the actual XML node was
being deleted but the Ui model was not updated properly. The
actual cause is that this is a mandatory node, and mandatory
nodes must stay as "fake nodes" in the Ui model. However
only one such node needs to stay in the hierarchy.

SDK BUG 2147112

Change-Id: I68e3d343bb95169865ad8dcad77004cbd51fafc3

14 years agoMerge change I8a575e49 into eclair
Android (Google) Code Review [Thu, 1 Oct 2009 20:54:48 +0000 (16:54 -0400)]
Merge change I8a575e49 into eclair

* changes:
  Fix CustomLocale to work with soft keyboard.

14 years agoFix CustomLocale to work with soft keyboard.
Raphael [Thu, 1 Oct 2009 20:27:23 +0000 (13:27 -0700)]
Fix CustomLocale to work with soft keyboard.

SDK BUG 2154263

Change-Id: I8a575e49089ef2e6829e10749d796f6179330928

14 years agofix the build
Xavier Ducrohet [Thu, 1 Oct 2009 19:54:02 +0000 (12:54 -0700)]
fix the build

Change-Id: Ica519f7e0adbc9fd48792198221c01da3e27fab8

14 years agoMerge change Ie3124796 into eclair
Android (Google) Code Review [Thu, 1 Oct 2009 19:32:41 +0000 (15:32 -0400)]
Merge change Ie3124796 into eclair

* changes:
  Ignore adt/eclipse project files in CustomLocale

14 years agoIgnore adt/eclipse project files in CustomLocale
Raphael [Thu, 1 Oct 2009 18:40:13 +0000 (11:40 -0700)]
Ignore adt/eclipse project files in CustomLocale

SDK BUG 2154263

Change-Id: Ie31247964058f8140f2bd5184a8b7deac4ad0381

14 years agoLoad default GLE device profiles from the SDK.
Xavier Ducrohet [Thu, 1 Oct 2009 06:01:19 +0000 (23:01 -0700)]
Load default GLE device profiles from the SDK.

Change-Id: Ife64397692912f892ec81af8237ac31914830be9

14 years agoMerge change I77069a1e into eclair
Android (Google) Code Review [Thu, 1 Oct 2009 04:23:41 +0000 (00:23 -0400)]
Merge change I77069a1e into eclair

* changes:
  Replace icon template with new style and multiple densities.

14 years agoReplace icon template with new style and multiple densities.
Xavier Ducrohet [Thu, 1 Oct 2009 03:22:07 +0000 (20:22 -0700)]
Replace icon template with new style and multiple densities.

The icon in the templates of ADT was medium density only.
I added new densities (high and low), as well as updated to
the new Eclair style. Also added a version for Ant project.

Updated ADT and sdklib to deal with creating new projects
with all 3 icons.

In case of Ant project, this is done only if the icons
are present in the target platforms.

For ADT, this is done only if the project target donut
or later. Older project still have only one icon located
in drawable/

Change-Id: I77069a1e4902ef395d490526aabc40a26e33d4ca

14 years agoAdd a copy button to the screenshot dialog.
Xavier Ducrohet [Wed, 30 Sep 2009 23:56:21 +0000 (16:56 -0700)]
Add a copy button to the screenshot dialog.

This adds the screenshot to the clipboard.

Change-Id: I3509f2e5471588d749d67b70dd4d674cd0cd2057

14 years agoMerge change Ie905f9b5 into eclair
Android (Google) Code Review [Wed, 30 Sep 2009 20:17:34 +0000 (16:17 -0400)]
Merge change Ie905f9b5 into eclair

* changes:
  Add support for xdpi and ydpi in the device config for the GLE.

14 years agoAdd support for xdpi and ydpi in the device config for the GLE.
Xavier Ducrohet [Tue, 29 Sep 2009 23:10:34 +0000 (16:10 -0700)]
Add support for xdpi and ydpi in the device config for the GLE.

Change-Id: Ie905f9b586ac5f58e40e86232fbafeaacf6a0c51

14 years agoMerge change I343737c9 into eclair
Android (Google) Code Review [Wed, 30 Sep 2009 05:43:32 +0000 (01:43 -0400)]
Merge change I343737c9 into eclair

* changes:
  Remove GAIA string

14 years agoAdd unit test for new keystore.
Chung-yih Wang [Tue, 29 Sep 2009 03:27:11 +0000 (11:27 +0800)]
Add unit test for new keystore.

+ change the package path.
+ add continuous flag.

14 years agoRemove GAIA string
Costin Manolache [Wed, 30 Sep 2009 01:57:40 +0000 (18:57 -0700)]
Remove GAIA string

14 years agoam fff9ff69: (-s ours) Merge the new Ant script rules and template from Eclair (do...
Xavier Ducrohet [Wed, 30 Sep 2009 01:25:27 +0000 (18:25 -0700)]
am fff9ff69: (-s ours) Merge the new Ant script rules and template from Eclair (do not merge)

Merge commit 'fff9ff696709e17ad73ae654e511907282bfc0fd' into eclair

* commit 'fff9ff696709e17ad73ae654e511907282bfc0fd':
  Merge the new Ant script rules and template from Eclair (do not merge)

14 years agoMerge the new Ant script rules and template from Eclair (do not merge)
Xavier Ducrohet [Wed, 30 Sep 2009 01:06:01 +0000 (18:06 -0700)]
Merge the new Ant script rules and template from Eclair (do not merge)

14 years agoMerge change I95a34d28 into eclair
Android (Google) Code Review [Wed, 30 Sep 2009 01:05:44 +0000 (21:05 -0400)]
Merge change I95a34d28 into eclair

* changes:
  ADT XML String Refactoring: fix refusing to edit @+id/blah.

14 years agoam 559f26b0: (-s ours) Move to 1.6_r2 (DO NOT MERGE)
Xavier Ducrohet [Wed, 30 Sep 2009 01:04:57 +0000 (18:04 -0700)]
am 559f26b0: (-s ours) Move to 1.6_r2 (DO NOT MERGE)

Merge commit '559f26b0a5e80da467d97d42280c22e5044d7f30' into eclair

* commit '559f26b0a5e80da467d97d42280c22e5044d7f30':
  Move to 1.6_r2 (DO NOT MERGE)

14 years agoMerge change Ie022d478 into eclair
Android (Google) Code Review [Wed, 30 Sep 2009 00:51:06 +0000 (20:51 -0400)]
Merge change Ie022d478 into eclair

* changes:
  hdpi artwork for development/{apps,samples}.

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 I96ff4429 into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 23:46:01 +0000 (19:46 -0400)]
Merge change I96ff4429 into eclair

* changes:
  Add support for 'android update test-project'.

14 years agoADT XML String Refactoring: fix refusing to edit @+id/blah.
Raphael [Tue, 29 Sep 2009 23:02:33 +0000 (16:02 -0700)]
ADT XML String Refactoring: fix refusing to edit @+id/blah.

It correctly only refuses to edit @string/blah now.

This CL also does a bit of refactoring; I extracted some methods
and a class to make it a bit easier to read.

BUG 2066460

Change-Id: I95a34d28d6390ab0cc075f05ea83ceec04993ae9

14 years agoMove to 1.6_r2 (DO NOT MERGE)
Xavier Ducrohet [Tue, 29 Sep 2009 22:42:46 +0000 (15:42 -0700)]
Move to 1.6_r2 (DO NOT MERGE)

14 years agoMerge change I2cdb052a into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 22:35:53 +0000 (18:35 -0400)]
Merge change I2cdb052a into eclair

* changes:
  Import testrunner changes from puppetmaster to keep them in sync.

14 years agoImport testrunner changes from puppetmaster to keep them in sync.
Brett Chabot [Tue, 29 Sep 2009 22:14:05 +0000 (15:14 -0700)]
Import testrunner changes from puppetmaster to keep them in sync.

14 years agoMerge change I17a9df5a into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 22:30:34 +0000 (18:30 -0400)]
Merge change I17a9df5a into eclair

* changes:
  Add contacts tests to the continuous test cycle

14 years agoMerge change Id5af7cf2 into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 22:05:10 +0000 (18:05 -0400)]
Merge change Id5af7cf2 into eclair

* changes:
  Add xdpi and ydpi to layout-configs XML Schema.

14 years agoAdd xdpi and ydpi to layout-configs XML Schema.
Raphael [Tue, 29 Sep 2009 19:14:05 +0000 (12:14 -0700)]
Add xdpi and ydpi to layout-configs XML Schema.

Also validate that whitespace around tokens is accepted.

BUG 2138329

Change-Id: Id5af7cf2b0689f05327a0cf0b17a525ceba78a12

14 years agoam 3c8d2e27: Fix the skins to do proper dpad rotation in landscape mode.
David 'Digit' Turner [Tue, 29 Sep 2009 21:28:08 +0000 (14:28 -0700)]
am 3c8d2e27: Fix the skins to do proper dpad rotation in landscape mode.

Merge commit '3c8d2e272b71cca814dd694c3ba548f4a2a3a0a0' into eclair

* commit '3c8d2e272b71cca814dd694c3ba548f4a2a3a0a0':
  Fix the skins to do proper dpad rotation in landscape mode.

14 years agoAdd contacts tests to the continuous test cycle
Omari Stephens [Tue, 29 Sep 2009 21:16:07 +0000 (14:16 -0700)]
Add contacts tests to the continuous test cycle

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 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 agoAdd support for 'android update test-project'.
Xavier Ducrohet [Mon, 28 Sep 2009 23:25:45 +0000 (16:25 -0700)]
Add support for 'android update test-project'.

This is only to be used to update the location of the main project.
To update other properties, 'update project' can be used.

Change-Id: I96ff44295460c7e331953263abccea17108d5a70

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