Searched refs:character (Results 1 - 9 of 9) 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 | 27 * An object to convert Chinese character to its corresponding pinyin string. For characters with 241 /** First and last Chinese character with known Pinyin according to zh collation */ 244 /** The first Chinese character in Unicode block */ 336 private Token getToken(char character) { argument 338 final String letter = Character.toString(character); 342 if (character < 256) { 346 } else if (character < FIRST_UNIHAN) { 402 * space will be put into a Token, One Hanzi character which has pinyin will be treated as a 417 // c. current character is space. 419 final char character [all...] |
/packages/inputmethods/LatinIME/native/src/ |
H A D | binary_format.h | 73 const int32_t character = dict[origin]; local 74 if (character < MINIMAL_ONE_BYTE_CHARACTER_VALUE) { 75 if (character == CHARACTER_ARRAY_TERMINATOR) { 80 const int32_t char_1 = character << 16; 86 return character; 97 int32_t character = dict[currentPos++]; local 98 while (CHARACTER_ARRAY_TERMINATOR != character) { 99 if (character < MINIMAL_ONE_BYTE_CHARACTER_VALUE) { 102 character = dict[currentPos++]; 150 // only attributes that may be found in a character grou 243 int32_t character = BinaryFormat::getCharCodeAndForwardPointer(root, &pos); local 331 const int32_t character = getCharCodeAndForwardPointer(root, &pos); local [all...] |
H A D | unigram_dictionary.cpp | 224 // The first and last "mistyped spaces" are taken care of by excessive character handling 454 // This function will take the position of a character array within a CharGroup, 472 int32_t character = BinaryFormat::getCharCodeAndForwardPointer(root, &pos); local 473 int32_t baseChar = Dictionary::toBaseLowerCase(character); 482 outNewWord[inputIndex] = character; 484 character = BinaryFormat::getCharCodeAndForwardPointer(root, &pos); 485 while (NOT_A_CHARACTER != character) { 486 baseChar = Dictionary::toBaseLowerCase(character); 492 outNewWord[inputIndex] = character; 493 character [all...] |
/packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/ |
H A D | BinaryDictInputOutput.java | 159 * A class grouping utility function for our specific character encoding. 169 private static boolean fitsOnOneByte(int character) { argument 170 return character >= MINIMAL_ONE_BYTE_CHARACTER_VALUE 171 && character <= MAXIMAL_ONE_BYTE_CHARACTER_VALUE; 175 * Compute the size of a character given its character code. 188 * @param character the character code. 191 private static int getCharSize(int character) { argument 193 if (fitsOnOneByte(character)) retur [all...] |
H A D | FusionDictionary.java | 308 * Custom comparison of two int arrays taken to contain character codes. 312 * This method does NOT test for the first character. It is taken to be equal. 315 * strings are equal. This works BECAUSE we don't look at the first character. 354 * Finds the insertion index of a character within a node. 356 private static int findInsertionIndex(final Node node, int character) { argument 358 final CharGroup reference = new CharGroup(new int[] { character }, null, 0); 367 * @param character the character to search for. 368 * @return the position of the character if it's there, or CHARACTER_NOT_FOUND = -1 else. 371 private static int findIndexOfChar(final Node node, int character) { argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
H A D | AndroidSpellCheckerService.java | 433 final int character = text.codePointAt(i); 434 final int proximityIndex = SpellCheckerProximityInfo.getIndexOf(character); 437 proximities = new int[] { character }; 443 composer.add(character, proximities,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | KeyboardView.java | 86 // HORIZONTAL ELLIPSIS "...", character for popup hint. 557 // Switch the character to uppercase if shift is pressed 749 private static float getCharHeight(char[] character, Paint paint) { argument 750 final Integer key = getCharGeometryCacheKey(character[0], paint); 755 paint.getTextBounds(character, 0, 1, sTextBounds); 761 private static float getCharWidth(char[] character, Paint paint) { argument 762 final Integer key = getCharGeometryCacheKey(character[0], paint); 767 paint.getTextBounds(character, 0, 1, sTextBounds);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
H A D | KeyCodeDescriptionMapper.java | 93 // Special non-character codes defined in Keyboard 102 // Shifted versions of non-character codes defined in Keyboard 105 // Shift-locked versions of non-character codes defined in Keyboard 125 * @return a character sequence describing the action performed by pressing 162 * @return a character sequence describing the action performed by pressing 198 * Returns a localized character sequence describing what will happen when 206 * <li>Automatic based on the character represented by the key code</li> 215 * @return a character sequence describing the action performed by pressing
|
Completed in 155 milliseconds