Home
last modified time | relevance | path

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

/external/robolectric/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/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/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/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/app/src/com/skia/
DSkiaSampleRenderer.java67 mHandler.postDelayed(new Runnable() { in startTimer()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/
DBitmapPreFillRunner.java137 handler.postDelayed(this, getNextDelay()); in run()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/
DRobolectricTest.java129 new Handler().postDelayed(new Runnable() { in idleMainLooper_executesScheduledTasks()
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...