Home
last modified time | relevance | path

Searched refs:getUiThreadScheduler (Results 1 – 7 of 7) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAsyncTask.java34 Robolectric.getUiThreadScheduler().post(new Runnable() { in ShadowAsyncTask()
40 Robolectric.getUiThreadScheduler().post(new Runnable() { in ShadowAsyncTask()
105 Robolectric.getUiThreadScheduler().post(new Runnable() { in publishProgress()
DShadowView.java930 Robolectric.getUiThreadScheduler().post(action); in post()
935 Robolectric.getUiThreadScheduler().postDelayed(action, delayMills); in postDelayed()
940 Robolectric.getUiThreadScheduler().postDelayed(new Runnable() { in postInvalidateDelayed()
DShadowActivity.java213 Robolectric.getUiThreadScheduler().post(action); in runOnUiThread()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAsyncTaskTest.java27 Robolectric.getUiThreadScheduler().pause(); in setUp()
DHandlerTest.java359 Robolectric.getUiThreadScheduler().advanceToLastPostedRunnable(); in shouldSetWhenOnMessage()
361 Robolectric.getUiThreadScheduler().advanceToLastPostedRunnable(); in shouldSetWhenOnMessage()
DViewTest.java205 Robolectric.getUiThreadScheduler().advanceBy(1); in shouldPostActionsToTheMessageQueueWithDelay()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
DRobolectric.java1061 getUiThreadScheduler().advanceBy(0); in runUiThreadTasks()
1065 getUiThreadScheduler().advanceToLastPostedRunnable(); in runUiThreadTasksIncludingDelayedTasks()
1240 public static Scheduler getUiThreadScheduler() { in getUiThreadScheduler() method in Robolectric