Merge commit 'b5c1840392bf93edd8caaefb7136b46f2b369773' into eclair-mr2
* commit 'b5c1840392bf93edd8caaefb7136b46f2b369773':
Moved the test data to their own package.
Merge commit '2aaa22e0575faf6c83990233333fbf010fa46ef3' into eclair-mr2
* commit '2aaa22e0575faf6c83990233333fbf010fa46ef3':
New rules for layoutopt: IncorrectHeight/WidthIn[Horizontal]ScrollView, UselessView.
Merge commit '8f242703341e616f9239706a27f5ecb675f808e7' into eclair-mr2
* commit '8f242703341e616f9239706a27f5ecb675f808e7':
Add support for loading 9-patch from a stream.
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
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
Merge commit '16a56b8ccd39c812c8c7b86bd83ec9c492d19de9' into eclair-mr2
* commit '16a56b8ccd39c812c8c7b86bd83ec9c492d19de9':
Fix NPE in layoutopt when trying to open non-XML files.
Merge commit '67d9bcdf5cfe8c2862280ea6e55c4beed05432ef' into eclair-mr2
* commit '67d9bcdf5cfe8c2862280ea6e55c4beed05432ef':
Only create folder if not present.
Merge commit '8251e4ef4672be54a3f38748c05fd66c967c64b4' into eclair-mr2
* commit '8251e4ef4672be54a3f38748c05fd66c967c64b4':
Add layoutlib.jar to the classpath of adt-tests
Merge commit 'b7e69d20a42297d0d80a0a0a0f88320d8e536ff5' into eclair-mr2
* commit 'b7e69d20a42297d0d80a0a0a0f88320d8e536ff5':
Add 3 more rules to layoutopt/uix:
Merge commit '24bf2fa3e4aebc0aa311dd3a14ea60f4af56fa39' into eclair-mr2
* commit '24bf2fa3e4aebc0aa311dd3a14ea60f4af56fa39':
Add tests from layoutlib to adt-tests
Merge commit 'b6e85c0548be6b52e11e64f893cc6e5d49a740f2' into eclair-mr2
* commit 'b6e85c0548be6b52e11e64f893cc6e5d49a740f2':
Add sdklib tests to the adt-tests Unit tests.
This was added with good intentions, as part of the general drive to
provide high-res textures.
Unfortunately, most OpenGL ES drivers require that a texture's dimensions
be a power of two on each side. The original texture was 128 x 128, and
someone helpfully created a 192 x 192 high res texture. But 192 is not
a power of two, so the hihg-res texture would not render.
We could create a 256 x 256 texture, which would work, but that's not
really needed for this particular texture, and we'd prefer if the
texture stayed small for rendering performance reasons.
Merge commit 'e96bc57aad64d435c1986bf415cb1c5f974426b9' into eclair-mr2
* commit 'e96bc57aad64d435c1986bf415cb1c5f974426b9':
Fix best match resource selection when there's only one match.
Merge commit '06d3ec157ee7bebbf550924af267ee168336e085' into eclair-mr2
* commit '06d3ec157ee7bebbf550924af267ee168336e085':
Only process XML files in layoutopt.
Merge commit 'd01b8dd3c73add238bb4b632ece4a42e44bae126' into eclair-mr2
* commit 'd01b8dd3c73add238bb4b632ece4a42e44bae126':
Add new rules to layoutopt: UseCompoundDrawables and UselessLayout.