Home
last modified time | relevance | path

Searched refs:digits (Results 1 – 20 of 20) sorted by relevance

/frameworks/layoutlib/create/src/com/android/tools/layoutlib/java/
DIntegralToString.java451 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; in appendByteAsHex() local
452 sb.append(digits[(b >> 4) & 0xf]); in appendByteAsHex()
453 sb.append(digits[b & 0xf]); in appendByteAsHex()
458 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; in byteToHexString() local
460 buf[0] = digits[(b >> 4) & 0xf]; in byteToHexString()
461 buf[1] = digits[b & 0xf]; in byteToHexString()
466 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; in bytesToHexString() local
470 buf[c++] = digits[(b >> 4) & 0xf]; in bytesToHexString()
471 buf[c++] = digits[b & 0xf]; in bytesToHexString()
481 char[] digits = upperCase ? UPPER_CASE_DIGITS : DIGITS; in intToHexString() local
[all …]
/frameworks/base/core/java/com/android/internal/util/
DHexDump.java117 char[] digits = upperCase ? HEX_DIGITS : HEX_LOWER_CASE_DIGITS; in toHexString() local
124 buf[bufIndex++] = digits[(b >>> 4) & 0x0F]; in toHexString()
125 buf[bufIndex++] = digits[b & 0x0F]; in toHexString()
178 char[] digits = upperCase ? HEX_DIGITS : HEX_LOWER_CASE_DIGITS; in appendByteAsHex() local
179 sb.append(digits[(b >> 4) & 0xf]); in appendByteAsHex()
180 sb.append(digits[b & 0xf]); in appendByteAsHex()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DPasswordUtils.java87 public static byte[] hexToByteArray(String digits) { in hexToByteArray() argument
88 final int bytes = digits.length() / 2; in hexToByteArray()
89 if (2 * bytes != digits.length()) { in hexToByteArray()
94 for (int i = 0; i < digits.length(); i += 2) { in hexToByteArray()
95 result[i / 2] = (byte) Integer.parseInt(digits.substring(i, i + 2), 16); in hexToByteArray()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DRuimRecords.java206 private int adjstMinDigits (int digits) { in adjstMinDigits() argument
208 digits += 111; in adjstMinDigits()
209 digits = (digits % 10 == 0)?(digits - 10):digits; in adjstMinDigits()
210 digits = ((digits / 10) % 10 == 0)?(digits - 100):digits; in adjstMinDigits()
211 digits = ((digits / 100) % 10 == 0)?(digits - 1000):digits; in adjstMinDigits()
212 return digits; in adjstMinDigits()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DSmsMessageConverter.java101 count = (byte) cdmaSmsMessage.address.digits.size(); in newCdmaSmsMessageFromRil()
105 data[index] = cdmaSmsMessage.address.digits.get(index); in newCdmaSmsMessageFromRil()
117 count = (byte) cdmaSmsMessage.subAddress.digits.size(); in newCdmaSmsMessageFromRil()
128 data[index] = cdmaSmsMessage.subAddress.digits.get(index); in newCdmaSmsMessageFromRil()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaSmsAddress.java119 int digits = address.length(); in parseToDtmf() local
120 byte[] result = new byte[digits]; in parseToDtmf()
121 for (int i = 0; i < digits; i++) { in parseToDtmf()
DBearerData.java742 int digits = address.length(); in encodeDtmfSmsAddress() local
743 int dataBits = digits * 4; in encodeDtmfSmsAddress()
747 for (int i = 0; i < digits; i++) { in encodeDtmfSmsAddress()
/frameworks/base/core/java/android/text/method/
DNumberKeyListener.java157 final String[] digits = DecimalFormatSymbols.getInstance(locale).getDigitStrings(); in addDigits() local
159 if (digits[i].length() > 1) { // multi-codeunit digits. Not supported. in addDigits()
162 collection.add(Character.valueOf(digits[i].charAt(0))); in addDigits()
/frameworks/base/core/java/android/text/style/
DTtsSpan.java1442 public DigitsBuilder(String digits) { in DigitsBuilder() argument
1444 setDigits(digits); in DigitsBuilder()
1452 public DigitsBuilder setDigits(String digits) { in setDigits() argument
1453 return setStringArgument(TtsSpan.ARG_DIGITS, digits); in setDigits()
/frameworks/base/tests/JankBench/scripts/external/
Dstatistics.py259 sign, digits, exp = d.as_tuple()
264 for digit in digits:
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTextViewBindingAdapter.java115 public static void setDigits(TextView view, CharSequence digits) { in setDigits() argument
116 if (digits != null) { in setDigits()
117 view.setKeyListener(DigitsKeyListener.getInstance(digits.toString())); in setDigits()
/frameworks/opt/telephony/proto/src/
DcarrierId.proto54 // decimal format. Some digits can be replaced with "x" symbols matching any digit.
/frameworks/native/libs/math/include/math/
Dhalf.h184 static constexpr const int digits = 11;
/frameworks/base/core/java/android/widget/
DTimePickerClockDelegate.java335 final String[] digits = DecimalFormatSymbols.getInstance(mLocale).getDigitStrings(); in updateHourFormat() local
338 maxCharLength = Math.max(maxCharLength, digits[i].length()); in updateHourFormat()
/frameworks/data-binding/compilerCommon/
DBindingExpression.g4459 : [a-zA-Z0-9$_] // these are the "java letters or digits" below 0xFF
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java2523 msg.address.digits.add(dis.readByte()); // address_orig_bytes[i] in constructCdmaSendSmsRilRequest()
2529 msg.subAddress.digits.add(dis.readByte()); //subaddr_orig_bytes[i] in constructCdmaSendSmsRilRequest()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt482 field public static final int digits = 16843110; // 0x1010166
30761 field public static final java.lang.String ARG_DIGITS = "android.arg.digits";
30816 field public static final java.lang.String TYPE_DIGITS = "android.type.digits";
/frameworks/base/api/
Dcurrent.txt503 field public static final int digits = 16843110; // 0x1010166
44442 field public static final java.lang.String ARG_DIGITS = "android.arg.digits";
44497 field public static final java.lang.String TYPE_DIGITS = "android.type.digits";
/frameworks/base/config/
Dhiddenapi-public-dex.txt35896 Landroid/R$attr;->digits:I