Searched refs:radix (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
D | IntegralToString.java | 117 public static String intToString(int i, int radix) { in intToString() argument 118 if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) { in intToString() 119 radix = 10; in intToString() 121 if (radix == 10) { in intToString() 138 int bufLen = radix < 8 ? 33 : 12; // Max chars in result (conservative) in intToString() 143 int q = i / radix; in intToString() 144 buf[--cursor] = DIGITS[radix * q - i]; in intToString() 246 public static String longToString(long v, int radix) { 249 return intToString(i, radix); 252 if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) { [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 456 int radix; in computeTypedValue() 461 radix = TypedValue.COMPLEX_RADIX_23p0; in computeTypedValue() 465 radix = TypedValue.COMPLEX_RADIX_0p23; in computeTypedValue() 469 radix = TypedValue.COMPLEX_RADIX_8p15; in computeTypedValue() 473 radix = TypedValue.COMPLEX_RADIX_16p7; in computeTypedValue() 477 radix = TypedValue.COMPLEX_RADIX_23p0; in computeTypedValue() 486 (radix<<TypedValue.COMPLEX_RADIX_SHIFT) in computeTypedValue()
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
D | BridgeResources.java | 429 int radix = 10; in getInteger() local 432 radix = 16; in getInteger() 435 return Integer.parseInt(v, radix); in getInteger()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbSettingsManager.java | 167 int radix = 10; in read() local 171 radix = 16; in read() 175 intValue = Integer.parseInt(value, radix); in read()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 4514 uint32_t radix; in stringToFloat() local 4519 radix = Res_value::COMPLEX_RADIX_23p0; in stringToFloat() 4523 radix = Res_value::COMPLEX_RADIX_0p23; in stringToFloat() 4527 radix = Res_value::COMPLEX_RADIX_8p15; in stringToFloat() 4531 radix = Res_value::COMPLEX_RADIX_16p7; in stringToFloat() 4535 radix = Res_value::COMPLEX_RADIX_23p0; in stringToFloat() 4544 (radix<<Res_value::COMPLEX_RADIX_SHIFT) in stringToFloat()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 5441 long extractRadix(byte[] data, int offset, int maxChars, int radix) in extractRadix() argument 5449 if (b < '0' || b > ('0' + radix - 1)) { in extractRadix() 5451 + "' for radix " + radix); in extractRadix() 5453 value = radix * value + (b - '0'); in extractRadix() 6729 long extractRadix(byte[] data, int offset, int maxChars, int radix) in extractRadix() argument 6737 if (b < '0' || b > ('0' + radix - 1)) { in extractRadix() 6738 … throw new IOException("Invalid number in header: '" + (char)b + "' for radix " + radix); in extractRadix() 6740 value = radix * value + (b - '0'); in extractRadix()
|
/frameworks/base/api/ |
D | system-current.txt | 51305 method public int radix();
|
D | current.txt | 48776 method public int radix();
|