Home
last modified time | relevance | path

Searched refs:idleMainLooper (Results 1 – 10 of 10) 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.java107 ShadowLooper.idleMainLooper(); in testPostAndIdleMainLooper()
114 ShadowLooper.idleMainLooper(); in postDelayedThenIdleMainLooper_shouldNotRunRunnable()
263 ShadowLooper.idleMainLooper(0); in sendEmptyMessage_addMessageToQueue()
273 ShadowLooper.idleMainLooper(100); in sendEmptyMessageDelayed_sendsMessageAtCorrectTime()
275 ShadowLooper.idleMainLooper(400); in sendEmptyMessageDelayed_sendsMessageAtCorrectTime()
286 ShadowLooper.idleMainLooper(100); in sendMessageAtTime_sendsMessageAtCorrectTime()
288 ShadowLooper.idleMainLooper(400); in sendMessageAtTime_sendsMessageAtCorrectTime()
DShadowLooperTest.java115 ShadowLooper.idleMainLooper(1999); in idleMainLooper_executesScheduledTasks()
117 ShadowLooper.idleMainLooper(1); in idleMainLooper_executesScheduledTasks()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/video/
DDecoderVideoRendererTest.java202 ShadowLooper.idleMainLooper(); in enable_withMayRenderStartOfStream_rendersFirstFrameBeforeStart()
230 ShadowLooper.idleMainLooper(); in enable_withoutMayRenderStartOfStream_doesNotRenderFirstFrameBeforeStart()
258 ShadowLooper.idleMainLooper(); in enable_withoutMayRenderStartOfStream_rendersFirstFrameAfterStart()
302 ShadowLooper.idleMainLooper(); in replaceStream_whenStarted_rendersFirstFrameOfNewStream()
345 ShadowLooper.idleMainLooper(); in replaceStream_whenNotStarted_doesNotRenderFirstFrameOfNewStream()
/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()
/external/libchrome/base/android/junit/src/org/chromium/base/memory/
DMemoryPressureMonitorTest.java99 ShadowLooper.idleMainLooper(delayMs, TimeUnit.MILLISECONDS); in runUiThreadFor()
/external/exoplayer/tree/extensions/cronet/src/test/java/com/google/android/exoplayer2/ext/cronet/
DCronetDataSourceTest.java1473 ShadowLooper.idleMainLooper(); in setSystemClockInMsAndTriggerPendingMessages()