Home
last modified time | relevance | path

Searched refs:codePointAt (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/Dialer/java/com/android/contacts/common/util/
DSearchUtil.java86 final int codePoint = Character.codePointAt(substring, i); in contains()
95 int valueCp = Character.toLowerCase(value.codePointAt(j)); in contains()
127 final int codePoint = line.codePointAt(index); in findNextTokenStart()
139 final int codePoint = line.codePointAt(index); in findNextTokenStart()
159 int codePoint = query.codePointAt(start); in cleanStartAndEndOfSearchQuery()
177 int codePoint = query.codePointAt(end); in cleanStartAndEndOfSearchQuery()
/packages/apps/Contacts/src/com/android/contacts/util/
DSearchUtil.java103 final int codePoint = Character.codePointAt(substring, i); in contains()
112 int valueCp = Character.toLowerCase(value.codePointAt(j)); in contains()
144 final int codePoint = line.codePointAt(index); in findNextTokenStart()
156 final int codePoint = line.codePointAt(index); in findNextTokenStart()
176 int codePoint = query.codePointAt(start); in cleanStartAndEndOfSearchQuery()
194 int codePoint = query.codePointAt(end); in cleanStartAndEndOfSearchQuery()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DStringUtils.java284 final int codePoint = Character.codePointAt(charSequence, index); in copyCodePointsAndReturnCodePointCount()
327 if (Character.isLetter(text.codePointAt(index))) { in getCapitalizationType()
332 if (!Character.isUpperCase(text.codePointAt(index))) { in getCapitalizationType()
340 final int codePoint = text.codePointAt(index); in getCapitalizationType()
361 final int codePoint = text.codePointAt(i); in isIdenticalAfterUpcase()
374 final int codePoint = text.codePointAt(i); in isIdenticalAfterDowncase()
388 final int codePoint = text.codePointAt(i); in isIdenticalAfterCapitalizeEachWord()
417 needsCapsNext = (Arrays.binarySearch(sortedSeparators, nextChar.codePointAt(0)) >= 0); in capitalizeEachWord()
546 if (!Character.isWhitespace(s.codePointAt(i))) { in isEmptyStringOrWhiteSpaces()
616 ? titleCaseLabel.codePointAt(0) : Constants.CODE_UNSPECIFIED; in toTitleCaseOfKeyCode()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DStringUtil.java1524 codePoint = Character.codePointAt(plainText, i); in escapeStringBody()
2370 if (isHebrew(s.codePointAt(i))) { in isHebrew()
2392 if (isCjk(s.codePointAt(i))) { in isCjk()
2894 len += bytesUtf8(s.codePointAt(i)); in bytesStorage()
2921 int glyphBytes = StringUtil.bytesUtf8(s.codePointAt(codepoints)); in truncateStringForUtf8Storage()
3185 .addCodePoint(Character.codePointAt("'", 0))
3186 .addCodePoint(Character.codePointAt("\"", 0))
3187 .addCodePoint(Character.codePointAt("&", 0))
3188 .addCodePoint(Character.codePointAt("<", 0))
3189 .addCodePoint(Character.codePointAt(">", 0))
[all …]
DUnicodeEscaper.java111 int cp = codePointAt(csq, index, end); in nextEscapeIndex()
177 int cp = codePointAt(s, index, end); in escapeSlow()
389 protected static final int codePointAt(CharSequence seq, int index, int end) { in codePointAt() method
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DSentenceLevelAdapter.java95 final int codePoint = Character.codePointAt(sequence, index); in getEndOfWord()
104 Character.codePointAt(sequence, indexOfNextCodePoint))) { in getEndOfWord()
123 final int codePoint = Character.codePointAt(sequence, index);
DAndroidWordLevelSpellCheckerSession.java152 final int firstCodePoint = text.codePointAt(0); in getCheckabilityInScript()
161 final int codePoint = text.codePointAt(i); in getCheckabilityInScript()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLabelComparator.java34 Character.isLetterOrDigit(titleA.codePointAt(0)); in compare()
36 Character.isLetterOrDigit(titleB.codePointAt(0)); in compare()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyOutput.java39 return new Code(outputText.codePointAt(0)); in newInstance()
79 return StringUtils.codePointCount(text) == 1 && text.codePointAt(0) == mCode; in hasSameKeyOutput()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DDefaultAppSearchAlgorithm.java86 int nextType = Character.getType(title.codePointAt(0)); in matches()
93 Character.getType(title.codePointAt(i + 1)) : Character.UNASSIGNED; in matches()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputTestsBase.java313 type(stringToType.codePointAt(i)); in type()
331 final int startCodePoint = stringToGesture.codePointAt(0); in gesture()
339 final Point newPoint = getXY(stringToGesture.codePointAt(i)); in gesture()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeySpecParser.java211 return outputText.codePointAt(0); in getCode()
220 return (StringUtils.codePointCount(label) == 1) ? label.codePointAt(0) : CODE_OUTPUT_TEXT; in getCode()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DDictionaryInfoUtils.java145 final int codePoint = name.codePointAt(i); in replaceFileNameDangerousCharacters()
185 final int codePoint = fname.codePointAt(i); in getWordListIdFromFileName()
595 final int codePoint = Character.codePointAt(text, i);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSuggestedWords.java372 public int codePointAt(int i) { in codePointAt() method in SuggestedWords.SuggestedWordInfo
373 return mWord.codePointAt(i); in codePointAt()
DContactsDictionaryUtils.java36 cp = string.codePointAt(end); in getWordEndPosition()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderUtils.java213 int codePoint = word.codePointAt(i); in writeString()
246 final int codePoint = word.codePointAt(i); in writeString()
DFusionDictionary.java252 int codePoint = Character.codePointAt(characters, 0); in getCodePoints()
257 codePoint = Character.codePointAt(characters, srci); in getCodePoints()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DKeySpecParserTestsBase.java74 private static final int SURROGATE_CODE1 = SURROGATE_PAIR1.codePointAt(0);
77 private static final int SURROGATE_CODE2 = SURROGATE_PAIR2.codePointAt(0);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java377 mCode = mHintLabel.codePointAt(0); in Key()
379 mCode = mLabel.codePointAt(0); in Key()
389 mCode = outputText.codePointAt(0); in Key()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLocaleUtils.java210 int codePoint = Character.codePointAt(name, offset); in getBucketIndex()
352 !isChineseOrJapanese(Character.codePointAt(name, 0))) || in getBucketIndex()
DNameSplitter.java960 int codePoint = Character.codePointAt(name, offset); in guessFullNameStyle()
990 int codePoint = Character.codePointAt(name, offset); in guessCJKNameStyle()
1045 int codePoint = Character.codePointAt(name, offset); in guessPhoneticNameStyle()
/packages/apps/Email/src/com/android/email/mail/internet/
DEmailHtmlUtil.java45 int c = text.codePointAt(start); in escapeCharacterToDisplay()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsIcuTest.java57 final int codePoint = Character.codePointAt(str, offset); in checkBucket()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAlphabeticIndexCompat.java50 int c = s.codePointAt(0); in computeSectionName()
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
DFusionDictionaryTest.java84 sb.append(word.codePointAt(i)); in dumpWord()

12