summaryrefslogtreecommitdiffstats
path: root/tools/aapt/StringPool.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix aapt to get expat header files from the approved location.Elliott Hughes2012-09-091-1/+1
| | | | Change-Id: Ic7c796e048cfe98ee355c18b3708fee5ea716e2e
* Use qsort_r_compat() as a portable wrapper for qsort_r().Jeff Brown2012-03-191-4/+0
| | | | Change-Id: Ie79f81625947f4e95122047605d994c86e872e74
* Fix build break on glibc, for real.Jeff Brown2012-03-191-0/+4
| | | | Change-Id: I8bbec237229b05f96c708d41f3c4da17e2a90e2b
* Use quicksort to sort the string pool.Jeff Brown2012-03-161-1/+1
| | | | | | | | | | | The current implementation of Vector::sort uses insertion sort on the assumption that the data is mostly sorted. It isn't. This change brings the total time spent sorting packages by config down to 500ms from about 93 seconds. Bug: 6186278 Change-Id: Iec8da11e09297acd6c73733d063b0fa9dacf69f7
* Remove dead code in StringPool.Jeff Brown2012-03-161-25/+3
| | | | | | | The sorted string pool option was no longer used. Neither were strings with associated identifiers. Change-Id: Ic5f6368637fbeedfda873d63f4ad0f3ea9d0d603
* Make StringPool entry types trivially movable.Jeff Brown2012-03-161-0/+9
| | | | Change-Id: If93957a840a0f1cae2e6ef291eeeb1b0c7c20958
* frameworks/base refactoring.Mathias Agopian2012-02-171-1/+1
| | | | | | step 2: move libutils headers to their new home: androidfw Change-Id: I14624ba23db92a81f2cb929f104386e1fab293ef
* aapt now sorts the strings in the resource string pool.Dianne Hackborn2012-01-311-9/+54
| | | | | | | | | | | In our current environment with very many translations, this can save a lot of RAM -- for example over 200K in Gmail just by sorting the strings in the Gmail .apk (not the framework). Also add a new aapt command to print the contents of the resource table string pool. Change-Id: I1da037b3e2c377b890833ff57ab158965314ac48
* Optional use of UTF-8 strings in resource bundlesKenny Root2009-12-071-1/+5
| | | | | | | | | | | | | | | Allows the use of UTF-8 for packing resources instead of the default of UTF-16 for Java. When strings are extracted from the ResStringPool, they are converted to UTF-16 and the result is cached for subsequent calls. When using aapt to package, add in the "-8" switch to pack the resources using UTF-8. This will result in the value, key, and type strings as well as the compiled XML string values taking significantly less space in the final application package in most scenarios. Change-Id: I129483f8b3d3b1c5869dced05cb525e494a6c83a
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+148
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-148/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+148