Searched refs:nextAlarm (Results 1 – 8 of 8) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmStateManager.kt | 211 val nextAlarm = getNextFiringAlarm(context) in <lambda>() constant 214 updateNextAlarmInSystemSettings(context, nextAlarm) in <lambda>() 216 updateNextAlarmInAlarmManager(context, nextAlarm) in <lambda>() 233 var nextAlarm: AlarmInstance? = null in <lambda>() variable 235 if (nextAlarm == null || instance.alarmTime.before(nextAlarm.alarmTime)) { in <lambda>() 236 nextAlarm = instance in <lambda>() 239 return nextAlarm in <lambda>() 246 private fun updateNextAlarmInSystemSettings(context: Context, nextAlarm: AlarmInstance?) { in <lambda>() 249 if (nextAlarm != null) { in <lambda>() 250 time = AlarmUtils.getFormattedTime(context, nextAlarm.alarmTime) in <lambda>() [all …]
|
D | AlarmStateManager.java | 168 final AlarmInstance nextAlarm = getNextFiringAlarm(context); in updateNextAlarm() local 171 updateNextAlarmInSystemSettings(context, nextAlarm); in updateNextAlarm() 173 updateNextAlarmInAlarmManager(context, nextAlarm); in updateNextAlarm() 188 AlarmInstance nextAlarm = null; in getNextFiringAlarm() local 190 if (nextAlarm == null || instance.getAlarmTime().before(nextAlarm.getAlarmTime())) { in getNextFiringAlarm() 191 nextAlarm = instance; in getNextFiringAlarm() 194 return nextAlarm; in getNextFiringAlarm() 202 private static void updateNextAlarmInSystemSettings(Context context, AlarmInstance nextAlarm) { in updateNextAlarmInSystemSettings() argument 205 if (nextAlarm != null) { in updateNextAlarmInSystemSettings() 206 time = AlarmUtils.getFormattedTime(context, nextAlarm.getAlarmTime()); in updateNextAlarmInSystemSettings() [all …]
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetProvider.java | 224 rv.setViewVisibility(R.id.nextAlarm, GONE); in relayoutWidget() 227 rv.setTextViewText(R.id.nextAlarm, nextAlarmTime); in relayoutWidget() 228 rv.setViewVisibility(R.id.nextAlarm, VISIBLE); in relayoutWidget() 260 rv.setTextViewTextSize(R.id.nextAlarm, COMPLEX_UNIT_PX, sizes.mFontSizePx); in relayoutWidget() 305 final TextView nextAlarm = (TextView) sizer.findViewById(R.id.nextAlarm); in optimizeSizes() local 307 nextAlarm.setVisibility(GONE); in optimizeSizes() 310 nextAlarm.setText(nextAlarmTime); in optimizeSizes() 311 nextAlarm.setVisibility(VISIBLE); in optimizeSizes() 405 final TextView nextAlarm = (TextView) sizer.findViewById(R.id.nextAlarm); in measure() local 413 nextAlarm.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx); in measure()
|
D | DigitalAppWidgetProvider.kt | 339 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>() 418 val nextAlarm: TextView = sizer.findViewById(R.id.nextAlarm) as TextView in <lambda>() constant 420 nextAlarm.setVisibility(GONE) in <lambda>() 423 nextAlarm.setText(nextAlarmTime) in <lambda>() 424 nextAlarm.setVisibility(VISIBLE) in <lambda>() 474 val nextAlarm: TextView = sizer.findViewById(R.id.nextAlarm) as TextView in <lambda>() constant 482 nextAlarm.setTextSize(COMPLEX_UNIT_PX, measuredSizes.mFontSizePx.toFloat()) in <lambda>()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | FetchMatchingAlarmsAction.java | 120 final AlarmInstance nextAlarm = AlarmStateManager.getNextFiringAlarm(mContext); in run() 121 if (nextAlarm == null) { in run() 128 final Calendar nextTime = nextAlarm.getAlarmTime(); in run()
|
D | Utils.java | 339 final TextView nextAlarmView = (TextView) clock.findViewById(R.id.nextAlarm); in refreshAlarm()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | AbstractZenModePreferenceController.java | 207 long nextAlarm = getNextAlarm(mContext); in parseAutomaticRuleEndTime() local 208 schedule.maybeSetNextAlarm(System.currentTimeMillis(), nextAlarm); in parseAutomaticRuleEndTime() local 210 return nextAlarm; in parseAutomaticRuleEndTime()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | AbstractZenModePreferenceController.java | 207 long nextAlarm = getNextAlarm(mContext); in parseAutomaticRuleEndTime() local 208 schedule.maybeSetNextAlarm(System.currentTimeMillis(), nextAlarm); in parseAutomaticRuleEndTime() local 210 return nextAlarm; in parseAutomaticRuleEndTime()
|