Home
last modified time | relevance | path

Searched refs:charCount (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java214 int charCount = body.length(); in encodeBody() local
215 int recordBits = (charCount * 7) + 5; // add 5 bits for char set field in encodeBody()
227 bos.write(8, charCount); in encodeBody()
230 for (int i = 0; i < charCount; i++) { in encodeBody()
240 int charCount = encodedBody[0]; // septet count in encodeBody() local
241 int recordBits = (charCount * 7) + 5; // add 5 bits for char set field in encodeBody()
260 bos.write(8, charCount); in encodeBody()
263 bos.writeByteArray(charCount * 7, bodySeptets); in encodeBody()
267 int charCount = body.length(); in encodeBody() local
268 int recordBits = (charCount * 6) + 21; // add 21 bits for header fields in encodeBody()
[all …]
/frameworks/base/libs/hwui/
DTextDropShadowCache.h73 uint32_t charCount = len / sizeof(char16_t); in copyTextLocally() local
74 str.setTo((const char16_t*) text, charCount); in copyTextLocally()
78 positionsCopy.appendArray(positions, charCount * 2); in copyTextLocally()
DTextDropShadowCache.cpp33 uint32_t charCount = len / sizeof(char16_t); in hash() local
42 hash = JenkinsHashMixShorts(hash, text, charCount); in hash()
45 for (uint32_t i = 0; i < charCount * 2; i++) { in hash()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/
DDirListActivity.java381 int charCount = mListView.getWidth() / MEAN_TITLE_CHAR_SIZE; in shortenTitle() local
383 if (title.length() > charCount) { in shortenTitle()
384 return "..." + title.substring(title.length() - charCount); in shortenTitle()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java1042 int charCount = Character.isHighSurrogate(text[i]) ? 2 : 1; in native_drawText()
1043 upTo = fontInfo.mFont.canDisplayUpTo(text, i, i + charCount); in native_drawText()
1047 graphics.drawChars(text, i, charCount, (int)x, (int)y); in native_drawText()
1050 x += fontInfo.mMetrics.charsWidth(text, i, charCount); in native_drawText()
1053 i += charCount; in native_drawText()
1063 int charCount = Character.isHighSurrogate(text[i]) ? 2 : 1; in native_drawText()
1066 graphics.drawChars(text, i, charCount, (int)x, (int)y); in native_drawText()
1069 x += mainFont.mMetrics.charsWidth(text, i, charCount); in native_drawText()
1072 i += charCount; in native_drawText()
DPaint_Delegate.java1223 int charCount = Character.isHighSurrogate(text[i]) ? 2 : 1; in measureText() local
1224 upTo = fontInfo.mFont.canDisplayUpTo(text, i, i + charCount); in measureText()
1226 total += fontInfo.mMetrics.charsWidth(text, i, charCount); in measureText()
1227 i += charCount; in measureText()
/frameworks/base/core/java/android/text/
DBidiFormatter.java744 charIndex += Character.charCount(codePoint); in dirTypeForward()
774 charIndex -= Character.charCount(codePoint); in dirTypeBackward()
/frameworks/support/v4/java/android/support/v4/text/
DBidiFormatter.java740 charIndex += Character.charCount(codePoint); in dirTypeForward()
770 charIndex -= Character.charCount(codePoint); in dirTypeBackward()
/frameworks/base/api/
Dcurrent.txt32503 method public static int charCount(int);