Home
last modified time | relevance | path

Searched refs:endHour (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DEventGeometry.kt71 var endHour = endTime / 60 in computeEventRect() variable
76 if (endHour * 60 == endTime) endHour -= 1 in computeEventRect()
82 event.bottom += endHour * mHourGap - 1 in computeEventRect()
DOtherPreferences.kt73 val endHour: Int = prefs.getInt(KEY_OTHER_QUIET_HOURS_END_HOUR, in onCreate() constant
81 endHour, endMinute, mIs24HourMode) in onCreate()
82 mQuietHoursEnd?.setSummary(formatTime(endHour, endMinute)) in onCreate()
DDayView.kt3372 val endHour: Int in findSelectedEvent() constant
3373 endHour = if (mSelectedEvent!!.startTime < mSelectedEvent!!.endTime) { in findSelectedEvent()
3380 } else if (mSelectionHour > endHour && mSelectionDay == endDay) { in findSelectedEvent()
3381 setSelectedHour(endHour) in findSelectedEvent()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModeSetSchedulePreferenceController.java75 end.setText(timeString(mSchedule.endHour, mSchedule.endMinute)); in updateState()
77 timePickerLauncher(mSchedule.endHour, mSchedule.endMinute, mEndSetter)); in updateState()
99 final int endMin = 60 * schedule.endHour + schedule.endMinute; in getScheduleDurationDescription()
144 if (hour == mSchedule.endHour && minute == mSchedule.endMinute) {
147 mSchedule.endHour = hour;
DZenModesBackend.java259 schedule.endHour = 7; in addCustomMode()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeExitAtAlarmPreferenceControllerTest.java65 scheduleInfo.endHour = 2; in testUpdateState()
94 scheduleInfo.endHour = 2; in testOnPreferenceChange()
113 assertThat(newSchedule.endHour).isEqualTo(2); in testOnPreferenceChange()
DZenModeSetSchedulePreferenceControllerTest.java90 scheduleInfo.endHour = 2; in updateScheduleRule_updatesConditionAndTriggerDescription()
132 schedule.endHour = 5; in testSetupDayToggles_daysOfWeekOrder()
DZenModeSetTriggerLinkPreferenceControllerTest.java179 scheduleInfo.endHour = 15; in testRuleLink_schedule()
/packages/modules/ConfigInfrastructure/service/java/com/android/server/deviceconfig/
DRebootTimingConfiguration.java157 private static boolean isHourWindowValid(int startHour, int endHour) { in isHourWindowValid() argument
158 return isHourValid(startHour) && isHourValid(endHour) && startHour != endHour; in isHourWindowValid()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeScheduleRuleSettings.java127 if (hour == mSchedule.endHour && minute == mSchedule.endMinute) { in onCreateInternal()
131 mSchedule.endHour = hour; in onCreateInternal()
164 final int endMin = 60 * mSchedule.endHour + mSchedule.endMinute; in updateEndSummary()
173 mEnd.setTime(mSchedule.endHour, mSchedule.endMinute); in updateControlsInternal()
DZenRuleScheduleHelper.java187 timeString(context, schedule.endHour, schedule.endMinute))); in getDaysAndTimeSummary()
DZenRuleSelectionDialog.java178 schedule.endHour = 7; in defaultNewSchedule()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeScheduleRuleSettingsTest.java119 scheduleInfo.endHour = 2; in updateScheduleRule_updatesConditionAndTriggerDescription()
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/zen/
DZenRuleScheduleHelperTest.java182 mScheduleInfo.endHour = 16; in getDaysAndTimeSummary()