Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/method/
DBaseKeyListener.java162 tmpOffset -= Character.charCount(codePoint); in getOffsetForBackspaceKey()
166 deleteCharCount = Character.charCount(codePoint); in getOffsetForBackspaceKey()
209 lastSeenVSCharCount = Character.charCount(codePoint); in getOffsetForBackspaceKey()
215 deleteCharCount += Character.charCount(codePoint); in getOffsetForBackspaceKey()
221 deleteCharCount += lastSeenVSCharCount + Character.charCount(codePoint); in getOffsetForBackspaceKey()
227 lastSeenVSCharCount = Character.charCount(codePoint); in getOffsetForBackspaceKey()
231 deleteCharCount += Character.charCount(codePoint); in getOffsetForBackspaceKey()
237 deleteCharCount += lastSeenVSCharCount + Character.charCount(codePoint); in getOffsetForBackspaceKey()
243 deleteCharCount += Character.charCount(codePoint); in getOffsetForBackspaceKey()
250 deleteCharCount += Character.charCount(codePoint); in getOffsetForBackspaceKey()
[all …]
/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/core/java/android/util/
DByteStringUtils.java43 final int charCount = 2 * byteLength; in toHexString() local
44 final char[] chars = new char[charCount]; in toHexString()
/frameworks/layoutlib/bridge/src/android/graphics/
DBidiRenderer.java208 int charCount = Character.isHighSurrogate(mText[start]) ? 2 : 1; in renderScript() local
215 render(start, start + charCount, preferredFont, flag, advances, advancesIndex, in renderScript()
217 start += charCount; in renderScript()
218 advancesIndex += charCount; in renderScript()
/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.java847 charIndex += Character.charCount(codePoint); in dirTypeForward()
877 charIndex -= Character.charCount(codePoint); in dirTypeBackward()
DInputFilter.java81 for (int i = 0, cp; i < length; i += Character.charCount(cp)) { in filter()
DTextUtils.java1733 for (int cp, i=0; i<len; i+=Character.charCount(cp)) { in isGraphic()
1773 for (int cp, i = 0; i < len; i += Character.charCount(cp)) { in isDigitsOnly()
2266 int codePointLen = Character.charCount(codePoint); in makeSafeForPresentation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java121 offset += Character.charCount(codePoint); in onCreate()
/frameworks/base/api/
Dcurrent.txt17760 method public static int charCount(int);
59230 method public static int charCount(int);
/frameworks/base/config/
Dboot-image-profile.txt26310 HSPLjava/lang/Character;->charCount(I)I
Dhiddenapi-greylist-max-o.txt28299 Landroid/icu/impl/TextTrieMap$Node;->charCount()I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt40708 method public static int charCount(int);