/frameworks/base/core/java/com/android/internal/http/ |
D | HttpDateTime.java | 126 return (dateString.charAt(0) - '0') * 10 in getDate() 127 + (dateString.charAt(1) - '0'); in getDate() 129 return (dateString.charAt(0) - '0'); in getDate() 148 int hash = Character.toLowerCase(monthString.charAt(0)) + in getMonth() 149 Character.toLowerCase(monthString.charAt(1)) + in getMonth() 150 Character.toLowerCase(monthString.charAt(2)) - 3 * 'a'; in getMonth() 183 int year = (yearString.charAt(0) - '0') * 10 in getYear() 184 + (yearString.charAt(1) - '0'); in getYear() 192 int year = (yearString.charAt(0) - '0') * 100 in getYear() 193 + (yearString.charAt(1) - '0') * 10 in getYear() [all …]
|
/frameworks/base/core/java/android/text/util/ |
D | Rfc822Tokenizer.java | 54 char c = text.charAt(i); in tokenize() 59 while (i < cursor && text.charAt(i) == ' ') { in tokenize() 82 c = text.charAt(i); in tokenize() 89 name.append(text.charAt(i + 1)); in tokenize() 102 c = text.charAt(i); in tokenize() 117 comment.append(text.charAt(i + 1)); in tokenize() 129 c = text.charAt(i); in tokenize() 182 char c = sb.charAt(i); in crunch() 186 sb.charAt(i - 1) == ' ' || in crunch() 187 sb.charAt(i - 1) == '\0' || in crunch() [all …]
|
/frameworks/base/core/java/android/os/ |
D | PatternMatcher.java | 125 char nextChar = pattern.charAt(0); in matchPattern() 129 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchPattern() 134 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchPattern() 144 nextChar = pattern.charAt(ip); in matchPattern() 149 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchPattern() 152 if (match.charAt(im) == nextChar) { in matchPattern() 163 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchPattern() 168 if (match.charAt(im) != c) { in matchPattern() 174 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchPattern() 177 if (c != '.' && match.charAt(im) != c) return false; in matchPattern() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ATResponseParser.java | 49 char c = line.charAt(tokStart); in nextBoolean() 67 char c = line.charAt(i); in nextInt() 111 char c = line.charAt(next++); in nextTok() 120 c = line.charAt(next++); in nextTok() 123 c = line.charAt(next++); in nextTok() 129 if (next < len && line.charAt(next++) != ',') { in nextTok() 142 c = line.charAt(next++); in nextTok() 158 c = line.charAt(next++); in skipWhiteSpace() 176 char c = line.charAt(next++); in skipPrefix()
|
D | GsmAlphabet.java | 172 return sLanguageTables[0].charAt(gsmChar); in gsmToChar() 196 char c = sLanguageShiftTables[0].charAt(gsmChar); in gsmExtendedToChar() 198 return sLanguageTables[0].charAt(gsmChar); in gsmExtendedToChar() 351 char c = data.charAt(i); in stringToGsm7BitPacked() 474 char c = shiftTableToChar.charAt(gsmVal); in gsm7BitPackedToString() 476 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString() 485 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString() 563 char shiftChar = shiftTableToChar.charAt(c); in gsm8BitUnpackedToString() 566 ret.append(languageTableToChar.charAt(c)); in gsm8BitUnpackedToString() 572 ret.append(languageTableToChar.charAt(c)); in gsm8BitUnpackedToString() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | CharSequences.java | 32 public char charAt(int index) { in forAsciiBytes() 65 public char charAt(int index) { 103 if (a.charAt(i) != b.charAt(i)) { 124 if ((result = Character.toLowerCase(me.charAt(myPos++)) 125 - Character.toLowerCase(another.charAt(anotherPos++))) != 0) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/util/ |
D | XmlUtils_Delegate.java | 47 if ('-' == nm.charAt(0)) { in convertValueToInt() 52 if ('0' == nm.charAt(index)) { in convertValueToInt() 57 char c = nm.charAt(index + 1); in convertValueToInt() 67 else if ('#' == nm.charAt(index)) { in convertValueToInt()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberUtils.java | 218 char c = phoneNumber.charAt(i); in extractNetworkPortion() 254 char c = phoneNumber.charAt(i); in extractNetworkPortionAlt() 284 char c = phoneNumber.charAt(i); in stripSeparators() 307 char c = phoneNumber.charAt(i); in convertPreDial() 401 char c = phoneNumber.charAt(i); in extractPostDialPortion() 472 ca = a.charAt(ia); in compareLoosely() 480 cb = b.charAt(ib); in compareLoosely() 615 final char chA = a.charAt(backwardIndexA); in compareStrictly() 616 final char chB = b.charAt(backwardIndexB); in compareStrictly() 673 final char chA = a.charAt(backwardIndexA); in compareStrictly() [all …]
|
D | JapanesePhoneNumberFormatter.java | 166 } else if (length < 1 || text.charAt(0) != '0') { in format() 175 if (text.charAt(i) == '-') { in format() 188 char ch = text.charAt(i); in format()
|
/frameworks/base/core/java/android/bluetooth/ |
D | AtParser.java | 146 char c = input.charAt(i); in clean() 174 char c = input.charAt(i); in findChar() 218 char c = input.charAt(i); in findEndExtendedName() 275 char c = input.charAt(index); in process() 320 } else if (input.charAt(i) == '?') { in process() 322 } else if (input.charAt(i) == '=') { in process() 324 if (input.charAt(i + 1) == '?') { in process()
|
/frameworks/base/core/java/android/text/ |
D | TextUtils.java | 73 dest[destoff++] = s.charAt(i); in getChars() 121 if (s.charAt(i) == ch) in indexOf() 179 if (s.charAt(i) == ch) in lastIndexOf() 199 char c = needle.charAt(0); in indexOf() 455 while (start < len && s.charAt(start) <= ' ') { in getTrimmedLength() 460 while (end > start && s.charAt(end - 1) <= ' ') { in getTrimmedLength() 483 if (a.charAt(i) != b.charAt(i)) return false; in equals() 522 public char charAt(int off) { in charAt() method in TextUtils.Reverser 523 return AndroidCharacter.getMirror(mSource.charAt(mEnd - 1 - off)); in charAt() 856 if (ssb.charAt(i) == '^') { in expandTemplate() [all …]
|
D | Html.java | 219 while (next < end && text.charAt(next) == '\n') { in withinBlockquote() 361 char c = text.charAt(i); in withinStyle() 372 while (i + 1 < end && text.charAt(i + 1) == ' ') { in withinStyle() 428 if (mSpannableStringBuilder.charAt(end - 1) == '\n' && in convert() 429 mSpannableStringBuilder.charAt(end - 2) == '\n') { in convert() 484 Character.toLowerCase(tag.charAt(0)) == 'h' && in handleStartTag() 485 tag.charAt(1) >= '1' && tag.charAt(1) <= '6') { in handleStartTag() 487 start(mSpannableStringBuilder, new Header(tag.charAt(1) - '1')); in handleStartTag() 535 Character.toLowerCase(tag.charAt(0)) == 'h' && in handleEndTag() 536 tag.charAt(1) >= '1' && tag.charAt(1) <= '6') { in handleEndTag() [all …]
|
D | LoginFilter.java | 57 char c = dest.charAt(i); in filter() 66 char c = source.charAt(i); in filter() 89 char c = dest.charAt(i); in filter()
|
/frameworks/base/core/java/com/google/android/util/ |
D | AbstractMessageParser.java | 139 Character.isWhitespace(text.charAt(3))) { in parse() 270 char ch = text.charAt(nextChar++); in parseText() 354 while ((index < text.length()) && isDomainChar(text.charAt(index))) { in parseURL() 363 } else if (text.charAt(index) == ':') { in parseURL() 369 } else if (text.charAt(index) == '.') { in parseURL() 372 char ch = text.charAt(index); in parseURL() 389 if ((index + 1 < text.length()) && (text.charAt(index) == ':')) { in parseURL() 390 char ch = text.charAt(index + 1); in parseURL() 394 Character.isDigit(text.charAt(index))) { in parseURL() 409 char ch = text.charAt(index); in parseURL() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | MultiAutoCompleteTextView.java | 227 while (i > 0 && text.charAt(i - 1) != ',') { in findTokenStart() 230 while (i < cursor && text.charAt(i) == ' ') { in findTokenStart() 242 if (text.charAt(i) == ',') { in findTokenEnd() 255 while (i > 0 && text.charAt(i - 1) == ' ') { in terminateToken() 259 if (i > 0 && text.charAt(i - 1) == ',') { in terminateToken()
|
D | AlphabetIndexer.java | 89 mAlphabetArray[i] = Character.toString(mAlphabet.charAt(i)); in AlphabetIndexer() 169 char letter = mAlphabet.charAt(sectionIndex); in getPositionForSection() 189 mAlphabet.charAt(sectionIndex - 1); in getPositionForSection() 263 char letter = mAlphabet.charAt(i); in getSectionForPosition()
|
/frameworks/base/core/java/android/text/method/ |
D | QwertyKeyListener.java | 112 char c = content.charAt(selStart - 1); in onKeyDown() 139 Character.digit(content.charAt(start - 1), 16) >= 0) { in onKeyDown() 173 char accent = content.charAt(selStart); in onKeyDown() 249 char c = content.charAt(x - 1); in onKeyDown() 277 if (content.charAt(selEnd - 1) == ' ' && in onKeyDown() 278 content.charAt(selEnd - 2) == ' ') { in onKeyDown() 279 char c = content.charAt(selEnd - 3); in onKeyDown() 284 c = content.charAt(j - 1); in onKeyDown() 311 if (content.charAt(selStart - 1) != '\n') in onKeyDown() 375 if (Character.isUpperCase(src.charAt(j))) in getReplacement() [all …]
|
D | NumberKeyListener.java | 50 if (!ok(accept, source.charAt(i))) { in filter() 73 if (!ok(accept, source.charAt(j))) { in filter() 126 content.charAt(selStart - 1) == '0') { in onKeyDown()
|
D | DigitsKeyListener.java | 148 char c = dest.charAt(i); in filter() 157 char c = dest.charAt(i); in filter() 176 char c = source.charAt(i); in filter()
|
/frameworks/base/core/java/android/webkit/ |
D | CookieManager.java | 172 return urlHost.charAt(urlLen - len) == PERIOD; in domainMatch() 191 if (path.charAt(len-1) != PATH_DELIM && urlLen > len) { in pathMatch() 193 return urlPath.charAt(len) == PATH_DELIM; in pathMatch() 897 if (ret[1].charAt(0) != PATH_DELIM) { in getHostAndPath() 971 if (cookieString.charAt(index) == WHITE_SPACE) { in parseCookie() 1008 (cookieString.charAt(equalIndex + 1) == QUOTATION)) { in parseCookie() 1043 if (cookieString.charAt(index) == WHITE_SPACE in parseCookie() 1044 || cookieString.charAt(index) == SEMICOLON) { in parseCookie() 1050 if (cookieString.charAt(index) == COMMA) { in parseCookie() 1063 if (cookieString.charAt(index) == EQUAL) index++; in parseCookie() [all …]
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardParserImpl_V30.java | 100 } else if (line.charAt(0) == ' ' || line.charAt(0) == '\t') { in getNonEmptyLine() 227 final char ch = paramValue.charAt(i); in splitAndPutParam() 358 char ch = text.charAt(i); in unescapeText() 360 final char next_ch = text.charAt(++i); in unescapeText()
|
D | VCardParserImpl_V40.java | 65 char ch = text.charAt(i); in unescapeText() 67 final char next_ch = text.charAt(++i); in unescapeText()
|
/frameworks/ex/common/java/com/android/common/ |
D | Rfc822InputFilter.java | 37 if (end-start != 1 || source.charAt(start) != ' ') { in filter() 46 char c = dest.charAt(--scanBack); in filter()
|
/frameworks/base/core/java/android/net/ |
D | UrlQuerySanitizer.java | 327 char c = value.charAt(i); in sanitize() 353 while (start <= end && isWhitespace(value.charAt(start))) { in trimWhitespace() 356 while (end >= start && isWhitespace(value.charAt(end))) { in trimWhitespace() 854 char c = string.charAt(i); in unescape() 859 char c1 = string.charAt(i + 1); in unescape() 860 char c2 = string.charAt(i + 2); in unescape()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 88 color[2] = color[3] = value.charAt(0); in getColor() 89 color[4] = color[5] = value.charAt(1); in getColor() 90 color[6] = color[7] = value.charAt(2); in getColor() 94 color[0] = color[1] = value.charAt(0); in getColor() 95 color[2] = color[3] = value.charAt(1); in getColor() 96 color[4] = color[5] = value.charAt(2); in getColor() 97 color[6] = color[7] = value.charAt(3); in getColor() 397 if (end.length() > 0 && end.charAt(0) != ' ') { in parseFloatAttribute()
|