Home
last modified time | relevance | path

Searched refs:digit (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/core/java/android/widget/
DDoubleDigitManager.java48 public void reportDigit(int digit) { in reportDigit() argument
50 intermediateDigit = digit; in reportDigit()
61 if (!mCallBack.singleDigitIntermediate(digit)) { in reportDigit()
67 mCallBack.singleDigitFinal(digit); in reportDigit()
69 } else if (mCallBack.twoDigitsFinal(intermediateDigit, digit)) { in reportDigit()
86 boolean singleDigitIntermediate(int digit); in singleDigitIntermediate() argument
95 void singleDigitFinal(int digit); in singleDigitFinal() argument
/frameworks/base/core/java/android/service/autofill/
DLuhnChecksumValidator.java63 final int digit = number.charAt(i) - '0'; in isLuhnChecksumValid() local
64 if (digit < 0 || digit > 9) { in isLuhnChecksumValid()
71 addend = digit * 2; in isLuhnChecksumValid()
76 addend = digit; in isLuhnChecksumValid()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dtokenizer.cc154 inline int DigitValue(char digit) { in DigitValue() argument
155 if ('0' <= digit && digit <= '9') return digit - '0'; in DigitValue()
156 if ('a' <= digit && digit <= 'z') return digit - 'a' + 10; in DigitValue()
157 if ('A' <= digit && digit <= 'Z') return digit - 'A' + 10; in DigitValue()
883 int digit = DigitValue(*ptr); in ParseInteger() local
884 if (digit < 0 || digit >= base) { in ParseInteger()
889 if (digit > max_value || result > (max_value - digit) / base) { in ParseInteger()
893 result = result * base + digit; in ParseInteger()
/frameworks/base/core/java/com/android/internal/util/
DProcFileReader.java195 final int digit = mBuffer[i] - '0'; in parseAndConsumeLong() local
196 if (digit < 0 || digit > 9) { in parseAndConsumeLong()
202 final long next = result * 10 - digit; in parseAndConsumeLong()
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DQuotedPrintable.java53 int u = Character.digit((char) bytes[++i], 16); in decodeQuotedPrintable()
54 int l = Character.digit((char) bytes[++i], 16); in decodeQuotedPrintable()
/frameworks/opt/net/ike/tests/iketests/src/java/com/android/ike/ikev2/message/
DTestUtils.java37 ((Character.digit(hexString.charAt(i), 16) << 4) in hexStringToByteArray()
38 + Character.digit(hexString.charAt(i + 1), 16)); in hexStringToByteArray()
/frameworks/compile/slang/tests/F_bad_version_pragma/
Dstderr.txt.expect4 bad_version_pragma.rs:4:18: error: invalid digit 'a' in decimal constant
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java253 int digit = Character.digit(c, 10); in extractNetworkPortion() local
254 if (digit != -1) { in extractNetworkPortion()
255 ret.append(digit); in extractNetworkPortion()
324 int digit = Character.digit(c, 10); in stripSeparators() local
325 if (digit != -1) { in stripSeparators()
326 ret.append(digit); in stripSeparators()
1681 int digit = Character.digit(c, 10); in normalizeNumber() local
1682 if (digit != -1) { in normalizeNumber()
1683 sb.append(digit); in normalizeNumber()
1702 int digit = Character.digit(c, 10); in replaceUnicodeDigits() local
[all …]
/frameworks/base/telecomm/java/android/telecom/
DInCallAdapter.java175 public void playDtmfTone(String callId, char digit) { in playDtmfTone() argument
177 mAdapter.playDtmfTone(callId, digit); in playDtmfTone()
DRemoteConference.java492 public void playDtmfTone(char digit) { in playDtmfTone() argument
494 mConnectionService.playDtmfTone(mId, digit, null /*Session.Info*/); in playDtmfTone()
DConnectionService.java466 public void playDtmfTone(String callId, char digit, Session.Info sessionInfo) {
470 args.arg1 = digit;
1739 private void playDtmfTone(String callId, char digit) { in playDtmfTone() argument
1740 Log.d(this, "playDtmfTone %s %c", callId, digit); in playDtmfTone()
1742 findConnectionForAction(callId, "playDtmfTone").onPlayDtmfTone(digit); in playDtmfTone()
1744 findConferenceForAction(callId, "playDtmfTone").onPlayDtmfTone(digit); in playDtmfTone()
/frameworks/native/libs/input/
DKeyCharacterMap.cpp1121 char16_t digit = 0; in finishKey() local
1127 digit = ch; in finishKey()
1135 key->number = digit ? digit : symbol; in finishKey()
1207 int digit; in parseCharacterLiteral() local
1209 digit = ch - '0'; in parseCharacterLiteral()
1211 digit = ch - 'A' + 10; in parseCharacterLiteral()
1213 digit = ch - 'a' + 10; in parseCharacterLiteral()
1217 *outCharacter = (*outCharacter << 4) | digit; in parseCharacterLiteral()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/
Darith.js297 var digit = parseInt(s[i], 10);
298 digit64.lo = digit;
Dutils.js494 function emit(digit) { argument
498 var decimalDigit = ((digit / temp) % 10) >>> 0;
/frameworks/base/telecomm/java/com/android/internal/telecom/
DIInCallAdapter.aidl47 void playDtmfTone(String callId, char digit); in playDtmfTone() argument
DIConnectionService.aidl79 void playDtmfTone(String callId, char digit, in Session.Info sessionInfo); in playDtmfTone() argument
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dstrutil.cc711 int digit = c - '0'; in safe_parse_positive_int() local
712 if (digit >= base || digit < 0) { in safe_parse_positive_int()
721 if (value > vmax - digit) { in safe_parse_positive_int()
725 value += digit; in safe_parse_positive_int()
752 int digit = c - '0'; in safe_parse_negative_int() local
753 if (digit >= base || digit < 0) { in safe_parse_negative_int()
762 if (value < vmin + digit) { in safe_parse_negative_int()
766 value -= digit; in safe_parse_negative_int()
/frameworks/base/tests/JankBench/scripts/external/
Dstatistics.py264 for digit in digits:
265 num = num*10 + digit
/frameworks/base/media/java/android/mtp/
DMtpServer.java76 if (Character.digit(strRandomId.charAt(ii), 16) == -1) { in MtpServer()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java102 data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) + Character.digit( in hexToBytes()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneFilterTypeAdapter.java374 num = Character.digit(ch, 10); in parseNum()
381 num = 10 * num + Character.digit(ch, 10); in parseNum()
/frameworks/base/wifi/java/android/net/wifi/
DWifiSsid.java136 val = Character.digit(asciiEncoded.charAt(i), HEX_RADIX); in convertToBytes()
/frameworks/opt/telephony/proto/src/
DcarrierId.proto59 // decimal format. Some digits can be replaced with "x" symbols matching any digit.
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java875 int digit = value / divisor; in append()
876 value -= digit * divisor; in append()
878 chars[index++] = (char) (digit + '0'); in append()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java671 boolean digit = false; in splitAndParseNumbers()
678 if (!digit) { in splitAndParseNumbers()
679 digit = true; in splitAndParseNumbers()
683 digit = false; in splitAndParseNumbers()
693 if (!digit) { in splitAndParseNumbers()
694 digit = true; in splitAndParseNumbers()
701 if (digit) { in splitAndParseNumbers()
702 digit = false; in splitAndParseNumbers()

12