Home
last modified time | relevance | path

Searched defs:formatter (Results 1 – 25 of 75) sorted by relevance

123

/aosp12/build/soong/ui/terminal/
H A Dformat.go25 type formatter struct { struct
26 format string
27 quiet bool
28 start time.Time
H A Dsimple_status.go26 formatter formatter member
32 func NewSimpleStatusOutput(w io.Writer, formatter formatter) status.StatusOutput { argument
H A Dsmart_status.go40 formatter formatter member
61 func NewSmartStatusOutput(w io.Writer, formatter formatter) status.StatusOutput { argument
/aosp12/system/update_engine/scripts/update_payload/
H A Dhistogram.py45 def __init__(self, data, scale=20, formatter=None): argument
61 def FromCountDict(count_dict, scale=20, formatter=None, key_names=None): argument
89 def FromKeyList(key_list, scale=20, formatter=None, key_names=None): argument
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/datetime/timezone/
H A DTimeZoneInfoTest.java37 Formatter formatter = new Formatter(Locale.US, now); in testFormat() local
51 Formatter formatter = new Formatter(Locale.US, date); in getGmtOffset_zoneLordHowe_correctGmtOffset() local
H A DRegionZonePickerTest.java43 Formatter formatter = new Formatter(Locale.US, now); in compareTimeZoneInfo_matchGmtOrder() local
H A DTimeZoneInfoPreferenceControllerTest.java48 final Formatter formatter = new Formatter(Locale.US, now); in setUp() local
/aosp12/packages/apps/Car/Calendar/src/com/android/car/calendar/common/
H A DCalendarFormatter.java62 RelativeDateTimeFormatter formatter = in getDateText() local
105 Formatter formatter = new Formatter(new StringBuilder(50), mLocale); in getTimeRangeText() local
/aosp12/frameworks/base/core/java/android/text/format/
H A DDateIntervalFormat.java100 android.icu.text.DateIntervalFormat formatter = in formatDateRange() local
110 android.icu.text.DateIntervalFormat formatter = CACHED_FORMATTERS.get(key); in getFormatter() local
H A DDateTimeFormat.java49 DateFormat formatter = CACHED_FORMATTERS.get(key); in format() local
H A DRelativeDateTimeFormatter.java226 android.icu.text.RelativeDateTimeFormatter formatter = in getRelativeTimeSpanString() local
340 android.icu.text.RelativeDateTimeFormatter formatter = CACHED_FORMATTERS.get(key); in getFormatter() local
H A DDateUtils.java417 final MeasureFormat formatter = MeasureFormat.getInstance(Locale.getDefault(), width); in formatDuration() local
583 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange()
751 public static Formatter formatDateRange(Context context, Formatter formatter, long startMillis, in formatDateRange()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/util/
H A DFormatUtils.java45 MeasureFormat formatter = MeasureFormat.getInstance(Locale.getDefault(), FormatWidth.WIDE); in formatDuration() local
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DTestUtils.java32 DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm"); in timestamp() local
/aosp12/packages/apps/Settings/src/com/android/settings/datetime/timezone/
H A DFixedOffsetPicker.java61 final TimeZoneInfo.Formatter formatter = new TimeZoneInfo.Formatter(getLocale(), in loadFixedOffsets() local
H A DRegionZonePicker.java117 final TimeZoneInfo.Formatter formatter = new TimeZoneInfo.Formatter(getLocale(), in getRegionTimeZoneInfo() local
/aosp12/packages/apps/Settings/src/com/android/settings/display/darkmode/
H A DDarkModeCustomPreferenceController.java39 public static DateTimeFormatter formatter = DateTimeFormatter.ofPattern("hh:mm a"); field in DarkModeCustomPreferenceController
/aosp12/packages/apps/Car/Calendar/src/com/android/car/calendar/
H A DTitleCalendarItem.java35 TitleCalendarItem(LocalDate date, CalendarFormatter formatter) { in TitleCalendarItem()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
H A DVirtualKeyboardPreferenceControllerTest.java114 final BidiFormatter formatter = BidiFormatter.getInstance(); in updateState_multiImeWithMixedLocale_setImeLabelToSummary() local
/aosp12/system/extras/simpleperf/app_api/java/com/android/simpleperf/
H A DRecordOptions.java174 DateTimeFormatter formatter = DateTimeFormatter.ofPattern("'perf'-MM-dd-HH-mm-ss'.data'"); in getDefaultOutputFilename() local
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DUiModeNightTile.java62 public static DateTimeFormatter formatter = DateTimeFormatter.ofPattern("hh:mm a"); field in UiModeNightTile
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DNetworkWatchlistTest.java115 Formatter formatter = new Formatter(); in byteArrayToHexString() local
/aosp12/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerDataHelper.java59 public TrackerDataHelper(Context context, IFormatter formatter) { in TrackerDataHelper()
/aosp12/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
H A DUtils.java79 DecimalFormat formatter = new DecimalFormat("00"); in toUtcOffsetString() local
/aosp12/packages/apps/Dialer/java/com/android/dialer/util/
H A DDialerUtils.java171 final BidiFormatter formatter = BidiFormatter.getInstance(); in join() local

123