Searched refs:character (Results 1 - 12 of 12) sorted by relevance
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | NameLookupBuilder.java | 178 int character; 183 character = name.codePointAt(position++); 184 if ((character == 0x20) || (character == 0x2c) || (character == 0x2E)) { 190 if ((character < 0x1100) || (character > 0x1112 && character < 0x3131) || 191 (character > 0x314E && character < [all...] |
H A D | HanziToPinyin.java | 28 * An object to convert Chinese character to its corresponding pinyin string. 97 private void tokenize(char character, Token token) { argument 98 token.source = Character.toString(character); 101 if (character < 128) { 108 if (character < 0x250 || (0x1e00 <= character && character < 0x1eff)) { 126 * space will be put into a Token, One Hanzi character which has pinyin will be treated as a 144 // c. current character is space. 146 final char character [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | Ver3DictDecoder.java | 129 int character = CharEncoding.readChar(mDictBuffer); 130 addressPointer += CharEncoding.getCharSize(character); 131 while (FormatSpec.INVALID_CHARACTER != character) { 135 mCharacterBuffer[index++] = character; 136 character = CharEncoding.readChar(mDictBuffer); 137 addressPointer += CharEncoding.getCharSize(character); 141 final int character = CharEncoding.readChar(mDictBuffer); 142 addressPointer += CharEncoding.getCharSize(character); 143 characters = new int[] { character };
|
H A D | BinaryDictDecoderUtils.java | 125 * A class grouping utility function for our specific character encoding. 134 private static boolean fitsOnOneByte(final int character) { argument 135 return character >= MINIMAL_ONE_BYTE_CHARACTER_VALUE 136 && character <= MAXIMAL_ONE_BYTE_CHARACTER_VALUE; 140 * Compute the size of a character given its character code. 153 * @param character the character code. 156 static int getCharSize(final int character) { argument 158 if (fitsOnOneByte(character)) retur [all...] |
H A D | Ver4DictDecoder.java | 209 int character = CharEncoding.readChar(mDictBuffer); 210 addressPointer += CharEncoding.getCharSize(character); 211 while (FormatSpec.INVALID_CHARACTER != character 213 mCharacterBuffer[index++] = character; 214 character = CharEncoding.readChar(mDictBuffer); 215 addressPointer += CharEncoding.getCharSize(character); 219 final int character = CharEncoding.readChar(mDictBuffer); 220 addressPointer += CharEncoding.getCharSize(character); 221 characters = new int[] { character };
|
H A D | FusionDictionary.java | 573 * Custom comparison of two int arrays taken to contain character codes. 577 * This method does NOT test for the first character. It is taken to be equal. 580 * strings are equal. This works BECAUSE we don't look at the first character. 614 * Finds the insertion index of a character within a node array. 616 private static int findInsertionIndex(final PtNodeArray nodeArray, int character) { argument 618 final PtNode reference = new PtNode(new int[] { character }, 629 * @param character the character to search for. 630 * @return the position of the character if it's there, or CHARACTER_NOT_FOUND_INDEX = -1 else. 632 private static int findIndexOfChar(final PtNodeArray nodeArray, int character) { argument [all...] |
H A D | BinaryDictIOUtils.java | 294 int character = CharEncoding.readChar(dictBuffer); 295 while (character != FormatSpec.INVALID_CHARACTER) { 296 character = CharEncoding.readChar(dictBuffer);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/ |
H A D | patricia_trie_policy.cpp | 91 const int character = PatriciaTrieReadingUtils::getCodePointAndAdvancePosition( local 96 outCodePoints[wordPos] = character; 250 // find a matching character for this depth, therefore there is no match. 255 int character = PatriciaTrieReadingUtils::getCodePointAndAdvancePosition(mDictRoot, local 257 if (character == wChar) { 263 character = PatriciaTrieReadingUtils::getCodePointAndAdvancePosition(mDictRoot, 265 while (NOT_A_CODE_POINT != character) { 268 // character that does not match, as explained above, it means the word is 270 // match the word on the first character, but not matching the whole word). 272 if (inWord[wordPos] != character) retur [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
H A D | CharMatcher.java | 33 * character" is used to mean "any character {@code c} for which {@code 58 * Determines whether a character is whitespace according to the latest 73 * Determines whether a character is a breaking whitespace (that is, 86 * Determines whether a character is ASCII, meaning that its code point is 92 * Determines whether a character is a digit according to 110 * Determines whether a character is whitespace according to {@link 127 * Determines whether a character is a digit according to {@link 138 * Determines whether a character is a letter according to {@link 150 * Determines whether a character i 1121 apply(Character character) argument [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | CharMatcher.java | 33 * character" is used to mean "any character {@code c} for which {@code 58 * Determines whether a character is whitespace according to the latest 73 * Determines whether a character is a breaking whitespace (that is, 86 * Determines whether a character is ASCII, meaning that its code point is 92 * Determines whether a character is a digit according to 110 * Determines whether a character is whitespace according to {@link 127 * Determines whether a character is a digit according to {@link 138 * Determines whether a character is a letter according to {@link 150 * Determines whether a character i 1121 apply(Character character) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapObexServer.java | 991 char character = iterator.current(); 992 while (character != CharacterIterator.DONE ){ 993 if (character == '<') { 996 else if (character == '>') { 999 else if (character == '\"') { 1002 else if (character == '\'') { 1005 else if (character == '&') { 1010 result.append(character); 1012 character = iterator.next();
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
H A D | proximity_info_state_utils.cpp | 630 // Calculates probabilities of using a point as a correlated point with the character 984 int character = NOT_AN_INDEX; local 991 character = it->first; 994 if (character != NOT_AN_INDEX) { 995 codePointBuf[index] = proximityInfo->getCodePointOf(character);
|
Completed in 217 milliseconds