HomeSort by relevance Sort by last modified time
    Searched refs:codePoint (Results 51 - 75 of 283) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/content/pm/
PackageItemInfo.java 234 final int codePoint = labelStr.codePointAt(offset);
235 final int type = Character.getType(codePoint);
243 final int charCount = Character.charCount(codePoint);
266 private static boolean isNewline(int codePoint) {
267 int type = Character.getType(codePoint);
269 || codePoint == LINE_FEED_CODE_POINT;
272 private static boolean isWhiteSpace(int codePoint) {
273 return Character.isWhitespace(codePoint) || codePoint == NBSP_CODE_POINT;
360 * Return codePoint of original string at a certain {@code offset
    [all...]
  /external/icu/icu4c/source/i18n/
uspoof_impl.h 80 static void getAugmentedScriptSet(UChar32 codePoint, ScriptSet& result, UErrorCode& status);
180 inline static int32_t codePointAndLengthToKey(UChar32 codePoint, int32_t length) {
181 U_ASSERT((codePoint & 0x00ffffff) == codePoint);
183 return codePoint | ((length - 1) << 24);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DictionaryInfoUtils.java 124 private static boolean isFileNameCharacter(int codePoint) {
125 if (codePoint >= 0x30 && codePoint <= 0x39) return true; // Digit
126 if (codePoint >= 0x41 && codePoint <= 0x5A) return true; // Uppercase
127 if (codePoint >= 0x61 && codePoint <= 0x7A) return true; // Lowercase
128 return codePoint == '_'; // Underscore
145 final int codePoint = name.codePointAt(i);
146 if (DictionaryInfoUtils.isFileNameCharacter(codePoint)) {
    [all...]
RecapitalizeStatus.java 186 final int codePoint = mStringBefore.codePointAt(nonWhitespaceStart);
187 if (!Character.isWhitespace(codePoint)) break;
192 final int codePoint = mStringBefore.codePointBefore(nonWhitespaceEnd);
193 if (!Character.isWhitespace(codePoint)) break;
CapsModeUtils.java 72 * @param codePoint the code point
75 private static boolean isStartPunctuation(final int codePoint) {
76 return (codePoint == Constants.CODE_DOUBLE_QUOTE || codePoint == Constants.CODE_SINGLE_QUOTE
77 || codePoint == Constants.CODE_INVERTED_QUESTION_MARK
78 || codePoint == Constants.CODE_INVERTED_EXCLAMATION_MARK
79 || Character.getType(codePoint) == Character.START_PUNCTUATION);
  /external/icu/icu4c/source/common/
ucnv_err.cpp 106 UChar32 codePoint,
114 if (reason == UCNV_UNASSIGNED && IS_DEFAULT_IGNORABLE_CODE_POINT(codePoint))
117 * Skip if the codepoint has unicode property of default ignorable.
147 UChar32 codePoint,
156 if (reason == UCNV_UNASSIGNED && IS_DEFAULT_IGNORABLE_CODE_POINT(codePoint))
159 * Skip if the codepoint has unicode property of default ignorable.
178 UChar32 codePoint,
186 if (reason == UCNV_UNASSIGNED && IS_DEFAULT_IGNORABLE_CODE_POINT(codePoint))
189 * Skip if the codepoint has unicode property of default ignorable.
214 UChar32 codePoint,
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
SentenceLevelAdapter.java 95 final int codePoint = Character.codePointAt(sequence, index);
96 if (mSpacingAndPunctuations.isWordSeparator(codePoint)) {
99 if (Constants.CODE_PERIOD == codePoint) {
111 index += Character.charCount(codePoint);
123 final int codePoint = Character.codePointAt(sequence, index);
124 if (!mSpacingAndPunctuations.isWordSeparator(codePoint)) {
127 index += Character.charCount(codePoint);
  /external/okhttp/okio/okio/src/main/java/okio/
Buffer.java 634 int codePoint;
640 codePoint = b0 & 0x7f;
646 codePoint = b0 & 0x1f;
652 codePoint = b0 & 0x0f;
658 codePoint = b0 & 0x07;
680 codePoint <<= 6;
681 codePoint |= b & 0x3f;
690 if (codePoint > 0x10ffff) {
694 if (codePoint >= 0xd800 && codePoint <= 0xdfff)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactLocaleUtils.java 210 int codePoint = Character.codePointAt(name, offset);
213 if (Character.isDigit(codePoint)) {
216 } else if (!Character.isSpaceChar(codePoint) &&
217 codePoint != '+' && codePoint != '(' &&
218 codePoint != ')' && codePoint != '.' &&
219 codePoint != '-' && codePoint != '#') {
222 offset += Character.charCount(codePoint);
    [all...]
  /frameworks/support/emoji/core/src/main/java/androidx/emoji/text/
EmojiProcessor.java 124 final int codePoint = Character.codePointAt(charSequence, currentOffset);
125 final int action = sm.check(codePoint);
129 currentOffset += Character.charCount(codePoint);
224 int codePoint = Character.codePointAt(charSequence, currentOffset);
227 final int action = sm.check(codePoint);
234 codePoint = Character.codePointAt(charSequence, currentOffset);
238 currentOffset += Character.charCount(codePoint);
240 codePoint = Character.codePointAt(charSequence, currentOffset);
257 // After the last codepoint is consumed the state machine might be in a state where it
258 // identified an emoji before. i.e. abc[women-emoji] when the last codepoint is consume
633 final int codepoint = mCurrentNode.getData().getCodepointAt(0); local
    [all...]
  /frameworks/support/slices/core/src/main/java/androidx/slice/compat/
SlicePermissionActivity.java 101 final int codePoint = labelStr.codePointAt(offset);
102 final int type = Character.getType(codePoint);
112 + Character.charCount(codePoint));
114 offset += Character.charCount(codePoint);
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
patricia_trie_reading_utils.cpp 77 const int codePoint = getCodePointAndAdvancePosition(buffer, codePointTable, pos);
78 if (codePoint == NOT_A_CODE_POINT) {
79 // CAVEAT: codePoint == NOT_A_CODE_POINT means the code point is
83 AKLOGE("codePoint is NOT_A_CODE_POINT. pos: %d, codePoint: 0x%x, buffer[pos - 1]: 0x%x",
84 *pos - 1, codePoint, buffer[*pos - 1]);
87 outBuffer[0] = codePoint;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
dic_node.h 130 const int codePoint =
133 mDicNodeProperties.init(&parentDicNode->mDicNodeProperties, codePoint);
311 // Whether the current codepoint can be an intentional omission, in which case the traversal
333 // Note: Returned codepoint may be a digraph codepoint if the node is in a composite glyph.
335 const int codePoint = mDicNodeProperties.getDicNodeCodePoint();
339 return codePoint;
341 return DigraphUtils::getDigraphCodePointForIndex(codePoint, digraphIndex);
436 const int codePoint = mDicNodeState.mDicNodeStateOutput.getCurrentWordCodePointAt(i);
439 if (codePoint != rightCodePoint)
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
dic_node_properties.h 74 void init(const DicNodeProperties *const dicNodeProp, const int codePoint) {
76 mDicNodeCodePoint = codePoint; // Overwrite the node char of a passing child
  /external/icu/icu4c/source/samples/ucnv/
flagcb.c 38 UChar32 codePoint,
98 length, codePoint, reason, err);
122 codePoint,
180 UChar32 codePoint,
229 length, codePoint, reason, err);
255 codePoint,
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
StringUtil.java     [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
InputLogic.java     [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
HttpUrl.java     [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
KeyCodeDescriptionMapper.java 263 * @param codePoint The code point from which to obtain a description.
266 public String getDescriptionForCodePoint(final Context context, final int codePoint) {
268 final int index = mKeyCodeMap.indexOfKey(codePoint);
272 final String accentedLetter = getSpokenAccentedLetterDescription(context, codePoint);
277 final String unsupportedSymbol = getSpokenSymbolDescription(context, codePoint);
281 final String emojiDescription = getSpokenEmojiDescription(context, codePoint);
285 if (Character.isDefined(codePoint) && !Character.isISOControl(codePoint)) {
286 return StringUtils.newSingleCodePointString(codePoint);
354 final int codePoint = outputText.codePointAt(index)
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
InputTestsBase.java 280 protected void typeInternal(final int codePoint, final boolean isKeyRepeat) {
287 //mLatinIME.onPressKey(codePoint, 0 /* repeatCount */, true /* isSinglePointer */);
288 final Key key = mKeyboard.getKey(codePoint);
291 event = Event.createSoftwareKeypressEvent(codePoint, Event.NOT_A_KEY_CODE,
296 event = LatinIME.createSoftwareKeypressEvent(codePoint, x, y, isKeyRepeat);
300 //mLatinIME.onReleaseKey(codePoint, false /* withSliding */);
303 protected void type(final int codePoint) {
304 typeInternal(codePoint, false /* isKeyRepeat */);
307 protected void repeatKey(final int codePoint) {
308 typeInternal(codePoint, true /* isKeyRepeat */)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
Strings.java 85 int codePoint = ((bytes[i] & 0x03) << 18) | ((bytes[i + 1] & 0x3F) << 12) | ((bytes[i + 2] & 0x3F) << 6) | (bytes[i + 3] & 0x3F);
86 int U = codePoint - 0x10000;
168 throw new IllegalStateException("invalid UTF-16 codepoint");
177 throw new IllegalStateException("invalid UTF-16 codepoint");
179 int codePoint = (((W1 & 0x03FF) << 10) | (W2 & 0x03FF)) + 0x10000;
180 sOut.write(0xf0 | (codePoint >> 18));
181 sOut.write(0x80 | ((codePoint >> 12) & 0x3F));
182 sOut.write(0x80 | ((codePoint >> 6) & 0x3F));
183 sOut.write(0x80 | (codePoint & 0x3F));
  /frameworks/base/core/java/android/text/
BidiFormatter.java 609 public static byte getDirectionality(int codePoint) {
610 if (Emoji.isNewEmoji(codePoint)) {
614 return Character.getDirectionality(codePoint);
643 * encountered a supplementary codepoint, this contains a char that is not a valid
644 * codepoint. This is ok, because this member is only used to detect some well-known ASCII
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
proximity_info_state.h 149 float getPointToKeyLength(const int inputIndex, const int codePoint) const;
151 ProximityType getProximityType(const int index, const int codePoint,
154 ProximityType getProximityTypeG(const int index, const int codePoint) const;
  /frameworks/support/compat/src/main/java/androidx/core/text/
BidiFormatter.java 615 * encountered a supplementary codepoint, this contains a char that is not a valid
616 * codepoint. This is ok, because this member is only used to detect some well-known ASCII
    [all...]
  /art/libdexfile/dex/
utf_test.cc 351 for (int codePoint = 0; codePoint <= 0x10ffff; ++codePoint) {
353 if (codePoint <= 0xffff) {
354 if (codePoint >= 0xd800 && codePoint <= 0xdfff) {
361 buf[1] = codePoint;
369 codePointToSurrogatePair(codePoint, buf[1], buf[2]);

Completed in 1448 milliseconds

1 23 4 5 6 7 8 91011>>