Home
last modified time | relevance | path

Searched refs:getTimer (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerItemFragment.java59 final Timer timer = getTimer(); in onCreateView()
79 final Timer timer = getTimer(); in updateTime()
91 Timer getTimer() { in getTimer() method in TimerItemFragment
92 return DataModel.getDataModel().getTimer(getTimerId()); in getTimer()
98 final Timer timer = getTimer(); in onClick()
107 final long currentTime = getTimer().getRemainingTime(); in onClick()
120 final LabelDialogFragment fragment = LabelDialogFragment.newInstance(getTimer()); in onClick()
128 final Timer clickedTimer = getTimer(); in onClick()
DTimerFragment.java182 final Timer timer = DataModel.getDataModel().getTimer(showTimerId); in onStart()
201 final Timer timer = DataModel.getDataModel().getTimer(showTimerId); in onResume()
241 final Timer timer = getTimer(); in updateFab()
331 final Timer timer = getTimer(); in onFabClick()
392 final Timer timer = getTimer(); in onLeftButtonClick()
681 private Timer getTimer() { in getTimer() method in TimerFragment
686 return mAdapter.getCount() == 0 ? null : mAdapter.getTimer(mViewPager.getCurrentItem()); in getTimer()
DTimerPagerAdapter.java69 final Timer timer = fragment.getTimer(); in getItemPosition()
176 Timer getTimer(int index) { in getTimer() method in TimerPagerAdapter
DExpiredTimersActivity.kt170 val timer: Timer = DataModel.dataModel.getTimer(timerId)!! in addTimer()
239 val timer: Timer? = DataModel.dataModel.getTimer(timerItem.id) in run()
DExpiredTimersActivity.java181 final Timer timer = DataModel.getDataModel().getTimer(timerId); in addTimer()
255 final Timer timer = DataModel.getDataModel().getTimer(timerItem.getId()); in run()
DTimerFragment.kt160 val timer: Timer? = DataModel.dataModel.getTimer(showTimerId) in onStart()
178 val timer: Timer? = DataModel.dataModel.getTimer(showTimerId) in onResume()
585 mAdapter.getTimer(mViewPager.getCurrentItem())
DTimerReceiver.kt38 val timer: Timer? = DataModel.dataModel.getTimer(timerId) in onReceive()
DTimerReceiver.java39 final Timer timer = DataModel.getDataModel().getTimer(timerId); in onReceive()
DTimerItemFragment.kt75 get() = DataModel.dataModel.getTimer(timerId)
DTimerPagerAdapter.kt156 fun getTimer(index: Int): Timer { in getTimer() method in com.android.deskclock.timer.TimerPagerAdapter
DTimerService.kt74 val timer: Timer = DataModel.dataModel.getTimer(timerId) ?: return START_NOT_STICKY in onStartCommand()
DTimerService.java141 final Timer timer = DataModel.getDataModel().getTimer(timerId); in onStartCommand()
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DTimerServiceTest.java78 timer1 = dataModel.getTimer(timer1.getId()); in verifyIntentsHonored_whileTimersFire()
79 timer2 = dataModel.getTimer(timer2.getId()); in verifyIntentsHonored_whileTimersFire()
96 dataModel.resetTimer(dataModel.getTimer(timer1.getId())); in verifyIntentsHonored_whileTimersFire()
103 dataModel.removeTimer(dataModel.getTimer(timer2.getId())); in verifyIntentsHonored_whileTimersFire()
113 timer = dataModel.getTimer(timer.getId()); in verifyIntentsHonored_ifNoTimersAreExpired()
121 dataModel.resetTimer(dataModel.getTimer(timer.getId())); in verifyIntentsHonored_ifNoTimersAreExpired()
DExpiredTimersActivityTest.java56 dm.expireTimer(null, dm.getTimer(timer.getId())); in configurationChanges_DoNotResetFiringTimer()
57 timer = dm.getTimer(timer.getId()); in configurationChanges_DoNotResetFiringTimer()
66 assertSame(timer, dm.getTimer(timer.getId())); in configurationChanges_DoNotResetFiringTimer()
DTimerItemFragmentTest.java73 assertEquals(timerItemFragment.getTimer(), timer); in ensureTimerIsHeldSuccessfully_whenOneTimerIsRunning()
/packages/apps/TV/common/src/com/android/tv/common/
DBaseApplication.java66 Debug.getTimer(Debug.TAG_START_UP_TIMER).start(); in onCreate()
67 Debug.getTimer(Debug.TAG_START_UP_TIMER) in onCreate()
/packages/apps/TV/src/com/android/tv/
DTvApplication.java168 Debug.getTimer(Debug.TAG_START_UP_TIMER).log("finish TvApplication.onCreate"); in onCreate()
179 Debug.getTimer(Debug.TAG_START_UP_TIMER).log("start TvApplication.start"); in start()
227 Debug.getTimer(Debug.TAG_START_UP_TIMER).log("finish TvApplication.start"); in start()
DMainActivity.java435 Debug.getTimer(Debug.TAG_START_UP_TIMER)
506 DurationTimer startUpDebugTimer = Debug.getTimer(Debug.TAG_START_UP_TIMER); in onCreate()
730 Debug.getTimer(Debug.TAG_START_UP_TIMER).log("MainActivity.onCreate end"); in onCreate()
849 Debug.getTimer(Debug.TAG_START_UP_TIMER).log("MainActivity.onResume start"); in onResume()
917 Debug.getTimer(Debug.TAG_START_UP_TIMER).log("MainActivity.onResume end"); in onResume()
1566 Debug.getTimer(Debug.TAG_START_UP_TIMER) in handleIntent()
2007 Debug.getTimer(Debug.TAG_START_UP_TIMER).reset();
2868 Debug.getTimer(Debug.TAG_START_UP_TIMER).log("MainActivity.MyOnTuneListener.onTune");
2951 Debug.getTimer(Debug.TAG_START_UP_TIMER)
/packages/apps/TV/src/com/android/tv/ui/
DTunableTvView.java323 Debug.getTimer(Debug.TAG_START_UP_TIMER)
327 Debug.getTimer(Debug.TAG_START_UP_TIMER).reset();
340 Debug.getTimer(Debug.TAG_START_UP_TIMER)
347 Debug.getTimer(Debug.TAG_START_UP_TIMER)
609 Debug.getTimer(Debug.TAG_START_UP_TIMER).log("TunableTvView.tuneTo"); in tuneTo()
DAppLayerTvView.java75 Debug.getTimer(Debug.TAG_START_UP_TIMER) in getLocationOnScreen()
/packages/apps/TV/common/src/com/android/tv/common/util/
DDebug.java37 public static DurationTimer getTimer(String tag) { in getTimer() method in Debug
/packages/apps/DeskClock/src/com/android/deskclock/data/
DDataModel.java449 public Timer getTimer(int timerId) { in getTimer() method in DataModel
451 return mTimerModel.getTimer(timerId); in getTimer()
DDataModel.kt436 fun getTimer(timerId: Int): Timer? { in getTimer() method
438 return mTimerModel?.getTimer(timerId) in getTimer()
DTimerModel.kt154 fun getTimer(timerId: Int): Timer? { in getTimer() method in com.android.deskclock.data.TimerModel
/packages/apps/DeskClock/src/com/android/deskclock/
DLabelDialogFragment.java189 final Timer timer = DataModel.getDataModel().getTimer(mTimerId); in setLabel()

12