Home
last modified time | relevance | path

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

/packages/apps/Car/Calendar/src/com/android/car/calendar/common/
DCalendarFormatter.java47 private final DateFormat mDateFormat; field in CalendarFormatter
56 mDateFormat = new SimpleDateFormat(pattern, mLocale); in CalendarFormatter()
57 mDateFormat.setTimeZone(TimeZone.getTimeZone(mClock.getZone())); in CalendarFormatter()
99 result.append(mDateFormat.format(date)); in getDateText()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DTimeZoneInfoPreferenceController.java41 private final DateFormat mDateFormat; field in TimeZoneInfoPreferenceController
45 mDateFormat = DateFormat.getDateInstance(SimpleDateFormat.LONG); in TimeZoneInfoPreferenceController()
46 mDateFormat.setContext(DisplayContext.CAPITALIZATION_NONE); in TimeZoneInfoPreferenceController()
105 final String date = mDateFormat.format(transitionTime); in formatInfo()
/packages/apps/DeskClock/src/com/android/deskclock/
DScreensaver.kt41 private var mDateFormat: String? = null variable in com.android.deskclock.Screensaver
62 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView) in <lambda>()
80 mDateFormat = getString(R.string.abbrev_wday_month_day_no_year) in onCreate()
123 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView) in onAttachedToWindow()
DClockFragment.kt70 private lateinit var mDateFormat: String variable in com.android.deskclock.ClockFragment
89 mDateFormat = getString(R.string.abbrev_wday_month_day_no_year) in onCreateView()
92 mCityAdapter = SelectedCitiesAdapter(requireActivity(), mDateFormat, in onCreateView()
115 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mClockFrame) in onCreateView()
131 mDateFormat = getString(R.string.abbrev_wday_month_day_no_year) in onResume()
307 private val mDateFormat: String?, constant in com.android.deskclock.SelectedCitiesAdapter
344 MAIN_CLOCK -> (holder as MainClockViewHolder).bind(mContext, mDateFormat, in onBindViewHolder()
DScreensaverActivity.kt71 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView) in <lambda>()
74 private lateinit var mDateFormat: String variable in com.android.deskclock.ScreensaverActivity
85 mDateFormat = getString(R.string.abbrev_wday_month_day_no_year) in onCreate()
137 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView) in onResume()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/
DFormatting.java34 private final DateFormat mDateFormat; field in Formatting
43 mDateFormat = android.text.format.DateFormat.getDateFormat(context); in Formatting()
65 return mDateFormat.format(new Date(wallTimeMs)); in getDate()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreferenceBase.java51 private java.text.DateFormat mDateFormat; field in AccountPreferenceBase
94 mDateFormat = DateFormat.getDateFormat(activity); in onActivityCreated()