/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/opt/telephony/src/java/com/android/internal/telephony/ |
D | ATResponseParser.java | 49 char c = mLine.charAt(mTokStart); in nextBoolean() 67 char c = mLine.charAt(i); in nextInt() 111 char c = mLine.charAt(mNext++); in nextTok() 120 c = mLine.charAt(mNext++); in nextTok() 123 c = mLine.charAt(mNext++); in nextTok() 129 if (mNext < len && mLine.charAt(mNext++) != ',') { in nextTok() 142 c = mLine.charAt(mNext++); in nextTok() 158 c = mLine.charAt(mNext++); in skipWhiteSpace() 176 char c = mLine.charAt(mNext++); in skipPrefix()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiSsid.java | 86 char c = asciiEncoded.charAt(i); in convertToBytes() 90 switch(asciiEncoded.charAt(i)) { in convertToBytes() 123 val = Character.digit(asciiEncoded.charAt(i), HEX_RADIX); in convertToBytes() 140 val = asciiEncoded.charAt(i) - '0'; in convertToBytes() 142 if (asciiEncoded.charAt(i) >= '0' && asciiEncoded.charAt(i) <= '7') { in convertToBytes() 143 val = val * 8 + asciiEncoded.charAt(i) - '0'; in convertToBytes() 146 if (asciiEncoded.charAt(i) >= '0' && asciiEncoded.charAt(i) <= '7') { in convertToBytes() 147 val = val * 8 + asciiEncoded.charAt(i) - '0'; in convertToBytes()
|
/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 | 223 char c = phoneNumber.charAt(i); in extractNetworkPortion() 263 char c = phoneNumber.charAt(i); in extractNetworkPortionAlt() 293 char c = phoneNumber.charAt(i); in stripSeparators() 334 char c = phoneNumber.charAt(i); in convertPreDial() 406 char c = phoneNumber.charAt(i); in extractPostDialPortion() 477 ca = a.charAt(ia); in compareLoosely() 485 cb = b.charAt(ib); in compareLoosely() 620 final char chA = a.charAt(backwardIndexA); in compareStrictly() 621 final char chB = b.charAt(backwardIndexB); in compareStrictly() 678 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/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneFilterTypeAdapter.java | 194 if (prefixString.charAt(0) == '+' || prefixString.charAt(0) == '-') { in performFiltering() 206 && prefixString.charAt(startParsePosition) == '+'; in performFiltering() 220 || (lowerCaseCountry.charAt(0) == prefixString.charAt(0) && in performFiltering() 279 if (!Character.isLetter(string.charAt(i))) { in isStartingInitialsFor() 285 if (prefixString.charAt(initialIdx++) != string.charAt(i)) { in isStartingInitialsFor() 353 char ch = str.charAt(idx++); in parseNum() 364 ch = str.charAt(idx++); in parseNum() 378 ch = str.charAt(idx++); in parseNum()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | GsmAlphabet.java | 221 return sLanguageTables[0].charAt(gsmChar); in gsmToChar() 245 char c = sLanguageShiftTables[0].charAt(gsmChar); in gsmExtendedToChar() 247 return sLanguageTables[0].charAt(gsmChar); in gsmExtendedToChar() 400 char c = data.charAt(i); in stringToGsm7BitPacked() 523 char c = shiftTableToChar.charAt(gsmVal); in gsm7BitPackedToString() 525 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString() 534 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString() 612 char shiftChar = shiftTableToChar.charAt(c); in gsm8BitUnpackedToString() 615 ret.append(languageTableToChar.charAt(c)); in gsm8BitUnpackedToString() 621 ret.append(languageTableToChar.charAt(c)); in gsm8BitUnpackedToString() [all …]
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | Duration.java | 64 c = str.charAt(0); in parse() 77 c = str.charAt(index); in parse() 84 c = str.charAt(index); in parse() 91 c = str.charAt(index); in parse()
|
/frameworks/base/core/java/android/text/ |
D | TextUtils.java | 82 dest[destoff++] = s.charAt(i); in getChars() 130 if (s.charAt(i) == ch) in indexOf() 188 if (s.charAt(i) == ch) in lastIndexOf() 208 char c = needle.charAt(0); in indexOf() 464 while (start < len && s.charAt(start) <= ' ') { in getTrimmedLength() 469 while (end > start && s.charAt(end - 1) <= ' ') { in getTrimmedLength() 492 if (a.charAt(i) != b.charAt(i)) return false; in equals() 531 public char charAt(int off) { in charAt() method in TextUtils.Reverser 532 return AndroidCharacter.getMirror(mSource.charAt(mEnd - 1 - off)); in charAt() 882 if (ssb.charAt(i) == '^') { in expandTemplate() [all …]
|
D | BidiFormatter.java | 747 lastChar = text.charAt(charIndex); in dirTypeForward() 777 lastChar = text.charAt(charIndex - 1); in dirTypeBackward() 805 lastChar = text.charAt(charIndex++); in skipTagForward() 813 while (charIndex < length && (lastChar = text.charAt(charIndex++)) != quote) {} in skipTagForward() 834 lastChar = text.charAt(--charIndex); in skipTagBackward() 845 while (charIndex > 0 && (lastChar = text.charAt(--charIndex)) != quote) {} in skipTagBackward() 860 while (charIndex < length && (lastChar = text.charAt(charIndex++)) != ';') {} in skipEntityForward() 877 lastChar = text.charAt(--charIndex); in skipEntityBackward()
|
D | Html.java | 245 while (next < end && text.charAt(next) == '\n') { in withinBlockquote() 386 char c = text.charAt(i); in withinStyle() 396 char d = text.charAt(i + 1); in withinStyle() 406 while (i + 1 < end && text.charAt(i + 1) == ' ') { in withinStyle() 462 if (mSpannableStringBuilder.charAt(end - 1) == '\n' && in convert() 463 mSpannableStringBuilder.charAt(end - 2) == '\n') { in convert() 518 Character.toLowerCase(tag.charAt(0)) == 'h' && in handleStartTag() 519 tag.charAt(1) >= '1' && tag.charAt(1) <= '6') { in handleStartTag() 521 start(mSpannableStringBuilder, new Header(tag.charAt(1) - '1')); in handleStartTag() 569 Character.toLowerCase(tag.charAt(0)) == 'h' && 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/text/method/ |
D | QwertyKeyListener.java | 116 char c = content.charAt(selStart - 1); in onKeyDown() 143 Character.digit(content.charAt(start - 1), 16) >= 0) { in onKeyDown() 177 char accent = content.charAt(selStart); in onKeyDown() 254 char c = content.charAt(x - 1); in onKeyDown() 282 if (content.charAt(selEnd - 1) == ' ' && in onKeyDown() 283 content.charAt(selEnd - 2) == ' ') { in onKeyDown() 284 char c = content.charAt(selEnd - 3); in onKeyDown() 289 c = content.charAt(j - 1); in onKeyDown() 316 if (content.charAt(selStart - 1) != '\n') in onKeyDown() 380 if (Character.isUpperCase(src.charAt(j))) in getReplacement() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | MultiAutoCompleteTextView.java | 240 while (i > 0 && text.charAt(i - 1) != ',') { in findTokenStart() 243 while (i < cursor && text.charAt(i) == ' ') { in findTokenStart() 255 if (text.charAt(i) == ',') { in findTokenEnd() 268 while (i > 0 && text.charAt(i - 1) == ' ') { in terminateToken() 272 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/view/ |
D | AccessibilityIterators.java | 280 while (start < textLength && mText.charAt(start) == '\n' in following() 307 while(end > 0 && mText.charAt(end - 1) == '\n' && !isEndBoundary(end)) { in preceding() 321 return (mText.charAt(index) != '\n' in isStartBoundary() 322 && (index == 0 || mText.charAt(index - 1) == '\n')); in isStartBoundary() 326 return (index > 0 && mText.charAt(index - 1) != '\n' in isEndBoundary() 327 && (index == mText.length() || mText.charAt(index) == '\n')); in isEndBoundary()
|
/frameworks/support/v4/java/android/support/v4/text/ |
D | BidiFormatter.java | 737 lastChar = text.charAt(charIndex); in dirTypeForward() 767 lastChar = text.charAt(charIndex - 1); in dirTypeBackward() 795 lastChar = text.charAt(charIndex++); in skipTagForward() 803 while (charIndex < length && (lastChar = text.charAt(charIndex++)) != quote) {} in skipTagForward() 824 lastChar = text.charAt(--charIndex); in skipTagBackward() 835 while (charIndex > 0 && (lastChar = text.charAt(--charIndex)) != quote) {} in skipTagBackward() 850 while (charIndex < length && (lastChar = text.charAt(charIndex++)) != ';') {} in skipEntityForward() 867 lastChar = text.charAt(--charIndex); in skipEntityBackward()
|
/frameworks/base/core/java/android/text/format/ |
D | DateFormat.java | 383 c = inFormat.charAt(i); in hasDesignator() 396 if (i + 1 < len && s.charAt(i + 1) == QUOTE) { in skipQuotedText() 405 char c = s.charAt(i); in skipQuotedText() 410 if (i + 1 < len && s.charAt(i + 1) == QUOTE) { in skipQuotedText() 441 int c = s.charAt(i); in format() 449 while ((i + count < len) && (s.charAt(i + count) == c)) { in format() 588 if (i + 1 < len && s.charAt(i + 1) == QUOTE) { in appendQuotedText() 600 char c = s.charAt(i); in appendQuotedText() 604 if (i + 1 < len && s.charAt(i + 1) == QUOTE) { in appendQuotedText()
|
/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()
|
/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()
|