Searched refs:alarmInstance (Results 1 – 10 of 10) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
D | AlarmItemViewHolder.kt | 47 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>()
|
D | CollapsedAlarmViewHolder.kt | 77 val alarmInstance = itemHolder.alarmInstance in <lambda>() constant 82 bindPreemptiveDismissButton(context, alarm, alarmInstance) in <lambda>()
|
D | ExpandedAlarmViewHolder.kt | 146 val alarmInstance = itemHolder.alarmInstance in <lambda>() constant 152 bindPreemptiveDismissButton(context, alarm, alarmInstance) in <lambda>()
|
D | AlarmItemHolder.kt | 28 val alarmInstance: AlarmInstance?, constant
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | DeskClockBackupAgent.kt | 140 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()
|
D | HandleApiCalls.kt | 286 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()
|
D | FetchMatchingAlarmsAction.kt | 96 val alarmInstance = AlarmInstance.getNextUpcomingInstanceByAlarmId(cr, alarm.id) in run() constant 97 if (alarmInstance != null && in run() 98 alarmInstance.mAlarmState == InstancesColumns.FIRED_STATE) { in run()
|
D | AlarmClockFragment.kt | 243 val alarmInstance = if (alarm.canPreemptivelyDismiss()) { in onLoadFinished() constant 248 val itemHolder = AlarmItemHolder(alarm, alarmInstance, mAlarmTimeClickHandler) in onLoadFinished()
|
D | Utils.kt | 316 fun isAlarmWithin24Hours(alarmInstance: AlarmInstance): Boolean { in isAlarmWithin24Hours() 317 val nextAlarmTime: Calendar = alarmInstance.alarmTime in isAlarmWithin24Hours()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmTimeClickHandler.kt | 156 fun dismissAlarmInstance(alarmInstance: AlarmInstance) { in dismissAlarmInstance() 158 mContext, AlarmStateManager.ALARM_DISMISS_TAG, alarmInstance, in dismissAlarmInstance() 161 mAlarmUpdateHandler.showPredismissToast(alarmInstance) in dismissAlarmInstance()
|