Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowOverScrollerTest.java39 ShadowLooper.idleMainLooper(100); in shouldScrollOverTime()
45 ShadowLooper.idleMainLooper(401); in shouldScrollOverTime()
51 ShadowLooper.idleMainLooper(1000); in shouldScrollOverTime()
67 ShadowLooper.idleMainLooper(500); in computeScrollOffsetShouldCalculateWhetherScrollIsFinished()
70 ShadowLooper.idleMainLooper(500); in computeScrollOffsetShouldCalculateWhetherScrollIsFinished()
78 ShadowLooper.idleMainLooper(500); in abortAnimationShouldMoveToFinalPositionImmediately()
90 ShadowLooper.idleMainLooper(500); in forceFinishedShouldFinishWithoutMovingFurther()
DShadowScrollerTest.java37 ShadowLooper.idleMainLooper(334); in shouldScrollOverTime()
43 ShadowLooper.idleMainLooper(166); in shouldScrollOverTime()
49 ShadowLooper.idleMainLooper(500); in shouldScrollOverTime()
55 ShadowLooper.idleMainLooper(1); in shouldScrollOverTime()
67 ShadowLooper.idleMainLooper(500); in computeScrollOffsetShouldCalculateWhetherScrollIsFinished()
70 ShadowLooper.idleMainLooper(500); in computeScrollOffsetShouldCalculateWhetherScrollIsFinished()
DAdapterViewBehavior.java44 ShadowLooper.idleMainLooper(); in shouldIgnoreSetSelectionCallsWithInvalidPosition()
47 ShadowLooper.idleMainLooper(); in shouldIgnoreSetSelectionCallsWithInvalidPosition()
105 ShadowLooper.idleMainLooper(); in testSetEmptyView_ShouldHideEmptyViewWhenAdapterGetsNewItem()
123 ShadowLooper.idleMainLooper(); in testSetEmptyView_ShouldHideAdapterViewWhenAdapterBecomesEmpty()
DShadowHandlerTest.java106 ShadowLooper.idleMainLooper(); in testPostAndIdleMainLooper()
113 ShadowLooper.idleMainLooper(); in postDelayedThenIdleMainLooper_shouldNotRunRunnable()
262 ShadowLooper.idleMainLooper(0); in sendEmptyMessage_addMessageToQueue()
272 ShadowLooper.idleMainLooper(100); in sendEmptyMessageDelayed_sendsMessageAtCorrectTime()
274 ShadowLooper.idleMainLooper(400); in sendEmptyMessageDelayed_sendsMessageAtCorrectTime()
285 ShadowLooper.idleMainLooper(100); in sendMessageAtTime_sendsMessageAtCorrectTime()
287 ShadowLooper.idleMainLooper(400); in sendMessageAtTime_sendsMessageAtCorrectTime()
DShadowLooperTest.java114 ShadowLooper.idleMainLooper(1999); in idleMainLooper_executesScheduledTasks()
116 ShadowLooper.idleMainLooper(1); in idleMainLooper_executesScheduledTasks()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLooper.java198 public static void idleMainLooper() { in idleMainLooper() method in ShadowLooper
204 public static void idleMainLooper(long interval) { in idleMainLooper() method in ShadowLooper
205 idleMainLooper(interval, TimeUnit.MILLISECONDS); in idleMainLooper()
208 public static void idleMainLooper(long amount, TimeUnit unit) { in idleMainLooper() method in ShadowLooper
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTest.java92 ShadowLooper.idleMainLooper(1999); in idleMainLooper_executesScheduledTasks()
94 ShadowLooper.idleMainLooper(1); in idleMainLooper_executesScheduledTasks()