Home
last modified time | relevance | path

Searched refs:timerId (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerService.java53 final int timerId = timer == null ? -1 : timer.getId(); in createTimerExpiredIntent() local
56 .putExtra(HandleDeskClockApiCalls.EXTRA_TIMER_ID, timerId); in createTimerExpiredIntent()
69 public static Intent createAddMinuteTimerIntent(Context context, int timerId) { in createAddMinuteTimerIntent() argument
72 .putExtra(HandleDeskClockApiCalls.EXTRA_TIMER_ID, timerId); in createAddMinuteTimerIntent()
104 final int timerId = intent.getIntExtra(HandleDeskClockApiCalls.EXTRA_TIMER_ID, -1); in onStartCommand() local
105 final Timer timer = DataModel.getDataModel().getTimer(timerId); in onStartCommand()
DTimerReceiver.java38 final int timerId = intent.getIntExtra("timer.intent.extra", -1); in onReceive() local
39 final Timer timer = DataModel.getDataModel().getTimer(timerId); in onReceive()
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleDeskClockApiCalls.java183 int timerId = intent.getIntExtra(EXTRA_TIMER_ID, -1); in handleTimerIntent() local
190 if (timerId == -1) { in handleTimerIntent()
204 timer = DataModel.getDataModel().getTimer(timerId); in handleTimerIntent()
213 timerId = timer.getId(); in handleTimerIntent()
220 timerId = -1; in handleTimerIntent()
252 if (timerId != -1) { in handleTimerIntent()
253 showTimers.putExtra(EXTRA_TIMER_ID, timerId); in handleTimerIntent()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerModel.java170 Timer getTimer(int timerId) { in getTimer() argument
172 if (timer.getId() == timerId) { in getTimer()
757 final int timerId; in updateHeadsUpNotification() local
762 timerId = -1; in updateHeadsUpNotification()
768 timerId = timer.getId(); in updateHeadsUpNotification()
813 final Intent addMinute = TimerService.createAddMinuteTimerIntent(mContext, timerId); in updateHeadsUpNotification()
DTimerDAO.java83 for (String timerId : timerIds) { in getTimers()
84 final int id = Integer.parseInt(timerId); in getTimers()
DDataModel.java281 public Timer getTimer(int timerId) { in getTimer() argument
283 return mTimerModel.getTimer(timerId); in getTimer()