Searched refs:charAt (Results 1 - 25 of 135) sorted by relevance

123456

/frameworks/base/core/java/android/webkit/
H A DHttpDateTime.java123 return (dateString.charAt(0) - '0') * 10
124 + (dateString.charAt(1) - '0');
126 return (dateString.charAt(0) - '0');
145 int hash = Character.toLowerCase(monthString.charAt(0)) +
146 Character.toLowerCase(monthString.charAt(1)) +
147 Character.toLowerCase(monthString.charAt(2)) - 3 * 'a';
180 int year = (yearString.charAt(0) - '0') * 10
181 + (yearString.charAt(1) - '0');
189 int year = (yearString.charAt(0) - '0') * 100
190 + (yearString.charAt(
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DATResponseParser.java49 char c = line.charAt(tokStart);
67 char c = line.charAt(i);
111 char c = line.charAt(next++);
120 c = line.charAt(next++);
123 c = line.charAt(next++);
129 if (next < len && line.charAt(next++) != ',') {
142 c = line.charAt(next++);
158 c = line.charAt(next++);
176 char c = line.charAt(next++);
/frameworks/base/core/java/android/os/
H A DPatternMatcher.java125 char nextChar = pattern.charAt(0);
129 nextChar = ip < NP ? pattern.charAt(ip) : 0;
134 nextChar = ip < NP ? pattern.charAt(ip) : 0;
144 nextChar = pattern.charAt(ip);
149 nextChar = ip < NP ? pattern.charAt(ip) : 0;
152 if (match.charAt(im) == nextChar) {
163 nextChar = ip < NP ? pattern.charAt(ip) : 0;
168 if (match.charAt(im) != c) {
174 nextChar = ip < NP ? pattern.charAt(ip) : 0;
177 if (c != '.' && match.charAt(i
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DCharSequences.java32 public char charAt(int index) {
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/core/java/android/text/util/
H A DRfc822InputFilter.java21 if (end-start != 1 || source.charAt(start) != ' ') {
30 char c = dest.charAt(--scanBack);
H A DRfc822Tokenizer.java55 char c = text.charAt(i);
60 while (i < cursor && text.charAt(i) == ' ') {
83 c = text.charAt(i);
89 name.append(text.charAt(i + 1));
101 c = text.charAt(i);
115 comment.append(text.charAt(i + 1));
126 c = text.charAt(i);
179 char c = sb.charAt(i);
183 sb.charAt(i - 1) == ' ' ||
184 sb.charAt(
[all...]
H A DRfc822Token.java115 char c = name.charAt(i);
138 char c = name.charAt(i);
160 char c = comment.charAt(i);
/frameworks/base/core/java/android/util/
H A DStringBuilderPrinter.java38 if (len <= 0 || x.charAt(len-1) != '\n') {
/frameworks/base/telephony/java/android/telephony/
H A DJapanesePhoneNumberFormatter.java164 } else if (length < 1 || text.charAt(0) != '0') {
173 if (text.charAt(i) == '-') {
186 char ch = text.charAt(i);
H A DPhoneNumberUtils.java197 char c = phoneNumber.charAt(i);
222 char c = phoneNumber.charAt(i);
291 char c = phoneNumber.charAt(i);
360 ca = a.charAt(ia);
367 cb = b.charAt(ib);
498 final char chA = a.charAt(backwardIndexA);
499 final char chB = b.charAt(backwardIndexB);
556 final char chA = a.charAt(backwardIndexA);
567 final char chB = b.charAt(backwardIndexB);
627 char c = np.charAt(
[all...]
/frameworks/base/core/java/android/text/
H A DLoginFilter.java57 char c = dest.charAt(i);
66 char c = source.charAt(i);
89 char c = dest.charAt(i);
H A DAlteredCharSequence.java89 public char charAt(int off) { method in class:AlteredCharSequence
93 return mSource.charAt(off);
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/content/
H A DAssetTest.java44 + " expected " + expectedString.charAt(curIndex)
46 buffer[i], expectedString.charAt(curIndex));
/frameworks/base/core/java/android/widget/
H A DMultiAutoCompleteTextView.java238 while (i > 0 && text.charAt(i - 1) != ',') {
241 while (i < cursor && text.charAt(i) == ' ') {
253 if (text.charAt(i) == ',') {
266 while (i > 0 && text.charAt(i - 1) == ' ') {
270 if (i > 0 && text.charAt(i - 1) == ',') {
H A DAlphabetIndexer.java89 mAlphabetArray[i] = Character.toString(mAlphabet.charAt(i));
169 char letter = mAlphabet.charAt(sectionIndex);
189 mAlphabet.charAt(sectionIndex - 1);
218 // int startingLetterKey = startingLetter.charAt(0);
263 char letter = mAlphabet.charAt(i);
/frameworks/base/core/java/android/bluetooth/
H A DAtParser.java149 char c = input.charAt(i);
177 char c = input.charAt(i);
221 char c = input.charAt(i);
278 char c = input.charAt(index);
323 } else if (input.charAt(i) == '?') {
325 } else if (input.charAt(i) == '=') {
327 if (input.charAt(i + 1) == '?') {
/frameworks/base/core/java/android/text/method/
H A DDigitsKeyListener.java148 char c = dest.charAt(i);
157 char c = dest.charAt(i);
176 char c = source.charAt(i);
H A DNumberKeyListener.java50 if (!ok(accept, source.charAt(i))) {
73 if (!ok(accept, source.charAt(j))) {
126 content.charAt(selStart - 1) == '0') {
H A DCharacterPickerDialog.java89 String result = String.valueOf(mOptions.charAt(position));
125 b.setText(String.valueOf(mOptions.charAt(position)));
135 return String.valueOf(mOptions.charAt(position));
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
H A DTextViewTest.java48 assertEquals('o', newText.charAt(0));
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DResourceHelper.java74 color[2] = color[3] = value.charAt(0);
75 color[4] = color[5] = value.charAt(1);
76 color[6] = color[7] = value.charAt(2);
80 color[0] = color[1] = value.charAt(0);
81 color[2] = color[3] = value.charAt(1);
82 color[4] = color[5] = value.charAt(2);
83 color[6] = color[7] = value.charAt(3);
305 if (end.length() > 0 && end.charAt(0) != ' ') {
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsAddress.java121 char c = address.charAt(i);
162 char c = address.charAt(i);
179 char c = address.charAt(i);
/frameworks/base/core/java/android/net/
H A DUrlQuerySanitizer.java327 char c = value.charAt(i);
353 while (start <= end && isWhitespace(value.charAt(start))) {
356 while (end >= start && isWhitespace(value.charAt(end))) {
854 char c = string.charAt(i);
859 char c1 = string.charAt(i + 1);
860 char c2 = string.charAt(i + 2);
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java81 if (buff.charAt(i) == 's') {
86 if (buff.charAt(i) == '%') {
/frameworks/base/core/java/android/content/pm/
H A DSignature.java50 char c = text.charAt(i*2);
53 c = text.charAt(i*2 + 1);

Completed in 328 milliseconds

123456