Home
last modified time | relevance | path

Searched refs:digit (Results 1 – 25 of 34) 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/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/base/telephony/common/com/google/android/mms/pdu/
DQuotedPrintable.java56 int u = Character.digit((char) bytes[++i], 16); in decodeQuotedPrintable()
57 int l = Character.digit((char) bytes[++i], 16); in decodeQuotedPrintable()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java286 int digit = Character.digit(c, 10); in extractNetworkPortion() local
287 if (digit != -1) { in extractNetworkPortion()
288 ret.append(digit); in extractNetworkPortion()
357 int digit = Character.digit(c, 10); in stripSeparators() local
358 if (digit != -1) { in stripSeparators()
359 ret.append(digit); in stripSeparators()
1715 int digit = Character.digit(c, 10); in normalizeNumber() local
1716 if (digit != -1) { in normalizeNumber()
1717 sb.append(digit); in normalizeNumber()
1736 int digit = Character.digit(c, 10); in replaceUnicodeDigits() local
[all …]
/frameworks/compile/slang/tests/F_bad_version_pragma/
Dstderr.txt.expect4 bad_version_pragma.rscript:4:18: error: invalid digit 'a' in decimal constant
/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/base/telecomm/java/android/telecom/
DInCallAdapter.java238 public void playDtmfTone(String callId, char digit) { in playDtmfTone() argument
240 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()
DRemoteConnection.java993 public void playDtmfTone(char digit) { in playDtmfTone() argument
996 mConnectionService.playDtmfTone(mConnectionId, digit, null /*Session.Info*/); in playDtmfTone()
DConnectionService.java587 public void playDtmfTone(String callId, char digit, Session.Info sessionInfo) {
591 args.arg1 = digit;
2167 private void playDtmfTone(String callId, char digit) { in playDtmfTone() argument
2168 Log.d(this, "playDtmfTone %s %c", callId, digit); in playDtmfTone()
2170 findConnectionForAction(callId, "playDtmfTone").onPlayDtmfTone(digit); in playDtmfTone()
2172 findConferenceForAction(callId, "playDtmfTone").onPlayDtmfTone(digit); in playDtmfTone()
DCall.java1688 public void playDtmfTone(char digit) { in playDtmfTone() argument
1689 mInCallAdapter.playDtmfTone(mTelecomCallId, digit); in playDtmfTone()
/frameworks/base/tests/JankBench/scripts/external/
Dstatistics.py264 for digit in digits:
265 num = num*10 + digit
/frameworks/base/telecomm/java/com/android/internal/telecom/
DIInCallAdapter.aidl57 void playDtmfTone(String callId, char digit); in playDtmfTone() argument
DIConnectionService.aidl100 void playDtmfTone(String callId, char digit, in Session.Info sessionInfo); in playDtmfTone() argument
/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/media/java/android/mtp/
DMtpServer.java77 if (Character.digit(strRandomId.charAt(ii), 16) == -1) { in MtpServer()
/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/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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1769 int digit = Character.digit(hexChar, 16); in toDigit() local
1770 if (digit == -1) { in toDigit()
1773 return digit; in toDigit()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java905 int digit = value / divisor; in append()
906 value -= digit * divisor; in append()
908 chars[index++] = (char) (digit + '0'); in append()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardUtils.java70 int u = Character.digit((char) bytes[++i], 16); in decodeQuotedPrintable()
71 int l = Character.digit((char) bytes[++i], 16); in decodeQuotedPrintable()
/frameworks/base/core/java/android/text/method/
DQwertyKeyListener.java148 Character.digit(content.charAt(start - 1), 16) >= 0) { in onKeyDown()

12