/frameworks/native/services/surfaceflinger/Utils/ |
D | OverlayUtils.h | 121 static void drawDigit(int digit, int left, SkColor color, SkCanvas& canvas) { in drawDigit() argument 122 if (digit < 0 || digit > 9) return; in drawDigit() 124 if (digit == 0 || digit == 2 || digit == 3 || digit == 5 || digit == 6 || digit == 7 || in drawDigit() 125 digit == 8 || digit == 9) in drawDigit() 127 if (digit == 0 || digit == 4 || digit == 5 || digit == 6 || digit == 8 || digit == 9) in drawDigit() 129 if (digit == 0 || digit == 1 || digit == 2 || digit == 3 || digit == 4 || digit == 7 || in drawDigit() 130 digit == 8 || digit == 9) in drawDigit() 132 if (digit == 2 || digit == 3 || digit == 4 || digit == 5 || digit == 6 || digit == 8 || in drawDigit() 133 digit == 9) in drawDigit() 135 if (digit == 0 || digit == 2 || digit == 6 || digit == 8) in drawDigit() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | DoubleDigitManager.java | 48 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/ |
D | DtmfTransport.java | 347 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 …]
|
D | DtmfAdapter.java | 32 void sendDtmf(char digit); in sendDtmf() argument
|
/frameworks/base/core/java/android/service/autofill/ |
D | LuhnChecksumValidator.java | 63 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/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/ |
D | AuthMethodBouncerViewModelTest.kt | 65 FakeAuthenticationRepository.DEFAULT_PIN.drop(2).forEach { digit -> in <lambda>() method 66 underTest.onPinButtonClicked(digit) in <lambda>() 75 FakeAuthenticationRepository.DEFAULT_PIN.forEach { digit -> in <lambda>() method 76 underTest.onPinButtonClicked(digit) in <lambda>()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ProcFileReader.java | 221 final int digit = mBuffer[i] - '0'; in parseAndConsumeLong() local 222 if (digit < 0 || digit > 9) { in parseAndConsumeLong() 232 final long next = result * 10 - digit; in parseAndConsumeLong()
|
/frameworks/base/telephony/common/com/google/android/mms/pdu/ |
D | QuotedPrintable.java | 56 int u = Character.digit((char) bytes[++i], 16); in decodeQuotedPrintable() 57 int l = Character.digit((char) bytes[++i], 16); in decodeQuotedPrintable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/ |
D | PinPadViewBinder.kt | 38 override fun onDigitKeyClick(digit: String?) { in bind() 39 passwordField.append(digit) in bind()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/ |
D | PinInputDisplay.kt | 361 entries.forEach { entry -> key(entry.digit) { entry.Content() } } in Content() 385 val incoming = updated.minus(entries.map { it.digit }.toSet()).toList() in updateDigits() 386 val outgoing = entries.filterNot { entry -> updated.any { entry.digit == it } }.toList() in updateDigits() 396 entries.sortWith(compareBy { it.digit }) in updateDigits() 436 val digit: Digit, constant in com.android.systemui.bouncer.ui.composable.PinInputEntry 439 private val shape = shapeAnimations.getShapeToDot(digit.sequenceNumber) 442 Animatable(shapeAnimations.shapeSize, Dp.VectorConverter, label = "Width of pin ($digit)") 445 Animatable(shapeAnimations.shapeSize, Dp.VectorConverter, label = "Size of pin ($digit)")
|
D | PinBouncer.kt | 105 digit = index + 1, in <lambda>() 128 digit = 0, in <lambda>() 152 digit: Int, in DigitButton() 159 onClicked = { onClicked(digit) }, in DigitButton() 174 text = digit.toString(), in DigitButton()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/ |
D | PinInputViewModel.kt | 65 fun append(digit: Int): PinInputViewModel { in append() 66 return PinInputViewModel(input, Digit(digit)) in append()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/ |
D | IPinPad.kt | 35 fun onDigitKeyClick(digit: String?) in setPinPadClickListener()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberUtils.java | 296 int digit = Character.digit(c, 10); in extractNetworkPortion() local 297 if (digit != -1) { in extractNetworkPortion() 298 ret.append(digit); in extractNetworkPortion() 367 int digit = Character.digit(c, 10); in stripSeparators() local 368 if (digit != -1) { in stripSeparators() 369 ret.append(digit); in stripSeparators() 1762 int digit = Character.digit(c, 10); in normalizeNumber() local 1763 if (digit != -1) { in normalizeNumber() 1764 sb.append(digit); in normalizeNumber() 1783 int digit = Character.digit(c, 10); in replaceUnicodeDigits() local [all …]
|
/frameworks/base/cmds/incident_helper/java/com/android/commands/incident/sections/ |
D | PersistLogSection.java | 276 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/ |
D | stderr.txt.expect | 4 bad_version_pragma.rscript:4:18: error: invalid digit 'a' in decimal constant
|
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/ |
D | AnimatableClockView.kt | 541 digit = i, in <lambda>() 571 digit = i, in <lambda>() 598 private fun getDigitFraction(digit: Int, isMovingToCenter: Boolean, fraction: Float): Float { in <lambda>() 602 val digitInitialDelay = delays[digit] * MOVE_DIGIT_STEP in <lambda>()
|
/frameworks/native/libs/input/ |
D | KeyCharacterMap.cpp | 1132 char16_t digit = 0; in finishKey() local 1138 digit = ch; in finishKey() 1146 key.number = digit ? digit : symbol; in finishKey() 1218 int digit; in parseCharacterLiteral() local 1220 digit = ch - '0'; in parseCharacterLiteral() 1222 digit = ch - 'A' + 10; in parseCharacterLiteral() 1224 digit = ch - 'a' + 10; in parseCharacterLiteral() 1228 *outCharacter = (*outCharacter << 4) | digit; in parseCharacterLiteral()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | InCallAdapter.java | 275 public void playDtmfTone(String callId, char digit) { in playDtmfTone() argument 277 mAdapter.playDtmfTone(callId, digit); in playDtmfTone()
|
D | RemoteConference.java | 500 public void playDtmfTone(char digit) { in playDtmfTone() argument 502 mConnectionService.playDtmfTone(mId, digit, null /*Session.Info*/); in playDtmfTone()
|
/frameworks/base/tests/JankBench/scripts/external/ |
D | statistics.py | 264 for digit in digits: 265 num = num*10 + digit
|
/frameworks/base/telecomm/java/com/android/internal/telecom/ |
D | IInCallAdapter.aidl | 61 void playDtmfTone(String callId, char digit); in playDtmfTone() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | Connection.java | 138 public void onReceivedDtmfDigit(char digit); in onReceivedDtmfDigit() argument 204 public void onReceivedDtmfDigit(char digit) {} in onReceivedDtmfDigit() argument 1615 public void receivedDtmfDigit(char digit) { in receivedDtmfDigit() argument 1617 l.onReceivedDtmfDigit(digit); in receivedDtmfDigit()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/ |
D | SceneFrameworkIntegrationTest.kt | 672 FakeAuthenticationRepository.DEFAULT_PIN.forEach { digit -> in <lambda>() method 673 pinBouncerViewModel.onPinButtonClicked(digit) in <lambda>() 700 FakeAuthenticationRepository.DEFAULT_PIN.forEach { digit -> in <lambda>() method 701 pinBouncerViewModel.onPinButtonClicked(digit) in <lambda>()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpServer.java | 77 if (Character.digit(strRandomId.charAt(ii), 16) == -1) { in MtpServer()
|