Home
last modified time | relevance | path

Searched refs:alarmInstance (Results 1 – 10 of 10) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DAlarmItemViewHolder.kt47 val alarmInstance = itemHolder!!.alarmInstance in <lambda>() constant
48 if (alarmInstance != null) { in <lambda>()
49 itemHolder!!.alarmTimeClickHandler.dismissAlarmInstance(alarmInstance) in <lambda>()
80 alarmInstance: AlarmInstance? in <lambda>()
82 val canBind = alarm.canPreemptivelyDismiss() && alarmInstance != null in <lambda>()
87 AlarmUtils.getAlarmText(context, alarmInstance!!, false)) in <lambda>()
DCollapsedAlarmViewHolder.kt77 val alarmInstance = itemHolder.alarmInstance in <lambda>() constant
82 bindPreemptiveDismissButton(context, alarm, alarmInstance) in <lambda>()
DExpandedAlarmViewHolder.kt146 val alarmInstance = itemHolder.alarmInstance in <lambda>() constant
152 bindPreemptiveDismissButton(context, alarm, alarmInstance) in <lambda>()
DAlarmItemHolder.kt28 val alarmInstance: AlarmInstance?, constant
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClockBackupAgent.kt140 var alarmInstance = alarm.createInstanceAfter(now) in processRestoredData() variable
143 alarmInstance = AlarmInstance.addInstance(contentResolver, alarmInstance) in processRestoredData()
146 AlarmStateManager.registerInstance(context, alarmInstance, true) in processRestoredData()
147 LOGGER.i("DeskClockBackupAgent scheduled alarm instance: %s", alarmInstance) in processRestoredData()
DHandleApiCalls.kt286 val alarmInstance = alarm.createInstanceAfter(now) in handleSetAlarm() constant
287 setupInstance(alarmInstance, skipUi) in handleSetAlarm()
289 val time = DateFormat.getTimeFormat(this).format(alarmInstance.alarmTime.time) in handleSetAlarm()
539 fun snoozeAlarm(alarmInstance: AlarmInstance, context: Context, activity: Activity) { in snoozeAlarm()
543 alarmInstance.alarmTime.time) in snoozeAlarm()
545 AlarmStateManager.setSnoozeState(context, alarmInstance, true) in snoozeAlarm()
548 LOGGER.i("Alarm snoozed: $alarmInstance") in snoozeAlarm()
DFetchMatchingAlarmsAction.kt96 val alarmInstance = AlarmInstance.getNextUpcomingInstanceByAlarmId(cr, alarm.id) in run() constant
97 if (alarmInstance != null && in run()
98 alarmInstance.mAlarmState == InstancesColumns.FIRED_STATE) { in run()
DAlarmClockFragment.kt243 val alarmInstance = if (alarm.canPreemptivelyDismiss()) { in onLoadFinished() constant
248 val itemHolder = AlarmItemHolder(alarm, alarmInstance, mAlarmTimeClickHandler) in onLoadFinished()
DUtils.kt316 fun isAlarmWithin24Hours(alarmInstance: AlarmInstance): Boolean { in isAlarmWithin24Hours()
317 val nextAlarmTime: Calendar = alarmInstance.alarmTime in isAlarmWithin24Hours()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmTimeClickHandler.kt156 fun dismissAlarmInstance(alarmInstance: AlarmInstance) { in dismissAlarmInstance()
158 mContext, AlarmStateManager.ALARM_DISMISS_TAG, alarmInstance, in dismissAlarmInstance()
161 mAlarmUpdateHandler.showPredismissToast(alarmInstance) in dismissAlarmInstance()