Lines Matching refs:duration
82 private void setupTimer(long duration) { in setupTimer() argument
90 notifyMgr.notify(Constants.NOTIFICATION_TIMER_COUNTDOWN, buildNotification(duration)); in setupTimer()
93 registerWithAlarmManager(duration); in setupTimer()
100 long duration = mTimeOptions[holder.getPosition()].duration; in onClick() local
101 setupTimer(duration); in onClick()
108 private void registerWithAlarmManager(long duration) { in registerWithAlarmManager() argument
119 long wakeupTime = System.currentTimeMillis() + duration; in registerWithAlarmManager()
132 private Notification buildNotification(long duration) { in buildNotification() argument
149 .setContentText(TimerFormat.getTimeString(duration)) in buildNotification()
151 .setWhen(System.currentTimeMillis() + duration) in buildNotification()
174 long duration; field in SetTimerActivity.ListViewItem
178 public ListViewItem(String label, long duration) { in ListViewItem() argument
180 this.duration = duration; in ListViewItem()