Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/notification/
DZenModeEventRuleSettings.java52 private DropDownPreference mCalendar; field in ZenModeEventRuleSettings
116 if (!Objects.equals(mCalendar.getEntries(), entriesArr)) { in reloadCalendar()
117 mCalendar.setEntries(entriesArr); in reloadCalendar()
120 if (!Objects.equals(mCalendar.getEntryValues(), valuesArr)) { in reloadCalendar()
121 mCalendar.setEntryValues(valuesArr); in reloadCalendar()
130 mCalendar = (DropDownPreference) root.findPreference(KEY_CALENDAR); in onCreateInternal()
131 mCalendar.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { in onCreateInternal()
173 if (!Objects.equals(mCalendar.getValue(), key(mEvent))) { in updateControlsInternal()
174 mCalendar.setValue(key(mEvent)); in updateControlsInternal()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLeanbackPickerDialogFragment.java54 private Calendar mCalendar; field in LeanbackPickerDialogFragment
96 mCalendar = Calendar.getInstance(); in onCreate()
144 mCalendar.set(Calendar.HOUR_OF_DAY, timePicker.getHour()); in onCreateView()
145 mCalendar.set(Calendar.MINUTE, timePicker.getMinute()); in onCreateView()
146 mCalendar.set(Calendar.SECOND, 0); in onCreateView()
147 mCalendar.set(Calendar.MILLISECOND, 0); in onCreateView()
148 long whenMillis = mCalendar.getTimeInMillis(); in onCreateView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeEventRuleSettings.java52 private DropDownPreference mCalendar; field in ZenModeEventRuleSettings
116 if (!Objects.equals(mCalendar.getEntries(), entriesArr)) { in reloadCalendar()
117 mCalendar.setEntries(entriesArr); in reloadCalendar()
120 if (!Objects.equals(mCalendar.getEntryValues(), valuesArr)) { in reloadCalendar()
121 mCalendar.setEntryValues(valuesArr); in reloadCalendar()
130 mCalendar = (DropDownPreference) root.findPreference(KEY_CALENDAR); in onCreateInternal()
131 mCalendar.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { in onCreateInternal()
173 if (!Objects.equals(mCalendar.getValue(), key(mEvent))) { in updateControlsInternal()
174 mCalendar.setValue(key(mEvent)); in updateControlsInternal()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRecentAppStatsMixin.java67 private Calendar mCalendar; field in RecentAppStatsMixin
116 mCalendar = Calendar.getInstance(); in loadDisplayableRecentApps()
117 mCalendar.add(Calendar.DAY_OF_YEAR, -1); in loadDisplayableRecentApps()
121 UsageStatsManager.INTERVAL_BEST, mCalendar.getTimeInMillis(), in loadDisplayableRecentApps()
162 if (stat.getLastTimeUsed() < mCalendar.getTimeInMillis()) { in shouldIncludePkgInRecents()
/packages/apps/Settings/src/com/android/settings/applications/
DRecentAppStatsMixin.java67 private Calendar mCalendar; field in RecentAppStatsMixin
116 mCalendar = Calendar.getInstance(); in loadDisplayableRecentApps()
117 mCalendar.add(Calendar.DAY_OF_YEAR, -1); in loadDisplayableRecentApps()
121 UsageStatsManager.INTERVAL_BEST, mCalendar.getTimeInMillis(), in loadDisplayableRecentApps()
162 if (stat.getLastTimeUsed() < mCalendar.getTimeInMillis()) { in shouldIncludePkgInRecents()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.java252 private final Calendar mCalendar; field in CitySelectionActivity.CityAdapter
289 mCalendar = Calendar.getInstance(); in CityAdapter()
290 mCalendar.setTimeInMillis(System.currentTimeMillis()); in CityAdapter()
559 mCalendar.setTimeZone(timeZone); in getTimeCharSequence()
560 return DateFormat.format(mIs24HoursMode ? mPattern24 : mPattern12, mCalendar); in getTimeCharSequence()
DCitySelectionActivity.kt226 private val mCalendar: Calendar = Calendar.getInstance() constant in com.android.deskclock.worldclock.CitySelectionActivity.CityAdapter
254 mCalendar.timeInMillis = System.currentTimeMillis()
501 mCalendar.timeZone = timeZone in getTimeCharSequence()
502 return DateFormat.format(if (mIs24HoursMode) mPattern24 else mPattern12, mCalendar) in getTimeCharSequence()