Home
last modified time | relevance | path

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

/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCdmaSmsMessageTest.java306 int charCount = body.length(); in encodeBody() local
307 int recordBits = (charCount * 7) + 5; // add 5 bits for char set field in encodeBody()
319 bos.write(8, charCount); in encodeBody()
322 for (int i = 0; i < charCount; i++) { in encodeBody()
332 int charCount = encodedBody[0]; // septet count in encodeBody() local
333 int recordBits = (charCount * 7) + 5; // add 5 bits for char set field in encodeBody()
352 bos.write(8, charCount); in encodeBody()
355 bos.writeByteArray(charCount * 7, bodySeptets); in encodeBody()
359 int charCount = body.length(); in encodeBody() local
360 int recordBits = (charCount * 6) + 21; // add 21 bits for header fields in encodeBody()
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/util/
DSearchUtil.java89 i += Character.charCount(codePoint); in contains()
100 j += Character.charCount(valueCp); in contains()
131 index += Character.charCount(codePoint); in findNextTokenStart()
143 index += Character.charCount(codePoint); in findNextTokenStart()
163 start += Character.charCount(codePoint); in cleanStartAndEndOfSearchQuery()
/packages/apps/Contacts/src/com/android/contacts/util/
DSearchUtil.java106 i += Character.charCount(codePoint); in contains()
117 j += Character.charCount(valueCp); in contains()
148 index += Character.charCount(codePoint); in findNextTokenStart()
160 index += Character.charCount(codePoint); in findNextTokenStart()
180 start += Character.charCount(codePoint); in cleanStartAndEndOfSearchQuery()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/block/read/
DBlockData.java108 public char[] getChars(int byteOffset, int charCount) { in getChars() argument
109 char[] array = new char[charCount]; in getChars()
110 for (int i = 0; i < charCount; i++) { in getChars()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DSentenceLevelAdapter.java101 index + Character.charCount(Constants.CODE_PERIOD); in getEndOfWord()
111 index += Character.charCount(codePoint); in getEndOfWord()
127 index += Character.charCount(codePoint);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp131 int charCount = maxCodePointCount; in getCodePointsAndProbabilityAndReturnCodePointCount() local
132 while (NOT_A_CODE_POINT != nextChar && --charCount > 0) { in getCodePointsAndProbabilityAndReturnCodePointCount()
206 int charCount = maxCodePointCount; in getCodePointsAndProbabilityAndReturnCodePointCount() local
207 while (-1 != nextChar && --charCount > 0) { in getCodePointsAndProbabilityAndReturnCodePointCount()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DStringUtils.java119 if (Character.charCount(codePoint) == 1) { in newSingleCodePointString()
365 i += Character.charCount(codePoint); in isIdenticalAfterUpcase()
378 i += Character.charCount(codePoint); in isIdenticalAfterDowncase()
535 i -= Character.charCount(codePoint); in isInsideDoubleQuoteOrAfterDigit()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DDictionaryInfoUtils.java596 final int charCount = Character.charCount(codePoint);
597 i += charCount;
600 digitCount += charCount;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
DDeadKeyCombiner.java230 index -= Character.charCount(codePoint); in createEventChainFromSequence()
261 final int trimIndex = mDeadSequence.length() - Character.charCount( in processEvent()
DCombinerChain.java117 mCombinedText.delete(length - Character.charCount(lastCodePoint), length); in applyProcessedEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DWordComposer.java243 actualMoveAmount += Character.charCount(codePoints[cursorPos]); in moveCursorByAndReturnIfInsideComposingWord()
251 actualMoveAmount -= Character.charCount(codePoints[cursorPos]); in moveCursorByAndReturnIfInsideComposingWord()
DContactsDictionaryUtils.java35 for (end = startIndex + 1; end < len; end += Character.charCount(cp)) { in getWordEndPosition()
DRichInputConnection.java771 indexOfCodePointInJavaChars -= Character.charCount(consideredCodePoint); in isCursorTouchingWord()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameSplitter.java969 return guessCJKNameStyle(name, offset + Character.charCount(codePoint)); in guessFullNameStyle()
982 offset += Character.charCount(codePoint); in guessFullNameStyle()
1000 offset += Character.charCount(codePoint); in guessCJKNameStyle()
1058 offset += Character.charCount(codePoint); in guessPhoneticNameStyle()
DContactLocaleUtils.java222 offset += Character.charCount(codePoint); in getBucketIndex()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsIcuTest.java69 offset += Character.charCount(codePoint); in checkBucket()
/packages/apps/Launcher3/src/com/android/launcher3/search/
DStringMatcherUtility.java153 i += Character.charCount(codepoint); in requestSimpleFuzzySearch()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java254 for (int srci = Character.charCount(codePoint); in getCodePoints()
255 srci < length; srci += Character.charCount(codePoint), ++dsti) { in getCodePoints()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputTestsBase.java337 for (int i = Character.charCount(startCodePoint); i < stringToGesture.length(); in gesture()
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1060 Landroid/icu/impl/TextTrieMap$Node;->charCount()I