Home
last modified time | relevance | path

Searched refs:minute (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeScheduleRuleSettings.java101 public boolean onSetTime(final int hour, final int minute) { in onCreateInternal()
104 if (!ZenModeConfig.isValidMinute(minute)) return false; in onCreateInternal()
105 if (hour == mSchedule.startHour && minute == mSchedule.startMinute) { in onCreateInternal()
108 if (DEBUG) Log.d(TAG, "onPrefChange start h=" + hour + " m=" + minute); in onCreateInternal()
110 mSchedule.startMinute = minute; in onCreateInternal()
123 public boolean onSetTime(final int hour, final int minute) { in onCreateInternal()
126 if (!ZenModeConfig.isValidMinute(minute)) return false; in onCreateInternal()
127 if (hour == mSchedule.endHour && minute == mSchedule.endMinute) { in onCreateInternal()
130 if (DEBUG) Log.d(TAG, "onPrefChange end h=" + hour + " m=" + minute); in onCreateInternal()
132 mSchedule.endMinute = minute; in onCreateInternal()
[all …]
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRoutineWatchEvaluatorTest.java299 private int hourMinuteToSec(int hour, int minute) { in hourMinuteToSec() argument
300 return hourMinuteSecondToSec(hour, minute, 0); in hourMinuteToSec()
303 private int hourMinuteSecondToSec(int hour, int minute, int second) { in hourMinuteSecondToSec() argument
304 return hour * 60 * 60 + minute * 60 + second; in hourMinuteSecondToSec()
307 private Calendar todayAtHourMin(int hour, int minute) { in todayAtHourMin() argument
308 return todayAtHourMinSec(hour, minute, 0); in todayAtHourMin()
311 private Calendar todayAtHourMinSec(int hour, int minute, int second) { in todayAtHourMinSec() argument
314 time.set(Calendar.MINUTE, minute); in todayAtHourMinSec()
319 private Calendar tomorrowAtHourMin(int hour, int minute) { in tomorrowAtHourMin() argument
320 Calendar time = todayAtHourMin(hour, minute); in tomorrowAtHourMin()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/
DTimePickerDialogFragment.java31 public static TimePickerDialogFragment newInstance(int hourOfDay, int minute) { in newInstance() argument
35 args.putInt(MINUTE_KEY, minute); in newInstance()
49 int minute = args.getInt(MINUTE_KEY); in onCreateDialog() local
50 return new TimePickerDialog(getContext(), this, hour, minute, true); in onCreateDialog()
54 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { in onTimeSet() argument
56 mListener.onTimeSet(view, hourOfDay, minute); in onTimeSet()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DTimePickerDialogFragment.kt45 val minute: Int = args.getInt(ARG_MINUTE, now[Calendar.MINUTE]) in <lambda>() constant
50 }, hour, minute, DateFormat.is24HourFormat(context)) in <lambda>()
57 timePicker.setCurrentMinute(minute) in <lambda>()
81 fun onTimeSet(fragment: TimePickerDialogFragment?, hourOfDay: Int, minute: Int) in <lambda>()
98 fun show(parentFragment: Fragment, hourOfDay: Int, minute: Int) { in <lambda>()
117 if (minute in 0..59) { in <lambda>()
118 args.putInt(ARG_MINUTE, minute) in <lambda>()
DAlarmTimeClickHandler.kt178 fun onTimeSet(hourOfDay: Int, minute: Int) { in onTimeSet()
183 a.minutes = minute in onTimeSet()
188 mSelectedAlarm!!.minutes = minute in onTimeSet()
/packages/apps/Calendar/src/com/android/calendar/
DOtherPreferences.java171 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { in onTimeSet() argument
177 String summary = formatTime(hourOfDay, minute); in onTimeSet()
182 editor.putInt(KEY_OTHER_QUIET_HOURS_START_MINUTE, minute); in onTimeSet()
187 editor.putInt(KEY_OTHER_QUIET_HOURS_END_MINUTE, minute); in onTimeSet()
202 private String formatTime(int hourOfDay, int minute) { in formatTime() argument
205 time.minute = minute; in formatTime()
DUtils.java728 recycle.minute = 0; in getNextMidnight()
1133 private static int getPixelOffsetFromMinutes(int minute, int workDayHeight, in getPixelOffsetFromMinutes() argument
1136 if (minute < WORK_DAY_START_MINUTES) { in getPixelOffsetFromMinutes()
1137 y = minute * remainderHeight / WORK_DAY_START_MINUTES; in getPixelOffsetFromMinutes()
1138 } else if (minute < WORK_DAY_END_MINUTES) { in getPixelOffsetFromMinutes()
1139 y = remainderHeight + (minute - WORK_DAY_START_MINUTES) * workDayHeight in getPixelOffsetFromMinutes()
1142 y = remainderHeight + workDayHeight + (minute - WORK_DAY_END_MINUTES) * remainderHeight in getPixelOffsetFromMinutes()
1297 long runInMillis = (24 * 3600 - time.hour * 3600 - time.minute * 60 - in setMidnightUpdater()
DDayView.java1018 gotoY = (int) ((mBaseDate.hour + 1 + mBaseDate.minute / 60.0f) in setSelected()
1107 end.minute += 1; in updateTitle()
1133 int savedMinute = mBaseDate.minute; in compareToVisibleTimeRange()
1137 mBaseDate.minute = 0; in compareToVisibleTimeRange()
1169 mBaseDate.minute = savedMinute; in compareToVisibleTimeRange()
1748 weekStart.minute = 0; in reloadEvents()
2190 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in doDraw()
2334 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in drawBgColors()
2347 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in drawBgColors()
DCalendarViewAdapter.java127 long runInMillis = (24 * 3600 - time.hour * 3600 - time.minute * 60 - in setMidnightHandler()
/packages/apps/Settings/src/com/android/settings/datetime/
DTimePreferenceController.java91 public void onTimeSet(TimePicker view, int hourOfDay, int minute) { in onTimeSet() argument
93 setTime(hourOfDay, minute); in onTimeSet()
111 void setTime(int hourOfDay, int minute) { in setTime() argument
115 c.set(Calendar.MINUTE, minute); in setTime()
/packages/apps/Calendar/tests/src/com/android/calendar/
DUtilsTests.java140 private static long createTimeInMillis(int second, int minute, int hour, int monthDay, in createTimeInMillis() argument
142 return createTimeInMillis(second, minute, hour, monthDay, month, year, in createTimeInMillis()
146 private static long createTimeInMillis(int second, int minute, int hour, int monthDay, in createTimeInMillis() argument
149 t.set(second, minute, hour, monthDay, month, year); in createTimeInMillis()
/packages/apps/Settings/src/com/android/settings/display/darkmode/
DDarkModeCustomPreferenceController.java77 return new TimePickerDialog(mContext, (view, hourOfDay, minute) -> { in getDialog()
78 final LocalTime time = LocalTime.of(hourOfDay, minute); in getDialog()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DTextTime.kt123 fun setTime(hour: Int, minute: Int) { in setTime()
125 mMinute = minute in setTime()
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplaySettings.java102 return new TimePickerDialog(context, (view, hourOfDay, minute) -> { in onCreateDialog()
103 final LocalTime time = LocalTime.of(hourOfDay, minute); in onCreateDialog()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleWeeksAdapter.java280 day.minute = mSelectedDay.minute; in onDayTapped()
DMonthByWeekFragment.java452 if (mSelectedDay.minute >= 30) { in setMonthDisplayed()
453 mSelectedDay.minute = 30; in setMonthDisplayed()
455 mSelectedDay.minute = 0; in setMonthDisplayed()
DMonthByWeekAdapter.java285 day.minute = currTime.minute; in setDayParameters()
DSimpleDayPickerFragment.java133 midnight.minute = 0;
/packages/apps/DeskClock/src/com/android/deskclock/data/
DSettingsDAO.kt369 val minute: Long = absoluteGMTOffset / MINUTE_IN_MILLIS % 60 constant
370 mTimeZoneName = String.format(locale, "(GMT%s%d:%02d) %s", sign, hour, minute, name)
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.kt366 override fun onTimeSet(fragment: TimePickerDialogFragment?, hourOfDay: Int, minute: Int) { in onTimeSet()
367 mAlarmTimeClickHandler.onTimeSet(hourOfDay, minute) in onTimeSet()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java445 time.minute = 0;
453 time.minute = 0;
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java86 time.minute = 0; in setUp()
/packages/services/Telecomm/proto/
Dtelecom.proto260 // Rounded to the nearest 5 minute interval.
/packages/modules/DnsResolver/
DREADME-DoT.md93 `DnsTlsDispatcher` maintains a 5-minute timeout. Any `DnsTlsTransport` that has had no
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...

12