/frameworks/base/core/java/com/android/internal/widget/ |
D | RecyclerViewAccessibilityDelegate.java | 47 if (!shouldIgnore() && mRecyclerView.getLayoutManager() != null) { in performAccessibilityAction() 48 return mRecyclerView.getLayoutManager().performAccessibilityAction(action, args); in performAccessibilityAction() 58 if (!shouldIgnore() && mRecyclerView.getLayoutManager() != null) { in onInitializeAccessibilityNodeInfo() 59 mRecyclerView.getLayoutManager().onInitializeAccessibilityNodeInfo(info); in onInitializeAccessibilityNodeInfo() 69 if (rv.getLayoutManager() != null) { in onInitializeAccessibilityEvent() 70 rv.getLayoutManager().onInitializeAccessibilityEvent(event); in onInitializeAccessibilityEvent() 88 if (!shouldIgnore() && mRecyclerView.getLayoutManager() != null) { 89 mRecyclerView.getLayoutManager() 99 if (!shouldIgnore() && mRecyclerView.getLayoutManager() != null) { 100 return mRecyclerView.getLayoutManager()
|
D | LinearSmoothScroller.java | 302 final RecyclerView.LayoutManager layoutManager = getLayoutManager(); in calculateDyToMakeVisible() 327 final RecyclerView.LayoutManager layoutManager = getLayoutManager(); in calculateDxToMakeVisible() 352 RecyclerView.LayoutManager layoutManager = getLayoutManager(); in computeScrollVectorForPosition()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | GridWidgetPrefetchTest.java | 49 gridView.getLayoutManager().collectAdjacentPrefetchPositions(scrollX, scrollY, in validatePrefetch() 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()); [all …]
|
D | GridWidgetTest.java | 192 } while (mGridView.getLayoutManager().isSmoothScrolling() in scroll() 393 mLayoutManager = (GridLayoutManager) mGridView.getLayoutManager(); in initActivity() 502 while (mGridView.getLayoutManager().isSmoothScrolling() in waitForScrollIdle() 763 mLayoutManager = (GridLayoutManager) mGridView.getLayoutManager(); in testRedundantAppendRemove2() 872 mGridView.getLayoutManager().getChildAt(0))); in testWrongInsertViewIndexInFastRelayout() 1219 for (int i = 0; i < mGridView.getLayoutManager().getChildCount(); i++) { in testMoveItemToTheRight() 1220 View v = mGridView.getLayoutManager().getChildAt(i); in testMoveItemToTheRight() 1282 for (int i = 0; i < mGridView.getLayoutManager().getChildCount(); i++) { in testMoveItemToTheLeft() 1283 View v = mGridView.getLayoutManager().getChildAt(i); in testMoveItemToTheLeft() 1342 int leftEdge = mGridView.getLayoutManager().findViewByPosition(199).getLeft(); in testContinuousSwapForward() [all …]
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | RecyclerViewAccessibilityDelegate.java | 51 if (!shouldIgnore() && mRecyclerView.getLayoutManager() != null) { in performAccessibilityAction() 52 return mRecyclerView.getLayoutManager().performAccessibilityAction(action, args); in performAccessibilityAction() 62 if (!shouldIgnore() && mRecyclerView.getLayoutManager() != null) { in onInitializeAccessibilityNodeInfo() 63 mRecyclerView.getLayoutManager().onInitializeAccessibilityNodeInfo(info); in onInitializeAccessibilityNodeInfo() 73 if (rv.getLayoutManager() != null) { in onInitializeAccessibilityEvent() 74 rv.getLayoutManager().onInitializeAccessibilityEvent(event); in onInitializeAccessibilityEvent() 113 && mRecyclerViewDelegate.mRecyclerView.getLayoutManager() != null) { in onInitializeAccessibilityNodeInfo() 114 mRecyclerViewDelegate.mRecyclerView.getLayoutManager() in onInitializeAccessibilityNodeInfo() 125 && mRecyclerViewDelegate.mRecyclerView.getLayoutManager() != null) { in performAccessibilityAction() 126 return mRecyclerViewDelegate.mRecyclerView.getLayoutManager() in performAccessibilityAction()
|
D | SnapHelper.java | 65 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); in onFling() 185 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); in snapToTargetExistingView() 234 int[] snapDistances = calculateDistanceToFinalSnap(mRecyclerView.getLayoutManager(), in createSnapScroller()
|
D | DividerItemDecoration.java | 104 if (parent.getLayoutManager() == null || mDivider == null) { in onDraw() 159 parent.getLayoutManager().getDecoratedBoundsWithMargins(child, mBounds); in drawHorizontal()
|
D | LinearSmoothScroller.java | 303 final RecyclerView.LayoutManager layoutManager = getLayoutManager(); in calculateDyToMakeVisible() 328 final RecyclerView.LayoutManager layoutManager = getLayoutManager(); in calculateDxToMakeVisible()
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/test/ |
D | RecyclerViewTest.java | 76 assertTrue(view.getLayoutManager().getClipToPadding()); in inflation() 78 assertTrue(view.getLayoutManager().getClipToPadding()); in inflation() 80 assertFalse(view.getLayoutManager().getClipToPadding()); in inflation() 83 RecyclerView.LayoutManager layoutManager = view.getLayoutManager(); in inflation() 94 layoutManager = view.getLayoutManager(); in inflation() 106 layoutManager = view.getLayoutManager(); in inflation() 113 layoutManager = view.getLayoutManager(); in inflation()
|
/frameworks/support/car/src/main/java/androidx/car/widget/ |
D | PagedListView.java | 412 || mRecyclerView.getLayoutManager() == null) { in positionOf() 415 return mRecyclerView.getLayoutManager().getPosition(v); in positionOf() 524 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); in scrollToPosition() 547 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); in snapToPosition() 810 if (mOrientationHelper == null || mOrientationHelper.getLayoutManager() != layoutManager) { in getOrientationHelper() 826 if (mRecyclerView.getLayoutManager() == null || mRecyclerView.getChildCount() == 0) { in pageUp() 832 getOrientationHelper(mRecyclerView.getLayoutManager()); in pageUp() 873 if (mRecyclerView.getLayoutManager() == null || mRecyclerView.getChildCount() == 0) { in pageDown() 878 getOrientationHelper(mRecyclerView.getLayoutManager()); in pageDown() 884 if (mRecyclerView.getLayoutManager().isViewPartiallyVisible(lastChild, in pageDown() [all …]
|
D | GridLayoutManagerUtils.java | 38 GridLayoutManager manager = (GridLayoutManager) parent.getLayoutManager(); in getFirstRowItemCount() 78 int spanCount = ((GridLayoutManager) parent.getLayoutManager()).getSpanCount(); in getLastIndexOnSameRow()
|
D | PagedSnapHelper.java | 188 return helper.getDecoratedMeasurement(view) <= helper.getLayoutManager().getHeight(); in isValidSnapView() 261 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); in calculateScrollDistance() 334 if (mVerticalHelper == null || mVerticalHelper.getLayoutManager() != layoutManager) { in getVerticalHelper() 343 if (mHorizontalHelper == null || mHorizontalHelper.getLayoutManager() != layoutManager) { in getHorizontalHelper()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | RecyclerViewParallax.java | 152 if (recyclerView == null || recyclerView.getLayoutManager().getChildCount() == 0) { in updateValue() 156 View firstChild = recyclerView.getLayoutManager().getChildAt(0); in updateValue() 227 LayoutManager.Properties properties = mRecylerView.getLayoutManager() in setRecyclerView()
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | RecyclerViewAccessibilityTest.java | 159 if (recyclerView.getLayoutManager().canScrollVertically()) { in onInitializeAccessibilityNodeInfoTest() 162 if (recyclerView.getLayoutManager().canScrollHorizontally()) { in onInitializeAccessibilityNodeInfoTest() 193 if (recyclerView.getLayoutManager().canScrollHorizontally()) { in onInitializeAccessibilityNodeInfoTest() 199 if (recyclerView.getLayoutManager().canScrollVertically()) { in onInitializeAccessibilityNodeInfoTest()
|
D | RecyclerViewCacheTest.java | 849 holder.mRecyclerView.getLayoutManager().onRestoreInstanceState(savedState); in onBindViewHolder() 857 holder.mRecyclerView.getLayoutManager().onSaveInstanceState()); in onViewRecycled() 886 ((LinearLayoutManager) innerView.getLayoutManager()) in nestedPrefetchSimple() 930 ((LinearLayoutManager) innerView.getLayoutManager()) in nestedPrefetchNotClearInnerStructureChangeFlag() 987 ((LinearLayoutManager) inner.getLayoutManager()).setInitialPrefetchItemCount(4); in nestedPrefetchOffset() 1106 assertTrue(innerView.getLayoutManager().mPrefetchMaxObservedInInitialPrefetch); in nestedExpandCacheCorrectly() 1107 assertEquals(2, innerView.getLayoutManager().mPrefetchMaxCountObserved); in nestedExpandCacheCorrectly() 1121 assertFalse(innerView.getLayoutManager().mPrefetchMaxObservedInInitialPrefetch); in nestedExpandCacheCorrectly() 1122 assertEquals(0, innerView.getLayoutManager().mPrefetchMaxCountObserved); in nestedExpandCacheCorrectly() 1128 assertFalse(innerView.getLayoutManager().mPrefetchMaxObservedInInitialPrefetch); in nestedExpandCacheCorrectly() [all …]
|
D | BaseRecyclerViewAnimationsTest.java | 411 LayoutManager lm = getLayoutManager(); in validateViewHolderPositions() 429 validatePreLayoutSequence((AnimationLayoutManager) getLayoutManager()); in validatePostUpdateOp() 431 validateAdapterPosition((AnimationLayoutManager) getLayoutManager()); in validatePostUpdateOp() 482 if (getLayoutManager() instanceof AnimationLayoutManager) { in dispatchLayout() 483 ((AnimationLayoutManager) getLayoutManager()).onPostDispatchLayout(); in dispatchLayout()
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
D | WearableRecyclerView.java | 124 (focusedChild != null) ? getLayoutManager().getPosition( in setupCenteredPadding() 126 getLayoutManager().scrollToPosition(focusedPosition); in setupCenteredPadding()
|
/frameworks/support/car/src/androidTest/java/androidx/car/widget/ |
D | DividerVisibilityManagerTest.java | 104 mPagedListView.getRecyclerView().getLayoutManager(); in setCustomDividerVisibilityManager() 201 int upper = mPagedListView.getRecyclerView().getLayoutManager() in testSettingItemDividersHidden() 203 int lower = mPagedListView.getRecyclerView().getLayoutManager() in testSettingItemDividersHidden()
|
D | PagedListViewSavedStateTest.java | 128 (LinearLayoutManager) mPagedListView1.getRecyclerView().getLayoutManager(); in testPagePositionRememberedOnRotation() 130 (LinearLayoutManager) mPagedListView2.getRecyclerView().getLayoutManager(); in testPagePositionRememberedOnRotation()
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
D | NestedRecyclerViewActivity.java | 134 holder.mRecyclerView.getLayoutManager().onRestoreInstanceState(savedState); in onBindViewHolder() 142 holder.mRecyclerView.getLayoutManager().onSaveInstanceState()); in onViewRecycled()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/ |
D | RecyclerViewUtil.java | 83 if (getLayoutManager(recyclerView) == null) { in setLayoutManager() 109 private static Object getLayoutManager(View recyclerView) throws ReflectionException { in getLayoutManager() method in RecyclerViewUtil
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
D | GestureSelectionHelper.java | 261 View lastItem = mRecyclerView.getLayoutManager() in getLastGlidedItemPosition() 262 .getChildAt(mRecyclerView.getLayoutManager().getChildCount() - 1); in getLastGlidedItemPosition()
|
D | BandPredicate.java | 46 RecyclerView.LayoutManager lm = recyclerView.getLayoutManager(); in hasSupportedLayoutManager()
|
/frameworks/support/room/integration-tests/testapp/src/main/java/androidx/room/integration/testapp/ |
D | RoomPagedListActivity.java | 83 LinearLayoutManager layoutManager = (LinearLayoutManager) mRecyclerView.getLayoutManager(); in onSaveInstanceState()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
D | SingleFragmentTestBase.java | 118 while (recyclerView.getLayoutManager().isSmoothScrolling() in waitForScrollIdle()
|