Romain Guy
0f00352243
am ad1af627: am ece784c5: Fix error in InefficientWeight rule. It would wrongly assume 0dip != 0dip.
...
Merge commit 'ad1af627ea393b2ba295daa58bccceab69a0452d'
* commit 'ad1af627ea393b2ba295daa58bccceab69a0452d':
Fix error in InefficientWeight rule. It would wrongly assume 0dip != 0dip.
2009-10-12 11:48:55 -07:00
Xavier Ducrohet
7d13d4319f
am 09c9ce61: am b5c18403: Merge change Idc3d3b2f into eclair
...
Merge commit '09c9ce619c4f51de2b4c4e42eecea33065dc0c97'
* commit '09c9ce619c4f51de2b4c4e42eecea33065dc0c97':
Moved the test data to their own package.
2009-10-12 11:46:21 -07:00
Romain Guy
5cd8a0b57d
am 0a4a1a54: am 2aaa22e0: Merge change Id7515f9a into eclair
...
Merge commit '0a4a1a549bd8bb9cd7d5002aada9bd42396956d3'
* commit '0a4a1a549bd8bb9cd7d5002aada9bd42396956d3':
New rules for layoutopt: IncorrectHeight/WidthIn[Horizontal]ScrollView, UselessView.
2009-10-12 11:45:45 -07:00
Xavier Ducrohet
585f26db2d
am be4c214e: am 8f242703: Merge change I56443773 into eclair
...
Merge commit 'be4c214e448191fff13eb749991d82409df4ba1e'
* commit 'be4c214e448191fff13eb749991d82409df4ba1e':
Add support for loading 9-patch from a stream.
2009-10-12 11:45:40 -07:00
Xavier Ducrohet
a57e3ddde3
am 80954af3: am 89482588: Merge change Iddb7f466 into eclair
...
Merge commit '80954af3113209f033334762ad98d82f15635994'
* commit '80954af3113209f033334762ad98d82f15635994':
Put kxml back in adt-test
2009-10-12 11:45:36 -07:00
Romain Guy
a6a360f2dd
am 8e2c6026: am 16a56b8c: Fix NPE in layoutopt when trying to open non-XML files.
...
Merge commit '8e2c602625c12e93ef9e4891e90d1737c90c0eba'
* commit '8e2c602625c12e93ef9e4891e90d1737c90c0eba':
Fix NPE in layoutopt when trying to open non-XML files.
2009-10-12 11:41:58 -07:00
Xavier Ducrohet
030b98cf62
am 1651a351: am 67d9bcdf: Only create folder if not present.
...
Merge commit '1651a351c0b7159c88dbc8145d1d24f06e340718'
* commit '1651a351c0b7159c88dbc8145d1d24f06e340718':
Only create folder if not present.
2009-10-12 11:37:30 -07:00
Xavier Ducrohet
7c07042bea
am fab088f4: am 8251e4ef: Merge change Iab62c8e9 into eclair
...
Merge commit 'fab088f454ee2f2ea07cc37e21dd6209e2b9b569'
* commit 'fab088f454ee2f2ea07cc37e21dd6209e2b9b569':
Add layoutlib.jar to the classpath of adt-tests
2009-10-12 11:37:19 -07:00
Xavier Ducrohet
63d548b260
am c3bcbabd: am ee7c4739: Merge change Ic1eff784 into eclair
...
Merge commit 'c3bcbabdcf23176ac842253b60eaad02322198ad'
* commit 'c3bcbabdcf23176ac842253b60eaad02322198ad':
Fix script (and build)
2009-10-12 11:37:12 -07:00
Romain Guy
81a9c9c63d
am 104f9a74: am b7e69d20: Merge change Ic8fe0b36 into eclair
...
Merge commit '104f9a747d5ec5b7b4334ab9123dea6752a519f2'
* commit '104f9a747d5ec5b7b4334ab9123dea6752a519f2':
Add 3 more rules to layoutopt/uix:
2009-10-12 11:35:35 -07:00
Xavier Ducrohet
f033e77533
am 62611904: am 24bf2fa3: Add tests from layoutlib to adt-tests
...
Merge commit '6261190466f72703801652e7dcc69e093fba47f8'
* commit '6261190466f72703801652e7dcc69e093fba47f8':
Add tests from layoutlib to adt-tests
2009-10-12 11:35:03 -07:00
Xavier Ducrohet
60baa8afa3
am 9eb66652: am b6e85c05: Merge change Ieb4e722b into eclair
...
Merge commit '9eb66652e46d3424d42ee39897f5140a8305f609'
* commit '9eb66652e46d3424d42ee39897f5140a8305f609':
Add sdklib tests to the adt-tests Unit tests.
2009-10-12 11:33:05 -07:00
Brett Chabot
949d6e129e
am af86962d: am 6cc64cd2: Merge change I90b4c0e7 into eclair
...
Merge commit 'af86962d86160a9ab35f1bc9b4b373556ed0a099'
* commit 'af86962d86160a9ab35f1bc9b4b373556ed0a099':
Fix Eclipse sample tests.
2009-10-12 11:33:00 -07:00
Xavier Ducrohet
1b5d63be54
am 0dda405c: am e96bc57a: Merge change I7d761ffa into eclair
...
Merge commit '0dda405c6ec7ae2040f884ec71ad89bbc8ce7110'
* commit '0dda405c6ec7ae2040f884ec71ad89bbc8ce7110':
Fix best match resource selection when there's only one match.
2009-10-12 11:30:14 -07:00
Romain Guy
752f3ab16a
am 8fbe805f: am 06d3ec15: Only process XML files in layoutopt.
...
Merge commit '8fbe805f161c71e4dc471b2104484f221674de28'
* commit '8fbe805f161c71e4dc471b2104484f221674de28':
Only process XML files in layoutopt.
2009-10-12 11:30:09 -07:00
Romain Guy
fad2cff3b6
am 1db3cfa4: am d01b8dd3: Merge change I5dfb2567 into eclair
...
Merge commit '1db3cfa4f846ee01c55e3ac5e1ea0807bcde6345'
* commit '1db3cfa4f846ee01c55e3ac5e1ea0807bcde6345':
Add new rules to layoutopt: UseCompoundDrawables and UselessLayout.
2009-10-12 11:30:04 -07:00
Romain Guy
a2ee84d03c
am 06f70393: Merge change I8e4697e1 into eclair
...
Merge commit '06f70393bd6c10c24136492a4616019822c63299'
* commit '06f70393bd6c10c24136492a4616019822c63299':
New layout optimization tool. Run layoutopt on the command line.
2009-10-12 11:25:58 -07:00
Raphael
a0f3732197
am 1061c0c7: Merge change I69afafa4 into eclair
...
Merge commit '1061c0c7dc20479626aa8b2d71485c9e17e7daf7'
* commit '1061c0c7dc20479626aa8b2d71485c9e17e7daf7':
ADT: Create project from existing sample in New Project Wizard
2009-10-12 11:23:44 -07:00
Xavier Ducrohet
3633f5c9f1
am 90ee703e: Fix resource resolution in the graphical layout editor.
...
Merge commit '90ee703e945cedaa222e8e5a2aba6333afff21b6'
* commit '90ee703e945cedaa222e8e5a2aba6333afff21b6':
Fix resource resolution in the graphical layout editor.
2009-10-12 11:23:39 -07:00
Xavier Ducrohet
3912060947
am d280d236: Monintor resolution/size chooser dialog
...
Merge commit 'd280d2363e412c43b1a7bfe044044d70d8895154'
* commit 'd280d2363e412c43b1a7bfe044044d70d8895154':
Monintor resolution/size chooser dialog
2009-10-12 11:23:34 -07:00
Xavier Ducrohet
3b10d94a49
am d13d440d: Emulator launch options dialog.
...
Merge commit 'd13d440d43a744ab6e596e52cf53eef79d222d01'
* commit 'd13d440d43a744ab6e596e52cf53eef79d222d01':
Emulator launch options dialog.
2009-10-12 11:23:30 -07:00
Xavier Ducrohet
cfa2b8acd3
am f0737030: Fix Android Manifest parser.
...
Merge commit 'f0737030570be15c1789d00db3593eb78cee9fbc'
* commit 'f0737030570be15c1789d00db3593eb78cee9fbc':
Fix Android Manifest parser.
2009-10-12 11:23:01 -07:00
Raphael
122c3dd9c6
am 2ace885b: ADT Manifest Editor: Fix for uses-sdk dup that won\'t go away.
...
Merge commit '2ace885b2945aba76266bc54ad9fa59fb4e05187'
* commit '2ace885b2945aba76266bc54ad9fa59fb4e05187':
ADT Manifest Editor: Fix for uses-sdk dup that won't go away.
2009-10-12 11:22:56 -07:00
Xavier Ducrohet
6a368fcf3e
am 227b8768: Load default GLE device profiles from the SDK.
...
Merge commit '227b8768fa8accff8a9e3555351af05d41ad7840'
* commit '227b8768fa8accff8a9e3555351af05d41ad7840':
Load default GLE device profiles from the SDK.
2009-10-12 11:22:37 -07:00
Romain Guy
ece784c583
Fix error in InefficientWeight rule. It would wrongly assume 0dip != 0dip.
...
Change-Id: I2ab9b3c6b57744563c87cb8457c55afd0cbfcb57
2009-10-06 16:22:58 -07:00
Android (Google) Code Review
b5c1840392
Merge change Idc3d3b2f into eclair
...
* changes:
Moved the test data to their own package.
2009-10-06 18:19:28 -04:00
Android (Google) Code Review
2aaa22e057
Merge change Id7515f9a into eclair
...
* changes:
New rules for layoutopt: IncorrectHeight/WidthIn[Horizontal]ScrollView, UselessView.
2009-10-06 17:56:15 -04:00
Android (Google) Code Review
8f24270334
Merge change I56443773 into eclair
...
* changes:
Add support for loading 9-patch from a stream.
2009-10-06 15:35:46 -04:00
Xavier Ducrohet
db9d3e2baf
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
2009-10-06 12:10:42 -07:00
Xavier Ducrohet
3f71486cbd
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
2009-10-06 12:06:46 -07:00
Romain Guy
1e2cbdfa84
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
2009-10-06 11:42:02 -07:00
Android (Google) Code Review
894825887e
Merge change Iddb7f466 into eclair
...
* changes:
Put kxml back in adt-test
2009-10-06 14:16:58 -04:00
Romain Guy
16a56b8ccd
Fix NPE in layoutopt when trying to open non-XML files.
...
Change-Id: I59900c35996ce4465e2ecfd2eb26a19e3fa66403
2009-10-06 10:51:05 -07:00
Xavier Ducrohet
cce979fcf5
Put kxml back in adt-test
...
Since adt doesn't export the package, it's just easier that way.
Change-Id: Iddb7f4660ccc0bc51374128a544975596cb051aa
2009-10-06 10:45:18 -07:00
Xavier Ducrohet
67d9bcdf5c
Only create folder if not present.
...
Change-Id: I77673e0f43d7a00f42e2a97663bd9aed2aaf09f2
2009-10-05 20:55:13 -07:00
Android (Google) Code Review
8251e4ef46
Merge change Iab62c8e9 into eclair
...
* changes:
Add layoutlib.jar to the classpath of adt-tests
2009-10-05 23:09:40 -04:00
Xavier Ducrohet
4aab78e0b9
Add layoutlib.jar to the classpath of adt-tests
...
Change-Id: Iab62c8e9849873e91640484c70110660aabd4b8e
2009-10-05 20:08:31 -07:00
Android (Google) Code Review
ee7c473929
Merge change Ic1eff784 into eclair
...
* changes:
Fix script (and build)
2009-10-05 22:35:24 -04:00
Xavier Ducrohet
ef6dcb646c
Fix script (and build)
...
Change-Id: Ic1eff7843219c42867e477ad8bfbdf89167a0061
2009-10-05 19:33:35 -07:00
Android (Google) Code Review
b7e69d20a4
Merge change Ic8fe0b36 into eclair
...
* changes:
Add 3 more rules to layoutopt/uix: - InefficientWeight - NestedScrollingWidgets - TooManyChildren
2009-10-05 21:07:00 -04:00
Romain Guy
4796120e05
Add 3 more rules to layoutopt/uix:
...
- InefficientWeight
- NestedScrollingWidgets
- TooManyChildren
Change-Id: Ic8fe0b36e0a7cac523d223e5f8d96d7959919da6
2009-10-05 18:05:44 -07:00
Xavier Ducrohet
24bf2fa3e4
Add tests from layoutlib to adt-tests
...
Change-Id: Ia7bac7fad90b77fe34fb4a4371d6d5945993efe9
2009-10-05 15:57:17 -07:00
Android (Google) Code Review
b6e85c0548
Merge change Ieb4e722b into eclair
...
* changes:
Add sdklib tests to the adt-tests Unit tests.
2009-10-05 17:45:04 -04:00
Android (Google) Code Review
6cc64cd26d
Merge change I90b4c0e7 into eclair
...
* changes:
Fix Eclipse sample tests.
2009-10-05 17:26:31 -04:00
Brett Chabot
071276efbd
Fix Eclipse sample tests.
2009-10-05 13:39:38 -07:00
Xavier Ducrohet
b7d28abce3
Add sdklib tests to the adt-tests Unit tests.
...
Change-Id: Ieb4e722b1b5a29cef250e2cb5575a71e09f956c3
2009-10-05 13:01:11 -07:00
Android (Google) Code Review
e96bc57aad
Merge change I7d761ffa into eclair
...
* changes:
Fix best match resource selection when there's only one match.
2009-10-05 15:29:16 -04:00
Xavier Ducrohet
98fcd41e1f
Fix best match resource selection when there's only one match.
...
Was using the wrong index.
Change-Id: I7d761ffa553f0aeec176a4752185dde238991e5e
2009-10-05 12:15:08 -07:00
Romain Guy
06d3ec157e
Only process XML files in layoutopt.
...
Change-Id: I847109409601ccfbb10abff3b9972afdb3032821
2009-10-05 12:08:48 -07:00
Romain Guy
5a31898020
Add new rules to layoutopt: UseCompoundDrawables and UselessLayout.
...
Change-Id: I5dfb2567d923da8442b1df1e703e4ebca6e9523b
2009-10-05 11:59:21 -07:00