Home
last modified time | relevance | path

Searched refs:mTimeFormatter (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/display/
DNightDisplayTimeFormatter.java31 private DateFormat mTimeFormatter; field in NightDisplayTimeFormatter
34 mTimeFormatter = android.text.format.DateFormat.getTimeFormat(context); in NightDisplayTimeFormatter()
35 mTimeFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); in NightDisplayTimeFormatter()
40 c.setTimeZone(mTimeFormatter.getTimeZone()); in getFormattedTimeString()
45 return mTimeFormatter.format(c.getTime()); in getFormattedTimeString()
DNightDisplayActivationPreferenceController.java41 private NightDisplayTimeFormatter mTimeFormatter; field in NightDisplayActivationPreferenceController
48 mTimeFormatter = new NightDisplayTimeFormatter(context); in NightDisplayActivationPreferenceController()
106 return mTimeFormatter.getAutoModeSummary(mContext, mColorDisplayManager); in getSummary()
114 mTimeFormatter.getFormattedTimeString(isActivated in updateStateInternal()
DNightDisplayCustomStartTimePreferenceController.java30 private NightDisplayTimeFormatter mTimeFormatter; field in NightDisplayCustomStartTimePreferenceController
36 mTimeFormatter = new NightDisplayTimeFormatter(context); in NightDisplayCustomStartTimePreferenceController()
57 preference.setSummary(mTimeFormatter.getFormattedTimeString( in updateState()
DNightDisplayCustomEndTimePreferenceController.java30 private NightDisplayTimeFormatter mTimeFormatter; field in NightDisplayCustomEndTimePreferenceController
36 mTimeFormatter = new NightDisplayTimeFormatter(context); in NightDisplayCustomEndTimePreferenceController()
57 preference.setSummary(mTimeFormatter.getFormattedTimeString( in updateState()
DNightDisplayPreferenceController.java36 private final NightDisplayTimeFormatter mTimeFormatter; field in NightDisplayPreferenceController
44 mTimeFormatter = new NightDisplayTimeFormatter(context); in NightDisplayPreferenceController()
95 preference.setSummary(mTimeFormatter.getAutoModeSummary(mContext, mColorDisplayManager)); in updateState()