Home
last modified time | relevance | path

Searched refs:postDelayed (Results 1 – 15 of 15) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/
DSchedulerTest.java22 scheduler.postDelayed(new AddToTranscript("one"), 0); in testTick_ReturnsTrueIffSomeJobWasRun()
23 scheduler.postDelayed(new AddToTranscript("two"), 0); in testTick_ReturnsTrueIffSomeJobWasRun()
24 scheduler.postDelayed(new AddToTranscript("three"), 1000); in testTick_ReturnsTrueIffSomeJobWasRun()
38 scheduler.postDelayed(new AddToTranscript("one"), 1000); in testShadowPostDelayed()
39 scheduler.postDelayed(new AddToTranscript("two"), 2000); in testShadowPostDelayed()
40 scheduler.postDelayed(new AddToTranscript("three"), 3000); in testShadowPostDelayed()
80 scheduler.postDelayed(new Runnable() { in testShadowPostDelayed_WhenMoreItemsAreAdded()
84 scheduler.postDelayed(new Runnable() { in testShadowPostDelayed_WhenMoreItemsAreAdded()
88 scheduler.postDelayed(new AddToTranscript("three"), 1000); in testShadowPostDelayed_WhenMoreItemsAreAdded()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DHandlerTest.java108 new Handler().postDelayed(scratchRunnable, 1); in postDelayedThenIdleMainLooper_shouldNotRunRunnable()
115 new Handler().postDelayed(scratchRunnable, 1); in testPostDelayedThenRunMainLooperOneTask()
135 new Handler().postDelayed(scratchRunnable, 1); in testPostDelayedThenRunMainLooperToNextTask_shouldRunOneTask()
145 new Handler().postDelayed(task1, 1); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks()
146 new Handler().postDelayed(task2, 1); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks()
158 new Handler().postDelayed(task1, 1); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask()
159 new Handler().postDelayed(task2, 1); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask()
172 new Handler().postDelayed(task1, 1); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask()
173 new Handler().postDelayed(task2, 10); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask()
174 new Handler().postDelayed(task3, 100); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask()
DLooperTest.java25 new Handler().postDelayed(new Runnable() { in idleMainLooper_executesScheduledTasks()
DViewTest.java202 view.postDelayed(runnable, 1); in shouldPostActionsToTheMessageQueueWithDelay()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowHandler.java47 return postDelayed(r, 0); in post()
51 public boolean postDelayed(Runnable r, long delayMillis) { in postDelayed() method in ShadowHandler
100 postDelayed(new Runnable() { in sendMessageDelayed()
DShadowLooper.java154 scheduler.postDelayed(runnable, delayMillis);
DShadowView.java934 public void postDelayed(Runnable action, long delayMills) { in postDelayed() method in ShadowView
935 Robolectric.getUiThreadScheduler().postDelayed(action, delayMills); in postDelayed()
940 Robolectric.getUiThreadScheduler().postDelayed(new Runnable() { in postInvalidateDelayed()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
DScheduler.java30 public void postDelayed(Runnable runnable, long delayMillis) { in postDelayed() method in Scheduler
40 postDelayed(runnable, 0); in post()
/external/skia/platform_tools/android/apps/sample_app/src/main/java/com/skia/
DSkiaSampleRenderer.java67 mHandler.postDelayed(new Runnable() { in startTimer()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/
DNumberPicker.java71 mHandler.postDelayed(this, mSpeed);
74 mHandler.postDelayed(this, mSpeed);
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DVideoCapturerAndroid.java153 cameraThreadHandler.postDelayed(this, CAMERA_OBSERVER_PERIOD_MS);
448 cameraThreadHandler.postDelayed(openCameraOnCodecThreadRunner, OPEN_CAMERA_DELAY_MS); in startCaptureOnCameraThread()
469 cameraThreadHandler.postDelayed(cameraObserver, CAMERA_OBSERVER_PERIOD_MS); in startCaptureOnCameraThread()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/
DBitmapPreFillRunner.java137 handler.postDelayed(this, getNextDelay()); in run()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
DRobolectricTest.java129 new Handler().postDelayed(new Runnable() { in idleMainLooper_executesScheduledTasks()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCallActivity.java256 (new Handler()).postDelayed(new Runnable() { in onCreate()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java540 handler.postDelayed(new Runnable() { in onCreate()