Home
last modified time | relevance | path

Searched refs:TestViewHolder (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseRecyclerViewInstrumentationTest.java309 class TestViewHolder extends RecyclerView.ViewHolder { class in BaseRecyclerViewInstrumentationTest
313 public TestViewHolder(View itemView) { in TestViewHolder() method in BaseRecyclerViewInstrumentationTest.TestViewHolder
365 Item item = ((TestViewHolder) lp.mViewHolder).mBoundItem; in assertVisibleItemPositions()
469 class TestAdapter extends RecyclerView.Adapter<TestViewHolder>
483 public void onViewAttachedToWindow(TestViewHolder holder) { in onViewAttachedToWindow()
489 public void onViewDetachedFromWindow(TestViewHolder holder) { in onViewDetachedFromWindow()
507 public TestViewHolder onCreateViewHolder(ViewGroup parent, in onCreateViewHolder()
509 return new TestViewHolder(new TextView(parent.getContext())); in onCreateViewHolder()
513 public void onBindViewHolder(TestViewHolder holder, int position) { in onBindViewHolder()
DRecyclerViewLayoutTest.java323 TestViewHolder holder) { in transientStateRecycleTest()
332 public void onViewRecycled(TestViewHolder holder) { in transientStateRecycleTest()
493 TestViewHolder vh = (TestViewHolder) recyclerView.getChildViewHolder(view); in adapterPositionsTest()
505 TestViewHolder vh = (TestViewHolder) recyclerView in adapterPositionsTest()
1794 TestViewHolder tvh = (TestViewHolder) vh; in testNotifyDataSetChangedWithStableIds()
1808 TestViewHolder tvh = (TestViewHolder) vh; in testNotifyDataSetChangedWithStableIds()
1818 TestViewHolder tvh = (TestViewHolder) mRecyclerView in testNotifyDataSetChangedWithStableIds()
2006 TestViewHolder viewHolder =
2007 (TestViewHolder) mRecyclerView.getChildViewHolder(view);
2107 public void onBindViewHolder(TestViewHolder holder,
DRecyclerViewAnimationsTest.java144 public void onViewRecycled(TestViewHolder holder) { in testAddRemoveSamePass()
257 public TestViewHolder onCreateViewHolder(ViewGroup parent, in changeAnimTest()
259 TestViewHolder vh = super.onCreateViewHolder(parent, viewType); in changeAnimTest()
267 public void onBindViewHolder(TestViewHolder holder, in changeAnimTest()
341 public TestViewHolder onCreateViewHolder(ViewGroup parent, in testRecycleDuringAnimations()
1180 TestViewHolder tvh = (TestViewHolder) vh; in validateViewHolderPositions()
DGridLayoutManagerTest.java98 public void onBindViewHolder(TestViewHolder holder, in customSizeInScrollDirectionTest()
193 public void onBindViewHolder(TestViewHolder holder, in layoutParamsTest()
416 public void onBindViewHolder(TestViewHolder holder, in testUnevenHeights()
442 public void onBindViewHolder(TestViewHolder holder, in testUnevenWidths()
DStaggeredGridLayoutManagerTest.java132 void onBoundItem(TestViewHolder vh, int position) { in testFindLastInUnevenDistribution()
180 void onBoundItem(TestViewHolder vh, int position) { in customSizeInScrollDirectionTest()
286 public void onBoundItem(TestViewHolder vh, int position) { in scrollBackAndPreservePositionsTest()
505 public void onBindViewHolder(TestViewHolder holder, in getFirstLastChildrenTest()
1229 TestViewHolder vh = (TestViewHolder) layoutParams.mViewHolder; in scrollToPositionTest()
1730 TestViewHolder vh = (TestViewHolder) lp.mViewHolder; in collectChildCoordinates()
1858 public void onBindViewHolder(TestViewHolder holder, in onBindViewHolder()
1895 abstract void onBoundItem(TestViewHolder vh, int position); in onBoundItem()
DLinearLayoutManagerTest.java377 public TestViewHolder onCreateViewHolder(ViewGroup parent, in testRecycleDuringAnimations()
380 final TestViewHolder testViewHolder = super.onCreateViewHolder(parent, viewType); in testRecycleDuringAnimations()
528 public void onBindViewHolder(TestViewHolder holder, in getFirstLastChildrenTest()
1061 TestViewHolder vh = (TestViewHolder) lp.mViewHolder; in collectChildCoordinates()