/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RecyclerViewAccessibilityDelegate.java | 47 if (!shouldIgnore() && mRecyclerView.getLayoutManager() != null) { 48 return mRecyclerView.getLayoutManager().performAccessibilityAction(action, args); 58 if (!shouldIgnore() && mRecyclerView.getLayoutManager() != null) { 59 mRecyclerView.getLayoutManager().onInitializeAccessibilityNodeInfo(info); 69 if (rv.getLayoutManager() != null) { 70 rv.getLayoutManager().onInitializeAccessibilityEvent(event); 88 if (!shouldIgnore() && mRecyclerView.getLayoutManager() != null) { 89 mRecyclerView.getLayoutManager() 99 if (!shouldIgnore() && mRecyclerView.getLayoutManager() != null) { 100 return mRecyclerView.getLayoutManager() [all...] |
H A D | LinearSmoothScroller.java | 302 final RecyclerView.LayoutManager layoutManager = getLayoutManager(); 327 final RecyclerView.LayoutManager layoutManager = getLayoutManager(); 352 RecyclerView.LayoutManager layoutManager = getLayoutManager();
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | RecyclerViewAccessibilityDelegate.java | 51 if (!shouldIgnore() && mRecyclerView.getLayoutManager() != null) { 52 return mRecyclerView.getLayoutManager().performAccessibilityAction(action, args); 62 if (!shouldIgnore() && mRecyclerView.getLayoutManager() != null) { 63 mRecyclerView.getLayoutManager().onInitializeAccessibilityNodeInfo(info); 73 if (rv.getLayoutManager() != null) { 74 rv.getLayoutManager().onInitializeAccessibilityEvent(event); 113 && mRecyclerViewDelegate.mRecyclerView.getLayoutManager() != null) { 114 mRecyclerViewDelegate.mRecyclerView.getLayoutManager() 125 && mRecyclerViewDelegate.mRecyclerView.getLayoutManager() != null) { 126 return mRecyclerViewDelegate.mRecyclerView.getLayoutManager() [all...] |
H A D | SnapHelper.java | 65 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); 185 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); 234 int[] snapDistances = calculateDistanceToFinalSnap(mRecyclerView.getLayoutManager(),
|
H A D | DividerItemDecoration.java | 104 if (parent.getLayoutManager() == null || mDivider == null) { 159 parent.getLayoutManager().getDecoratedBoundsWithMargins(child, mBounds);
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
H A D | GridWidgetPrefetchTest.java | 49 gridView.getLayoutManager().collectAdjacentPrefetchPositions(scrollX, scrollY, 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() [all...] |
H A D | GridWidgetTest.java | 192 } while (mGridView.getLayoutManager().isSmoothScrolling() 393 mLayoutManager = (GridLayoutManager) mGridView.getLayoutManager(); 502 while (mGridView.getLayoutManager().isSmoothScrolling() 763 mLayoutManager = (GridLayoutManager) mGridView.getLayoutManager(); 872 mGridView.getLayoutManager().getChildAt(0))); 1219 for (int i = 0; i < mGridView.getLayoutManager().getChildCount(); i++) { 1220 View v = mGridView.getLayoutManager().getChildAt(i); 1282 for (int i = 0; i < mGridView.getLayoutManager().getChildCount(); i++) { 1283 View v = mGridView.getLayoutManager().getChildAt(i); 1342 int leftEdge = mGridView.getLayoutManager() [all...] |
/frameworks/support/car/src/main/java/androidx/car/widget/ |
H A D | GridLayoutManagerUtils.java | 38 GridLayoutManager manager = (GridLayoutManager) parent.getLayoutManager(); 78 int spanCount = ((GridLayoutManager) parent.getLayoutManager()).getSpanCount();
|
H A D | PagedListView.java | 412 || mRecyclerView.getLayoutManager() == null) { 415 return mRecyclerView.getLayoutManager().getPosition(v); 524 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); 547 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); 810 if (mOrientationHelper == null || mOrientationHelper.getLayoutManager() != layoutManager) { 826 if (mRecyclerView.getLayoutManager() == null || mRecyclerView.getChildCount() == 0) { 832 getOrientationHelper(mRecyclerView.getLayoutManager()); 873 if (mRecyclerView.getLayoutManager() == null || mRecyclerView.getChildCount() == 0) { 878 getOrientationHelper(mRecyclerView.getLayoutManager()); 884 if (mRecyclerView.getLayoutManager() [all...] |
H A D | PagedSnapHelper.java | 188 return helper.getDecoratedMeasurement(view) <= helper.getLayoutManager().getHeight(); 261 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); 334 if (mVerticalHelper == null || mVerticalHelper.getLayoutManager() != layoutManager) { 343 if (mHorizontalHelper == null || mHorizontalHelper.getLayoutManager() != layoutManager) {
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/test/ |
H A D | RecyclerViewTest.java | 76 assertTrue(view.getLayoutManager().getClipToPadding()); 78 assertTrue(view.getLayoutManager().getClipToPadding()); 80 assertFalse(view.getLayoutManager().getClipToPadding()); 83 RecyclerView.LayoutManager layoutManager = view.getLayoutManager(); 94 layoutManager = view.getLayoutManager(); 106 layoutManager = view.getLayoutManager(); 113 layoutManager = view.getLayoutManager();
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | RecyclerViewParallax.java | 152 if (recyclerView == null || recyclerView.getLayoutManager().getChildCount() == 0) { 156 View firstChild = recyclerView.getLayoutManager().getChildAt(0); 227 LayoutManager.Properties properties = mRecylerView.getLayoutManager()
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | RecyclerViewAccessibilityTest.java | 159 if (recyclerView.getLayoutManager().canScrollVertically()) { 162 if (recyclerView.getLayoutManager().canScrollHorizontally()) { 193 if (recyclerView.getLayoutManager().canScrollHorizontally()) { 199 if (recyclerView.getLayoutManager().canScrollVertically()) {
|
H A D | RecyclerViewCacheTest.java | 849 holder.mRecyclerView.getLayoutManager().onRestoreInstanceState(savedState); 857 holder.mRecyclerView.getLayoutManager().onSaveInstanceState()); 886 ((LinearLayoutManager) innerView.getLayoutManager()) 930 ((LinearLayoutManager) innerView.getLayoutManager()) 987 ((LinearLayoutManager) inner.getLayoutManager()).setInitialPrefetchItemCount(4); 1106 assertTrue(innerView.getLayoutManager().mPrefetchMaxObservedInInitialPrefetch); 1107 assertEquals(2, innerView.getLayoutManager().mPrefetchMaxCountObserved); 1121 assertFalse(innerView.getLayoutManager().mPrefetchMaxObservedInInitialPrefetch); 1122 assertEquals(0, innerView.getLayoutManager().mPrefetchMaxCountObserved); 1128 assertFalse(innerView.getLayoutManager() [all...] |
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/ |
H A D | RecyclerViewUtil.java | 83 if (getLayoutManager(recyclerView) == null) { 109 private static Object getLayoutManager(View recyclerView) throws ReflectionException { method in class:RecyclerViewUtil 110 return invoke(getMethod(recyclerView.getClass(), "getLayoutManager"), recyclerView);
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | NestedRecyclerViewActivity.java | 134 holder.mRecyclerView.getLayoutManager().onRestoreInstanceState(savedState); 142 holder.mRecyclerView.getLayoutManager().onSaveInstanceState());
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | NestedRecyclerViewActivity.java | 134 holder.mRecyclerView.getLayoutManager().onRestoreInstanceState(savedState); 142 holder.mRecyclerView.getLayoutManager().onSaveInstanceState());
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
H A D | WearableRecyclerView.java | 124 (focusedChild != null) ? getLayoutManager().getPosition( 126 getLayoutManager().scrollToPosition(focusedPosition);
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
H A D | BandPredicate.java | 46 RecyclerView.LayoutManager lm = recyclerView.getLayoutManager();
|
H A D | GestureSelectionHelper.java | 261 View lastItem = mRecyclerView.getLayoutManager() 262 .getChildAt(mRecyclerView.getLayoutManager().getChildCount() - 1);
|
/frameworks/support/car/src/androidTest/java/androidx/car/widget/ |
H A D | DividerVisibilityManagerTest.java | 104 mPagedListView.getRecyclerView().getLayoutManager(); 201 int upper = mPagedListView.getRecyclerView().getLayoutManager() 203 int lower = mPagedListView.getRecyclerView().getLayoutManager()
|
H A D | PagedListViewSavedStateTest.java | 128 (LinearLayoutManager) mPagedListView1.getRecyclerView().getLayoutManager(); 130 (LinearLayoutManager) mPagedListView2.getRecyclerView().getLayoutManager();
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
H A D | SingleFragmentTestBase.java | 118 while (recyclerView.getLayoutManager().isSmoothScrolling()
|
H A D | SingleSupportFragmentTestBase.java | 115 while (recyclerView.getLayoutManager().isSmoothScrolling()
|
/frameworks/support/room/integration-tests/testapp/src/main/java/androidx/room/integration/testapp/ |
H A D | RoomPagedListActivity.java | 83 LinearLayoutManager layoutManager = (LinearLayoutManager) mRecyclerView.getLayoutManager();
|