Home
last modified time | relevance | path

Searched refs:mRunnable (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/
DThrottleTest.java38 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/
DDetailsViewBackgroundHelper.java49 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/
DUptimeTrackerTest.java30 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/
DGarageMode.java68 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/
DZoomControl.java68 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()
DInLineSettingKnob.java42 private final Runnable mRunnable = new Runnable() { field in InLineSettingKnob
68 mHandler.postDelayed(mRunnable, 300);
85 mHandler.postDelayed(mRunnable, 300);
DRotateTextToast.java46 private final Runnable mRunnable = new Runnable() { field in RotateTextToast
56 mHandler.postDelayed(mRunnable, TOAST_DURATION); in show()
DIndicatorControlWheel.java102 private final Runnable mRunnable = new Runnable() { field in IndicatorControlWheel
335 mHandler.post(mRunnable); in onLayout()
/packages/apps/TV/src/com/android/tv/ui/hideable/
DAutoHideScheduler.java45 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/
DSettingObserver.java35 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/
DRecurringRunner.java41 private final Runnable mRunnable; field in RecurringRunner
50 mRunnable = runnable; in RecurringRunner()
105 mRunnable.run(); in postAt()