Home
last modified time | relevance | path

Searched refs:getRemainingTime (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimer.java144 public long getRemainingTime() { in getRemainingTime() method in Timer
184 return getTotalLength() - getRemainingTime(); in getElapsedTime()
212 final long remainingTime = getRemainingTime(); in pause()
225 final long remainingTime = Math.min(0L, getRemainingTime()); in expire()
238 final long remainingTime = Math.min(0L, getRemainingTime()); in miss()
426 order = Long.compare(timer1.getRemainingTime(), timer2.getRemainingTime());
DTimerDAO.java123 editor.putLong(REMAINING_TIME + id, timer.getRemainingTime()); in addTimer()
131 timer.getLastStartTime(), timer.getLastWallClockTime(), timer.getRemainingTime(), in addTimer()
148 editor.putLong(REMAINING_TIME + id, timer.getRemainingTime()); in updateTimer()
DTimerNotificationBuilder.java183 timer.getRemainingTime(), false); in build()
186 timer.getRemainingTime(), false); in build()
196 final long remainingTime = timer.getRemainingTime(); in build()
392 final long remaining = timer.getRemainingTime(); in getChronometerBase()
DDataModel.java497 if (timer.getRemainingTime() <= 0) { in startTimer()
612 if (timer.isRunning() && timer.getRemainingTime() <= 0) { in setRemainingTime()
DTimerModel.java646 if (updated.getRemainingTime() < MISSED_THRESHOLD && updated.isRunning()) { in doUpdateAfterRebootTimer()
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DTimerFragmentTest.java397 long remainingTime1 = DataModel.getDataModel().getTimers().get(0).getRemainingTime(); in clickAdd_addsOneMinuteToTimer()
399 long remainingTime2 = DataModel.getDataModel().getTimers().get(0).getRemainingTime(); in clickAdd_addsOneMinuteToTimer()
422 long remainingTime1 = DataModel.getDataModel().getTimers().get(1).getRemainingTime(); in clickAdd_addsOneMinuteToSecondTimer()
424 long remainingTime2 = DataModel.getDataModel().getTimers().get(1).getRemainingTime(); in clickAdd_addsOneMinuteToSecondTimer()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerItemFragment.java107 final long currentTime = getTimer().getRemainingTime(); in onClick()
DTimerItem.java91 mTimerTextController.setTimeString(timer.getRemainingTime()); in update()
DTimerFragment.java339 final long currentTime = timer.getRemainingTime(); in onFabClick()