HomeSort by relevance Sort by last modified time
    Searched defs:nextAlarm (Results 1 - 9 of 9) sorted by null

  /packages/apps/Settings/src/com/android/settings/notification/
AbstractZenModePreferenceController.java 206 long nextAlarm = getNextAlarm(mContext);
207 schedule.maybeSetNextAlarm(System.currentTimeMillis(), nextAlarm);
209 return nextAlarm;
  /packages/apps/DeskClock/src/com/android/alarmclock/
DigitalAppWidgetProvider.java 224 rv.setViewVisibility(R.id.nextAlarm, GONE);
227 rv.setTextViewText(R.id.nextAlarm, nextAlarmTime);
228 rv.setViewVisibility(R.id.nextAlarm, VISIBLE);
260 rv.setTextViewTextSize(R.id.nextAlarm, COMPLEX_UNIT_PX, sizes.mFontSizePx);
305 final TextView nextAlarm = (TextView) sizer.findViewById(R.id.nextAlarm);
307 nextAlarm.setVisibility(GONE);
310 nextAlarm.setText(nextAlarmTime);
311 nextAlarm.setVisibility(VISIBLE);
405 final TextView nextAlarm = (TextView) sizer.findViewById(R.id.nextAlarm)
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
EnableZenModeDialog.java 304 GregorianCalendar nextAlarm = new GregorianCalendar();
305 nextAlarm.setTimeInMillis(nextAlarmMs);
306 setToMidnight(nextAlarm);
308 if (weekRange.compareTo(nextAlarm) >= 0) {
473 final long nextAlarm = getNextAlarm();
474 if (nextAlarm < now) {
482 if (time > now && nextAlarm < time) {
490 return mContext.getResources().getString(warningRes, getTime(nextAlarm, now));
494 protected String getTime(long nextAlarm, long now) {
495 final boolean soon = (nextAlarm - now) < 24 * 60 * 60 * 1000
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/alarms/
AlarmStateManager.java 168 final AlarmInstance nextAlarm = getNextFiringAlarm(context);
171 updateNextAlarmInSystemSettings(context, nextAlarm);
173 updateNextAlarmInAlarmManager(context, nextAlarm);
188 AlarmInstance nextAlarm = null;
190 if (nextAlarm == null || instance.getAlarmTime().before(nextAlarm.getAlarmTime())) {
191 nextAlarm = instance;
194 return nextAlarm;
202 private static void updateNextAlarmInSystemSettings(Context context, AlarmInstance nextAlarm) {
205 if (nextAlarm != null)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
ZenModePanel.java 489 final long nextAlarm = mController.getNextAlarm();
490 if (nextAlarm < now) {
498 if (time > now && nextAlarm < time) {
505 final boolean soon = (nextAlarm - now) < 24 * 60 * 60 * 1000;
509 final CharSequence formattedTime = DateFormat.format(pattern, nextAlarm);
590 GregorianCalendar nextAlarm = new GregorianCalendar();
591 nextAlarm.setTimeInMillis(nextAlarmMs);
592 setToMidnight(nextAlarm);
594 if (weekRange.compareTo(nextAlarm) >= 0) {
    [all...]
  /frameworks/base/core/java/android/service/notification/
ZenModeConfig.java     [all...]
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 
  /prebuilts/misc/common/robolectric/android-all/
android-all-4.4_r1-robolectric-1.jar 
android-all-7.0.0_r1-robolectric-0.jar 

Completed in 1109 milliseconds