Home
last modified time | relevance | path

Searched refs:findViewByPosition (Results 1 – 17 of 17) sorted by relevance

/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DGridWidgetTest.java576 int leftEdge = mGridView.getLayoutManager().findViewByPosition(focusToIndex).getLeft(); in testBug22209986()
586 mGridView.getLayoutManager().findViewByPosition(focusToIndex).getLeft()); in testBug22209986()
615 int leftEdge = mGridView.getLayoutManager().findViewByPosition(focusToIndex).getLeft(); in testScrollAndRemove()
625 mGridView.getLayoutManager().findViewByPosition(focusToIndex).getLeft()); in testScrollAndRemove()
743 int leftEdge = mGridView.getLayoutManager().findViewByPosition(focusToIndex).getLeft(); in testSmoothScrollAndRemove()
753 mGridView.getLayoutManager().findViewByPosition(focusToIndex).getLeft()); in testSmoothScrollAndRemove()
786 int leftEdge = mGridView.getLayoutManager().findViewByPosition(focusToIndex).getLeft(); in testSmoothScrollAndRemove2()
796 mGridView.getLayoutManager().findViewByPosition(focusToIndex).getLeft()); in testSmoothScrollAndRemove2()
841 int leftEdge = mGridView.getLayoutManager().findViewByPosition(focusIndex).getLeft(); in testPendingSmoothScrollAndRemove()
851 mGridView.getLayoutManager().findViewByPosition(focusIndex).getLeft()); in testPendingSmoothScrollAndRemove()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerTest.java255 View child0 = mGlm.findViewByPosition(0); in rtlTest()
258 View child1 = mGlm.findViewByPosition(secondChildPos); in rtlTest()
449 final int firstRowSize = Math.max(30, getSize(mGlm.findViewByPosition(2))); in layoutParamsTest()
451 helper.getDecoratedMeasurement(mGlm.findViewByPosition(0))); in layoutParamsTest()
453 helper.getDecoratedMeasurement(mGlm.findViewByPosition(1))); in layoutParamsTest()
455 helper.getDecoratedMeasurement(mGlm.findViewByPosition(2))); in layoutParamsTest()
456 assertEquals(firstRowSize, getSize(mGlm.findViewByPosition(0))); in layoutParamsTest()
457 assertEquals(firstRowSize, getSize(mGlm.findViewByPosition(1))); in layoutParamsTest()
458 assertEquals(firstRowSize, getSize(mGlm.findViewByPosition(2))); in layoutParamsTest()
460 final int secondRowSize = Math.max(200, getSize(mGlm.findViewByPosition(3))); in layoutParamsTest()
[all …]
DStaggeredGridLayoutManagerTest.java241 View child0 = mLayoutManager.findViewByPosition(0); in rtlTest()
242 View child1 = mLayoutManager.findViewByPosition(config.mOrientation == VERTICAL ? 1 in rtlTest()
628 View fullSpan = mLayoutManager.findViewByPosition(fullSpanIndex); in testTemporaryGapHandling()
630 View view1 = mLayoutManager.findViewByPosition(fullSpanIndex + 1); in testTemporaryGapHandling()
632 View view2 = mLayoutManager.findViewByPosition(fullSpanIndex + 2); in testTemporaryGapHandling()
658 View fullSpan = mLayoutManager.findViewByPosition(fullSpanIndex); in updateAfterFullSpanGapHandlingTest()
660 View view1 = mLayoutManager.findViewByPosition(fullSpanIndex + 1); in updateAfterFullSpanGapHandlingTest()
661 View view2 = mLayoutManager.findViewByPosition(fullSpanIndex + 2); in updateAfterFullSpanGapHandlingTest()
704 View view400 = mLayoutManager.findViewByPosition(400); in innerGapHandlingTest()
756 View view = mLayoutManager.findViewByPosition(childPosition); in assertSpan()
[all …]
DRecyclerViewLayoutTest.java1632 View child1 = lm.findViewByPosition(0); in testRecycleIgnored()
1633 View child2 = lm.findViewByPosition(1); in testRecycleIgnored()
1678 View child = lm.findViewByPosition(pos); in testFindIgnoredByPosition()
1685 lm.findViewByPosition(pos)); in testFindIgnoredByPosition()
1690 View replacement = lm.findViewByPosition(pos); in testFindIgnoredByPosition()
2476 View view = findViewByPosition(i);
2484 View view = findViewByPosition(i + deleteStart);
2492 View view = findViewByPosition(i);
2500 View view = findViewByPosition(i);
2754 assertNull(findViewByPosition(position));
DAsyncListUtilLayoutTest.java156 View child = mLayoutManager.findViewByPosition(i); in getEmptyVisibleChildCount()
DLinearLayoutManagerTest.java473 final View child = mLayoutManager.findViewByPosition(target.mPosition); in scrollToPositionWithOffsetTest()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java203 View targetView = findViewByPosition(getTargetPosition()); in onStop()
277 View v = findViewByPosition(pos); in consumePendingMovesBeforeLayout()
344 View v = findViewByPosition(getTargetPosition()); in onStop()
815 View view = mFocusPosition == NO_POSITION ? null : findViewByPosition(mFocusPosition); in dispatchChildSelected()
1095 final View view = findViewByPosition(i); in processRowSizeSecondary()
1453 View v = findViewByPosition(index);
1465 return getViewMax(findViewByPosition(index));
1467 return getViewMin(findViewByPosition(index));
1473 return getViewPrimarySize(findViewByPosition(index));
1727 View focusView = findViewByPosition(mFocusPosition); in onLayoutChildren()
[all …]
DBaseGridView.java629 View view = mLayoutManager.findViewByPosition(mLayoutManager.getSelection()); in focusSearch()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java385 public View findViewByPosition(int position) { in findViewByPosition() method in LinearLayoutManager
399 return super.findViewByPosition(position); in findViewByPosition()
509 final View existing = findViewByPosition(mPendingScrollPosition);
794 View child = findViewByPosition(mPendingScrollPosition);
DRecyclerView.java6412 public View findViewByPosition(int position) { in findViewByPosition() method in RecyclerView.LayoutManager
8900 mTargetView = findViewByPosition(getTargetPosition()); in start()
9020 public View findViewByPosition(int position) { in findViewByPosition() method in RecyclerView.SmoothScroller
9021 return mRecyclerView.mLayout.findViewByPosition(position); in findViewByPosition()
DStaggeredGridLayoutManager.java723 final View child = findViewByPosition(mPendingScrollPosition);
/frameworks/support/v7/recyclerview/api/
D22.0.0.txt316 method public android.view.View findViewByPosition(int);
459 method public android.view.View findViewByPosition(int);
D22.1.0.txt371 method public android.view.View findViewByPosition(int);
518 method public android.view.View findViewByPosition(int);
D22.2.0.txt423 method public android.view.View findViewByPosition(int);
592 method public android.view.View findViewByPosition(int);
D22.2.1.txt427 method public android.view.View findViewByPosition(int);
596 method public android.view.View findViewByPosition(int);
D23.txt460 method public android.view.View findViewByPosition(int);
630 method public android.view.View findViewByPosition(int);
Dcurrent.txt460 method public android.view.View findViewByPosition(int);
630 method public android.view.View findViewByPosition(int);