/developers/build/prebuilts/gradle/CardEmulation/Application/src/main/java/com/example/android/cardemulation/ |
CardService.java | 125 hexChars[j * 2] = hexArray[v >>> 4]; // Select hex character from upper nibble 126 hexChars[j * 2 + 1] = hexArray[v & 0x0F]; // Select hex character from lower nibble 147 // Convert each character into a integer (base-16), then bit-shift into place 148 data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) 149 + Character.digit(s.charAt(i+1), 16));
|
/developers/samples/android/connectivity/nfc/CardEmulation/Application/src/main/java/com/example/android/cardemulation/ |
CardService.java | 125 hexChars[j * 2] = hexArray[v >>> 4]; // Select hex character from upper nibble 126 hexChars[j * 2 + 1] = hexArray[v & 0x0F]; // Select hex character from lower nibble 147 // Convert each character into a integer (base-16), then bit-shift into place 148 data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) 149 + Character.digit(s.charAt(i+1), 16));
|
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/ |
CardService.java | 125 hexChars[j * 2] = hexArray[v >>> 4]; // Select hex character from upper nibble 126 hexChars[j * 2 + 1] = hexArray[v & 0x0F]; // Select hex character from lower nibble 147 // Convert each character into a integer (base-16), then bit-shift into place 148 data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) 149 + Character.digit(s.charAt(i+1), 16));
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
WidthIterator.cpp | 25 #include "platform/fonts/Character.h" 62 unsigned expansionOpportunityCount = m_run.is8Bit() ? Character::expansionOpportunityCount(m_run.characters8(), m_run.length(), m_run.direction(), isAfterExpansion) : Character::expansionOpportunityCount(m_run.characters16(), m_run.length(), m_run.direction(), isAfterExpansion); 73 GlyphData WidthIterator::glyphDataForCharacter(UChar32 character, bool mirror, int currentCharacter, unsigned& advanceLength) 79 return renderingContext->glyphDataForCharacter(*m_font, m_run, *this, character, mirror, currentCharacter, advanceLength); 82 return m_font->glyphDataForCharacter(character, mirror); 150 UChar32 character = 0; local 153 while (textIterator.consume(character, clusterLength)) { 155 const GlyphData& glyphData = glyphDataForCharacter(character, rtl, textIterator.currentCharacter(), advanceLength); 163 if (character == '\t' && m_run.allowTabs() [all...] |
/external/dexmaker/src/main/java/com/google/dexmaker/ |
Constants.java | 50 } else if (value instanceof Character) { 51 return CstChar.make((Character) value);
|
/external/easymock/src/org/easymock/internal/ |
MethodSerializationWrapper.java | 34 primitiveTypes.put(Character.TYPE.getName(), Character.TYPE);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
EmptyImmutableTableTest.java | 27 private static final ImmutableTable<Character, Integer, String> INSTANCE = 30 @Override Iterable<ImmutableTable<Character, Integer, String>>
|
BstOperationsTest.java | 105 BstModifier<Character, SimpleNode> modifier = EasyMock.createStrictMock(BstModifier.class); 128 BstMutationRule<Character, SimpleNode> mutationRule = 130 BstMutationResult<Character, SimpleNode> mutationResult = 161 BstModifier<Character, SimpleNode> modifier = EasyMock.createStrictMock(BstModifier.class); 167 BstMutationRule<Character, SimpleNode> mutationRule = 169 BstMutationResult<Character, SimpleNode> mutationResult = 197 BstModifier<Character, SimpleNode> modifier = EasyMock.createStrictMock(BstModifier.class); 215 BstMutationRule<Character, SimpleNode> mutationRule = 217 BstMutationResult<Character, SimpleNode> mutationResult = 244 BstModifier<Character, SimpleNode> modifier = EasyMock.createStrictMock(BstModifier.class) [all...] |
BstTesting.java | 38 static final class SimpleNode extends BstNode<Character, SimpleNode> { 39 SimpleNode(Character key, @Nullable SimpleNode left, @Nullable SimpleNode right) { 173 BstModifier<Character, SimpleNode> modifier = new BstModifier<Character, SimpleNode>() { 177 Character key, @Nullable SimpleNode originalEntry) {
|
ListsTest.java | 238 ListTestSuiteBuilder.using(new TestListGenerator<Character>() { 239 @Override public List<Character> create(Object... elements) { 242 chars[i] = (Character) elements[i]; 246 @Override public Character[] createArray(int length) { 247 return new Character[length]; 250 @Override public Iterable<Character> order( 251 List<Character> insertionOrder) { 255 @Override public SampleElements<Character> samples() { 256 return new SampleElements<Character>('a', 'b', 'c', 'd', 'e'); 263 ListTestSuiteBuilder.using(new TestListGenerator<Character>() { [all...] |
/external/smali/smali/src/main/java/org/jf/smali/ |
LiteralTools.java | 67 } else if (Character.digit(byteChars[position], 8) >= 0) { 78 digit = Character.digit(byteChars[position], radix); 137 } else if (Character.digit(shortChars[position], 8) >= 0) { 148 digit = Character.digit(shortChars[position], radix); 201 } else if (Character.digit(intChars[position], 8) >= 0) { 212 digit = Character.digit(intChars[position], radix); 271 } else if (Character.digit(longChars[position], 8) >= 0) { 282 digit = Character.digit(longChars[position], radix);
|
/frameworks/base/core/java/com/android/internal/util/ |
CharSequences.java | 25 * Adapts {@link CharSequence} to an array of ASCII (7-bits per character) 51 * Adapts {@link CharSequence} to an array of ASCII (7-bits per character) 94 * Compares two character sequences for equality. 111 * Compares two character sequences with API like {@link Comparable#compareTo}. 124 if ((result = Character.toLowerCase(me.charAt(myPos++)) 125 - Character.toLowerCase(another.charAt(anotherPos++))) != 0) {
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
Lexer.cs | 37 * A lexer is recognizer that draws input symbols from a character stream. 258 /** <summary>What is the index of the current character of lookahead?</summary> */ 284 msg = "mismatched character " + GetCharErrorDisplay(e.Character) + " expecting " + GetCharErrorDisplay(mte.Expecting); 290 msg = "no viable alternative at character " + GetCharErrorDisplay(e.Character); 294 msg = "required (...)+ loop did not match anything at character " + GetCharErrorDisplay(e.Character); 297 msg = "mismatched character " + GetCharErrorDisplay(e.Character) + " expecting set " + mse.Expecting [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
Lexer.cs | 38 * A lexer is recognizer that draws input symbols from a character stream. 311 /** <summary>What is the index of the current character of lookahead?</summary> */ 342 msg = "mismatched character " + GetCharErrorDisplay( e.Character ) + " expecting " + GetCharErrorDisplay( mte.Expecting ); 350 msg = "no viable alternative at character " + GetCharErrorDisplay( e.Character ); 356 msg = "required (...)+ loop did not match anything at character " + GetCharErrorDisplay( e.Character ); 361 msg = "mismatched character " + GetCharErrorDisplay( e.Character ) + " expecting set " + mse.Expecting [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/ |
SlimLexer.cs | 328 /** <summary>What is the index of the current character of lookahead?</summary> */ 359 msg = "mismatched character " + GetCharErrorDisplay( e.Character ) + " expecting " + GetCharErrorDisplay( mte.Expecting ); 367 msg = "no viable alternative at character " + GetCharErrorDisplay( e.Character ); 373 msg = "required (...)+ loop did not match anything at character " + GetCharErrorDisplay( e.Character ); 378 msg = "mismatched character " + GetCharErrorDisplay( e.Character ) + " expecting set " + mse.Expecting; 383 msg = "mismatched character " + GetCharErrorDisplay( e.Character ) + " expecting set " + mse.Expecting [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
OpenWnnEngineEN.java | 115 if (Character.isLowerCase(c)) { 119 if (Character.isLowerCase(c)) { 120 word.candidate = Character.toString(Character.toUpperCase(c)) + word.candidate.substring(1); 220 if (Character.isUpperCase(input.charAt(0))) { 221 if (input.length() > 1 && Character.isUpperCase(input.charAt(1))) {
|
/external/guava/guava/src/com/google/common/collect/ |
Lists.java | 531 * Character} values. 535 @Beta public static ImmutableList<Character> charactersOf(String string) { 541 extends ImmutableList<Character> { 554 return (object instanceof Character) 555 ? string.indexOf((Character) object) : -1; 559 return (object instanceof Character) 560 ? string.lastIndexOf((Character) object) : -1; 563 @Override public UnmodifiableListIterator<Character> listIterator( 565 return new AbstractIndexedListIterator<Character>(size(), index) { 566 @Override protected Character get(int index) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
Ticker.java | 52 int gc = Character.getType(c); 53 return gc != Character.CONTROL 54 && gc != Character.FORMAT 55 && gc != Character.UNASSIGNED 56 && gc != Character.LINE_SEPARATOR 57 && gc != Character.PARAGRAPH_SEPARATOR 58 && gc != Character.SPACE_SEPARATOR;
|
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
StringUtil.java | 106 * non-whitespace character; {@code null} otherwise. See comment in {@link 131 * @param string the non-null character sequence to look in 132 * @param chars a non-null character sequence containing the set of characters 135 * @param fromIndex the index of the first character to examine in the input 154 * struct if a use-case of very large character sets exists. 156 Set<Character> charSet = Collections.emptySet(); 164 charSet = new HashSet<Character>(); 196 * @param delims the delimiter characters. Each character in the 233 * @param delims the delimiter characters. Each character in the string 270 * (defined by Character.isWhitespace(char), in addition to the character [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
StringUtil.java | 107 * non-whitespace character; {@code null} otherwise. See comment in {@link 132 * @param string the non-null character sequence to look in 133 * @param chars a non-null character sequence containing the set of characters 136 * @param fromIndex the index of the first character to examine in the input 155 * struct if a use-case of very large character sets exists. 157 Set<Character> charSet = Collections.emptySet(); 165 charSet = new HashSet<Character>(); 197 * @param delims the delimiter characters. Each character in the 234 * @param delims the delimiter characters. Each character in the string 271 * (defined by Character.isWhitespace(char), in addition to the character [all...] |
/development/samples/TtsEngine/src/com/example/android/ttsengine/ |
RobotSpeakTtsService.java | 58 private Map<Character, Integer> mFrequenciesMap; 135 Map<Character, Integer> newFrequenciesMap = null; 179 // We then scan through each character of the request string and 197 * Normalizes a given character to the range 'a' - 'z' (inclusive). Our 215 private Map<Character, Integer> buildFrequencyMap(InputStream is) throws IOException { 218 Map<Character, Integer> map = new HashMap<Character, Integer>();
|
/external/apache-harmony/support/src/test/java/tests/util/ |
CallVerificationStack.java | 214 Character value = (Character) wrapper.getValue(); 299 this.value = new Character(val);
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
MessageNanoPrinter.java | 197 out.append(Character.toLowerCase(currentChar)); 198 } else if (Character.isUpperCase(currentChar)) { 199 out.append('_').append(Character.toLowerCase(currentChar));
|
/external/smack/src/org/xbill/DNS/utils/ |
base32.java | 127 c = Character.toLowerCase(c); 154 if (!Character.isWhitespace(c)) { 155 c = Character.toUpperCase(c);
|
/frameworks/base/core/java/android/widget/ |
AlphabetIndexer.java | 77 * @param alphabet string containing the alphabet, with space as the first character. 89 mAlphabetArray[i] = Character.toString(mAlphabet.charAt(i)); 124 * Default implementation compares the first character of word with letter. 170 String targetLetter = Character.toString(letter); 217 // String startingLetter = Character.toString(getFirstLetter(curName)); 264 String targetLetter = Character.toString(letter);
|