/packages/apps/Email/tests/src/com/android/email/ |
D | ThrottleTest.java | 38 private final CountingRunnable mRunnable = new CountingRunnable(); field in ThrottleTest 41 private final Throttle mTarget = new Throttle("test", mRunnable, 60 assertEquals(0, mRunnable.mCounter); in testSingleCalls() 64 assertEquals(0, mRunnable.mCounter); // Still not called in testSingleCalls() 68 assertEquals(1, mRunnable.mCounter); // Called in testSingleCalls() 72 assertEquals(1, mRunnable.mCounter); in testSingleCalls() 79 assertEquals(1, mRunnable.mCounter); in testSingleCalls() 83 assertEquals(1, mRunnable.mCounter); // Still not called in testSingleCalls() 87 assertEquals(2, mRunnable.mCounter); // Called in testSingleCalls() 91 assertEquals(2, mRunnable.mCounter); in testSingleCalls() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DetailsViewBackgroundHelper.java | 49 mRunnable = null; in run() 53 private LoadBackgroundRunnable mRunnable; field in DetailsViewBackgroundHelper 65 if (mRunnable != null) { in setBackground() 66 mHandler.removeCallbacks(mRunnable); in setBackground() 68 mRunnable = new LoadBackgroundRunnable(background); in setBackground() 69 mHandler.postDelayed(mRunnable, SET_BACKGROUND_DELAY_MS); in setBackground()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | UptimeTrackerTest.java | 30 private Runnable mRunnable = null; field in UptimeTrackerTest.MockTimeInterface 38 if (mRunnable != null) { in tick() 39 mRunnable.run(); in tick() 51 if (mRunnable != null) { in scheduleAction() 54 mRunnable = r; in scheduleAction() 59 mRunnable = null; in cancelAllActions()
|
/packages/services/Car/service/src/com/android/car/garagemode/ |
D | GarageMode.java | 68 private Runnable mRunnable = new Runnable() { field in GarageMode 74 mHandler.postDelayed(mRunnable, JOB_SNAPSHOT_UPDATE_FREQUENCY_MS); 181 mHandler.removeCallbacks(mRunnable); in cleanupGarageMode() 223 mHandler.postDelayed(mRunnable, JOB_SNAPSHOT_INITIAL_UPDATE_MS); in startMonitoringThread() 227 mHandler.removeCallbacks(mRunnable); in stopMonitoringThread()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ZoomControl.java | 68 protected final Runnable mRunnable = new Runnable() { field in ZoomControl 104 if (!mSmoothZoomSupported) mHandler.removeCallbacks(mRunnable); in closeZoomControl() 165 if (fromUser) mHandler.removeCallbacks(mRunnable); in performZoom() 181 mHandler.postDelayed(mRunnable, ZOOMING_INTERVAL / mZoomMax); in performZoom()
|
D | InLineSettingKnob.java | 42 private final Runnable mRunnable = new Runnable() { field in InLineSettingKnob 68 mHandler.postDelayed(mRunnable, 300); 85 mHandler.postDelayed(mRunnable, 300);
|
D | RotateTextToast.java | 46 private final Runnable mRunnable = new Runnable() { field in RotateTextToast 56 mHandler.postDelayed(mRunnable, TOAST_DURATION); in show()
|
D | IndicatorControlWheel.java | 102 private final Runnable mRunnable = new Runnable() { field in IndicatorControlWheel 335 mHandler.post(mRunnable); in onLayout()
|
/packages/apps/TV/src/com/android/tv/ui/hideable/ |
D | AutoHideScheduler.java | 45 private final Runnable mRunnable; field in AutoHideScheduler 57 mRunnable = runnable; in AutoHideScheduler() 58 mHandler = new HideHandler(looper, mRunnable); in AutoHideScheduler()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | SettingObserver.java | 35 private final Runnable mRunnable; field in SettingObserver.Listener 39 mRunnable = runnable; in Listener() 45 mExecutor.execute(mRunnable); in onSettingChanged()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | RecurringRunner.java | 41 private final Runnable mRunnable; field in RecurringRunner 50 mRunnable = runnable; in RecurringRunner() 105 mRunnable.run(); in postAt()
|