Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/notification/zen/
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.java58 private Calendar mCalendar; field in LeanbackPickerDialogFragment
103 mCalendar = Calendar.getInstance(); in onCreate()
160 mCalendar.set(Calendar.HOUR_OF_DAY, timePicker.getHour()); in onCreateView()
161 mCalendar.set(Calendar.MINUTE, timePicker.getMinute()); in onCreateView()
162 mCalendar.set(Calendar.SECOND, 0); in onCreateView()
163 mCalendar.set(Calendar.MILLISECOND, 0); in onCreateView()
164 long whenMillis = mCalendar.getTimeInMillis(); in onCreateView()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DRecentAppsItemManager.java65 private Calendar mCalendar; field in RecentAppsItemManager
118 mCalendar = Calendar.getInstance(); in loadDisplayableRecentApps()
119 mCalendar.add(Calendar.DAY_OF_YEAR, -mDaysThreshold); in loadDisplayableRecentApps()
121 UsageStatsManager.INTERVAL_BEST, mCalendar.getTimeInMillis(), in loadDisplayableRecentApps()
160 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.kt225 private val mCalendar: Calendar = Calendar.getInstance() constant in com.android.deskclock.worldclock.CitySelectionActivity.CityAdapter
253 mCalendar.timeInMillis = System.currentTimeMillis()
500 mCalendar.timeZone = timeZone in getTimeCharSequence()
501 return DateFormat.format(if (mIs24HoursMode) mPattern24 else mPattern12, mCalendar) in getTimeCharSequence()