Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DRegionZonePickerTest.java42 Formatter formatter = new Formatter(Locale.US, now); in compareTimeZoneInfo_matchGmtOrder() local
43 TimeZoneInfo timeZone1 = formatter.format("Pacific/Honolulu"); in compareTimeZoneInfo_matchGmtOrder()
44 TimeZoneInfo timeZone2 = formatter.format("America/Los_Angeles"); in compareTimeZoneInfo_matchGmtOrder()
45 TimeZoneInfo timeZone3 = formatter.format("America/Indiana/Marengo"); in compareTimeZoneInfo_matchGmtOrder()
46 TimeZoneInfo timeZone4 = formatter.format("America/New_York"); in compareTimeZoneInfo_matchGmtOrder()
DTimeZoneInfoTest.java36 Formatter formatter = new Formatter(Locale.US, now); in testFormat() local
38 TimeZoneInfo timeZoneInfo = formatter.format("America/Los_Angeles"); in testFormat()
50 Formatter formatter = new Formatter(Locale.US, date); in getGmtOffset_zoneLordHowe_correctGmtOffset() local
52 TimeZoneInfo timeZoneInfo = formatter.format("Australia/Lord_Howe"); in getGmtOffset_zoneLordHowe_correctGmtOffset()
DTimeZoneInfoPreferenceControllerTest.java40 Formatter formatter = new Formatter(Locale.US, now); in updateState_matchExpectedFormattedText() local
42 TimeZoneInfo timeZoneInfo = formatter.format("America/Los_Angeles"); in updateState_matchExpectedFormattedText()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DMoreKeysResources.java202 final ArrayInitializerFormatter formatter = in dumpTextsInternal() local
213 formatter.outCommentLines(addPrefix(" // ", res. mComment)); in dumpTextsInternal()
217 formatter.outElement(EMPTY_STRING_VAR + ","); in dumpTextsInternal()
219 formatter.outElement(String.format("\"%s\",", escaped)); in dumpTextsInternal()
222 outputArraySize = formatter.getCurrentIndex(); in dumpTextsInternal()
224 formatter.outElement("null,"); in dumpTextsInternal()
229 formatter.flush(); in dumpTextsInternal()
/packages/apps/DocumentsUI/src/com/android/documentsui/util/
DFormatUtils.java45 MeasureFormat formatter = MeasureFormat.getInstance(Locale.getDefault(), FormatWidth.WIDE); in formatDuration() local
49 return formatter.format(new Measure(hours, MeasureUnit.HOUR)); in formatDuration()
53 return formatter.format(new Measure(minutes, MeasureUnit.MINUTE)); in formatDuration()
57 return formatter.format(new Measure(seconds, MeasureUnit.SECOND)); in formatDuration()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DFixedOffsetPicker.java61 final TimeZoneInfo.Formatter formatter = new TimeZoneInfo.Formatter(getLocale(), in loadFixedOffsets() local
64 timeZoneInfos.add(formatter.format(TimeZone.getFrozenTimeZone("Etc/UTC"))); in loadFixedOffsets()
71 timeZoneInfos.add(formatter.format(TimeZone.getFrozenTimeZone(id))); in loadFixedOffsets()
DRegionZonePicker.java117 final TimeZoneInfo.Formatter formatter = new TimeZoneInfo.Formatter(getLocale(), in getRegionTimeZoneInfo() local
129 timeZoneInfos.add(formatter.format(timeZone)); in getRegionTimeZoneInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DFixedOffsetPicker.java61 final TimeZoneInfo.Formatter formatter = new TimeZoneInfo.Formatter(getLocale(), in loadFixedOffsets() local
64 timeZoneInfos.add(formatter.format(TimeZone.getFrozenTimeZone("Etc/UTC"))); in loadFixedOffsets()
71 timeZoneInfos.add(formatter.format(TimeZone.getFrozenTimeZone(id))); in loadFixedOffsets()
DRegionZonePicker.java117 final TimeZoneInfo.Formatter formatter = new TimeZoneInfo.Formatter(getLocale(), in getRegionTimeZoneInfo() local
129 timeZoneInfos.add(formatter.format(timeZone)); in getRegionTimeZoneInfo()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderDisplayer.java184 Folder f, FolderDisplayer.FolderDrawableResources res, BidiFormatter formatter, in drawFolder() argument
188 res, formatter, paint); in drawFolder()
193 BidiFormatter formatter, Paint paint) { in drawFolder() argument
242 if (formatter.isRtl(name)) { in drawFolder()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DTopLevelBatteryPreferenceController.java82 final BidiFormatter formatter = BidiFormatter.getInstance(); in getDashboardLabel() local
89 formatter.unicodeWrap(info.batteryPercentString), in getDashboardLabel()
90 formatter.unicodeWrap(info.remainingLabel)); in getDashboardLabel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DTopLevelBatteryPreferenceController.java82 final BidiFormatter formatter = BidiFormatter.getInstance(); in getDashboardLabel() local
89 formatter.unicodeWrap(info.batteryPercentString), in getDashboardLabel()
90 formatter.unicodeWrap(info.remainingLabel)); in getDashboardLabel()
/packages/apps/Messaging/src/com/android/messaging/util/
DDates.java168 SimpleDateFormat formatter; in getExplicitFormattedTime() local
170 formatter = new SimpleDateFormat(format24); in getExplicitFormattedTime()
172 formatter = new SimpleDateFormat(format12); in getExplicitFormattedTime()
174 return formatter.format(new Date(time)); in getExplicitFormattedTime()
DLogSaver.java214 final Formatter formatter = new Formatter() { in initDiskLog() local
220 handler.setFormatter(formatter); in initDiskLog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DVirtualKeyboardPreferenceControllerTest.java114 final BidiFormatter formatter = BidiFormatter.getInstance(); in updateState_multiImeWithMixedLocale_setImeLabelToSummary() local
131 …verify(mPreference).setSummary(formatter.unicodeWrap(label1) + " and " + formatter.unicodeWrap(lab… in updateState_multiImeWithMixedLocale_setImeLabelToSummary()
/packages/apps/Dialer/java/com/android/dialer/util/
DDialerUtils.java171 final BidiFormatter formatter = BidiFormatter.getInstance(); in join() local
184 formatter.unicodeWrap(itr.next().toString(), TextDirectionHeuristics.FIRSTSTRONG_LTR)); in join()
188 return formatter.unicodeWrap(sb.toString()); in join()
/packages/apps/UnifiedEmail/src/com/android/mail/text/
DFolderSpan.java43 FolderDisplayer.FolderDrawableResources res, BidiFormatter formatter, in FolderSpan() argument
51 mFormatter = formatter; in FolderSpan()
/packages/services/Car/tests/DefaultStorageMonitoringCompanionApp/src/com/google/android/car/defaultstoragemonitoringcompanionapp/
DMainActivity.java95 final DateTimeFormatter formatter =
99 final String wallClockTimeAtChange = formatter.format(wearEstimateChange.dateAtChange);
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapFolder.java526 final SimpleDateFormat formatter = new SimpleDateFormat("dd-LLL-yyyy", Locale.US); in generateDateRangeCommand() local
527 formatter.setTimeZone(TimeZone.getTimeZone("UTC")); in generateDateRangeCommand()
528 final String sinceDateStr = formatter.format(endDate); in generateDateRangeCommand()
536 final String beforeDateStr = formatter.format(startDate); in generateDateRangeCommand()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java1028 Formatter formatter = new Formatter(); in log() local
1029 formatter.format(message, args); in log()
1030 Log.i(TAG, formatter.toString()); in log()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DSoundRecorder.java600 SimpleDateFormat formatter = new SimpleDateFormat( in addToMediaDB() local
602 String title = formatter.format(date); in addToMediaDB()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemView.java244 public ConversationItemFolderDisplayer(Context context, BidiFormatter formatter) { in ConversationItemFolderDisplayer() argument
246 mFormatter = formatter; in ConversationItemFolderDisplayer()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz