/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
H A D | GridWidgetPrefetchTest.java | 91 assertEquals(0, gridView.getLayoutManager().findViewByPosition(0).getLeft()); 92 assertEquals(100, gridView.getLayoutManager().findViewByPosition(1).getLeft()); 109 assertNotNull(gridView.getLayoutManager().findViewByPosition(4)); 110 assertNotNull(gridView.getLayoutManager().findViewByPosition(5)); 111 assertNotNull(gridView.getLayoutManager().findViewByPosition(6)); 112 assertEquals(-75, gridView.getLayoutManager().findViewByPosition(4).getLeft()); 113 assertEquals(25, gridView.getLayoutManager().findViewByPosition(5).getLeft()); 114 assertEquals(125, gridView.getLayoutManager().findViewByPosition(6).getLeft()); 142 assertEquals(50, gridView.getLayoutManager().findViewByPosition(0).getLeft()); 143 assertEquals(-50, gridView.getLayoutManager().findViewByPosition( [all...] |
H A D | GridWidgetTest.java | 1342 int leftEdge = mGridView.getLayoutManager().findViewByPosition(199).getLeft(); 1350 assertEquals(leftEdge, mGridView.getLayoutManager().findViewByPosition(199).getLeft()); 1383 int leftEdge = mGridView.getLayoutManager().findViewByPosition(0).getLeft(); 1391 assertEquals(leftEdge, mGridView.getLayoutManager().findViewByPosition(0).getLeft()); 1636 int leftEdge = mGridView.getLayoutManager().findViewByPosition(151).getLeft(); 1644 assertEquals(leftEdge, mGridView.getLayoutManager().findViewByPosition(151).getLeft()); 2018 mGridView.getLayoutManager().findViewByPosition(50).getRight()); 2052 View view = mGridView.getLayoutManager().findViewByPosition(49); 2133 assertTrue(mGridView.getLayoutManager().findViewByPosition(focusToIndex).hasFocus()); 2157 assertTrue(mGridView.getLayoutManager().findViewByPosition(focusToIndex [all...] |
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | GridLayoutManagerRtlTest.java | 123 View child0 = mGlm.findViewByPosition(0); 126 View child1 = mGlm.findViewByPosition(secondChildPos);
|
H A D | GridLayoutManagerTest.java | 884 final int firstRowSize = Math.max(30, getSize(mGlm.findViewByPosition(2))); 886 helper.getDecoratedMeasurement(mGlm.findViewByPosition(0))); 888 helper.getDecoratedMeasurement(mGlm.findViewByPosition(1))); 890 helper.getDecoratedMeasurement(mGlm.findViewByPosition(2))); 891 assertEquals(firstRowSize, getSize(mGlm.findViewByPosition(0))); 892 assertEquals(firstRowSize, getSize(mGlm.findViewByPosition(1))); 893 assertEquals(firstRowSize, getSize(mGlm.findViewByPosition(2))); 895 final int secondRowSize = Math.max(200, getSize(mGlm.findViewByPosition(3))); 897 helper.getDecoratedMeasurement(mGlm.findViewByPosition(3))); 899 helper.getDecoratedMeasurement(mGlm.findViewByPosition( [all...] |
H A D | GridLayoutManagerNoOpUpdateTest.java | 72 View chosen = mGlm.findViewByPosition(1);
|
H A D | StaggeredGridLayoutManagerTest.java | 1036 View fullSpan = mLayoutManager.findViewByPosition(fullSpanIndex); 1038 View view1 = mLayoutManager.findViewByPosition(fullSpanIndex + 1); 1040 View view2 = mLayoutManager.findViewByPosition(fullSpanIndex + 2); 1066 View fullSpan = mLayoutManager.findViewByPosition(fullSpanIndex); 1068 View view1 = mLayoutManager.findViewByPosition(fullSpanIndex + 1); 1069 View view2 = mLayoutManager.findViewByPosition(fullSpanIndex + 2); 1113 View view400 = mLayoutManager.findViewByPosition(400); 1166 View view = mLayoutManager.findViewByPosition(childPosition);
|
H A D | StaggeredGridLayoutManagerBaseConfigSetTest.java | 126 View child0 = mLayoutManager.findViewByPosition(0); 127 View child1 = mLayoutManager.findViewByPosition(mConfig.mOrientation == VERTICAL ? 1 531 final View child = mLayoutManager.findViewByPosition(target.mPosition); 584 view = mLayoutManager.findViewByPosition(position); 610 view = mLayoutManager.findViewByPosition(position); 638 final View child = mLayoutManager.findViewByPosition(target.mPosition);
|
H A D | AsyncListUtilLayoutTest.java | 179 View child = mLayoutManager.findViewByPosition(i);
|
H A D | RecyclerViewLayoutTest.java | 2495 assertThat(tlm.findViewByPosition(2), CoreMatchers.sameInstance(updated.itemView)); 2507 assertThat(tlm.findViewByPosition(2), CoreMatchers.sameInstance(updated.itemView)); 2518 assertThat(tlm.findViewByPosition(2), CoreMatchers.nullValue()); 3434 View child1 = lm.findViewByPosition(0); 3435 View child2 = lm.findViewByPosition(1); 3480 View child = lm.findViewByPosition(pos); 3487 lm.findViewByPosition(pos)); 3492 View replacement = lm.findViewByPosition(pos); 4328 View view = findViewByPosition(i); 4336 View view = findViewByPosition( [all...] |
H A D | LinearLayoutManagerBaseConfigSetTest.java | 126 final View child = mLayoutManager.findViewByPosition(target.mPosition);
|
/frameworks/support/car/src/androidTest/java/androidx/car/widget/ |
H A D | DividerVisibilityManagerTest.java | 202 .findViewByPosition(0).getBottom(); 204 .findViewByPosition(1).getTop();
|
H A D | TextListItemTest.java | 373 assertThat((double) layoutManager.findViewByPosition(i).getHeight(), 403 assertThat(layoutManager.findViewByPosition(i).getHeight(),
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | GridLayoutManager.java | 222 View targetView = findViewByPosition(getTargetPosition()); 321 View v = findViewByPosition(pos); 388 View v = findViewByPosition(getTargetPosition()); 988 View view = mFocusPosition == NO_POSITION ? null : findViewByPosition(mFocusPosition); 1030 View view = mFocusPosition == NO_POSITION ? null : findViewByPosition(mFocusPosition); 1325 final View view = findViewByPosition(i - mPositionDeltaInPreLayout); 1719 View v = findViewByPosition(index - mPositionDeltaInPreLayout); 1730 View v = findViewByPosition(index - mPositionDeltaInPreLayout); 1736 return getViewPrimarySize(findViewByPosition(index - mPositionDeltaInPreLayout)); 2043 View focusView = findViewByPosition(mFocusPositio [all...] |
H A D | BaseGridView.java | 868 View view = mLayoutManager.findViewByPosition(mLayoutManager.getSelection());
|
H A D | GuidedActionsStylist.java | 1440 .findViewByPosition(actionPosition).getBottom();
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LinearLayoutManager.java | 388 public View findViewByPosition(int position) { method in class:LinearLayoutManager 402 return super.findViewByPosition(position); 519 final View existing = findViewByPosition(mPendingScrollPosition); 823 View child = findViewByPosition(mPendingScrollPosition);
|
H A D | RecyclerView.java | 7849 public View findViewByPosition(int position) { method in class:RecyclerView.LayoutManager 10638 mTargetView = findViewByPosition(getTargetPosition()); 10756 * @see RecyclerView.LayoutManager#findViewByPosition(int) 10758 public View findViewByPosition(int position) { method in class:RecyclerView.SmoothScroller 10759 return mRecyclerView.mLayout.findViewByPosition(position);
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | LinearLayoutManager.java | 400 public View findViewByPosition(int position) { method in class:LinearLayoutManager 414 return super.findViewByPosition(position); 548 final View existing = findViewByPosition(mPendingScrollPosition); 853 View child = findViewByPosition(mPendingScrollPosition);
|
H A D | StaggeredGridLayoutManager.java | 862 final View child = findViewByPosition(mPendingScrollPosition); 2350 unfocusableCandidate = findViewByPosition(shouldSearchFromStart 2363 unfocusableCandidate = findViewByPosition(shouldSearchFromStart 2372 unfocusableCandidate = findViewByPosition(shouldSearchFromStart
|
H A D | RecyclerView.java | 8419 public View findViewByPosition(int position) { method in class:RecyclerView.LayoutManager 11493 mTargetView = findViewByPosition(getTargetPosition()); 11658 * @see RecyclerView.LayoutManager#findViewByPosition(int) 11660 public View findViewByPosition(int position) { method in class:RecyclerView.SmoothScroller 11661 return mRecyclerView.mLayout.findViewByPosition(position);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/ |
H A D | Picker.java | 365 item = column.getLayoutManager().findViewByPosition(i);
|