• Home
  • History
  • Annotate
  • only in /frameworks/base/tools/aapt/tests/
History log of /frameworks/base/tools/aapt/tests/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
beb9e33bfb79847c25aac98e39f3ea620a953ef7 14-Aug-2015 Adam Lesinski <adamlesinski@google.com> AAPT: Fix regression in resource versioning

With a set of resources with the following configurations:

()
(land)

the regression caused any resources that needed to be versioned in configuration () to be lost.

Bug:23038206
Change-Id: I2f1b0313fb780ac241e7aaa487cb37dfb79c36aa
esourceTable_test.cpp
729ffa299ca786eb21ba8330096b33c7bcd66fbf 15-May-2015 Igor Viarheichyk <viarheichyk@google.com> ICU format support for pseudolocalizes.

Custom parser can handle nested ICU messages even if they
are split into multiple fragments. Code reworked to encapsulate
all pseudolocalization logic in Pseudolocalizer and PseudoMethods
classes. To minimize a changelist size, some static functions
remained. Fake BiDi pseudolocalization method is reimplemented
to handle word boundaries correctly. Unit tests added.

(cherry picked from commit cbb1e676b56677ae3585c067f29646dddffb4857)

bug: 22060509

Change-Id: I11968d81984d99501a4d9334ff2e7453a1eb7a00
seudolocales_test.cpp
2738c96d998dedfae5b4670d588d0cd299c4ca0f 14-May-2015 Adam Lesinski <adamlesinski@google.com> Add -round and -notround qualifier to android runtime/aapt

The round qualifier denotes a device with a screen shape that
is round. The qualifier shows up after the 'long/notlong' qualifier
and before the orientation 'port/land/square' qualifiers.

Change-Id: I3044258b2703a9165694b79725bade770fa6cea1
aptConfig_test.cpp
8a9355a98ece3d7fc9d022e759d05378060c86e2 11-Mar-2015 Adam Lesinski <adamlesinski@google.com> Output modified bcp47 tag in ResTable_config::toString()

We expect to be able to parse the output of ResTable_config::toString(),
so it should use modified bcp47 (b+en+Latn+US).

Change-Id: I597a1779a1fa5cff171c473e6a0368d93b9c7722
aptConfig_test.cpp
7f1a8957cca420d525719836069b7f6d5ee04718 10-Feb-2015 Narayan Kamath <narayan@google.com> Parse res-car as resources for UI_MODE_TYPE_CAR..

.. and not a 3 letter language code.

bug: 19291216
Change-Id: I01bf76d89880693dcdb4384d5c239902fa3defa8
aptConfig_test.cpp
a5cc002bfe7ca8a6536549189b44e7143c8611dc 22-Aug-2014 Adam Lesinski <adamlesinski@google.com> AAPT: Filtering resource fix

Previously, when filtering resources from an APK using
-c option, if one qualifier matched, we would keep the resource.
However, in the case of something like

-c fr-FR,sw360dp

and with a resource in the APK like so

drawable-fr-FR-sw600dp-v13

we would want this resource to be excluded, as it does not
match the sw360dp qualifier (must be less than or equal to it).

This CL fixed the behavior of the filter to require that all
defined qualifier axis be matched.

Bug:17142358
Change-Id: Ie48f3d516a0e610abc7ba8a7ced4eb3ab52534d4
esourceFilter_test.cpp
27f69f4e06961fdecd1078b2292d764a157e5e1c 21-Aug-2014 Adam Lesinski <adamlesinski@google.com> AAPT: mipmaps should not end up in Splits

Mipmaps are never filtered, and so they will always
end up in the base APK. Make sure they get omitted from
any split.

Change-Id: Id24b082bc9bd2d3f031a58bd0de4d30b4f0de7e0
esourceFilter_test.cpp
fab50875b98e8274ac8ee44b38ba42521bbbf1f9 16-Apr-2014 Adam Lesinski <adamlesinski@google.com> Add support for building split APKs

Build multiple APKs, each containing a disjoint subset
of configurations. These can then be loaded into the device
AssetManager and should operate as if they were never split.

Use the idea of building multiple sets of files, where each
set represents an APK. An ApkBuilder can place files
in a set based on its configuration, but you can actually
add directly to a set, in the case of the resources.arsc and
generated AndroidManifest.xml for splits.

Change-Id: Ic65d3f0ac1bbd290185695b9971d425c85ab1de3
aptConfig_test.cpp
aptGroupEntry_test.cpp
esourceFilter_test.cpp
estHelper.h
282e181b58cf72b6ca770dc7ca5f91f135444502 24-Jan-2014 Adam Lesinski <adamlesinski@google.com> Revert "Move frameworks/base/tools/ to frameworks/tools/"

This reverts commit 9f6a119c8aa276432ece4fe2118bd8a3c9b1067e.
runchCache_test.cpp
ileFinder_test.cpp
ockCacheUpdater.h
ockDirectoryWalker.h
ockFileFinder.h
lurals/AndroidManifest.xml
lurals/res/values/strings.xml
lurals/run.sh
9f6a119c8aa276432ece4fe2118bd8a3c9b1067e 28-Aug-2013 Mike Lockwood <lockwood@google.com> Move frameworks/base/tools/ to frameworks/tools/

Change-Id: I3ffafdab27cc4aca256c3a5806b630795b75d5c8
runchCache_test.cpp
ileFinder_test.cpp
ockCacheUpdater.h
ockDirectoryWalker.h
ockFileFinder.h
lurals/AndroidManifest.xml
lurals/res/values/strings.xml
lurals/run.sh
8a39da80b33691b0c82458c3b7727e13ff71277e 07-Jun-2011 Josiah Gaskin <josiahgaskin@google.com> Added Caching for PreProcessed PNGs

Added a cache management system for pre-processed PNG files
along with unit tests. The cache system will be used if
the --no-crunch flag is passed to AAPT during the package
phase. The cache can be updated by a call to 'aapt crunch'
(see usage statement). Also put in benchmarking code.

Change-Id: I58271fb2ee2f5f9075fd74d4ff6f15e7afabd05c
runchCache_test.cpp
ileFinder_test.cpp
ockCacheUpdater.h
ockDirectoryWalker.h
ockFileFinder.h
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
lurals/AndroidManifest.xml
lurals/res/values/strings.xml
lurals/run.sh
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
lurals/AndroidManifest.xml
lurals/res/values/strings.xml
lurals/run.sh
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
lurals/AndroidManifest.xml
lurals/res/values/strings.xml
lurals/run.sh