OSDN Git Service
Raphael [Thu, 8 Oct 2009 19:58:47 +0000 (12:58 -0700)]
am
0947e82e: Merge change Ica46d149 into eclair
Merge commit '
0947e82e4ec99de726829903ea67cbae3d4a9e66' into eclair-plus-aosp
* commit '
0947e82e4ec99de726829903ea67cbae3d4a9e66':
SDK Updater: platform dependency on tools, addon dependency on platform.
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.
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
Xavier Ducrohet [Thu, 8 Oct 2009 18:49:54 +0000 (11:49 -0700)]
am
9cb6feee: Merge change Ia20b55c7 into eclair
Merge commit '
9cb6feee3ae7b96be6d6829aef1a06c4b68b8e3e' into eclair-plus-aosp
* commit '
9cb6feee3ae7b96be6d6829aef1a06c4b68b8e3e':
Add hardware support to AVD creation dialog.
Jean-Baptiste Queru [Thu, 8 Oct 2009 18:49:50 +0000 (11:49 -0700)]
am
b7c548eb: am
fb244224: merge from donut-gms
Merge commit '
b7c548eb237bc2383cf05ba41a8076743d75ab9a' into eclair-plus-aosp
* commit '
b7c548eb237bc2383cf05ba41a8076743d75ab9a':
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.
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.
Marco Nelissen [Thu, 8 Oct 2009 17:43:54 +0000 (10:43 -0700)]
am
32739c61: Merge change I2e026098 into eclair
Merge commit '
32739c6183d525f371c37d923a85c1150a6a1b0d' into eclair-plus-aosp
* commit '
32739c6183d525f371c37d923a85c1150a6a1b0d':
Three implementations of a live wallpaper showing a spinning cube.
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.
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.
Jean-Baptiste Queru [Thu, 8 Oct 2009 17:00:39 +0000 (10:00 -0700)]
merge from donut-gms
Xavier Ducrohet [Thu, 8 Oct 2009 02:47:30 +0000 (19:47 -0700)]
Add hardware support to AVD creation dialog.
Change-Id: Ia20b55c788191b40159b5c38b66f1da333179ccc
Xavier Ducrohet [Wed, 7 Oct 2009 23:15:26 +0000 (16:15 -0700)]
am
211195d1: Merge change I0d2bc2d1 into eclair
Merge commit '
211195d1931da4a77ffb42dc15a9bf5afdd6b52a' into eclair-plus-aosp
* commit '
211195d1931da4a77ffb42dc15a9bf5afdd6b52a':
New based dialog class.
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.
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
Raphael [Wed, 7 Oct 2009 22:53:54 +0000 (15:53 -0700)]
am
1121ceba: SDK: remove default.properties from ApiDemos
Merge commit '
1121ceba04131669a95e6cc7e3cb83a3a87c8ea2' into eclair-plus-aosp
* commit '
1121ceba04131669a95e6cc7e3cb83a3a87c8ea2':
SDK: 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
Romain Guy [Wed, 7 Oct 2009 19:43:03 +0000 (12:43 -0700)]
am
9bda7101: Fix the MergeRootFrameLayout rule by checking the presence of padding.
Merge commit '
9bda7101b8c7007e65f0a744d93e4e446086f3ec' into eclair-plus-aosp
* commit '
9bda7101b8c7007e65f0a744d93e4e446086f3ec':
Fix the MergeRootFrameLayout rule by checking the presence of padding.
Xavier Ducrohet [Wed, 7 Oct 2009 19:42:54 +0000 (12:42 -0700)]
am
7ce7a783: Merge change I47bf273a into eclair
Merge commit '
7ce7a7835d1f2c835451f3222b14ab44350d66ba' into eclair-plus-aosp
* commit '
7ce7a7835d1f2c835451f3222b14ab44350d66ba':
Update AVD creation UI to be easier for skin/sdcard.
Xavier Ducrohet [Wed, 7 Oct 2009 19:42:46 +0000 (12:42 -0700)]
am
740e6ef0: Merge change Iafd22833 into eclair
Merge commit '
740e6ef010d99b782632a8476e65d5c667cad85a' into eclair-plus-aosp
* commit '
740e6ef010d99b782632a8476e65d5c667cad85a':
Add git ignore file for ninepatch eclipse project.
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
Raphael [Wed, 7 Oct 2009 18:59:01 +0000 (11:59 -0700)]
am
ca35b275: Merge change I15034878 into eclair
Merge commit '
ca35b27533f920f304c6065537ffc5185c2022e5' into eclair-plus-aosp
* commit '
ca35b27533f920f304c6065537ffc5185c2022e5':
Fix Windows SDK build broken by layoutopt change.
Romain Guy [Wed, 7 Oct 2009 18:58:39 +0000 (11:58 -0700)]
am
ece784c5: Fix error in InefficientWeight rule. It would wrongly assume 0dip != 0dip.
Merge commit '
ece784c583edbbeb56e8a74d4ddf039121d0df71' into eclair-plus-aosp
* commit '
ece784c583edbbeb56e8a74d4ddf039121d0df71':
Fix error in InefficientWeight rule. It would wrongly assume 0dip != 0dip.
Xavier Ducrohet [Wed, 7 Oct 2009 18:57:16 +0000 (11:57 -0700)]
am
b5c18403: Merge change Idc3d3b2f into eclair
Merge commit '
b5c1840392bf93edd8caaefb7136b46f2b369773' into eclair-plus-aosp
* commit '
b5c1840392bf93edd8caaefb7136b46f2b369773':
Moved the test data to their own package.
Romain Guy [Wed, 7 Oct 2009 18:57:07 +0000 (11:57 -0700)]
am
2aaa22e0: Merge change Id7515f9a into eclair
Merge commit '
2aaa22e0575faf6c83990233333fbf010fa46ef3' into eclair-plus-aosp
* commit '
2aaa22e0575faf6c83990233333fbf010fa46ef3':
New rules for layoutopt: IncorrectHeight/WidthIn[Horizontal]ScrollView, UselessView.
Xavier Ducrohet [Wed, 7 Oct 2009 18:55:25 +0000 (11:55 -0700)]
am
8f242703: Merge change I56443773 into eclair
Merge commit '
8f242703341e616f9239706a27f5ecb675f808e7' into eclair-plus-aosp
* commit '
8f242703341e616f9239706a27f5ecb675f808e7':
Add support for loading 9-patch from a stream.
Xavier Ducrohet [Wed, 7 Oct 2009 18:55:21 +0000 (11:55 -0700)]
am
89482588: Merge change Iddb7f466 into eclair
Merge commit '
894825887e9668872c1925704afcf3340b7c009b' into eclair-plus-aosp
* commit '
894825887e9668872c1925704afcf3340b7c009b':
Put kxml back in adt-test
Romain Guy [Wed, 7 Oct 2009 18:54:18 +0000 (11:54 -0700)]
am
16a56b8c: Fix NPE in layoutopt when trying to open non-XML files.
Merge commit '
16a56b8ccd39c812c8c7b86bd83ec9c492d19de9' into eclair-plus-aosp
* commit '
16a56b8ccd39c812c8c7b86bd83ec9c492d19de9':
Fix NPE in layoutopt when trying to open non-XML files.
Romain Guy [Wed, 7 Oct 2009 18:53:15 +0000 (11:53 -0700)]
am
d9050e61: Merge change Idc9b152e into eclair
Merge commit '
d9050e6102fb37c8f5df02dbfd17cac728b9f0e4' into eclair-plus-aosp
* commit '
d9050e6102fb37c8f5df02dbfd17cac728b9f0e4':
Add layoutopt to the SDK.
Xavier Ducrohet [Wed, 7 Oct 2009 18:51:08 +0000 (11:51 -0700)]
am
67d9bcdf: Only create folder if not present.
Merge commit '
67d9bcdf5cfe8c2862280ea6e55c4beed05432ef' into eclair-plus-aosp
* commit '
67d9bcdf5cfe8c2862280ea6e55c4beed05432ef':
Only create folder if not present.
Xavier Ducrohet [Wed, 7 Oct 2009 18:51:04 +0000 (11:51 -0700)]
am
8251e4ef: Merge change Iab62c8e9 into eclair
Merge commit '
8251e4ef4672be54a3f38748c05fd66c967c64b4' into eclair-plus-aosp
* commit '
8251e4ef4672be54a3f38748c05fd66c967c64b4':
Add layoutlib.jar to the classpath of adt-tests
Xavier Ducrohet [Wed, 7 Oct 2009 18:50:48 +0000 (11:50 -0700)]
am
ee7c4739: Merge change Ic1eff784 into eclair
Merge commit '
ee7c473929c62bb9f9f0e21e9ca850174b9041a1' into eclair-plus-aosp
* commit '
ee7c473929c62bb9f9f0e21e9ca850174b9041a1':
Fix script (and build)
Romain Guy [Wed, 7 Oct 2009 18:50:09 +0000 (11:50 -0700)]
am
b7e69d20: Merge change Ic8fe0b36 into eclair
Merge commit '
b7e69d20a42297d0d80a0a0a0f88320d8e536ff5' into eclair-plus-aosp
* commit '
b7e69d20a42297d0d80a0a0a0f88320d8e536ff5':
Add 3 more rules to layoutopt/uix:
Dianne Hackborn [Wed, 7 Oct 2009 18:50:05 +0000 (11:50 -0700)]
am
d2fc4352: Merge change I6b618094 into eclair
Merge commit '
d2fc4352293b3c9c3a3570a52826f6d98d0d052c' into eclair-plus-aosp
* commit '
d2fc4352293b3c9c3a3570a52826f6d98d0d052c':
Fix build.
Xavier Ducrohet [Wed, 7 Oct 2009 18:49:49 +0000 (11:49 -0700)]
am
24bf2fa3: Add tests from layoutlib to adt-tests
Merge commit '
24bf2fa3e4aebc0aa311dd3a14ea60f4af56fa39' into eclair-plus-aosp
* commit '
24bf2fa3e4aebc0aa311dd3a14ea60f4af56fa39':
Add tests from layoutlib to adt-tests
Xavier Ducrohet [Wed, 7 Oct 2009 18:48:19 +0000 (11:48 -0700)]
am
b6e85c05: Merge change Ieb4e722b into eclair
Merge commit '
b6e85c0548be6b52e11e64f893cc6e5d49a740f2' into eclair-plus-aosp
* commit '
b6e85c0548be6b52e11e64f893cc6e5d49a740f2':
Add sdklib tests to the adt-tests Unit tests.
Brett Chabot [Wed, 7 Oct 2009 18:48:08 +0000 (11:48 -0700)]
am
6cc64cd2: Merge change I90b4c0e7 into eclair
Merge commit '
6cc64cd26d1ce9319dd2f430b564b8b2de9b482f' into eclair-plus-aosp
* commit '
6cc64cd26d1ce9319dd2f430b564b8b2de9b482f':
Fix Eclipse sample tests.
Xavier Ducrohet [Wed, 7 Oct 2009 18:46:58 +0000 (11:46 -0700)]
am
e96bc57a: Merge change I7d761ffa into eclair
Merge commit '
e96bc57aad64d435c1986bf415cb1c5f974426b9' into eclair-plus-aosp
* commit '
e96bc57aad64d435c1986bf415cb1c5f974426b9':
Fix best match resource selection when there's only one match.
Romain Guy [Wed, 7 Oct 2009 18:46:54 +0000 (11:46 -0700)]
am
06d3ec15: Only process XML files in layoutopt.
Merge commit '
06d3ec157ee7bebbf550924af267ee168336e085' into eclair-plus-aosp
* commit '
06d3ec157ee7bebbf550924af267ee168336e085':
Only process XML files in layoutopt.
Romain Guy [Wed, 7 Oct 2009 18:46:49 +0000 (11:46 -0700)]
am
d01b8dd3: Merge change I5dfb2567 into eclair
Merge commit '
d01b8dd3c73add238bb4b632ece4a42e44bae126' into eclair-plus-aosp
* commit '
d01b8dd3c73add238bb4b632ece4a42e44bae126':
Add new rules to layoutopt: UseCompoundDrawables and UselessLayout.
Fred Quintana [Wed, 7 Oct 2009 18:46:36 +0000 (11:46 -0700)]
am
db8fdbec: account manager api review changes
Merge commit '
db8fdbec4268697653d5688d0a0092483b3832f1' into eclair-plus-aosp
* commit '
db8fdbec4268697653d5688d0a0092483b3832f1':
account manager api review changes
Romain Guy [Wed, 7 Oct 2009 18:44:49 +0000 (11:44 -0700)]
am
06f70393: Merge change I8e4697e1 into eclair
Merge commit '
06f70393bd6c10c24136492a4616019822c63299' into eclair-plus-aosp
* commit '
06f70393bd6c10c24136492a4616019822c63299':
New layout optimization tool. Run layoutopt on the command line.
Raphael [Wed, 7 Oct 2009 18:42:38 +0000 (11:42 -0700)]
am
1061c0c7: Merge change I69afafa4 into eclair
Merge commit '
1061c0c7dc20479626aa8b2d71485c9e17e7daf7' into eclair-plus-aosp
* commit '
1061c0c7dc20479626aa8b2d71485c9e17e7daf7':
ADT: Create project from existing sample in New Project Wizard
Xavier Ducrohet [Wed, 7 Oct 2009 18:42:28 +0000 (11:42 -0700)]
am
90ee703e: Fix resource resolution in the graphical layout editor.
Merge commit '
90ee703e945cedaa222e8e5a2aba6333afff21b6' into eclair-plus-aosp
* commit '
90ee703e945cedaa222e8e5a2aba6333afff21b6':
Fix resource resolution in the graphical layout editor.
Xavier Ducrohet [Wed, 7 Oct 2009 18:41:54 +0000 (11:41 -0700)]
am
d280d236: Monintor resolution/size chooser dialog
Merge commit '
d280d2363e412c43b1a7bfe044044d70d8895154' into eclair-plus-aosp
* commit '
d280d2363e412c43b1a7bfe044044d70d8895154':
Monintor resolution/size chooser dialog
Xavier Ducrohet [Wed, 7 Oct 2009 18:40:54 +0000 (11:40 -0700)]
am
d13d440d: Emulator launch options dialog.
Merge commit '
d13d440d43a744ab6e596e52cf53eef79d222d01' into eclair-plus-aosp
* commit '
d13d440d43a744ab6e596e52cf53eef79d222d01':
Emulator launch options dialog.
Raphael [Wed, 7 Oct 2009 18:39:33 +0000 (11:39 -0700)]
am
ef133787: SDK: Fix CustomLocale to properly setup Language+Country
Merge commit '
ef1337876b2dfbf76dc7e45e035f4a25ebc0f560' into eclair-plus-aosp
* commit '
ef1337876b2dfbf76dc7e45e035f4a25ebc0f560':
SDK: Fix CustomLocale to properly setup Language+Country
Jeff Sharkey [Wed, 7 Oct 2009 18:36:58 +0000 (11:36 -0700)]
am
480332f6: Revise template to match spec per jham.
Merge commit '
480332f6c5ee0da552426716abff5ddd87074a5f' into eclair-plus-aosp
* commit '
480332f6c5ee0da552426716abff5ddd87074a5f':
Revise template to match spec per jham.
David 'Digit' Turner [Wed, 7 Oct 2009 18:35:22 +0000 (11:35 -0700)]
am
cc230ba0: Ensure the version of \'awk\' detected by host-setup.sh is used during the build
Merge commit '
cc230ba07c05ba5eec6412136ffebc4dd58e3aee' into eclair-plus-aosp
* commit '
cc230ba07c05ba5eec6412136ffebc4dd58e3aee':
Ensure the version of 'awk' detected by host-setup.sh is used during the build
David 'Digit' Turner [Wed, 7 Oct 2009 18:35:08 +0000 (11:35 -0700)]
am
79adc9fc: Merge change Ia78a7753 into eclair
Merge commit '
79adc9fc9040760a722f2cc5fd15a517f4cbb245' into eclair-plus-aosp
* commit '
79adc9fc9040760a722f2cc5fd15a517f4cbb245':
Remove bash-specific operator from build/host-setup.sh.
Xavier Ducrohet [Wed, 7 Oct 2009 18:34:21 +0000 (11:34 -0700)]
am
f0737030: Fix Android Manifest parser.
Merge commit '
f0737030570be15c1789d00db3593eb78cee9fbc' into eclair-plus-aosp
* commit '
f0737030570be15c1789d00db3593eb78cee9fbc':
Fix Android Manifest parser.
Raphael [Wed, 7 Oct 2009 18:33:12 +0000 (11:33 -0700)]
am
2ace885b: ADT Manifest Editor: Fix for uses-sdk dup that won\'t go away.
Merge commit '
2ace885b2945aba76266bc54ad9fa59fb4e05187' into eclair-plus-aosp
* commit '
2ace885b2945aba76266bc54ad9fa59fb4e05187':
ADT Manifest Editor: Fix for uses-sdk dup that won't go away.
Raphael [Wed, 7 Oct 2009 18:32:26 +0000 (11:32 -0700)]
am
657bdd7d: Merge change I8a575e49 into eclair
Merge commit '
657bdd7d2851cd3b09f156c4abd085614efdc593' into eclair-plus-aosp
* commit '
657bdd7d2851cd3b09f156c4abd085614efdc593':
Fix CustomLocale to work with soft keyboard.
Xavier Ducrohet [Wed, 7 Oct 2009 18:32:15 +0000 (11:32 -0700)]
Raphael [Wed, 7 Oct 2009 18:32:06 +0000 (11:32 -0700)]
am
1233e408: Merge change Ie3124796 into eclair
Merge commit '
1233e408f77ad8752afa1387a94c8e2b378b6629' into eclair-plus-aosp
* commit '
1233e408f77ad8752afa1387a94c8e2b378b6629':
Ignore adt/eclipse project files in CustomLocale
Xavier Ducrohet [Wed, 7 Oct 2009 18:32:01 +0000 (11:32 -0700)]
am
227b8768: Load default GLE device profiles from the SDK.
Merge commit '
227b8768fa8accff8a9e3555351af05d41ad7840' into eclair-plus-aosp
* commit '
227b8768fa8accff8a9e3555351af05d41ad7840':
Load default GLE device profiles from the SDK.
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.
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.
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
Xavier Ducrohet [Tue, 6 Oct 2009 23:59:38 +0000 (16:59 -0700)]
Add git ignore file for ninepatch eclipse project.
Change-Id: Iafd228336791a4a5b3b9443ba7ea075f8bf1d8a0
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.
Raphael [Tue, 6 Oct 2009 23:43:05 +0000 (16:43 -0700)]
Fix Windows SDK build broken by layoutopt change.
Change-Id: I1503487861ef20dead3de62548feea6328e0d60d
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
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.
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.
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.
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.
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
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
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
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
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
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
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.
Xavier Ducrohet [Tue, 6 Oct 2009 03:44:42 +0000 (20:44 -0700)]
Only create folder if not present.
Change-Id: I77673e0f43d7a00f42e2a97663bd9aed2aaf09f2
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
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
Romain Guy [Tue, 6 Oct 2009 01:11:09 +0000 (18:11 -0700)]
Add layoutopt to the SDK.
Change-Id: Idc9b152e2a5abffaa9feb2cf70791d8288cfa1dd
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)
Xavier Ducrohet [Tue, 6 Oct 2009 02:33:35 +0000 (19:33 -0700)]
Fix script (and build)
Change-Id: Ic1eff7843219c42867e477ad8bfbdf89167a0061
Android (Google) Code Review [Tue, 6 Oct 2009 01:07:00 +0000 (21:07 -0400)]
Merge change Ic8fe0b36 into eclair
* changes:
Add 3 more rules to layoutopt/uix: - InefficientWeight - NestedScrollingWidgets - TooManyChildren
Romain Guy [Tue, 6 Oct 2009 01:05:44 +0000 (18:05 -0700)]
Add 3 more rules to layoutopt/uix:
- InefficientWeight
- NestedScrollingWidgets
- TooManyChildren
Change-Id: Ic8fe0b36e0a7cac523d223e5f8d96d7959919da6
Android (Google) Code Review [Tue, 6 Oct 2009 00:36:06 +0000 (20:36 -0400)]
Merge change I6b618094 into eclair
* changes:
Fix build.
Dianne Hackborn [Tue, 6 Oct 2009 00:35:26 +0000 (17:35 -0700)]
Fix build.
Change-Id: I6b6180942d102745bd5717fcc5d0ea9e00211f18
Xavier Ducrohet [Mon, 5 Oct 2009 22:19:38 +0000 (15:19 -0700)]
Add tests from layoutlib to adt-tests
Change-Id: Ia7bac7fad90b77fe34fb4a4371d6d5945993efe9
Android (Google) Code Review [Mon, 5 Oct 2009 21:45:04 +0000 (17:45 -0400)]
Merge change Ieb4e722b into eclair
* changes:
Add sdklib tests to the adt-tests Unit tests.
Android (Google) Code Review [Mon, 5 Oct 2009 21:26:31 +0000 (17:26 -0400)]
Merge change I90b4c0e7 into eclair
* changes:
Fix Eclipse sample tests.
Brett Chabot [Sat, 3 Oct 2009 00:34:05 +0000 (17:34 -0700)]
Fix Eclipse sample 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
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.
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
Romain Guy [Mon, 5 Oct 2009 19:08:48 +0000 (12:08 -0700)]
Only process XML files in layoutopt.
Change-Id: I847109409601ccfbb10abff3b9972afdb3032821
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.
Romain Guy [Mon, 5 Oct 2009 18:58:09 +0000 (11:58 -0700)]
Add new rules to layoutopt: UseCompoundDrawables and UselessLayout.
Change-Id: I5dfb2567d923da8442b1df1e703e4ebca6e9523b
Fred Quintana [Sat, 3 Oct 2009 00:19:38 +0000 (17:19 -0700)]
account manager api review changes
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.
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
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
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
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
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