Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmStateManager.kt210 val nextAlarm = getNextFiringAlarm(context) in <lambda>() constant
213 updateNextAlarmInSystemSettings(context, nextAlarm) in <lambda>()
215 updateNextAlarmInAlarmManager(context, nextAlarm) in <lambda>()
232 var nextAlarm: AlarmInstance? = null in <lambda>() variable
234 if (nextAlarm == null || instance.alarmTime.before(nextAlarm.alarmTime)) { in <lambda>()
235 nextAlarm = instance in <lambda>()
238 return nextAlarm in <lambda>()
245 private fun updateNextAlarmInSystemSettings(context: Context, nextAlarm: AlarmInstance?) { in <lambda>()
248 if (nextAlarm != null) { in <lambda>()
249 time = AlarmUtils.getFormattedTime(context, nextAlarm.alarmTime) in <lambda>()
[all …]
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.kt339 rv.setViewVisibility(R.id.nextAlarm, GONE) in <lambda>()
342 rv.setTextViewText(R.id.nextAlarm, nextAlarmTime) in <lambda>()
343 rv.setViewVisibility(R.id.nextAlarm, VISIBLE) in <lambda>()
373 rv.setTextViewTextSize(R.id.nextAlarm, COMPLEX_UNIT_PX, sizes.mFontSizePx.toFloat()) in <lambda>()
422 val nextAlarm: TextView = sizer.findViewById(R.id.nextAlarm) as TextView in <lambda>() constant
424 nextAlarm.setVisibility(GONE) in <lambda>()
427 nextAlarm.setText(nextAlarmTime) in <lambda>()
428 nextAlarm.setVisibility(VISIBLE) in <lambda>()
478 val nextAlarm: TextView = sizer.findViewById(R.id.nextAlarm) as TextView in <lambda>() constant
486 nextAlarm.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx.toFloat()) in <lambda>()
/packages/apps/DeskClock/src/com/android/deskclock/
DFetchMatchingAlarmsAction.kt106 val nextAlarm = AlarmStateManager.getNextFiringAlarm(mContext) in run() constant
107 if (nextAlarm == null) { in run()
114 val nextTime: Calendar = nextAlarm.alarmTime in run()
DUtils.kt327 val nextAlarmView = clock.findViewById<View>(R.id.nextAlarm) as TextView? ?: return in refreshAlarm()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DAbstractZenModePreferenceController.java213 long nextAlarm = getNextAlarm(mContext); in parseAutomaticRuleEndTime() local
214 schedule.maybeSetNextAlarm(System.currentTimeMillis(), nextAlarm); in parseAutomaticRuleEndTime() local
216 return nextAlarm; in parseAutomaticRuleEndTime()