/frameworks/base/core/java/android/text/ |
D | TextDirectionHeuristics.java | 87 private static int isRtlCodePoint(int codePoint) { in isRtlCodePoint() argument 88 switch (Character.getDirectionality(codePoint)) { in isRtlCodePoint() 98 if ((0x0590 <= codePoint && codePoint <= 0x08FF) || in isRtlCodePoint() 99 (0xFB1D <= codePoint && codePoint <= 0xFDCF) || in isRtlCodePoint() 100 (0xFDF0 <= codePoint && codePoint <= 0xFDFF) || in isRtlCodePoint() 101 (0xFE70 <= codePoint && codePoint <= 0xFEFF) || in isRtlCodePoint() 102 (0x10800 <= codePoint && codePoint <= 0x10FFF) || in isRtlCodePoint() 103 (0x1E800 <= codePoint && codePoint <= 0x1EFFF)) { in isRtlCodePoint() 110 (0x2065 <= codePoint && codePoint <= 0x2069) || in isRtlCodePoint() 111 (0xFFF0 <= codePoint && codePoint <= 0xFFF8) || in isRtlCodePoint() [all …]
|
D | Emoji.java | 178 public static boolean isEmojiModifierBase(int codePoint) { in isEmojiModifierBase() argument 179 return Arrays.binarySearch(EMOJI_MODIFIER_BASE, codePoint) >= 0; in isEmojiModifierBase() 183 public static boolean isEmoji(int codePoint) { in isEmoji() argument 184 return Arrays.binarySearch(EMOJI_LIST, codePoint) >= 0; in isEmoji() 188 public static boolean isKeycapBase(int codePoint) { in isKeycapBase() argument 189 return ('0' <= codePoint && codePoint <= '9') || codePoint == '#' || codePoint == '*'; in isKeycapBase()
|
D | BidiFormatter.java | 798 int codePoint = Character.codePointAt(text, charIndex); in dirTypeForward() local 799 charIndex += Character.charCount(codePoint); in dirTypeForward() 800 return Character.getDirectionality(codePoint); in dirTypeForward() 828 int codePoint = Character.codePointBefore(text, charIndex); in dirTypeBackward() local 829 charIndex -= Character.charCount(codePoint); in dirTypeBackward() 830 return Character.getDirectionality(codePoint); in dirTypeBackward()
|
/frameworks/base/core/java/android/text/method/ |
D | BaseKeyListener.java | 155 final int codePoint = Character.codePointBefore(text, tmpOffset); in getOffsetForBackspaceKey() local 156 tmpOffset -= Character.charCount(codePoint); in getOffsetForBackspaceKey() 160 deleteCharCount = Character.charCount(codePoint); in getOffsetForBackspaceKey() 161 if (codePoint == LINE_FEED) { in getOffsetForBackspaceKey() 163 } else if (isVariationSelector(codePoint)) { in getOffsetForBackspaceKey() 165 } else if (Emoji.isRegionalIndicatorSymbol(codePoint)) { in getOffsetForBackspaceKey() 167 } else if (Emoji.isEmojiModifier(codePoint)) { in getOffsetForBackspaceKey() 169 } else if (codePoint == Emoji.COMBINING_ENCLOSING_KEYCAP) { in getOffsetForBackspaceKey() 171 } else if (Emoji.isEmoji(codePoint)) { in getOffsetForBackspaceKey() 178 if (codePoint == CARRIAGE_RETURN) { in getOffsetForBackspaceKey() [all …]
|
D | WordIterator.java | 321 final int codePoint = mString.codePointBefore(shiftedOffset); in isAfterPunctuation() local 322 return isPunctuation(codePoint); in isAfterPunctuation() 337 final int codePoint = mString.codePointAt(shiftedOffset); in isOnPunctuation() local 338 return isPunctuation(codePoint); in isOnPunctuation() 364 final int codePoint = mString.codePointBefore(shiftedOffset); in isAfterLetterOrDigit() local 365 if (Character.isLetterOrDigit(codePoint)) return true; in isAfterLetterOrDigit() 372 final int codePoint = mString.codePointAt(shiftedOffset); in isOnLetterOrDigit() local 373 if (Character.isLetterOrDigit(codePoint)) return true; in isOnLetterOrDigit()
|
/frameworks/minikin/libs/minikin/ |
D | WordBreaker.cpp | 73 uint32_t codePoint; in isBreakValid() local 75 U16_PREV(buf, 0, prev_offset, codePoint); in isBreakValid() 76 if (codePoint == CHAR_SOFT_HYPHEN) { in isBreakValid() 83 if (codePoint == 0x1039) { // MYANMAR SIGN VIRAMA in isBreakValid() 93 int32_t lineBreak = u_getIntPropertyValue(codePoint, UCHAR_LINE_BREAK); in isBreakValid() 102 if (codePoint == CHAR_ZWJ && isEmoji(next_codepoint)) { in isBreakValid() 109 if (codePoint == 0xFE0F && prev_offset > 0) { in isBreakValid() 111 U16_PREV(buf, 0, prev_offset, codePoint); in isBreakValid() 113 if (isEmojiBase(codePoint)) { in isBreakValid()
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | EditorState.java | 76 private boolean isGraphicAscii(int codePoint) { in isGraphicAscii() argument 77 return 0x20 < codePoint && codePoint < 0x7F; in isGraphicAscii() 101 final int codePoint = Integer.parseInt(token.substring(2), 16); in setByString() local 102 if (codePoint < 0 || 0x10FFFF < codePoint) { in setByString() 105 sb.append(Character.toChars(codePoint)); in setByString()
|
/frameworks/support/core-utils/java/android/support/v4/text/ |
D | BidiFormatter.java | 817 int codePoint = Character.codePointAt(text, charIndex); in dirTypeForward() local 818 charIndex += Character.charCount(codePoint); in dirTypeForward() 819 return Character.getDirectionality(codePoint); in dirTypeForward() 847 int codePoint = Character.codePointBefore(text, charIndex); in dirTypeBackward() local 848 charIndex -= Character.charCount(codePoint); in dirTypeBackward() 849 return Character.getDirectionality(codePoint); in dirTypeBackward()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageItemInfo.java | 179 final int codePoint = labelStr.codePointAt(offset); in loadSafeLabel() local 180 final int type = Character.getType(codePoint); in loadSafeLabel() 190 Character.charCount(codePoint)); in loadSafeLabel() 192 offset += Character.charCount(codePoint); in loadSafeLabel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 108 final int codePoint = label.codePointAt(offset); in onCreate() local 109 final int type = Character.getType(codePoint); in onCreate() 116 offset += Character.charCount(codePoint); in onCreate()
|
/frameworks/base/core/java/android/widget/ |
D | SpellChecker.java | 762 final int codePoint = Character.codePointAt(editable, start); in haveWordBoundariesChanged() local 763 haveWordBoundariesChanged = Character.isLetterOrDigit(codePoint); in haveWordBoundariesChanged() 766 + (haveWordBoundariesChanged ? "Remove.<" : "Keep. <") + (char)(codePoint) in haveWordBoundariesChanged() 771 final int codePoint = Character.codePointBefore(editable, end); in haveWordBoundariesChanged() local 772 haveWordBoundariesChanged = Character.isLetterOrDigit(codePoint); in haveWordBoundariesChanged() 775 + (haveWordBoundariesChanged ? "Remove.<" : "Keep.<") + (char)(codePoint) in haveWordBoundariesChanged()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardUtils.java | 613 final int codePoint = value.codePointAt(i); in toStringAsParamValue() local 614 if (codePoint < asciiFirst || codePoint == '"') { in toStringAsParamValue() 618 builder.appendCodePoint(codePoint); in toStringAsParamValue() 620 if (codePoint == indicator) { in toStringAsParamValue()
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityIterators.java | 248 final int codePoint = mText.codePointAt(index); in isLetterOrDigit() local 249 return Character.isLetterOrDigit(codePoint); in isLetterOrDigit()
|