/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 | AlarmItemViewHolder.java | 68 final AlarmInstance alarmInstance = getItemHolder().getAlarmInstance(); in AlarmItemViewHolder() 69 if (alarmInstance != null) { in AlarmItemViewHolder() 70 getItemHolder().getAlarmTimeClickHandler().dismissAlarmInstance(alarmInstance); in AlarmItemViewHolder() 104 AlarmInstance alarmInstance) { in bindPreemptiveDismissButton() argument 105 final boolean canBind = alarm.canPreemptivelyDismiss() && alarmInstance != null; in bindPreemptiveDismissButton() 110 AlarmUtils.getAlarmText(context, alarmInstance, false)) in bindPreemptiveDismissButton()
|
D | AlarmItemHolder.java | 33 public AlarmItemHolder(Alarm alarm, AlarmInstance alarmInstance, in AlarmItemHolder() argument 36 mAlarmInstance = alarmInstance; in AlarmItemHolder()
|
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 | CollapsedAlarmViewHolder.java | 102 final AlarmInstance alarmInstance = itemHolder.getAlarmInstance(); in onBindItemView() local 107 bindPreemptiveDismissButton(context, alarm, alarmInstance); in onBindItemView()
|
D | AlarmItemHolder.kt | 28 val alarmInstance: AlarmInstance?, constant
|
D | ExpandedAlarmViewHolder.java | 196 final AlarmInstance alarmInstance = itemHolder.getAlarmInstance(); in onBindItemView() local 202 bindPreemptiveDismissButton(context, alarm, alarmInstance); in onBindItemView()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | DeskClockBackupAgent.java | 129 AlarmInstance alarmInstance = alarm.createInstanceAfter(now); in processRestoredData() local 132 alarmInstance = AlarmInstance.addInstance(contentResolver, alarmInstance); in processRestoredData() 135 AlarmStateManager.registerInstance(context, alarmInstance, true); in processRestoredData() 136 LOGGER.i("DeskClockBackupAgent scheduled alarm instance: %s", alarmInstance); in processRestoredData()
|
D | HandleApiCalls.java | 284 static void snoozeAlarm(AlarmInstance alarmInstance, Context context, Activity activity) { in snoozeAlarm() argument 288 alarmInstance.getAlarmTime().getTime()); in snoozeAlarm() 290 AlarmStateManager.setSnoozeState(context, alarmInstance, true); in snoozeAlarm() 293 LOGGER.i("Alarm snoozed: " + alarmInstance); in snoozeAlarm() 381 final AlarmInstance alarmInstance = alarm.createInstanceAfter(now); in handleSetAlarm() local 382 setupInstance(alarmInstance, skipUi); in handleSetAlarm() 385 .format(alarmInstance.getAlarmTime().getTime()); in handleSetAlarm()
|
D | FetchMatchingAlarmsAction.java | 108 final AlarmInstance alarmInstance = in run() 110 if (alarmInstance != null in run() 111 && alarmInstance.mAlarmState == AlarmInstance.FIRED_STATE) { in run()
|
D | AlarmClockFragment.java | 279 final AlarmInstance alarmInstance = alarm.canPreemptivelyDismiss() in onLoadFinished() local 282 new AlarmItemHolder(alarm, alarmInstance, mAlarmTimeClickHandler); in onLoadFinished()
|
D | AlarmClockFragment.kt | 243 val alarmInstance = if (alarm.canPreemptivelyDismiss()) { in onLoadFinished() constant 248 val itemHolder = AlarmItemHolder(alarm, alarmInstance, mAlarmTimeClickHandler) in onLoadFinished()
|
D | Utils.java | 328 public static boolean isAlarmWithin24Hours(AlarmInstance alarmInstance) { in isAlarmWithin24Hours() argument 329 final Calendar nextAlarmTime = alarmInstance.getAlarmTime(); in isAlarmWithin24Hours()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmTimeClickHandler.kt | 157 fun dismissAlarmInstance(alarmInstance: AlarmInstance) { in dismissAlarmInstance() 159 mContext, AlarmStateManager.ALARM_DISMISS_TAG, alarmInstance, in dismissAlarmInstance() 162 mAlarmUpdateHandler.showPredismissToast(alarmInstance) in dismissAlarmInstance()
|
D | AlarmTimeClickHandler.java | 164 public void dismissAlarmInstance(AlarmInstance alarmInstance) { in dismissAlarmInstance() argument 166 mContext, AlarmStateManager.ALARM_DISMISS_TAG, alarmInstance, in dismissAlarmInstance() 169 mAlarmUpdateHandler.showPredismissToast(alarmInstance); in dismissAlarmInstance()
|