Home
last modified time | relevance | path

Searched refs:formatText (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DUsageBytesThresholdPickerDialog.java155 bytesText = formatText(threshold / (float) GIB_IN_BYTES); in updateCurrentView()
158 bytesText = formatText(threshold / (float) MIB_IN_BYTES); in updateCurrentView()
165 private String formatText(float v) { in formatText() method in UsageBytesThresholdPickerDialog
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DDefaultSuggestionView.java90 CharSequence text1 = formatText(suggestion.getSuggestionText1(), suggestion); in bindAsSuggestion()
95 text2 = formatText(suggestion.getSuggestionText2(), suggestion); in bindAsSuggestion()
127 private CharSequence formatText(String str, Suggestion suggestion) { in formatText() method in DefaultSuggestionView
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerSetupView.java81 FormattedTextUtils.formatText(hoursLabel, new RelativeSizeSpan(0.5f)), in TimerSetupView()
82 FormattedTextUtils.formatText(minutesLabel, new RelativeSizeSpan(0.5f)), in TimerSetupView()
83 FormattedTextUtils.formatText(secondsLabel, new RelativeSizeSpan(0.5f))); in TimerSetupView()
DTimerSetupView.kt72 FormattedTextUtils.formatText(hoursLabel, RelativeSizeSpan(0.5f)),
73 FormattedTextUtils.formatText(minutesLabel, RelativeSizeSpan(0.5f)),
74 FormattedTextUtils.formatText(secondsLabel, RelativeSizeSpan(0.5f)))
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java292 final String bytesText = formatText(bytes / (float) GIB_IN_BYTES); in setupPicker()
298 final String bytesText = formatText(bytes / (float) MIB_IN_BYTES); in setupPicker()
306 private String formatText(float v) { in formatText() method in BillingCycleSettings.BytesEditorFragment
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DBillingCycleSettings.java292 final String bytesText = formatText(bytes / (float) GIB_IN_BYTES); in setupPicker()
298 final String bytesText = formatText(bytes / (float) MIB_IN_BYTES); in setupPicker()
306 private String formatText(float v) { in formatText() method in BillingCycleSettings.BytesEditorFragment
/packages/apps/DeskClock/src/com/android/deskclock/
DFormattedTextUtils.java37 public static CharSequence formatText(CharSequence text, Object span) { in formatText() method in FormattedTextUtils