Home
last modified time | relevance | path

Searched refs:waitForLayout (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DStaggeredGridLayoutManagerSavedStateTest.java45 Config config, boolean waitForLayout, boolean loadDataAfterRestore, in StaggeredGridLayoutManagerSavedStateTest() argument
48 this.mWaitForLayout = waitForLayout; in StaggeredGridLayoutManagerSavedStateTest()
78 layoutManager().waitForLayout(2); in getParams()
92 layoutManager().waitForLayout(2); in getParams()
106 layoutManager().waitForLayout(2); in getParams()
131 for (boolean waitForLayout : waitForLayoutOptions) { in getParams()
133 params.add(new Object[]{config, waitForLayout, loadDataAfterRestore, in getParams()
205 mLayoutManager.waitForLayout(2); in savedState()
DRecyclerViewAnimationsTest.java85 mLayoutManager.waitForLayout(2); in keepFocusAfterChangeAnimation()
156 mLayoutManager.waitForLayout(2); in changeAndDisappearTest()
205 mLayoutManager.waitForLayout(2); in detectStableIdError()
255 mLayoutManager.waitForLayout(2); in dontLayoutReusedViewWithoutPredictive()
305 mLayoutManager.waitForLayout(2); in dontLayoutReusedViewWithPredictive()
332 mLayoutManager.waitForLayout(2); in reuseHiddenViewWithoutPredictive()
355 mLayoutManager.waitForLayout(2); in reuseHiddenViewWithoutAnimations()
378 mLayoutManager.waitForLayout(2); in reuseHiddenViewWithPredictive()
421 mLayoutManager.waitForLayout(2); in reuseHiddenViewWithProperPredictive()
449 mLayoutManager.waitForLayout(2); in dontReuseHiddenViewOnInvalidate()
[all …]
DRecyclerViewLayoutTest.java140 tlm.waitForLayout(2); in triggerFocusSearchInOnRecycledCallback()
145 tlm.waitForLayout(1); in triggerFocusSearchInOnRecycledCallback()
157 tlm.waitForLayout(2); in triggerFocusSearchInOnRecycledCallback()
216 layoutManager.waitForLayout(2); in detachAttachGetReady()
248 layoutManager.waitForLayout(2); in detachAttachGetReady()
303 lm.waitForLayout(2); in detachRvAndLayoutManagerProperly()
314 replacement.waitForLayout(2); in detachRvAndLayoutManagerProperly()
400 tlm.waitForLayout(2); in focusSearchWithOtherFocusables()
515 layoutManager.waitForLayout(2); in boundingBoxRotatedWithDecorOffsets()
546 layoutManager.waitForLayout(2); in transformedBoundingBoxTest()
[all …]
DLinearLayoutManagerSavedStateTest.java46 public LinearLayoutManagerSavedStateTest(Config config, boolean waitForLayout, in LinearLayoutManagerSavedStateTest() argument
50 mWaitForLayout = waitForLayout; in LinearLayoutManagerSavedStateTest()
101 layoutManager().waitForLayout(2); in params()
115 layoutManager().waitForLayout(2); in params()
129 layoutManager().waitForLayout(2); in params()
253 for (boolean waitForLayout : waitForLayoutOptions) { in params()
257 config.clone(), waitForLayout, in params()
325 mLayoutManager.waitForLayout(2); in savedStateTest()
DRecyclerViewFocusRecoveryTest.java122 mLayoutManager.waitForLayout(1); in setupBasic()
133 mLayoutManager.waitForLayout(2); in testFocusRecoveryInChange()
173 mLayoutManager.waitForLayout(1); in testFocusRecoveryAfterRemovingFocusedChild()
201 mLayoutManager.waitForLayout(1); in testFocusRecoveryAfterMovingFocusedChild()
234 mLayoutManager.waitForLayout(1); in testFocusRecoveryAfterRemovingLastChild()
265 mLayoutManager.waitForLayout(1); in testFocusRecoveryAfterAddingFirstChild()
297 mLayoutManager.waitForLayout(1); in testFocusRecoveryAfterChangingFocusableFlag()
363 mLayoutManager.waitForLayout(1); in testFocusRecoveryBeforeLayout()
391 mLayoutManager.waitForLayout(1); in testFocusRecoveryDuringLayout()
536 mLayoutManager.waitForLayout(2); in testFocusRecoveryInTypeChange()
[all …]
DItemAnimatorV2ApiTest.java65 mLayoutManager.waitForLayout(2); in changeMovedOutside()
121 mLayoutManager.waitForLayout(2); in changeMovedOutsideWithPredictiveAndTwoViewHolders()
168 mLayoutManager.waitForLayout(2); in changeMovedOutsideWithPredictive()
192 mLayoutManager.waitForLayout(2); in simpleAdd()
217 mLayoutManager.waitForLayout(2); in simpleRemove()
242 mLayoutManager.waitForLayout(2); in simpleUpdate()
275 mLayoutManager.waitForLayout(2); in updateWithDuplicateViewHolder()
318 mLayoutManager.waitForLayout(2); in updateWithOneDuplicateAndOneInPlace()
370 mLayoutManager.waitForLayout(2); in changeToDisappear()
390 mLayoutManager.waitForLayout(2); in changeToDisappearFromHead()
[all …]
DStaggeredGridLayoutManagerTest.java81 mLayoutManager.waitForLayout(2000); in areAllStartsTheSame()
93 mLayoutManager.waitForLayout(2); in areAllEndsTheSame()
230 mLayoutManager.waitForLayout(2); in gapHandlingWhenItemMovesToTopTest()
235 mLayoutManager.waitForLayout(2); in gapHandlingWhenItemMovesToTopTest()
238 mLayoutManager.waitForLayout(2); in gapHandlingWhenItemMovesToTopTest()
292 mLayoutManager.waitForLayout(10); in focusSearchFailureFromSubChild()
910 mLayoutManager.waitForLayout(2); in scrollToPositionWithPredictive()
921 mLayoutManager.waitForLayout(2); in moveGapHandling()
946 mLayoutManager.waitForLayout(1); in temporaryGapHandling()
979 mLayoutManager.waitForLayout(1); in updateAfterFullSpanGapHandlingTest()
[all …]
DRecyclerViewAccessibilityLifecycleTest.java92 lm.waitForLayout(1); in dontDispatchChangeDuringLayout()
96 lm.waitForLayout(2); in dontDispatchChangeDuringLayout()
210 layoutManager.waitForLayout(1); in notClearCustomViewDelegate()
237 layoutManager.waitForLayout(1); in notClearCustomViewDelegate()
290 layoutManager.waitForLayout(1); in clearItemDelegateWhenGoesToPool()
314 layoutManager.waitForLayout(1); in clearItemDelegateWhenGoesToPool()
DLinearLayoutManagerBaseConfigSetTest.java100 mLayoutManager.waitForLayout(2); in scrollToPositionWithOffsetTest()
123 mLayoutManager.waitForLayout(2); in scrollToPositionWithOffsetTest()
200 mLayoutManager.waitForLayout(2); in getFirstLastChildrenTest()
224 mLayoutManager.waitForLayout(2); in getFirstLastChildrenTest()
234 mLayoutManager.waitForLayout(2); in dontRecycleViewsTranslatedOutOfBoundsFromStart()
268 mLayoutManager.waitForLayout(2); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
DStaggeredGridLayoutManagerBaseConfigSetTest.java116 mLayoutManager.waitForLayout(2); in rtlTest()
277 mLayoutManager.waitForLayout(2); in saveRestore()
348 mLayoutManager.waitForLayout(2); in getFirstLastChildrenTest()
372 mLayoutManager.waitForLayout(2); in getFirstLastChildrenTest()
508 mLayoutManager.waitForLayout(2); in scrollToPositionWithOffsetTest()
528 mLayoutManager.waitForLayout(2); in scrollToPositionWithOffsetTest()
580 mLayoutManager.waitForLayout(2); in scrollToPositionTest()
607 mLayoutManager.waitForLayout(2); in scrollToPositionTest()
635 mLayoutManager.waitForLayout(2); in scrollToPositionTest()
789 mLayoutManager.waitForLayout(2); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
[all …]
DLinearLayoutManagerPrepareForDropTest.java144 mLayoutManager.waitForLayout(1); in prepareForDropTest()
180 mLayoutManager.waitForLayout(2); in prepareForDropTest()
DAsyncListUtilLayoutTest.java80 mLayoutManager.waitForLayout(2); in asyncListUtil()
152 mLayoutManager.waitForLayout(1); in scrollAndAssert()
324 public void waitForLayout(int seconds) throws Throwable { in waitForLayout() method in AsyncListUtilLayoutTest.WrappedLinearLayoutManager
DGridLayoutManagerTest.java105 mGlm.waitForLayout(2); in scrollToBadOffset()
605 mGlm.waitForLayout(2); in predictiveSpanLookupTest()
636 mGlm.waitForLayout(2); in movingAGroupOffScreenForAddedItems()
997 mGlm.waitForLayout(1); in removeAnchorItemTest()
1075 mGlm.waitForLayout(2); in notifyDataSetChange()
1145 mGlm.waitForLayout(2); in spanSizeChange()
1148 mGlm.waitForLayout(2); in spanSizeChange()
1164 mGlm.waitForLayout(2); in cacheSpanIndices()
DLinearLayoutManagerResizeTest.java83 mLayoutManager.waitForLayout(1); in resize()
DGridLayoutManagerCachedBordersTest.java57 mGlm.waitForLayout(10); in gridCachedBorderstTest()
DRecyclerViewPrefetchTest.java91 layout.waitForLayout(10); in prefetchTest()
DStaggeredGridLayoutManagerGapTest.java84 mLayoutManager.waitForLayout(2); in gapAtTheBeginningOfTheListTest()
DBaseGridLayoutManagerTest.java92 mGlm.waitForLayout(2); in waitForFirstLayout()
261 public void waitForLayout(int seconds) throws Throwable { in waitForLayout() method
DBaseLinearLayoutManagerTest.java169 mLayoutManager.waitForLayout(2); in scrollToPositionWithPredictive()
176 mLayoutManager.waitForLayout(2); in waitForFirstLayout()
394 public void waitForLayout(int seconds) throws Throwable { in waitForLayout() method in BaseLinearLayoutManagerTest.WrappedLinearLayoutManager
DGridLayoutManagerRtlTest.java113 mGlm.waitForLayout(2); in rtlTest()
DGridLayoutManagerNoOpUpdateTest.java76 mGlm.waitForLayout(2); in rtlChanges()
DLinearLayoutManagerTest.java632 mLayoutManager.waitForLayout(1); in removeAnchorItemTest()
674 mLayoutManager.waitForLayout(2); in keepFocusOnRelayout()
779 mLayoutManager.waitForLayout(2); in keepFocusOnResizeTest()
934 mLayoutManager.waitForLayout(2); in scrollAndClear()
DGridLayoutManagerSnappingTest.java167 mGlm.waitForLayout(2); in setupSnapHelper()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
DItemTouchHelperTest.java143 mLayoutManager.waitForLayout(1); in basicSwipeTest()
163 mLayoutManager.waitForLayout(1); in basicSwipeTest()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java156 waitForLayout(false); in setSelectedPosition()
415 protected void waitForLayout() { in waitForLayout() method in GridWidgetTest
416 waitForLayout(true); in waitForLayout()
423 protected void waitForLayout(boolean force) { in waitForLayout() method in GridWidgetTest
481 waitForLayout(); in performAndWaitForAnimation()
854 waitForLayout(); in testWrongInsertViewIndexInFastRelayout()
862 waitForLayout(); in testWrongInsertViewIndexInFastRelayout()
1448 waitForLayout(); in testScrollSecondaryCannotScroll()
1491 waitForLayout(); in testScrollSecondaryNeedScroll()
1972 waitForLayout(); in testSmoothScrollAndRemove2()
[all …]

12