Home
last modified time | relevance | path

Searched refs:mSchedule (Results 1 – 6 of 6) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRow.java28 @Nullable private ScheduledRecording mSchedule; field in ScheduleRow
33 mSchedule = recording; in ScheduleRow()
45 return mSchedule; in getSchedule()
72 mSchedule = schedule; in setSchedule()
77 return mSchedule != null ? mSchedule.getChannelId() : -1; in getChannelId()
82 return mSchedule != null ? mSchedule.getStartTimeMs() : -1; in getStartTimeMs()
87 return mSchedule != null ? mSchedule.getEndTimeMs() : -1; in getEndTimeMs()
103 return mSchedule != null in isRecordingNotStarted()
104 && mSchedule.getState() == ScheduledRecording.STATE_RECORDING_NOT_STARTED; in isRecordingNotStarted()
109 return mSchedule != null in isRecordingInProgress()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeScheduleRuleSettings.java67 private ScheduleInfo mSchedule; field in ZenModeScheduleRuleSettings
71 mSchedule = rule != null ? ZenModeConfig.tryParseScheduleConditionId(rule.getConditionId()) in setRule()
73 return mSchedule != null; in setRule()
105 if (hour == mSchedule.startHour && minute == mSchedule.startMinute) { in onCreateInternal()
109 mSchedule.startHour = hour; in onCreateInternal()
110 mSchedule.startMinute = minute; in onCreateInternal()
111 updateScheduleRule(mSchedule); in onCreateInternal()
127 if (hour == mSchedule.endHour && minute == mSchedule.endMinute) { in onCreateInternal()
131 mSchedule.endHour = hour; in onCreateInternal()
132 mSchedule.endMinute = minute; in onCreateInternal()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModeSetSchedulePreferenceController.java56 private ZenModeConfig.ScheduleInfo mSchedule; field in ZenModeSetSchedulePreferenceController
66 mSchedule = ZenModeConfig.tryParseScheduleConditionId(zenMode.getRule().getConditionId()); in updateState()
70 start.setText(timeString(mSchedule.startHour, mSchedule.startMinute)); in updateState()
72 timePickerLauncher(mSchedule.startHour, mSchedule.startMinute, mStartSetter)); in updateState()
75 end.setText(timeString(mSchedule.endHour, mSchedule.endMinute)); in updateState()
77 timePickerLauncher(mSchedule.endHour, mSchedule.endMinute, mEndSetter)); in updateState()
80 durationView.setText(getScheduleDurationDescription(mSchedule)); in updateState()
83 setupDayToggles(daysContainer, mSchedule, Calendar.getInstance()); in updateState()
132 if (hour == mSchedule.startHour && minute == mSchedule.startMinute) {
135 mSchedule.startHour = hour;
[all …]
DZenModeExitAtAlarmPreferenceController.java31 private ZenModeConfig.ScheduleInfo mSchedule; field in ZenModeExitAtAlarmPreferenceController
40 mSchedule = ZenModeConfig.tryParseScheduleConditionId(zenMode.getRule().getConditionId()); in updateState()
41 ((TwoStatePreference) preference).setChecked(mSchedule.exitAtAlarm); in updateState()
47 if (mSchedule.exitAtAlarm != exitAtAlarm) { in onPreferenceChange()
48 mSchedule.exitAtAlarm = exitAtAlarm; in onPreferenceChange()
50 mode.getRule().setConditionId(ZenModeConfig.toScheduleConditionId(mSchedule)); in onPreferenceChange()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrStopRecordingFragment.java65 private ScheduledRecording mSchedule; field in DvrStopRecordingFragment
77 if (schedule.getId() == mSchedule.getId()) {
87 if (schedule.getId() == mSchedule.getId()
102 mSchedule = getDvrManager().getCurrentRecording(channelId); in onAttach()
103 if (mSchedule == null) { in onAttach()
129 mSchedule.getProgramDisplayTitle(getContext())); in onCreateGuidance()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DBackgroundScanScheduler.java364 private WifiNative.ScanSettings mSchedule; field in BackgroundScanScheduler
397 return mSchedule; in getSchedule()
486 mSchedule = schedule; in createSchedule()