/frameworks/base/core/java/android/service/autofill/ |
D | DateValueSanitizer.java | 47 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()
|
D | DateTransformation.java | 51 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/ |
D | DateView.java | 42 private DateFormat mDateFormat; field in DateView 57 getHandler().post(() -> mDateFormat = null); 100 mDateFormat = null; // reload the locale next time in onDetachedFromWindow() 105 if (mDateFormat == null) { in updateClock() 109 mDateFormat = format; in updateClock() 114 final String text = mDateFormat.format(mCurrentTime); in updateClock() 126 mDateFormat = null; in setDatePattern()
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
D | PopupMenuActivity.java | 44 private SimpleDateFormat mDateFormat; field in PopupMenuActivity 52 mDateFormat = new SimpleDateFormat("HH:mm:ss.SSS"); in onCreate() 121 String toPrepend = mDateFormat.format(new Date()) + " " + toLog + "\n"; in addToLog()
|
D | ListPopupWindowActivity.java | 51 private SimpleDateFormat mDateFormat; field in ListPopupWindowActivity 59 mDateFormat = new SimpleDateFormat("HH:mm:ss.SSS"); in onCreate() 156 String toPrepend = mDateFormat.format(new Date()) + " " + toLog + "\n"; in addToLog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProvider.java | 83 private DateFormat mDateFormat; field in KeyguardSliceProvider 265 if (mDateFormat == null) { in getFormattedDate() 269 mDateFormat = format; in getFormattedDate() 272 return mDateFormat.format(mCurrentTime); in getFormattedDate() 277 mDateFormat = null; in cleanDateFormat()
|
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/ |
D | BatteryWaster.java | 40 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/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | Tracer.java | 64 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/support/leanback/src/main/java/androidx/leanback/widget/picker/ |
D | DatePicker.java | 63 final DateFormat mDateFormat = new SimpleDateFormat(DATE_FORMAT); field in DatePicker 115 outDate.setTime(mDateFormat.parse(date)); in parseDate()
|
/frameworks/base/core/java/android/widget/ |
D | DatePickerSpinnerDelegate.java | 79 private final java.text.DateFormat mDateFormat = new SimpleDateFormat(DATE_FORMAT); field in DatePickerSpinnerDelegate 491 outDate.setTime(mDateFormat.parse(date)); in parseDate()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 260 private final SimpleDateFormat mDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); field in AccountManagerService 5127 logStatement.bindString(3, mDateFormat.format(new Date()));
|