Searched refs:mTimeFormatter (Results 1 – 5 of 5) sorted by relevance
31 private DateFormat mTimeFormatter; field in NightDisplayTimeFormatter34 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()
41 private NightDisplayTimeFormatter mTimeFormatter; field in NightDisplayActivationPreferenceController48 mTimeFormatter = new NightDisplayTimeFormatter(context); in NightDisplayActivationPreferenceController()106 return mTimeFormatter.getAutoModeSummary(mContext, mColorDisplayManager); in getSummary()114 mTimeFormatter.getFormattedTimeString(isActivated in updateStateInternal()
30 private NightDisplayTimeFormatter mTimeFormatter; field in NightDisplayCustomStartTimePreferenceController36 mTimeFormatter = new NightDisplayTimeFormatter(context); in NightDisplayCustomStartTimePreferenceController()57 preference.setSummary(mTimeFormatter.getFormattedTimeString( in updateState()
30 private NightDisplayTimeFormatter mTimeFormatter; field in NightDisplayCustomEndTimePreferenceController36 mTimeFormatter = new NightDisplayTimeFormatter(context); in NightDisplayCustomEndTimePreferenceController()57 preference.setSummary(mTimeFormatter.getFormattedTimeString( in updateState()
36 private final NightDisplayTimeFormatter mTimeFormatter; field in NightDisplayPreferenceController44 mTimeFormatter = new NightDisplayTimeFormatter(context); in NightDisplayPreferenceController()95 preference.setSummary(mTimeFormatter.getAutoModeSummary(mContext, mColorDisplayManager)); in updateState()