/packages/apps/DeskClock/tests/src/com/android/deskclock/uidata/ |
D | FormattedStringModelTest.java | 49 assertEquals("0", model.getFormattedNumber(0)); in positiveFormattedNumberWithNoPadding() 50 assertEquals("9", model.getFormattedNumber(9)); in positiveFormattedNumberWithNoPadding() 51 assertEquals("10", model.getFormattedNumber(10)); in positiveFormattedNumberWithNoPadding() 52 assertEquals("99", model.getFormattedNumber(99)); in positiveFormattedNumberWithNoPadding() 53 assertEquals("100", model.getFormattedNumber(100)); in positiveFormattedNumberWithNoPadding() 58 assertEquals("0", model.getFormattedNumber(false, 0, 1)); in positiveFormattedNumber() 59 assertEquals("00", model.getFormattedNumber(false, 0, 2)); in positiveFormattedNumber() 60 assertEquals("000", model.getFormattedNumber(false, 0, 3)); in positiveFormattedNumber() 62 assertEquals("9", model.getFormattedNumber(false, 9, 1)); in positiveFormattedNumber() 63 assertEquals("09", model.getFormattedNumber(false, 9, 2)); in positiveFormattedNumber() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | LapsAdapter.java | 265 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(minutes, 1)); in formatTime() 267 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(minutes, 2)); in formatTime() 269 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(hours, 1)); in formatTime() 271 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(minutes, 2)); in formatTime() 273 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(hours, 2)); in formatTime() 275 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(minutes, 2)); in formatTime() 277 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(hours, 3)); in formatTime() 279 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(minutes, 2)); in formatTime() 284 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(seconds, 2)); in formatTime() 286 sTimeBuilder.append(UiDataModel.getUiDataModel().getFormattedNumber(hundredths, 2)); in formatTime()
|
D | LapsAdapter.kt | 329 sTimeBuilder.append(UiDataModel.uiDataModel.getFormattedNumber(minutes, 1)) in formatTime() 332 sTimeBuilder.append(UiDataModel.uiDataModel.getFormattedNumber(minutes, 2)) in formatTime() 335 sTimeBuilder.append(UiDataModel.uiDataModel.getFormattedNumber(hours, 1)) in formatTime() 337 sTimeBuilder.append(UiDataModel.uiDataModel.getFormattedNumber(minutes, 2)) in formatTime() 340 sTimeBuilder.append(UiDataModel.uiDataModel.getFormattedNumber(hours, 2)) in formatTime() 342 sTimeBuilder.append(UiDataModel.uiDataModel.getFormattedNumber(minutes, 2)) in formatTime() 345 sTimeBuilder.append(UiDataModel.uiDataModel.getFormattedNumber(hours, 3)) in formatTime() 347 sTimeBuilder.append(UiDataModel.uiDataModel.getFormattedNumber(minutes, 2)) in formatTime() 353 sTimeBuilder.append(UiDataModel.uiDataModel.getFormattedNumber(seconds, 2)) in formatTime() 355 sTimeBuilder.append(UiDataModel.uiDataModel.getFormattedNumber(hundredths, 2)) in formatTime()
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
D | UiDataModel.java | 117 public String getFormattedNumber(int value) { in getFormattedNumber() method in UiDataModel 119 return mFormattedStringModel.getFormattedNumber(value); in getFormattedNumber() 133 public String getFormattedNumber(int value, int length) { in getFormattedNumber() method in UiDataModel 135 return mFormattedStringModel.getFormattedNumber(value, length); in getFormattedNumber() 152 public String getFormattedNumber(boolean negative, int value, int length) { in getFormattedNumber() method in UiDataModel 154 return mFormattedStringModel.getFormattedNumber(negative, value, length); in getFormattedNumber()
|
D | UiDataModel.kt | 96 fun getFormattedNumber(value: Int): String { in getFormattedNumber() method 98 return mFormattedStringModel.getFormattedNumber(value) in getFormattedNumber() 112 fun getFormattedNumber(value: Int, length: Int): String { in getFormattedNumber() method 114 return mFormattedStringModel.getFormattedNumber(value, length) in getFormattedNumber() 131 fun getFormattedNumber(negative: Boolean, value: Int, length: Int): String { in getFormattedNumber() method 133 return mFormattedStringModel.getFormattedNumber(negative, value, length) in getFormattedNumber()
|
D | FormattedStringModel.kt | 66 fun getFormattedNumber(value: Int): String { in getFormattedNumber() method 68 return getFormattedNumber(false, value, length) in getFormattedNumber() 82 fun getFormattedNumber(value: Int, length: Int): String { in getFormattedNumber() method 83 return getFormattedNumber(false, value, length) in getFormattedNumber() 100 fun getFormattedNumber(negative: Boolean, value: Int, length: Int): String { in getFormattedNumber() method
|
D | FormattedStringModel.java | 71 String getFormattedNumber(int value) { in getFormattedNumber() method in FormattedStringModel 73 return getFormattedNumber(false, value, length); in getFormattedNumber() 87 String getFormattedNumber(int value, int length) { in getFormattedNumber() method in FormattedStringModel 88 return getFormattedNumber(false, value, length); in getFormattedNumber() 105 String getFormattedNumber(boolean negative, int value, int length) { in getFormattedNumber() method in FormattedStringModel
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | CallLogEntryText.java | 72 if (!TextUtils.isEmpty(row.getFormattedNumber())) { in buildPrimaryText() 73 return PhoneNumberUtils.createTtsSpannable(row.getFormattedNumber()); in buildPrimaryText() 200 return !row.getFormattedNumber().isEmpty() in buildSecondaryTextForBottomSheet() 201 ? row.getFormattedNumber() in buildSecondaryTextForBottomSheet() 228 if (TextUtils.isEmpty(row.getFormattedNumber())) { in buildSecondaryTextForBottomSheet() 232 components.add(row.getFormattedNumber()); in buildSecondaryTextForBottomSheet()
|
D | PhotoInfoBuilder.java | 35 .setFormattedNumber(coalescedRow.getFormattedNumber()) in fromCoalescedRow() 49 .setFormattedNumber(voicemailEntry.getFormattedNumber()) in fromVoicemailEntry()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerSetupView.java | 124 digitView.setText(uidm.getFormattedNumber(digit, 1)); in onFinishInflate() 211 uidm.getFormattedNumber(hours, 2), in updateTime() 212 uidm.getFormattedNumber(minutes, 2), in updateTime() 213 uidm.getFormattedNumber(seconds, 2))); in updateTime() 256 UiDataModel.getUiDataModel().getFormattedNumber(digit))); in append() 280 UiDataModel.getUiDataModel().getFormattedNumber(mInput[0]))); in delete()
|
D | TimerSetupView.kt | 114 digitView.text = uidm.getFormattedNumber(digit, 1) in onFinishInflate() 186 uidm.getFormattedNumber(hours, 2), in updateTime() 187 uidm.getFormattedNumber(minutes, 2), in updateTime() 188 uidm.getFormattedNumber(seconds, 2)) in updateTime() 229 UiDataModel.uiDataModel.getFormattedNumber(digit)) in append() 253 UiDataModel.uiDataModel.getFormattedNumber(mInput[0])) in delete()
|
/packages/apps/Dialer/java/com/android/incallui/spam/ |
D | SpamNotificationActivity.java | 130 private static String getFormattedNumber(String number, Context context) { in getFormattedNumber() method in SpamNotificationActivity 225 getFormattedNumber(number, this), in maybeShowNotSpamDialog() 243 String displayNumber = getFormattedNumber(number, this); in maybeShowBlockReportSpamDialog() 411 getFormattedNumber(number, applicationContext))) in onCreateDialog() 499 getString(R.string.non_spam_notification_title, getFormattedNumber(number, context)))
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/menu/ |
D | BottomSheetHeader.java | 44 } else if (!TextUtils.isEmpty(data.getFormattedNumber())) { in buildPrimaryVoicemailText() 45 primaryText.append(data.getFormattedNumber()); in buildPrimaryVoicemailText()
|
/packages/apps/Dialer/java/com/android/dialer/glidephotomanager/impl/ |
D | DefaultLookupUriGenerator.java | 49 lookupJson.put(Contacts.DISPLAY_NAME, photoInfo.getFormattedNumber()); in generateUri() 54 phone.put(CommonDataKinds.Phone.NUMBER, photoInfo.getFormattedNumber()); in generateUri()
|
D | GlidePhotoManagerImpl.java | 135 ? photoInfo.getFormattedNumber() in getDefaultDrawable()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/ |
D | VoicemailEntryText.java | 38 } else if (!TextUtils.isEmpty(data.getFormattedNumber())) { in buildPrimaryVoicemailText() 39 primaryText.append(data.getFormattedNumber()); in buildPrimaryVoicemailText()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/ |
D | InCallFragment.java | 102 mNameView.setText(TelecomUtils.getFormattedNumber(getContext(), number)); in bindUserProfileView() 118 phoneNumberLabel += TelecomUtils.getFormattedNumber(getContext(), number); in bindUserProfileView()
|
D | OnHoldCallUserProfileFragment.java | 92 mTitle.setText(TelecomUtils.getFormattedNumber(getContext(), number)); in updateProfile()
|
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | TelecomUtils.java | 115 public static String getFormattedNumber(Context context, String number) { in getFormattedNumber() method in TelecomUtils 260 name = getFormattedNumber(context, number); in getPhoneNumberInfo() 321 name = getFormattedNumber(context, number); in getPhoneNumberInfo()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/dialpad/ |
D | DialpadFragmentTest.java | 259 expectedText = TelecomUtils.getFormattedNumber(mDialpadFragment.getContext(), expectedText); in verifyTitleText() 261 TelecomUtils.getFormattedNumber(mDialpadFragment.getContext(), null); in verifyTitleText()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | StopwatchTextController.java | 59 mHundredthsTextView.setText(UiDataModel.getUiDataModel().getFormattedNumber( in setTimeString()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/ |
D | UiCallLogLiveData.java | 203 title = TelecomUtils.getFormattedNumber(mContext, number); in convert()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/ |
D | DialpadFragment.java | 247 TelecomUtils.getFormattedNumber(getContext(), number.toString())); in presentDialedNumber()
|