Searched refs:getTimers (Results 1 – 11 of 11) sorted by relevance
58 return getTimers().size(); in getCount()71 final int position = getTimers().indexOf(timer); in getItemPosition()82 final Timer timer = getTimers().get(position); in instantiateItem()177 return getTimers().get(index); in getTimer()180 private List<Timer> getTimers() { in getTimers() method in TimerPagerAdapter181 return DataModel.getDataModel().getTimers(); in getTimers()
184 final int index = DataModel.getDataModel().getTimers().indexOf(timer); in onStart()204 final int index = DataModel.getDataModel().getTimers().indexOf(timer); in onResume()764 final int index = DataModel.getDataModel().getTimers().indexOf(after); in timerUpdated()
146 final List<Timer> timers = new ArrayList<>(DataModel.getDataModel().getTimers()); in clearTimers()359 DataModel.getDataModel().expireTimer(null, DataModel.getDataModel().getTimers().get(0)); in fabClick_resetsTimer()378 DataModel.getDataModel().expireTimer(null, DataModel.getDataModel().getTimers().get(1)); in fabClick_resetsSecondTimer()397 long remainingTime1 = DataModel.getDataModel().getTimers().get(0).getRemainingTime(); in clickAdd_addsOneMinuteToTimer()399 long remainingTime2 = DataModel.getDataModel().getTimers().get(0).getRemainingTime(); in clickAdd_addsOneMinuteToTimer()400 assertSame(Timer.State.RUNNING, DataModel.getDataModel().getTimers().get(0).getState()); 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()425 assertSame(Timer.State.RUNNING, DataModel.getDataModel().getTimers().get(1).getState()); in clickAdd_addsOneMinuteToSecondTimer()426 assertSame(Timer.State.RESET, DataModel.getDataModel().getTimers().get(0).getState()); in clickAdd_addsOneMinuteToSecondTimer()[all …]
254 if (DataModel.getDataModel().getTimers().isEmpty()) { in assertIsReset()284 if (DataModel.getDataModel().getTimers().isEmpty()) { in assertHasValue()
63 final List<Timer> timers = new ArrayList<>(DataModel.getDataModel().getTimers()); in clearTimers()
168 List<Timer> getTimers() { in getTimers() method in TimerModel317 final List<Timer> timers = new ArrayList<>(getTimers()); in updateTimersAfterReboot()332 final List<Timer> timers = new ArrayList<>(getTimers()); in updateTimersAfterTimeSet()350 final List<Timer> timers = new ArrayList<>(getTimers()); in resetOrDeleteExpiredTimers()367 final List<Timer> timers = new ArrayList<>(getTimers()); in resetMissedTimers()384 final List<Timer> timers = new ArrayList<>(getTimers()); in resetUnexpiredTimers()476 mTimers = TimerDAO.getTimers(mPrefs); in getMutableTimers()
432 public List<Timer> getTimers() { in getTimers() method in DataModel434 return mTimerModel.getTimers(); in getTimers()
60 fun getTimers(prefs: SharedPreferences): MutableList<Timer> { in getTimers() method
72 static List<Timer> getTimers(SharedPreferences prefs) { in getTimers() method in TimerDAO
431 mTimers = TimerDAO.getTimers(mPrefs)
444 final List<Timer> timers = DataModel.getDataModel().getTimers(); in handleShowTimers()481 for (Timer t : DataModel.getDataModel().getTimers()) { in handleSetTimer()