Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBidiRenderer.java178 int charCount = Character.isHighSurrogate(mText[start]) ? 2 : 1; in renderScript() local
184 canDisplayUpTo = font.canDisplayUpTo(mText, start, start + charCount); in renderScript()
186 render(start, start+charCount, font, flag, advances, advancesIndex, draw); in renderScript()
187 start += charCount; in renderScript()
188 advancesIndex += charCount; in renderScript()
198 render(start, start + charCount, preferredFont, flag, advances, advancesIndex, in renderScript()
200 start += charCount; in renderScript()
201 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.h76 uint32_t charCount = len / sizeof(char16_t); in copyTextLocally() local
77 str.setTo((const char16_t*) text, charCount); in copyTextLocally()
81 positionsCopy.appendArray(positions, charCount * 2); in copyTextLocally()
DTextDropShadowCache.cpp35 uint32_t charCount = len / sizeof(char16_t); in hash() local
45 hash, reinterpret_cast<const uint16_t*>(text), charCount); in hash()
48 for (uint32_t i = 0; i < charCount * 2; i++) { in hash()
/frameworks/base/core/java/android/text/
DTextDirectionHeuristics.java212 i += Character.charCount(cp)) { in checkRtl()
245 for (int cp, i = start, end = start + count; i < end; i += Character.charCount(cp)) { in checkRtl()
DBidiFormatter.java753 charIndex += Character.charCount(codePoint); in dirTypeForward()
783 charIndex -= Character.charCount(codePoint); in dirTypeBackward()
/frameworks/support/v4/java/android/support/v4/text/
DBidiFormatter.java743 charIndex += Character.charCount(codePoint); in dirTypeForward()
773 charIndex -= Character.charCount(codePoint); in dirTypeBackward()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java117 offset += Character.charCount(codePoint); in onCreate()
/frameworks/base/api/
Dcurrent.txt43473 method public static int charCount(int);
Dsystem-current.txt46079 method public static int charCount(int);