Home
last modified time | relevance | path

Searched refs:codepoint (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1BMPString.java133 int codepoint = Character.codePointAt(value, position); in encodeCharactersPer() local
134 Preconditions.checkState(codepoint <= 0xFFFF, in encodeCharactersPer()
137 result.appendByte((byte) ((codepoint & 0xFF00) >> 8)); in encodeCharactersPer()
138 result.appendByte((byte) (codepoint & 0xFF)); in encodeCharactersPer()
140 position += Character.charCount(codepoint); in encodeCharactersPer()
193 int codepoint = (reader.readByte() & 0xFF) << 8; in decodeCharactersPer() local
194 codepoint += reader.readByte() & 0xFF; in decodeCharactersPer()
195 builder.append(Character.toChars(codepoint)); in decodeCharactersPer()
/cts/tests/tests/text/src/android/text/cts/
DMyanmarTest.java108 int codepoint = UNICODE_CORRECT_ORDER.codePointAt(index); in testShouldHaveGlyphs() local
110 assertTrue("Should have glyph for " + Integer.toHexString(codepoint), in testShouldHaveGlyphs()
111 paint.hasGlyph(new String(Character.toChars(codepoint)))); in testShouldHaveGlyphs()
113 index += Character.charCount(codepoint); in testShouldHaveGlyphs()