/packages/apps/Dialer/java/com/android/dialer/smartdial/util/ |
D | SmartDialNameMatcher.java | 71 char ch = number.charAt(i); in normalizeNumber() 175 char ch = phoneNumber.charAt(i); in matchesNumberWithOffset() 177 if (ch != query.charAt(queryAt)) { in matchesNumberWithOffset() 266 char ch = displayName.charAt(nameStart); in matchesCombination() 273 if (ch != query.charAt(queryStart)) { in matchesCombination() 294 context, displayName.charAt(nameStart - 1)))) { in matchesCombination() 300 context, displayName.charAt(nameStart)))) { in matchesCombination() 330 CompositeSmartDialMap.normalizeCharacter(context, displayName.charAt(j)))) { in matchesCombination()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/util/ |
D | GsmAlphabet.java | 191 char c = shiftTableToChar.charAt(gsmVal); in gsm7BitPackedToString() 193 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString() 202 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString() 249 char c = s.charAt(i); in stringToGsm8BitUnpackedField() 294 char c = s.charAt(i); in countGsmSeptetsUsingTables() 696 char c = table.charAt(j); 714 char c = shiftTable.charAt(j);
|
/packages/apps/Dialer/java/com/android/incallui/rtt/protocol/ |
D | RttChatMessage.java | 52 char c = text.charAt(i); in append() 53 if (c == '\b' && content.length() > 0 && content.charAt(content.length() - 1) != '\b') { in append() 81 && oldMessage.charAt(indexChangeStart) == newMesssage.charAt(indexChangeStart)) { in computeChangedString() 88 modify.append(newMesssage.charAt(i)); in computeChangedString() 137 while (content.length() > 0 && content.charAt(0) == '\b') { in updateRemoteRttChatMessage() 143 while (content.length() > 0 && content.charAt(0) == '\b') { in updateRemoteRttChatMessage()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactLookupKey.java | 135 c = string.charAt(offset++); in parse() 166 c = string.charAt(offset++); in parse() 173 c = string.charAt(offset); in parse() 189 c = string.charAt(offset++); in parse() 205 c = string.charAt(offset++); in parse() 221 c = string.charAt(offset); in parse()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | CapsModeUtils.java | 135 final char c = cs.charAt(i - 1); in getCapsMode() 154 prevChar = cs.charAt(j - 1); in getCapsMode() 167 prevChar = cs.charAt(j); in getCapsMode() 206 final char c = cs.charAt(j - 1); in getCapsMode() 215 char c = cs.charAt(--j); in getCapsMode() 279 c = cs.charAt(--j); in getCapsMode()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | GsmAlphabet.java | 599 char c = table.charAt(j); 617 char c = shiftTable.charAt(j); 705 char c = shiftTableToChar.charAt(gsmVal); in gsm7BitPackedToString() 707 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString() 716 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString()
|
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/ |
D | FuzzyPhoneNumberMatcher.java | 47 if (!Character.isDigit(lhs.charAt(lhsIndex))) { in lastSevenDigitsCharacterByCharacterMatches() 51 if (!Character.isDigit(rhs.charAt(rhsIndex))) { in lastSevenDigitsCharacterByCharacterMatches() 55 if (lhs.charAt(lhsIndex) != rhs.charAt(rhsIndex)) { in lastSevenDigitsCharacterByCharacterMatches()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/ |
D | QueryFilteringUtil.java | 86 if (getDigit(names[i].charAt(0), context) == query.charAt(queryIndex)) { in nameMatchesT9Query() 116 char cur = t9Name.charAt(i); in getIndexOfT9Substring() 123 char prev = t9Name.charAt(i - 1); in getIndexOfT9Substring() 188 char c = s.charAt(i); in digitsOnly()
|
D | QueryBoldingUtil.java | 83 if (!Character.isLetter(name.charAt(i))) { in getNameWithQueryBolded() 102 if ((nameIndex == 0 || name.charAt(nameIndex - 1) == ' ') in getNameWithInitialsBolded() 103 && QueryFilteringUtil.getDigit(name.charAt(nameIndex), context) in getNameWithInitialsBolded() 104 == query.charAt(initialsBolded)) { in getNameWithInitialsBolded() 144 if (!Character.isDigit(number.charAt(i))) { in getNumberWithQueryBolded()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | Path.java | 129 if (s.charAt(0) != '/') { in split() 138 char c = s.charAt(j); in split() 158 if (s.charAt(0) != '{' || s.charAt(n-1) != '}') { in splitSequence() 167 char c = s.charAt(j); in splitSequence()
|
/packages/apps/Contacts/src/com/android/contacts/format/ |
D | FormatUtils.java | 156 while (i < textLength && !Character.isLetterOrDigit(text.charAt(i))) { in indexOfWordPrefix() 167 if (Character.toUpperCase(text.charAt(i + j)) != prefix.charAt(j)) { in indexOfWordPrefix() 176 while (i < textLength && Character.isLetterOrDigit(text.charAt(i))) { in indexOfWordPrefix()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | Utf8ByteLengthFilter.java | 54 char c = source.charAt(i); in filter() 62 char c = dest.charAt(i); in filter() 74 char c = source.charAt(i); in filter()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | Utf8ByteLengthFilter.java | 55 char c = source.charAt(i); in filter() 63 char c = dest.charAt(i); in filter() 75 char c = source.charAt(i); in filter()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | Utf8ByteLengthFilter.java | 55 char c = source.charAt(i); in filter() 63 char c = dest.charAt(i); in filter() 75 char c = source.charAt(i); in filter()
|
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/ |
D | Utils.java | 218 if (!TextUtils.isEmpty(name) && Character.isLetter(name.charAt(0))) { in getInitials() 219 initials.append(Character.toUpperCase(name.charAt(0))); in getInitials() 223 && Character.isLetter(nameAlt.charAt(0))) { in getInitials() 224 initials.append(Character.toUpperCase(nameAlt.charAt(0))); in getInitials()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | StringUtils.java | 101 if (a.charAt(i) != b.charAt(i)) { in equals() 582 bytes[i / 2] = (byte) ((Character.digit(hexString.charAt(i), 16) << 4) in hexStringToByteArray() 583 + Character.digit(hexString.charAt(i + 1), 16)); in hexStringToByteArray() 622 while (i >= 0 && charSequence.charAt(i) == Constants.CODE_SINGLE_QUOTE) { in getTrailingSingleQuotesCount() 690 final char c = text.charAt(i); in hasLineBreakCharacter()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | EmailAddress.java | 149 if (host.charAt(0) == '.') { in isValidInternal() 156 if (host.charAt(host.length() - 1) == '.' && secondDot == -1) { in isValidInternal() 201 final char ch = user.charAt(i); in isQuotedUserValid()
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | SearchUtil.java | 42 if (contents.charAt(start) == '\n') { in findMatchingLine() 49 if (contents.charAt(end) == '\n') { in findMatchingLine() 173 if (Character.isLowSurrogate(query.charAt(end))) { in cleanStartAndEndOfSearchQuery()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | SearchUtil.java | 59 if (contents.charAt(start) == '\n') { in findMatchingLine() 66 if (contents.charAt(end) == '\n') { in findMatchingLine() 190 if (Character.isLowSurrogate(query.charAt(end))) { in cleanStartAndEndOfSearchQuery()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/ |
D | DigestMd5Utils.java | 215 .append(HEX_CHARS.charAt(unsignedByte / 16)) in toHex() 216 .append(HEX_CHARS.charAt(unsignedByte % 16)); in toHex() 265 throw new IllegalStateException("unexpected character " + message.charAt(position)); in expect() 276 return message.charAt(position); in peek()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | PhoneNumberUtilsCompat.java | 59 char c = phoneNumber.charAt(i); in normalizeNumberInternal() 178 sb.append(PhoneNumberUtils.isISODigit(number.charAt(i)) in splitAtNonNumerics() 179 ? number.charAt(i) in splitAtNonNumerics()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeySpecParser.java | 86 final char c = text.charAt(pos); in parseEscape() 90 sb.append(text.charAt(pos)); in parseEscape() 112 final char c = keySpec.charAt(pos); in indexOfLabelEnd()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 648 assertTrue(InitialConfiguration.all(list2, (x) -> x.charAt(0) == 'f')); in testAll() 649 assertFalse(InitialConfiguration.all(list4, (x) -> x.charAt(0) == 'f')); in testAll() 661 assertTrue(InitialConfiguration.any(list2, (x) -> x.charAt(0) == 'f')); in testAny() 662 assertFalse(InitialConfiguration.any(list3, (x) -> x.charAt(0) == 'f')); in testAny() 663 assertTrue(InitialConfiguration.any(list4, (x) -> x.charAt(0) == 'f')); in testAny() 675 assertEquals(list2, IpClient.findAll(list3, (x) -> x.charAt(0) == 'f')); in testFindAll()
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
D | ICU.java | 17 char ch = pattern.charAt(i); in getDateFormatOrder() 35 if (i < pattern.length() - 1 && pattern.charAt(i + 1) == '\'') { in getDateFormatOrder()
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/text/ |
D | TextUtils.java | 47 if (a.charAt(i) != b.charAt(i)) return false; in equals()
|