/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
Character_UnicodeBlockTest.java | 26 @TestTargetClass(Character.UnicodeBlock.class) 36 assertEquals(Character.UnicodeBlock.BASIC_LATIN, Character.UnicodeBlock.of((char)0x0)); 37 assertEquals(Character.UnicodeBlock.BASIC_LATIN, Character.UnicodeBlock.of((char)0x7f)); 38 assertEquals(Character.UnicodeBlock.LATIN_1_SUPPLEMENT, Character.UnicodeBlock.of((char)0x80)); 39 assertEquals(Character.UnicodeBlock.LATIN_1_SUPPLEMENT, Character.UnicodeBlock.of((char)0xff)); 40 assertEquals(Character.UnicodeBlock.LATIN_EXTENDED_A, Character.UnicodeBlock.of((char)0x100)) [all...] |
CharacterTest.java | 30 @TestTargetClass(Character.class) 42 Character e = new Character(c); 43 Character a = Character.valueOf(c); 47 for (int c = 512; c <= Character.MAX_VALUE; c++) { 48 assertEquals(new Character((char) c), Character.valueOf((char) c)); 58 assertFalse(Character.isValidCodePoint(-1)); 59 assertTrue(Character.isValidCodePoint(0)) [all...] |
CharacterImplTest.java | 27 @TestTargetClass(Character.class) 45 Character e = new Character(c); 46 Character a = Character.valueOf(c); 50 assertSame(Character.valueOf(c), Character.valueOf(c)); 53 for (int c = '\u0512'; c <= Character.MAX_VALUE; c++) { 54 assertEquals(new Character((char) c), Character.valueOf((char) c)) [all...] |
Character_SubsetTest.java | 27 @TestTargetClass(Character.Subset.class) 31 * @tests java.lang.Character.Subset#Character.Subset(java.lang.String) 43 new Character.Subset(null) { 51 * @tests java.lang.Character.Subset#toString() 62 Character.Subset subset = new Character.Subset(name) { 75 Character.Subset subset1 = new Character.Subset("name") { }; 77 assertFalse(subset1.equals(new Character.Subset("name") {})); [all...] |
/dalvik/libcore/luni/src/main/java/java/lang/ |
CaseMapper.java | 65 newCh = Character.toLowerCase(ch); 99 if (!(Character.isLowerCase(previous) || Character.isUpperCase(previous) || Character.isTitleCase(previous))) { 106 if (Character.isLowerCase(next) || Character.isUpperCase(next) || Character.isTitleCase(next)) {
|
/dalvik/dx/src/com/android/dx/util/ |
Hex.java | 39 result[15 - i] = Character.forDigit((int) v & 0x0f, 16); 55 result[7 - i] = Character.forDigit(v & 0x0f, 16); 71 result[5 - i] = Character.forDigit(v & 0x0f, 16); 87 result[3 - i] = Character.forDigit(v & 0x0f, 16); 119 result[1 - i] = Character.forDigit(v & 0x0f, 16); 135 result[0] = Character.forDigit(v & 0x0f, 16); 156 result[16 - i] = Character.forDigit((int) v & 0x0f, 16); 180 result[8 - i] = Character.forDigit(v & 0x0f, 16); 204 result[4 - i] = Character.forDigit(v & 0x0f, 16); 228 result[2 - i] = Character.forDigit(v & 0x0f, 16) [all...] |
/external/guava/src/com/google/common/primitives/ |
Chars.java | 38 * already found in either {@link Character} or {@link Arrays}. 51 public static final int BYTES = Character.SIZE / Byte.SIZE; 55 * {@code ((Character) value).hashCode()}. 70 * Character#MAX_VALUE} or less than {@link Character#MIN_VALUE} 83 * {@code char} type, {@link Character#MAX_VALUE} if it is too large, 84 * or {@link Character#MIN_VALUE} if it is too small 87 if (value > Character.MAX_VALUE) { 88 return Character.MAX_VALUE; 90 if (value < Character.MIN_VALUE) [all...] |
/dalvik/libcore/luni/src/main/java/java/net/ |
URIEncoderDecoder.java | 60 int d1 = Character.digit(s.charAt(i + 1), 16); 61 int d2 = Character.digit(s.charAt(i + 2), 16); 74 && !Character.isSpaceChar(ch) && !Character 122 || (ch > 127 && !Character.isSpaceChar(ch) && !Character 197 int d1 = Character.digit(s.charAt(i + 1), 16); 198 int d2 = Character.digit(s.charAt(i + 2), 16);
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
QuotedPrintable.java | 53 int u = Character.digit((char) bytes[++i], 16); 54 int l = Character.digit((char) bytes[++i], 16);
|
/dalvik/libcore/luni/src/main/java/java/util/ |
IllegalFormatCodePointException.java | 23 * Unicode code point (defined by {@link Character#isValidCodePoint(int)}) is 63 char[] chars = Character.toChars(c);
|
/frameworks/base/awt/java/awt/im/ |
InputSubset.java | 29 public final class InputSubset extends Character.Subset {
|
InputContext.java | 77 public void setCharacterSubsets(Character.Subset[] subsets) {
|
/frameworks/base/core/java/android/text/ |
StaticLayout.java | 261 if (chdirs[i] == Character.DIRECTIONALITY_RIGHT_TO_LEFT) { 266 Character.DIRECTIONALITY_RIGHT_TO_LEFT) 364 int emoji = Character.codePointAt(chs, j - start); 429 (j - 1 < here || !Character.isDigit(chs[j - 1 - start])) && 430 (j + 1 >= next || !Character.isDigit(chs[j + 1 - start]))) || 432 (j + 1 >= next || !Character.isDigit(chs[j + 1 - start]))) || 642 if (d == Character.DIRECTIONALITY_LEFT_TO_RIGHT) { 646 if (d == Character.DIRECTIONALITY_RIGHT_TO_LEFT) { 654 Character.DIRECTIONALITY_LEFT_TO_RIGHT : 655 Character.DIRECTIONALITY_RIGHT_TO_LEFT [all...] |
/dalvik/libcore/text/src/main/java/java/text/ |
DecimalFormatSymbols.java | 180 * Returns the character which represents the decimal point in a number. 182 * @return the decimal separator character. 189 * Returns the character which represents a single digit in a format 192 * @return the digit pattern character. 199 * Returns the character used as the thousands separator in a number. 201 * @return the thousands separator character. 217 * Returns the minus sign character. 219 * @return the minus sign as a character. 226 * Returns the character which represents the decimal point in a monetary 229 * @return the monetary decimal point as a character [all...] |
/external/apache-http/src/org/apache/commons/codec/net/ |
QuotedPrintableCodec.java | 35 * printable characters in the ASCII character set. It encodes the data in such a way that the resulting octets are 38 * to ensure the integrity of the data should the message pass through a character- translating, and/or line-wrapping 116 char hex1 = Character.toUpperCase(Character.forDigit((b >> 4) & 0xF, 16)); 117 char hex2 = Character.toUpperCase(Character.forDigit(b & 0xF, 16)); 182 int u = Character.digit((char) bytes[++i], 16); 183 int l = Character.digit((char) bytes[++i], 16);
|
URLCodec.java | 133 char hex1 = Character.toUpperCase( 134 Character.forDigit((b >> 4) & 0xF, 16)); 135 char hex2 = Character.toUpperCase( 136 Character.forDigit(b & 0xF, 16)); 167 int u = Character.digit((char)bytes[++i], 16); 168 int l = Character.digit((char)bytes[++i], 16);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
ATResponseParser.java | 136 if (!Character.isWhitespace(c)) { 157 while (next < len && Character.isWhitespace(c)) { 161 if (Character.isWhitespace(c)) {
|
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/ |
Output.java | 23 * An {@link Output} objects is an helper to write to a character stream {@link Writer}. 60 * Writes a single character to the writer. 62 * @param c The character to write. 65 write(Character.toString(c));
|
/frameworks/base/awt/java/awt/im/spi/ |
InputMethod.java | 59 public void setCharacterSubsets(Character.Subset[] subsets);
|
/packages/apps/Settings/src/com/android/settings/quicklaunch/ |
ShortcutPreference.java | 146 if (Character.isDigit(mShortcut) && Character.isLetter(other)) return 1; 147 else if (Character.isDigit(other) && Character.isLetter(mShortcut)) return -1;
|
/external/apache-http/src/org/apache/commons/codec/language/ |
RefinedSoundex.java | 63 * provide an internationalized mapping for a non-Western character set. 67 * a given character 134 * Returns the mapping code for a given character. The mapping codes are 140 * @return A character (really a numeral) to return for the given char 143 if (!Character.isLetter(c)) { 146 return this.soundexMapping[Character.toUpperCase(c) - 'A'];
|
/external/proguard/src/proguard/obfuscate/ |
DictionaryNameFactory.java | 64 // Read the next character. 67 // Is it a valid identifier character? 70 Character.isJavaIdentifierStart((char)c) : 71 Character.isJavaIdentifierPart((char)c)))
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
WordComposer.java | 89 if (Character.isUpperCase((char) primaryCode)) mCapsCount++; 96 * @param primaryCode the preferred character 115 if (Character.isUpperCase(last)) mCapsCount--; 131 // c = Character.toUpperCase(c); 168 * Returns true if more than one character is upper case, otherwise returns false.
|
/dalvik/libcore/xml/src/test/java/org/kxml2/io/ |
KXmlSerializerTest.java | 51 final String s = Character.toString((char) ch); 69 final String s = Character.toString((char) ch); 87 final String s = Character.toString((char) ch);
|
/external/apache-http/src/org/apache/http/message/ |
BasicTokenIterator.java | 210 * @param start the index of the first token character 211 * @param end the index after the last token character 251 ("Invalid character before token (pos " + from + 306 ("Invalid character after token (pos " + from + 320 * @param from the position of the first character of the token 322 * @return the position after the last character of the token. 324 * point to a token character in the current header value. 343 * Checks whether a character is a token separator. 346 * also separate tokens, but that is not a character check. 348 * @param ch the character to chec [all...] |