Home
last modified time | relevance | path

Searched refs:layoutLatch (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewLayoutTest.java133 layoutLatch.countDown(); in triggerFocusSearchInOnRecycledCallback()
196 layoutLatch.countDown(); in detachAttachGetReady()
342 layoutLatch.countDown(); in focusSearchWithOtherFocusables()
509 layoutLatch.countDown(); in boundingBoxRotatedWithDecorOffsets()
540 layoutLatch.countDown(); in transformedBoundingBoxTest()
668 layoutLatch.countDown(); in testScrollFrozen()
732 layoutLatch.countDown(); in testFocusSearchAfterChangedData()
824 layoutLatch.countDown(); in testFocusSearchFailFrozen()
885 layoutLatch.countDown(); in frozenAndChangeAdapter()
921 final CountDownLatch layoutLatch = new CountDownLatch(1); in moveAndUpdateCachedViews() local
[all …]
DRecyclerViewAccessibilityLifecycleTest.java155 if (!mAllowNullLayoutLatch || layoutLatch != null) { in onLayoutChildren()
156 layoutLatch.countDown(); in onLayoutChildren()
177 if (layoutLatch != null) { in notClearCustomViewDelegate()
178 layoutLatch.countDown(); in notClearCustomViewDelegate()
273 if (layoutLatch != null) { in clearItemDelegateWhenGoesToPool()
274 layoutLatch.countDown(); in clearItemDelegateWhenGoesToPool()
DBaseRecyclerViewInstrumentationTest.java212 if (lm.layoutLatch != null) { in postExceptionToInstrumentation()
213 while (lm.layoutLatch.getCount() > 0) { in postExceptionToInstrumentation()
214 lm.layoutLatch.countDown(); in postExceptionToInstrumentation()
553 if (layoutLatch != null) { in onLayoutChildren()
554 layoutLatch.countDown(); in onLayoutChildren()
562 protected CountDownLatch layoutLatch; field in BaseRecyclerViewInstrumentationTest.TestLayoutManager
566 layoutLatch = new CountDownLatch(count); in expectLayouts()
570 layoutLatch.await(seconds * (mDebug ? 1000 : 1), SECONDS); in waitForLayout()
573 layoutLatch.getCount(), CoreMatchers.is(0L)); in waitForLayout()
596 layoutLatch.await(timeout, TimeUnit.SECONDS); in assertLayoutCount()
[all …]
DBaseLinearLayoutManagerTest.java356 CountDownLatch layoutLatch; field in BaseLinearLayoutManagerTest.WrappedLinearLayoutManager
382 layoutLatch = new CountDownLatch(count); in expectLayouts()
395 layoutLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); in waitForLayout()
398 layoutLatch.getCount(), CoreMatchers.is(0L)); in waitForLayout()
634 layoutLatch.countDown(); in onLayoutChildren()
DBaseStaggeredGridLayoutManagerTest.java476 CountDownLatch layoutLatch; field in BaseStaggeredGridLayoutManagerTest.WrappedLayoutManager
491 layoutLatch = new CountDownLatch(count); in expectLayouts()
495 layoutLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); in waitForLayout()
498 layoutLatch.getCount(), CoreMatchers.is(0L)); in waitForLayout()
554 layoutLatch.await(timeout, TimeUnit.SECONDS); in assertNoLayout()
555 assertFalse(msg, layoutLatch.getCount() == 0); in assertNoLayout()
579 layoutLatch.countDown(); in onLayoutChildren()
DRecyclerViewPrefetchTest.java56 layoutLatch.countDown(); in onLayoutCompleted()
DRecyclerViewFocusRecoveryTest.java770 layoutLatch.countDown(); in testDoNotOverrideLayoutManagerRequestedFocus()
845 layoutLatch.countDown(); in onLayoutChildren()
DBaseRecyclerViewAnimationsTest.java165 layoutLatch.countDown(); in onLayoutChildren()
DRecyclerViewAnimationsTest.java1155 mLayoutManager.layoutLatch.countDown(); in stableIdNotifyDataSetChanged()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
DItemTouchHelperTest.java75 layoutLatch.countDown(); in setup()