Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBidiRenderer.java179 int charCount = Character.isHighSurrogate(mText[start]) ? 2 : 1; in renderScript() local
185 canDisplayUpTo = font.canDisplayUpTo(mText, start, start + charCount); in renderScript()
187 render(start, start+charCount, font, flag, advances, advancesIndex, draw); in renderScript()
188 start += charCount; in renderScript()
189 advancesIndex += charCount; in renderScript()
199 render(start, start + charCount, preferredFont, flag, advances, advancesIndex, in renderScript()
201 start += charCount; in renderScript()
202 advancesIndex += charCount; in renderScript()
/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.h75 uint32_t charCount = len / sizeof(char16_t); in copyTextLocally() local
76 str.setTo((const char16_t*) text, charCount); in copyTextLocally()
80 positionsCopy.appendArray(positions, charCount * 2); in copyTextLocally()
DTextDropShadowCache.cpp34 uint32_t charCount = len / sizeof(char16_t); in hash() local
43 hash = JenkinsHashMixShorts(hash, text, charCount); in hash()
46 for (uint32_t i = 0; i < charCount * 2; i++) { in hash()
/frameworks/base/core/java/android/text/
DBidiFormatter.java750 charIndex += Character.charCount(codePoint); in dirTypeForward()
780 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.txt40500 method public static int charCount(int);