Home
last modified time | relevance | path

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

123

/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Dmisctest.cpp593 unsigned digit = CountDecimalDigit_fast(u); in WriteUint() local
594 WriteUintReverse(os_->Push(digit) + digit, u); in WriteUint()
600 unsigned digit = CountDecimalDigit_fast(u); in WriteUint() local
601 WriteUintReverse(os_->Push(digit) + digit, u); in WriteUint()
607 unsigned digit = CountDecimalDigit64_fast(u); in WriteUint64() local
608 WriteUint64Reverse(os_->Push(digit) + digit, u); in WriteUint64()
614 unsigned digit = CountDecimalDigit64_fast(u); in WriteUint64() local
615 WriteUint64Reverse(os_->Push(digit) + digit, u); in WriteUint64()
735 unsigned digit = CountDecimalDigit_fast(u); in WriteUint() local
736 WriteUintReverse(os_->Push(digit) + digit, u); in WriteUint()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerSetupView.java123 final int digit = getDigitForId(digitView.getId()); in onFinishInflate() local
124 digitView.setText(uidm.getFormattedNumber(digit, 1)); in onFinishInflate()
232 private void append(int digit) { in append() argument
233 if (digit < 0 || digit > 9) { in append()
234 throw new IllegalArgumentException("Invalid digit: " + digit); in append()
238 if (mInputPointer == -1 && digit == 0) { in append()
249 mInput[0] = digit; in append()
256 UiDataModel.getUiDataModel().getFormattedNumber(digit))); in append()
DTimerSetupView.kt113 val digit = getDigitForId(digitView.id) in onFinishInflate() constant
114 digitView.text = uidm.getFormattedNumber(digit, 1) in onFinishInflate()
207 private fun append(digit: Int) { in append()
208 require(!(digit < 0 || digit > 9)) { "Invalid digit: $digit" } in append()
211 if (mInputPointer == -1 && digit == 0) { in append()
222 mInput[0] = digit in append()
229 UiDataModel.uiDataModel.getFormattedNumber(digit)) in append()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/
DQueryFilteringUtil.java204 Character digit = DEFAULT_CHAR_TO_DIGIT_MAP.get(c); in getDigit() local
205 if (digit != null) { in getDigit()
206 return digit; in getDigit()
212 digit = charToKeyMap.get(c); in getDigit()
213 return digit != null ? digit : c; in getDigit()
/packages/services/Telecomm/src/com/android/server/telecom/
DDtmfLocalTonePlayer.java242 private static int getMappedTone(char digit) { in getMappedTone() argument
243 if (digit >= '0' && digit <= '9') { in getMappedTone()
244 return ToneGenerator.TONE_DTMF_0 + digit - '0'; in getMappedTone()
245 } else if (digit == '#') { in getMappedTone()
247 } else if (digit == '*') { in getMappedTone()
DInCallAdapter.java203 public void playDtmfTone(String callId, char digit) { in playDtmfTone() argument
209 Log.d(this, "playDtmfTone(%s,%c)", callId, digit); in playDtmfTone()
212 mCallsManager.playDtmfTone(call, digit); in playDtmfTone()
/packages/services/Telephony/src/com/android/services/telephony/
DCdmaConnection.java99 public void onPlayDtmfTone(char digit) { in onPlayDtmfTone() argument
102 sendShortDtmfToNetwork(digit); in onPlayDtmfTone()
105 getPhone().startDtmf(digit); in onPlayDtmfTone()
247 private void sendShortDtmfToNetwork(char digit) { in sendShortDtmfToNetwork() argument
250 mDtmfQueue.add(new Character(digit)); in sendShortDtmfToNetwork()
252 sendBurstDtmfStringLocked(Character.toString(digit)); in sendShortDtmfToNetwork()
DGsmConnection.java43 public void onPlayDtmfTone(char digit) { in onPlayDtmfTone() argument
45 getPhone().startDtmf(digit); in onPlayDtmfTone()
/packages/apps/Messaging/src/com/android/messaging/util/
DTextUtil.java48 int digit = Character.digit(c, 10); in replaceUnicodeDigits() local
49 if (digit != -1) { in replaceUnicodeDigits()
50 normalizedDigits.append(digit); in replaceUnicodeDigits()
/packages/apps/Contacts/src/com/android/contacts/util/
DPhoneNumberHelper.java63 int digit = Character.digit(c, 10); in normalizeNumber() local
64 if (digit != -1) { in normalizeNumber()
65 sb.append(digit); in normalizeNumber()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFingerprint.java173 int digit = Character.digit(streamId.charAt(index), 16); in toDigit() local
174 if (digit < 0) { in toDigit()
177 return digit; in toDigit()
/packages/apps/Contacts/src/com/android/contacts/compat/
DPhoneNumberUtilsCompat.java61 int digit = Character.digit(c, 10); in normalizeNumberInternal() local
62 if (digit != -1) { in normalizeNumberInternal()
63 sb.append(digit); in normalizeNumberInternal()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DPinPadView.java144 String digit = key.getTag().toString(); in init() local
145 key.setOnClickListener(v -> mOnClickListener.onDigitKeyClick(digit)); in init()
181 void onDigitKeyClick(String digit); in onDigitKeyClick() argument
DConfirmLockPinPasswordFragment.java167 public void onDigitKeyClick(String digit) { in initPinView()
169 mPasswordField.append(digit); in initPinView()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DQuotedPrintable.java53 int u = Character.digit((char) bytes[++i], 16); in decodeQuotedPrintable()
54 int l = Character.digit((char) bytes[++i], 16); in decodeQuotedPrintable()
/packages/apps/Messaging/src/android/support/v7/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()
/packages/apps/SecureElement/src/com/android/se/internal/
DByteArrayConverter.java142 outputBytes[i / 2] = (byte) ((Character.digit(c1, 16) << 4) + Character.digit(c2, 16)); in hexStringToByteArray()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/
DTestUtils.java42 ((Character.digit(hexString.charAt(i), 16) << 4) in hexStringToByteArray()
43 + Character.digit(hexString.charAt(i + 1), 16)); in hexStringToByteArray()
/packages/apps/Car/Radio/src/com/android/car/radio/
DManualTunerController.java94 int digit = Integer.parseInt((String) btn.getTag()); in onDigitClick() local
97 mEnteredDigits += digit; in onDigitClick()
/packages/services/Car/EncryptionRunner/src/android/car/encryptionrunner/
DUkey2EncryptionRunner.java132 int digit = unsignedInt % 10; in generateReadablePairingCode() local
133 outString.append(digit); in generateReadablePairingCode()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DCertificateStore.java180 int hi = Character.digit(source[sourcePos++], 16); in hexToBytes()
181 int lo = Character.digit(source[sourcePos++], 16); in hexToBytes()
/packages/apps/Dialer/java/com/android/incallui/call/
DTelecomAdapter.java141 public void playDtmfTone(String callId, char digit) { in playDtmfTone() argument
144 call.playDtmfTone(digit); in playDtmfTone()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
DAbstractDialpadFragment.java127 String digit = sDialValueMap.get(keycode).toString(); in onKeypadKeyDown() local
128 appendDialedNumber(digit); in onKeypadKeyDown()
/packages/apps/Car/libs/EncryptionRunner/src/android/car/encryptionrunner/
DUkey2EncryptionRunner.java173 int digit = unsignedInt % 10; in generateReadablePairingCode() local
174 outString.append(digit); in generateReadablePairingCode()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dbiginteger.h234 void PushBack(Type digit) { in PushBack() argument
236 digits_[count_++] = digit; in PushBack()

123