Home
last modified time | relevance | path

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

/frameworks/base/tools/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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DRuimRecords.java204 private int adjstMinDigits (int digits) { in adjstMinDigits() argument
206 digits += 111; in adjstMinDigits()
207 digits = (digits % 10 == 0)?(digits - 10):digits; in adjstMinDigits()
208 digits = ((digits / 10) % 10 == 0)?(digits - 100):digits; in adjstMinDigits()
209 digits = ((digits / 100) % 10 == 0)?(digits - 1000):digits; in adjstMinDigits()
210 return digits; in adjstMinDigits()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
DCdmaSmsAddress.java118 int digits = address.length(); in parseToDtmf() local
119 byte[] result = new byte[digits]; in parseToDtmf()
120 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/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/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/base/docs/html/guide/topics/resources/
Dmultilingual-support.jd227 but some prefer ASCII digits, while others prefer native digits. For example,
/frameworks/base/docs/html/google/play/publishing/
Dmultiple-apks.jd515 <p>We suggest using a version code with at least 7 digits: integers that represent
521 two digits are reserved for the API Level (4 and 11, respectively), the middle two digits are for
522 either screen sizes or GL texture formats (not used in these examples), and the last three digits
528 using the first two digits for the API Level, the second and third digits for the minimum and
530 and the last three digits for the app version.</p>
/frameworks/data-binding/compilerCommon/
DBindingExpression.g4437 : [a-zA-Z0-9$_] // these are the "java letters or digits" below 0xFF
/frameworks/base/docs/html/guide/topics/manifest/
Duses-configuration-element.jd97 phones &mdash; with keys for the digits from {@code 0} through
/frameworks/base/docs/html/guide/topics/admin/
Ddevice-admin.jd164 <td>Minimum numerical digits required in password</td>
165 …<td>The minimum number of numerical digits required in the password for all admins or a particular…
/frameworks/base/docs/html/training/multiple-apks/
Dapi.jd293 dimensions, it would be sufficient to separate each APK by 1000, set the first couple digits to the
Dmultiple.jd343 APKs, we’d use two digits to represent the minSDK, two to represent the min/max screen size, and 3
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java1593 private byte[] hexToByteArray(String digits) { in hexToByteArray() argument
1594 final int bytes = digits.length() / 2; in hexToByteArray()
1595 if (2*bytes != digits.length()) { in hexToByteArray()
1600 for (int i = 0; i < digits.length(); i += 2) { in hexToByteArray()
1601 result[i/2] = (byte) Integer.parseInt(digits.substring(i, i+2), 16); in hexToByteArray()
/frameworks/base/core/java/android/widget/
DTextView.java842 CharSequence digits = null; in TextView() local
882 digits = a.getText(attr); in TextView()
1253 } else if (digits != null) { in TextView()
1255 mEditor.mKeyListener = DigitsKeyListener.getInstance(digits.toString()); in TextView()
/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.txt468 field public static final int digits = 16843110; // 0x1010166
39548 field public static final java.lang.String ARG_DIGITS = "android.arg.digits";
39603 field public static final java.lang.String TYPE_DIGITS = "android.type.digits";
Dsystem-current.txt575 field public static final int digits = 16843110; // 0x1010166
42725 field public static final java.lang.String ARG_DIGITS = "android.arg.digits";
42780 field public static final java.lang.String TYPE_DIGITS = "android.type.digits";
Dtest-current.txt468 field public static final int digits = 16843110; // 0x1010166
39634 field public static final java.lang.String ARG_DIGITS = "android.arg.digits";
39689 field public static final java.lang.String TYPE_DIGITS = "android.type.digits";