summaryrefslogtreecommitdiffstats
path: root/tools/aapt/Images.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Embed layout padding in nine patch imagesAmith Yamasani2012-04-041-19/+175
| | | | | | | | | | | | | - Added a new custom PNG chunk that carries the layout padding ints. - Extract the padding ticks from .9.png images and store in the chunk. - Load the padding information at runtime into Bitmap and NinePatchDrawable. - The new chunk is ordered first so that it doesn't cause a problem in older versions of the platform. Bug: 6087201 Change-Id: I5de46167a1d44b3ec21065b0c165e594b1dc8399
* aapt: Preprocess images in parallel.Jeff Brown2012-03-171-2/+2
| | | | | | | | | Currently hardcoded to use up to 4 threads. This change substantially reduces the amount of time spent preprocessing framework resources to just a few seconds. Change-Id: I02fdd283fb529a152aeb22ac87f278779fd77983
* frameworks/base refactoring.Mathias Agopian2012-02-171-1/+1
| | | | | | step 2: move libutils headers to their new home: androidfw Change-Id: I14624ba23db92a81f2cb929f104386e1fab293ef
* New aapt feature to do smarter filtering of configurations.Dianne Hackborn2011-10-161-0/+8
| | | | | | | | | | | | | | | | | | | This adds a --preferred-configurations flag that specifies the specific configurations you would like to have. It is smarter than "-c" because it will avoid stripping a configuration if that would result in there being no value for the resource. It is dumber than "-c" because it can't process as many kinds of resources. It is really only intended for bitmaps and use with density configs. This required re-arranging AaptAssets to group files together by config again, like they used to be. I think this hasn't broken anything. Hopefully. Change-Id: I4e9d12ff6e6dbd1abb8fd4cb1814c6674b19d0e5
* Added Caching for PreProcessed PNGsJosiah Gaskin2011-07-201-0/+121
| | | | | | | | | | 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
* Give an 9-patch error on too many rows and columnsKenny Root2010-03-121-8/+18
| | | | | | | | | When you have too many rows and columns, there are not enough colors in the 9-patch private metadata to represent them. Instead of crashing aapt, this change gives the user an error message telling them why it's invalid. Change-Id: I5e7bd59472a3a2eafa7cbc263792458cce2b5594
* AI 147028: Fix up aapt so it runs cleanly under the valgrind leak checker.Marco Nelissen2009-04-201-0/+5
| | | | Automated import of CL 147028
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-051-2/+2
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+1082
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-1074/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-031-8/+0
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-021-0/+8
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-19/+18
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-151-74/+132
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-8/+214
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+7
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+804