Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
DIntegralToString.java97 private static final char[] DIGITS = { field in IntegralToString
144 buf[--cursor] = DIGITS[radix * q - i]; in intToString()
227 buf[--cursor] = DIGITS[r];
278 buf[--cursor] = DIGITS[(int) (radix * q - v)];
368 buf[--cursor] = DIGITS[midDigit];
415 buf[--cursor] = DIGITS[r]; in intIntoCharArray()
427 buf[--cursor] = DIGITS[i & 1]; in intToBinaryString()
444 buf[--cursor] = DIGITS[((int) v) & 1]; in longToBinaryString()
451 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; in appendByteAsHex()
458 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; in byteToHexString()
[all …]
/frameworks/base/core/java/android/database/
DDatabaseUtils.java426 private static final char[] DIGITS = { field in DatabaseUtils
437 out[j++] = DIGITS[(0xF0 & input[i]) >>> 4 ]; in encodeHex()
438 out[j++] = DIGITS[ 0x0F & input[i] ]; in encodeHex()