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

12345

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DCandidateFilter.java48 if (str.charAt(i) < 0x20 || 0x7E < str.charAt(i)) {
/packages/apps/Calculator/src/com/android/calculator2/
H A DCalculatorEditable.java62 char text = delta.charAt(0);
67 while (p >= 0 && Character.isDigit(charAt(p))) {
70 if (p >= 0 && charAt(p) == '.') {
75 char prevChar = start > 0 ? charAt(start-1) : '\0';
87 prevChar = start > 0 ? charAt(start-1) : '\0';
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
H A DSerializerTests.java69 (byte)ID.charAt(0),
70 (byte)ID.charAt(1),
75 (byte)ID.charAt(0),
76 (byte)ID.charAt(1),
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
H A DSerializerTests.java69 (byte)ID.charAt(0),
70 (byte)ID.charAt(1),
75 (byte)ID.charAt(0),
76 (byte)ID.charAt(1),
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DUtf8ByteLengthFilter.java52 char c = source.charAt(i);
60 char c = dest.charAt(i);
72 char c = source.charAt(i);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactLookupKey.java137 c = string.charAt(offset++);
165 c = string.charAt(offset++);
172 c = string.charAt(offset);
188 c = string.charAt(offset++);
204 c = string.charAt(offset++);
220 c = string.charAt(offset);
/packages/apps/Email/tests/src/com/android/email/
H A DVendorPolicyLoaderTest.java119 assertEquals("\"", id.charAt(0));
120 assertEquals("\"", id.charAt(id.length()-1));
132 assertTrue(elements[i+1].charAt(0) != ' ');
134 assertTrue(elements[i+3].charAt(0) != ' ');
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
H A DUriCodec.java47 char ch = uri.charAt(i);
57 int d1 = hexToInt(uri.charAt(i + 1));
58 int d2 = hexToInt(uri.charAt(i + 2));
78 char ch = s.charAt(i);
104 char c = s.charAt(i);
158 char c = s.charAt(i);
164 int d1 = hexToInt(s.charAt(i + 1));
165 int d2 = hexToInt(s.charAt(i + 2));
172 } while (i < s.length() && s.charAt(i) == '%');
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
H A DHex.java88 int c1 = hexString.charAt(j++);
100 int c2 = hexString.charAt(j++);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DDictionary.java105 if (word[i] != typedWord.charAt(i)) {
H A DEditingUtils.java100 while (start > 0 && !isWhitespace(before.charAt(start - 1), sep)) start--;
104 while (++end < after.length() && !isWhitespace(after.charAt(end), sep)) {
150 char lastChar = w[w.length - 2].charAt(w[w.length - 2].length() - 1);
177 char lastChar = w[w.length - 1].charAt(w[w.length - 1].length() - 1);
H A DStringUtils.java92 if (!equalsIgnoreCase(a.charAt(i), b.charAt(i)))
119 if (!equalsIgnoreCase(a.charAt(i), b[offset + i]))
180 return s.toUpperCase(locale).charAt(0) + s.substring(1);
/packages/apps/Mms/src/com/android/mms/ui/
H A DRecipientsEditor.java109 char c = s.charAt(start);
395 if (i > 0 && ((c = text.charAt(i - 1)) == ',' || c == ';')) {
399 while (i > 0 && (c = text.charAt(i - 1)) != ',' && c != ';') {
402 while (i < cursor && text.charAt(i) == ' ') {
416 if ((c = text.charAt(i)) == ',' || c == ';') {
430 while (i > 0 && text.charAt(i - 1) == ' ') {
435 if (i > 0 && ((c = text.charAt(i - 1)) == ',' || c == ';')) {
461 if ((i == len) || ((c = sp.charAt(i)) == ',') || (c == ';')) {
477 while ((i < len) && (sp.charAt(i) == ' ')) {
/packages/apps/Email/src/org/apache/commons/io/
H A DFileSystemUtils.java217 if (path.length() > 2 && path.charAt(1) == ':') {
260 char c = line.charAt(j);
270 char c = line.charAt(j);
288 if (buf.charAt(k) == ',' || buf.charAt(k) == '.') {
/packages/apps/Email/src/org/apache/james/mime4j/
H A DMimeStreamParser.java260 while (pos < sb.length() && sb.charAt(pos) != '\r') {
263 if (pos < sb.length() - 1 && sb.charAt(pos + 1) != '\n') {
268 if (pos >= sb.length() - 2 || fieldChars.get(sb.charAt(pos + 2))) {
282 if (index != -1 && fieldChars.get(field.charAt(0))) {
286 if (!fieldChars.get(fieldName.charAt(i))) {
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DPath.java123 if (s.charAt(0) != '/') {
132 char c = s.charAt(j);
152 if (s.charAt(0) != '{' || s.charAt(n-1) != '}') {
161 char c = s.charAt(j);
/packages/apps/Contacts/src/com/android/contacts/format/
H A DFormatUtils.java158 while (i < textLength && !Character.isLetterOrDigit(text.charAt(i))) {
169 if (Character.toUpperCase(text.charAt(i + j)) != prefix[j]) {
178 while (i < textLength && Character.isLetterOrDigit(text.charAt(i))) {
/packages/apps/Email/src/com/android/email/mail/transport/
H A DSmtpSender.java268 while (line.length() >= 4 && line.charAt(3) == '-') {
274 char c = result.charAt(0);
313 if (me.getMessage().length() > 1 && me.getMessage().charAt(1) == '3') {
328 if (me.getMessage().length() > 1 && me.getMessage().charAt(1) == '3') {
/packages/apps/Email/src/org/apache/commons/io/input/
H A DCharSequenceReader.java82 return charSequence.charAt(idx++);
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
H A DTokenMgrError.java59 switch (str.charAt(i))
88 if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) {
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/
H A DTokenMgrError.java59 switch (str.charAt(i))
88 if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) {
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/
H A DTokenMgrError.java59 switch (str.charAt(i))
88 if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) {
/packages/apps/Email/tests/src/com/android/email/mail/transport/
H A DDiscourseLoggerTest.java29 ret[i] = (byte) chars.charAt(i);
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DQueryParameterUtils.java58 if (query.charAt(index) == '=') {
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DTextUtilities.java351 char c = htmlText.charAt(i);
384 char c = text.charAt(i);
388 char peek = text.charAt(i + 1);
469 if (text.charAt(i) == ';') {
484 } else if ((entityLength > 2) && (entity.charAt(1) == '#')) {
489 if ((entity.charAt(2) == 'x') && (entityLength > 3)) {
593 char chr = text.charAt(i);
598 char peek = text.charAt(i + 1);
622 chr = text.charAt(i);
645 if (chrLowerCase == t.mTermLowerCase.charAt(
[all...]

Completed in 411 milliseconds

12345