/frameworks/base/core/java/com/android/internal/widget/ |
D | LinearSmoothScroller.java | 302 final RecyclerView.LayoutManager layoutManager = getLayoutManager(); in calculateDyToMakeVisible() local 303 if (layoutManager == null || !layoutManager.canScrollVertically()) { in calculateDyToMakeVisible() 308 final int top = layoutManager.getDecoratedTop(view) - params.topMargin; in calculateDyToMakeVisible() 309 final int bottom = layoutManager.getDecoratedBottom(view) + params.bottomMargin; in calculateDyToMakeVisible() 310 final int start = layoutManager.getPaddingTop(); in calculateDyToMakeVisible() 311 final int end = layoutManager.getHeight() - layoutManager.getPaddingBottom(); in calculateDyToMakeVisible() 327 final RecyclerView.LayoutManager layoutManager = getLayoutManager(); in calculateDxToMakeVisible() local 328 if (layoutManager == null || !layoutManager.canScrollHorizontally()) { in calculateDxToMakeVisible() 333 final int left = layoutManager.getDecoratedLeft(view) - params.leftMargin; in calculateDxToMakeVisible() 334 final int right = layoutManager.getDecoratedRight(view) + params.rightMargin; in calculateDxToMakeVisible() [all …]
|
D | OrientationHelper.java | 47 private OrientationHelper(RecyclerView.LayoutManager layoutManager) { in OrientationHelper() argument 48 mLayoutManager = layoutManager; in OrientationHelper() 233 RecyclerView.LayoutManager layoutManager, int orientation) { in createOrientationHelper() argument 236 return createHorizontalHelper(layoutManager); in createOrientationHelper() 238 return createVerticalHelper(layoutManager); in createOrientationHelper() 250 RecyclerView.LayoutManager layoutManager) { in createHorizontalHelper() argument 251 return new OrientationHelper(layoutManager) { in createHorizontalHelper() 348 public static OrientationHelper createVerticalHelper(RecyclerView.LayoutManager layoutManager) { 349 return new OrientationHelper(layoutManager) {
|
D | RecyclerView.java | 10752 void start(RecyclerView recyclerView, LayoutManager layoutManager) { in start() argument 10754 mLayoutManager = layoutManager; in start()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
D | RvCompatListActivity.java | 35 RecyclerView.LayoutManager layoutManager; field in RvCompatListActivity.RecyclerViewFragment 44 recyclerView.setLayoutManager(layoutManager); in onCreateView() 66 fragment.layoutManager = createLayoutManager(this); in initializeRecyclerViewFragment()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/ |
D | RecyclerViewUtil.java | 93 Object layoutManager = in setLayoutManager() local 95 if (layoutManager != null) { in setLayoutManager() 96 setProperty(recyclerView, layoutMgrClassName, layoutManager, "setLayoutManager"); in setLayoutManager()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/view/ |
D | RecyclerViewCaptureHelperTest.java | 49 LinearLayoutManager layoutManager = in createScrollableContent() local 51 recyclerView.setLayoutManager(layoutManager); in createScrollableContent()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintPreviewController.java | 363 LayoutManager layoutManager = mRecyclerView.getLayoutManager(); in computeShownPages() local 365 View firstChild = layoutManager.getChildAt(0); in computeShownPages() 368 View lastChild = layoutManager.getChildAt(layoutManager.getChildCount() - 1); in computeShownPages()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | WalletCardCarousel.java | 336 public View findSnapView(LayoutManager layoutManager) { 337 View view = super.findSnapView(layoutManager); 353 protected LinearSmoothScroller createScroller(LayoutManager layoutManager) { 357 int[] snapDistances = calculateDistanceToFinalSnap(layoutManager, targetView);
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchHelper.java | 1892 final RecyclerView.LayoutManager layoutManager = recyclerView.getLayoutManager(); in onMoved() local 1893 if (layoutManager instanceof ViewDropHandler) { in onMoved() 1894 ((ViewDropHandler) layoutManager).prepareForDrop(viewHolder.itemView, in onMoved() 1900 if (layoutManager.canScrollHorizontally()) { in onMoved() 1901 final int minLeft = layoutManager.getDecoratedLeft(target.itemView); in onMoved() 1905 final int maxRight = layoutManager.getDecoratedRight(target.itemView); in onMoved() 1911 if (layoutManager.canScrollVertically()) { in onMoved() 1912 final int minTop = layoutManager.getDecoratedTop(target.itemView); in onMoved() 1916 final int maxBottom = layoutManager.getDecoratedBottom(target.itemView); in onMoved()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | StructureAdapter.kt | 67 layoutManager = GridLayoutManager(recyclerView.context, spanCount).apply { in setUpRecyclerView()
|
D | ControlsProviderSelectorActivity.kt | 108 recyclerView.layoutManager = LinearLayoutManager(applicationContext) in <lambda>()
|
D | ControlsEditingActivity.kt | 227 layoutManager = object : GridLayoutManager(recyclerView.context, spanCount) { in setUpList()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/ |
D | MediaProjectionRecentsViewController.kt | 97 recycler.layoutManager = in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | AccessibilityFloatingMenuView.java | 621 final LinearLayoutManager layoutManager = new LinearLayoutManager(getContext()); in initListView() local 630 mListView.setLayoutManager(layoutManager); in initListView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | FgsManagerController.kt | 389 recyclerView.layoutManager = LinearLayoutManager(dialogContext) in showDialog()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 3202 ChooserGridLayoutManager layoutManager = 3205 layoutManager.setVerticalScrollEnabled(enabled);
|