/libcore/luni/src/main/java/java/math/ |
Conversion.java | 70 if ((radix == 10) || (radix < Character.MIN_RADIX) 71 || (radix > Character.MAX_RADIX)) { 97 result[--currentChar] = Character.forDigit( 117 result[--currentChar] = Character.forDigit(resDigit, 16); 181 // a free latest character may be used for "special case 1" (see 333 // a free latest character may be used for "special case 1" (see below)
|
/libcore/luni/src/main/java/libcore/util/ |
Objects.java | 40 * "SimpleClassName[integer=1234,string="hello",character='c',intArray=[1,2,3]]". 82 } else if (value.getClass() == Character.class) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameNormalizer.java | 115 if (Character.isLetterOrDigit(c)) {
|
NameSplitter.java | 26 import java.lang.Character.UnicodeBlock; 888 * Makes the best guess at the expected full name style based on the character set 922 * Makes the best guess at the expected full name style based on the character set [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
AtomicHTMLToken.h | 88 ASSERT(m_type == HTMLToken::Character); 135 case HTMLToken::Character: 176 case HTMLToken::Character: 211 // "data" for Comment, "characters" for Character
|
/frameworks/base/core/java/android/text/method/ |
MultiTapKeyListener.java | 107 // Try to increment the character we were working on before 119 if (Character.isLowerCase(current)) { 127 if (Character.isUpperCase(current)) { 170 // with the first character for that key, and remember what 179 if (Character.isUpperCase(val.charAt(i))) {
|
/libcore/luni/src/test/java/libcore/xml/ |
KxmlSerializerTest.java | 94 final String s = Character.toString((char) ch); 112 final String s = Character.toString((char) ch); 130 final String s = Character.toString((char) ch);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ContactsBinaryDictionary.java | 224 if (Character.isLetter(name.codePointAt(i))) { 261 for (end = startIndex + 1; end < len; end += Character.charCount(cp)) { 264 || Character.isLetter(cp))) {
|
RichInputConnection.java | 377 return Character.codePointBefore(mCommittedTextBeforeComposingText, length); 545 * @param start the character index where the selection should start. 546 * @param end the character index where the selection should end. 662 final int codePoint = Character.codePointBefore(before, startIndexInBefore); [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
DOM3TreeWalker.java | 93 /** New Line character to use in serialization */
147 // Parameter check-character-normalization, true [optional] - NOT SUPPORTED
193 // Parameter ignore-unknown-character-denormalizations, true [required] (default)
194 // We currently do not support XML 1.1 character normalization
[all...] |
/art/test/044-proxy/src/ |
ReturnsAndArgPassing.java | 128 myHandler.returnType = Character.class; 129 check(proxyMyInterface.charFoo() == Character.MAX_VALUE); 133 check(proxyMyInterface.charBar() == Character.MIN_VALUE); 401 myHandler.returnType = Character.class; // Char -> byte == fail 418 myHandler.returnType = Character.class; // Char -> short == fail
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
AsYouTypeFormatter.java | 61 // Character used when appropriate to separate a prefix, such as a long NDD or a country calling 69 // A pattern that is used to match character classes in regular expressions. An example of a 70 // character class is [1-4]. 256 // Replaces each digit with character DIGIT_PLACEHOLDER 318 // We do formatting on-the-fly only when each character entered is either a digit, or a plus 416 return Character.isDigit(nextChar) || 418 PhoneNumberUtil.PLUS_CHARS_PATTERN.matcher(Character.toString(nextChar)).matches()); 440 * Returns the current position in the partially formatted phone number of the character which was 628 normalizedChar = Character.forDigit(Character.digit(nextChar, radix), radix) [all...] |
PhoneNumberMatcher.java | 27 import java.lang.Character.UnicodeBlock; 215 * @param text the character sequence that we will search, null for no text 284 * Helper method to determine if a character is a Latin-script letter or not. For our purposes, 286 * Latin character. 291 if (!Character.isLetter(letter) && Character.getType(letter) != Character.NON_SPACING_MARK) { 303 private static boolean isInvalidPunctuationSymbol(char character) { 304 return character == '%' || Character.getType(character) == Character.CURRENCY_SYMBOL [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RenameResourceXmlTextAction.java | 187 // to the following character), back up 233 return c == '@' || c == '?' || c == '/' || c == '+' || Character.isJavaIdentifierPart(c); 293 // to the following character), back up 295 if (Character.isJavaIdentifierPart(c)) { 306 } else if (c != '.' && !Character.isJavaIdentifierPart(c)) { 314 if (c != '.' && !Character.isJavaIdentifierPart(c)) { 315 if (c != '"' && c != '>' && !Character.isWhitespace(c)) {
|
/libcore/libart/src/main/java/java/lang/ |
String.java | 35 * See {@link Character} for details about the relationship between {@code char} and 465 c += Character.toChars(codePoints[i], this.value, c); 522 return Character.toLowerCase(Character.toUpperCase(ch)); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidContentAssist.java | 253 && (Character.isWhitespace(nextChar) || nextChar == '>' || nextChar == '/'); 346 * predicted. This happens because extractElementPrefix() stops when a character that 443 // If the correct prefix contains such a pipe character, we change [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/ |
TextUtilities.java | 54 static final Map<String, Character> ESCAPE_STRINGS; 56 // HTML character entity references as defined in HTML 4 58 ESCAPE_STRINGS = new HashMap<String, Character>(252); 373 // entity to a single character. When Java allows multiple return values, we can make this 377 // Start with space as last character to avoid leading whitespace 389 if (peek == '!' || peek == '-' || peek == '/' || Character.isLetter(peek)) { 426 // We always get back a character to use; we also get back a "skip count", 432 if (Character.isWhitespace(c) || (c == NON_BREAKING_SPACE_CHARACTER)) { 438 // Make every whitespace character a simple space 447 // After all that, maybe we've got a character for our snippe [all...] |
/frameworks/base/core/java/com/google/android/util/ |
AbstractMessageParser.java | 74 private HashMap<Character,Format> formatStart; 106 this.formatStart = new HashMap<Character,Format>(); 139 Character.isWhitespace(text.charAt(3))) { 252 * Looks for a music track (\u266B is first character, everything else is 326 /** Determines if this is an allowable domain character. */ 328 return c == '-' || Character.isLetter(c) || Character.isDigit(c); 388 // also be a punctuation character. 391 if (Character.isDigit(ch)) { 394 Character.isDigit(text.charAt(index))) [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/ |
CheckMethodAdapter.java | 782 * @param start index of the first character of the identifier (inclusive).
783 * @param end index of the last character of the identifier (exclusive). -1
799 if (!Character.isJavaIdentifierStart(name.charAt(start))) {
805 if (!Character.isJavaIdentifierPart(name.charAt(i))) {
827 if (!Character.isJavaIdentifierStart(name.charAt(0))) {
834 if (!Character.isJavaIdentifierPart(name.charAt(i))) {
865 * @param start index of the first character of the identifier (inclusive).
866 * @param end index of the last character of the identifier (exclusive). -1
914 * @param start index of the first character of the identifier (inclusive).
916 * @return the index of the last character of the type decriptor, plus one. [all...] |
/libcore/luni/src/test/java/dalvik/system/ |
JniTest.java | 150 final char[] literals = {Character.MAX_VALUE, Character.MIN_VALUE, 151 Character.MAX_HIGH_SURROGATE, Character.MAX_LOW_SURROGATE, 152 Character.MIN_HIGH_SURROGATE, Character.MIN_LOW_SURROGATE,
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
FusionDictionary.java | 303 final int[] codePoints = new int[Character.codePointCount(characters, 0, length)]; 304 int codePoint = Character.codePointAt(characters, 0); 306 for (int srci = Character.charCount(codePoint); 307 srci < length; srci += Character.charCount(codePoint), ++dsti) { 309 codePoint = Character.codePointAt(characters, srci); 505 * Custom comparison of two int arrays taken to contain character codes. 509 * This method does NOT test for the first character. It is taken to be equal. 512 * strings are equal. This works BECAUSE we don't look at the first character. 546 * Finds the insertion index of a character within a node array. 548 private static int findInsertionIndex(final PtNodeArray nodeArray, int character) { [all...] |
/prebuilts/misc/common/swig/include/2.0.11/gcj/ |
javaprims.i | 110 class Character; 111 class Character$Subset; 112 class Character$UnicodeBlock;
|
/external/tagsoup/templates/org/ccil/cowan/tagsoup/ |
HTMLScanner.java | 51 * Index into the state table for [state][input character - 2]. 53 * { current state, input character, action, next state }. 55 * { current state, input character } and store the result in 58 * characters 0 to the highest character value in the state table. 59 * An input character of -2 is used to cover all other characters 60 * as -2 is guaranteed not to match any input character entry 63 * <p>When doing lookups, the input character should first be tested 65 * if it isn't use -2 as the input character. 67 * <p>Finally, add 2 to the input character to cover for the fact that 77 * The highest character value seen in the statetable [all...] |
/libcore/luni/src/main/java/java/lang/reflect/ |
Array.java | 81 return Character.valueOf(((char[]) array)[index]); 412 } else if (value instanceof Character) { 413 setChar(array, index, ((Character) value).charValue());
|
/packages/apps/Settings/src/com/android/settings/quicklaunch/ |
QuickLaunchSettings.java | 271 char shortcut = (char) Character.toLowerCase(keyMap.getDisplayLabel(keyCode)); 275 if (!Character.isLetterOrDigit(shortcut)) continue; 302 char shortcut = Character.toLowerCase((char) c.getInt(COLUMN_SHORTCUT));
|