Home
last modified time | relevance | path

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

12

/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.cpp86 void RefreshRateOverlay::SevenSegmentDrawer::drawDigit(int digit, int left, const half4& color, in drawDigit() argument
89 if (digit < 0 || digit > 9) return; in drawDigit()
91 if (digit == 0 || digit == 2 || digit == 3 || digit == 5 || digit == 6 || digit == 7 || in drawDigit()
92 digit == 8 || digit == 9) in drawDigit()
94 if (digit == 0 || digit == 4 || digit == 5 || digit == 6 || digit == 8 || digit == 9) in drawDigit()
96 if (digit == 0 || digit == 1 || digit == 2 || digit == 3 || digit == 4 || digit == 7 || in drawDigit()
97 digit == 8 || digit == 9) in drawDigit()
99 if (digit == 2 || digit == 3 || digit == 4 || digit == 5 || digit == 6 || digit == 8 || in drawDigit()
100 digit == 9) in drawDigit()
102 if (digit == 0 || digit == 2 || digit == 6 || digit == 8) in drawDigit()
[all …]
DRefreshRateOverlay.h62 static void drawDigit(int digit, int left, const half4& color,
/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/opt/telephony/src/java/com/android/internal/telephony/d2d/
DDtmfTransport.java347 public void onDtmfReceived(char digit) { in onDtmfReceived() argument
348 if (!(digit >= 'A' && digit <= 'D')) { in onDtmfReceived()
355 mProbeDigits.append(digit); in onDtmfReceived()
358 if (digit == DTMF_MESSAGE_DELIMITER) { in onDtmfReceived()
363 handleReceivedDigit(digit); in onDtmfReceived()
460 private void handleReceivedDigit(char digit) { in handleReceivedDigit() argument
462 if (digit == DTMF_MESSAGE_START) { in handleReceivedDigit()
464 Log.i(this, "handleReceivedDigit: digit = %c ; message timeout started.", digit); in handleReceivedDigit()
469 digit); in handleReceivedDigit()
471 } else if (digit == DTMF_MESSAGE_DELIMITER) { in handleReceivedDigit()
[all …]
DDtmfAdapter.java32 void sendDtmf(char digit); in sendDtmf() 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.java210 final int digit = mBuffer[i] - '0'; in parseAndConsumeLong() local
211 if (digit < 0 || digit > 9) { in parseAndConsumeLong()
221 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.java287 int digit = Character.digit(c, 10); in extractNetworkPortion() local
288 if (digit != -1) { in extractNetworkPortion()
289 ret.append(digit); in extractNetworkPortion()
358 int digit = Character.digit(c, 10); in stripSeparators() local
359 if (digit != -1) { in stripSeparators()
360 ret.append(digit); in stripSeparators()
1720 int digit = Character.digit(c, 10); in normalizeNumber() local
1721 if (digit != -1) { in normalizeNumber()
1722 sb.append(digit); in normalizeNumber()
1741 int digit = Character.digit(c, 10); in replaceUnicodeDigits() local
[all …]
/frameworks/base/cmds/incident_helper/java/com/android/commands/incident/sections/
DPersistLogSection.java276 int digit = str.charAt(pos) - '0'; in getDigit() local
277 if (digit < 0 || digit > 9) { in getDigit()
280 return digit; in getDigit()
/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.cpp1158 char16_t digit = 0; in finishKey() local
1164 digit = ch; in finishKey()
1172 key->number = digit ? digit : symbol; in finishKey()
1244 int digit; in parseCharacterLiteral() local
1246 digit = ch - '0'; in parseCharacterLiteral()
1248 digit = ch - 'A' + 10; in parseCharacterLiteral()
1250 digit = ch - 'a' + 10; in parseCharacterLiteral()
1254 *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.java500 public void playDtmfTone(char digit) { in playDtmfTone() argument
502 mConnectionService.playDtmfTone(mId, digit, null /*Session.Info*/); 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.aidl101 void playDtmfTone(String callId, char digit, in Session.Info sessionInfo); in playDtmfTone() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DConnection.java130 public void onReceivedDtmfDigit(char digit); in onReceivedDtmfDigit() argument
189 public void onReceivedDtmfDigit(char digit) {} in onReceivedDtmfDigit() argument
1510 public void receivedDtmfDigit(char digit) { in receivedDtmfDigit() argument
1512 l.onReceivedDtmfDigit(digit); in receivedDtmfDigit()
DTelephonyTester.java532 char digit = intent.getStringExtra(EXTRA_DIGIT).charAt(0); in testImsReceiveDtmf() local
539 imsCall.getImsCallSessionListenerProxy().callSessionDtmfReceived(digit); in testImsReceiveDtmf()
/frameworks/base/media/java/android/mtp/
DMtpServer.java77 if (Character.digit(strRandomId.charAt(ii), 16) == -1) { in MtpServer()
/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/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/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.java908 int digit = value / divisor; in append()
909 value -= digit * divisor; in append()
911 chars[index++] = (char) (digit + '0'); in append()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java696 boolean digit = false; in splitAndParseNumbers()
703 if (!digit) { in splitAndParseNumbers()
704 digit = true; in splitAndParseNumbers()
708 digit = false; in splitAndParseNumbers()
718 if (!digit) { in splitAndParseNumbers()
719 digit = true; in splitAndParseNumbers()
726 if (digit) { in splitAndParseNumbers()
727 digit = false; in splitAndParseNumbers()

12