Home
last modified time | relevance | path

Searched refs:charCount (Results 1 – 10 of 10) 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()
239 deleteCharCount += lastSeenVSCharCount + Character.charCount(codePoint); in getOffsetForBackspaceKey()
245 deleteCharCount += Character.charCount(codePoint); in getOffsetForBackspaceKey()
252 deleteCharCount += Character.charCount(codePoint); in getOffsetForBackspaceKey()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java215 int charCount = body.length(); in encodeBody() local
216 int recordBits = (charCount * 7) + 5; // add 5 bits for char set field in encodeBody()
228 bos.write(8, charCount); in encodeBody()
231 for (int i = 0; i < charCount; i++) { in encodeBody()
241 int charCount = encodedBody[0]; // septet count in encodeBody() local
242 int recordBits = (charCount * 7) + 5; // add 5 bits for char set field in encodeBody()
261 bos.write(8, charCount); in encodeBody()
264 bos.writeByteArray(charCount * 7, bodySeptets); in encodeBody()
268 int charCount = body.length(); in encodeBody() local
269 int recordBits = (charCount * 6) + 21; // add 21 bits for header fields in encodeBody()
[all …]
/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()
DInputFilter.java81 for (int i = 0, cp; i < length; i += Character.charCount(cp)) { in filter()
DBidiFormatter.java842 charIndex += Character.charCount(codePoint); in dirTypeForward()
872 charIndex -= Character.charCount(codePoint); in dirTypeBackward()
DTextUtils.java1835 for (int cp, i=0; i<len; i+=Character.charCount(cp)) { in isGraphic()
1877 for (int cp, i = 0; i < len; i += Character.charCount(cp)) { in isDigitsOnly()
2501 int codePointLen = Character.charCount(codePoint); in makeSafeForPresentation()
2551 final int charCount = (int) ((ellipsizeDip + 0.5f) / assumedCharWidthInPx); in makeSafeForPresentation() local
2554 if (TextUtils.isEmpty(text) || text.length() <= charCount) { in makeSafeForPresentation()
2557 return TextUtils.trimToSize(text, charCount) in makeSafeForPresentation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/permission/
DMediaProjectionPermissionActivity.java217 offset += Character.charCount(codePoint); in onCreate()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt40708 method public static int charCount(int);
/frameworks/base/config/
Dboot-image-profile.txt24184 HSPLjava/lang/Character;->charCount(I)I