Searched refs:character (Results 1 - 7 of 7) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DNameLookupBuilder.java178 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 DHanziToPinyin.java27 * An object to convert Chinese character to its corresponding pinyin string. For characters with
340 /** First and last Chinese character with known Pinyin according to zh collation */
434 private Token getToken(char character) { argument
436 final String letter = Character.toString(character);
440 if (character < 256) {
500 * space will be put into a Token, One Hanzi character which has pinyin will be treated as a
515 // c. current character is space.
517 final char character = input.charAt(i);
518 if (character == ' ') {
522 } else if (character < 25
[all...]
/packages/inputmethods/LatinIME/native/jni/src/
H A Dchar_utils.h44 * if c is not a combined character, or the base character if it
71 inline static bool isSkippableChar(const uint16_t character) { argument
73 return character == '\'' || character == '-';
H A Dbinary_format.h205 int32_t character = dict[currentPos++]; local
206 while (CHARACTER_ARRAY_TERMINATOR != character) {
207 if (character < MINIMAL_ONE_BYTE_CHARACTER_VALUE) {
210 character = dict[currentPos++];
367 // If there are no more character groups in this node, it means we could not
368 // find a matching character for this depth, therefore there is no match.
372 int32_t character = BinaryFormat::getCodePointAndForwardPointer(root, &pos); local
373 if (character == wChar) {
374 // This is the correct node. Only one character group may start with the same
377 // in this character grou
460 const int32_t character = getCodePointAndForwardPointer(root, &pos); local
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictInputOutput.java125 * A class grouping utility function for our specific character encoding.
135 private static boolean fitsOnOneByte(final int character) { argument
136 return character >= MINIMAL_ONE_BYTE_CHARACTER_VALUE
137 && character <= MAXIMAL_ONE_BYTE_CHARACTER_VALUE;
141 * Compute the size of a character given its character code.
154 * @param character the character code.
157 private static int getCharSize(final int character) { argument
159 if (fitsOnOneByte(character)) retur
[all...]
H A DFusionDictionary.java482 * Custom comparison of two int arrays taken to contain character codes.
486 * This method does NOT test for the first character. It is taken to be equal.
489 * strings are equal. This works BECAUSE we don't look at the first character.
523 * Finds the insertion index of a character within a node.
525 private static int findInsertionIndex(final Node node, int character) { argument
527 final CharGroup reference = new CharGroup(new int[] { character },
540 * @param character the character to search for.
541 * @return the position of the character if it's there, or CHARACTER_NOT_FOUND = -1 else.
543 private static int findIndexOfChar(final Node node, int character) { argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapObexServer.java991 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();

Completed in 235 milliseconds