Home
last modified time | relevance | path

Searched refs:character (Results 1 – 25 of 54) sorted by relevance

123

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameLookupBuilder.java178 int character; in appendKoreanNameConsonantsLookup() local
183 character = name.codePointAt(position++); in appendKoreanNameConsonantsLookup()
184 if ((character == 0x20) || (character == 0x2c) || (character == 0x2E)) { in appendKoreanNameConsonantsLookup()
190 if ((character < 0x1100) || (character > 0x1112 && character < 0x3131) || in appendKoreanNameConsonantsLookup()
191 (character > 0x314E && character < 0xAC00) || in appendKoreanNameConsonantsLookup()
192 (character > 0xD7A3)) { in appendKoreanNameConsonantsLookup()
196 if (character >= 0xAC00) { in appendKoreanNameConsonantsLookup()
200 character = 0x1100 + (character - 0xAC00) / 588; in appendKoreanNameConsonantsLookup()
201 } else if (character >= 0x3131) { in appendKoreanNameConsonantsLookup()
204 if (character - 0x3131 >= KOREAN_JAUM_CONVERT_MAP.length) { in appendKoreanNameConsonantsLookup()
[all …]
DHanziToPinyin.java434 private Token getToken(char character) { in getToken() argument
436 final String letter = Character.toString(character); in getToken()
440 if (character < 256) { in getToken()
517 final char character = input.charAt(i); in get() local
518 if (character == ' ') { in get()
522 } else if (character < 256) { in get()
527 sb.append(character); in get()
529 Token t = getToken(character); in get()
541 sb.append(character); in get()
/packages/inputmethods/LatinIME/native/jni/src/
Dchar_utils.h71 inline static bool isSkippableChar(const uint16_t character) { in isSkippableChar() argument
73 return character == '\'' || character == '-'; in isSkippableChar()
Dbinary_format.h205 int32_t character = dict[currentPos++]; in skipOtherCharacters() local
206 while (CHARACTER_ARRAY_TERMINATOR != character) { in skipOtherCharacters()
207 if (character < MINIMAL_ONE_BYTE_CHARACTER_VALUE) { in skipOtherCharacters()
210 character = dict[currentPos++]; in skipOtherCharacters()
372 int32_t character = BinaryFormat::getCodePointAndForwardPointer(root, &pos); in getTerminalPosition() local
373 if (character == wChar) { in getTerminalPosition()
379 character = BinaryFormat::getCodePointAndForwardPointer(root, &pos); in getTerminalPosition()
380 while (NOT_A_CODE_POINT != character) { in getTerminalPosition()
387 if (inWord[wordPos] != character) return NOT_VALID_WORD; in getTerminalPosition()
388 character = BinaryFormat::getCodePointAndForwardPointer(root, &pos); in getTerminalPosition()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DBinaryDictInputOutput.java135 private static boolean fitsOnOneByte(final int character) { in fitsOnOneByte() argument
136 return character >= MINIMAL_ONE_BYTE_CHARACTER_VALUE in fitsOnOneByte()
137 && character <= MAXIMAL_ONE_BYTE_CHARACTER_VALUE; in fitsOnOneByte()
157 private static int getCharSize(final int character) { in getCharSize() argument
159 if (fitsOnOneByte(character)) return 1; in getCharSize()
160 if (FormatSpec.INVALID_CHARACTER == character) return 1; in getCharSize()
169 for (int character : chars) size += getCharSize(character); in getCharArraySize()
250 int character = readChar(buffer); in readString() local
251 while (character != FormatSpec.INVALID_CHARACTER) { in readString()
252 s.appendCodePoint(character); in readString()
[all …]
DFusionDictionary.java525 private static int findInsertionIndex(final Node node, int character) { in findInsertionIndex() argument
527 final CharGroup reference = new CharGroup(new int[] { character }, in findInsertionIndex()
543 private static int findIndexOfChar(final Node node, int character) { in findIndexOfChar() argument
544 final int insertionIndex = findInsertionIndex(node, character); in findIndexOfChar()
546 return character == node.mData.get(insertionIndex).mChars[0] ? insertionIndex in findIndexOfChar()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java991 char character = iterator.current(); in xmlEncode() local
992 while (character != CharacterIterator.DONE ){ in xmlEncode()
993 if (character == '<') { in xmlEncode()
996 else if (character == '>') { in xmlEncode()
999 else if (character == '\"') { in xmlEncode()
1002 else if (character == '\'') { in xmlEncode()
1005 else if (character == '&') { in xmlEncode()
1010 result.append(character); in xmlEncode()
1012 character = iterator.next(); in xmlEncode()
/packages/apps/Calendar/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/wallpapers/LivePicker/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/providers/ApplicationsProvider/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/apps/Settings/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/apps/CertInstaller/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/providers/UserDictionaryProvider/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/providers/DrmProvider/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/providers/DownloadProvider/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/apps/Camera/jni/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/apps/Provision/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/apps/Launcher2/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/inputmethods/LatinIME/java/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/apps/HTMLViewer/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/wallpapers/Basic/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/apps/Phone/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/apps/DeskClock/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/apps/QuickSearchBox/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/wallpapers/MusicVisualization/
DNOTICE171 incidental, or consequential damages of any character arising as a

123