Home
last modified time | relevance | path

Searched refs:mDateFormat (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/service/autofill/
DDateValueSanitizer.java47 private final DateFormat mDateFormat; field in DateValueSanitizer
55 mDateFormat = Preconditions.checkNotNull(dateFormat); in DateValueSanitizer()
76 final String converted = mDateFormat.format(date); in sanitize()
79 final Date sanitized = mDateFormat.parse(converted); in sanitize()
83 Log.w(TAG, "Could not apply " + mDateFormat + " to " + value + ": " + e); in sanitize()
95 return "DateValueSanitizer: [dateFormat=" + mDateFormat + "]"; in toString()
108 parcel.writeSerializable(mDateFormat); in writeToParcel()
DDateTransformation.java51 private final DateFormat mDateFormat; field in DateTransformation
61 mDateFormat = Preconditions.checkNotNull(dateFormat); in DateTransformation()
81 final String transformed = mDateFormat.format(date); in apply()
86 Log.w(TAG, "Could not apply " + mDateFormat + " to " + value + ": " + e); in apply()
97 return "DateTransformation: [id=" + mFieldId + ", format=" + mDateFormat + "]"; in toString()
111 parcel.writeSerializable(mDateFormat); in writeToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDateView.java41 private DateFormat mDateFormat; field in DateView
56 getHandler().post(() -> mDateFormat = null);
99 mDateFormat = null; // reload the locale next time in onDetachedFromWindow()
104 if (mDateFormat == null) { in updateClock()
108 mDateFormat = format; in updateClock()
113 final String text = mDateFormat.format(mCurrentTime); in updateClock()
125 mDateFormat = null; in setDatePattern()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DTracer.java64 private SimpleDateFormat mDateFormat; field in Tracer.FileSink
68 mDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.US); in FileSink()
72 mOut.printf("%s %s\n", mDateFormat.format(new Date()), message); in log()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java40 DateFormat mDateFormat; field in BatteryWaster
59 mDateFormat = DateFormat.getInstance(); in onCreate()
161 mLog.setText(mLog.getText() + "\n" + mDateFormat.format(new Date()) + ": " + s); in log()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java114 private DateFormat mDateFormat; field in KeyguardSliceProvider
418 if (mDateFormat == null) { in getFormattedDateLocked()
422 mDateFormat = format; in getFormattedDateLocked()
425 return mDateFormat.format(mCurrentTime); in getFormattedDateLocked()
430 mDateFormat = null; in cleanDateFormatLocked()
/frameworks/base/core/java/android/widget/
DDatePickerSpinnerDelegate.java78 private final java.text.DateFormat mDateFormat = new SimpleDateFormat(DATE_FORMAT); field in DatePickerSpinnerDelegate
490 outDate.setTime(mDateFormat.parse(date)); in parseDate()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java257 private final SimpleDateFormat mDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); field in AccountManagerService
5154 logStatement.bindString(3, mDateFormat.format(new Date()));
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt62700 Landroid/service/autofill/DateTransformation;->mDateFormat:Landroid/icu/text/DateFormat;
62703 Landroid/service/autofill/DateValueSanitizer;->mDateFormat:Landroid/icu/text/DateFormat;