Home
last modified time | relevance | path

Searched refs:strSize (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/benchmarks/src/android/text/
DSpannableStringInternalCopyBenchmark.java33 int strSize = Integer.parseInt(paramStringMult); in setUp() local
35 for (int i = 0; i < strSize; i++) { in setUp()
DSpannableStringBuilderBenchmark.java41 int strSize = Integer.parseInt(paramStringMult); in setUp() local
43 for (int i = 0; i < strSize; i++) { in setUp()
/frameworks/base/tools/aapt/
DStringPool.cpp380 #define ENCODE_LENGTH(str, chrsz, strSize) \ argument
384 if ((strSize) > maxSize) { \
385 *(str)++ = maxMask | (((strSize)>>((chrsz)*8))&maxSize); \
387 *(str)++ = strSize; \
443 const size_t strSize = (ent.value.size()); in writeStringBlock() local
444 const size_t lenSize = strSize > (size_t)(1<<((charSize*8)-1))-1 ? in writeStringBlock()
460 ((mUTF8 ? encSize : strSize)+1)*charSize; in writeStringBlock()
471 ENCODE_LENGTH(strings, sizeof(uint8_t), strSize) in writeStringBlock()
479 ENCODE_LENGTH(strings, sizeof(char16_t), strSize) in writeStringBlock()
/frameworks/minikin/libs/minikin/
DLineBreakerUtil.h125 auto [str, strSize] = getHyphenString(endEdit); in populateHyphenationPoints()
126 first += run.measureText(U16StringPiece(str, strSize)); in populateHyphenationPoints()
130 auto [str, strSize] = getHyphenString(startEdit); in populateHyphenationPoints()
131 second += run.measureText(U16StringPiece(str, strSize)); in populateHyphenationPoints()