Home
last modified time | relevance | path

Searched refs:layoutManager (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DFastScroller.java35 private LinearLayoutManager layoutManager; field in FastScroller
55 void setup(ContactsAdapter adapter, LinearLayoutManager layoutManager) { in setup() argument
57 this.layoutManager = layoutManager; in setup()
92 layoutManager.scrollToPositionWithOffset(targetPos, 0); in setRecyclerViewPosition()
/packages/apps/PackageInstaller/src/android/support/wearable/view/
DWearableListView.java593 LayoutManager layoutManager = (LayoutManager) getLayoutManager(); in smoothScrollToPosition() local
594 layoutManager.setCustomSmoothScroller(smoothScroller); in smoothScrollToPosition()
596 layoutManager.clearCustomSmoothScroller(); in smoothScrollToPosition()
796 LayoutManager layoutManager = (LayoutManager) getLayoutManager(); in notifyChildrenAboutProximity() local
797 int count = layoutManager.getChildCount(); in notifyChildrenAboutProximity()
803 int index = layoutManager.findCenterViewIndex(); in notifyChildrenAboutProximity()
805 final View view = layoutManager.getChildAt(i); in notifyChildrenAboutProximity()
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/view/
DCarItemAnimator.java29 public CarItemAnimator(CarLayoutManager layoutManager) { in CarItemAnimator() argument
30 mLayoutManager = layoutManager; in CarItemAnimator()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsRecyclerView.java84 LinearLayoutManager layoutManager = ((LinearLayoutManager) getLayoutManager()); in scrollToPositionAtProgress() local
85 layoutManager.scrollToPositionWithOffset(0, (int) -(availableScrollHeight * touchFraction)); in scrollToPositionAtProgress()
/packages/apps/Car/Dialer/src/com/android/car/dialer/
DContactSearchActivity.java259 CarLayoutManager layoutManager = (CarLayoutManager) recyclerView.getLayoutManager(); in onScrolled() local
261 if (layoutManager.isAtTop()) { in onScrolled()
/packages/services/Car/tests/CarDiagnosticVerifier/src/com/google/android/car/diagnosticverifier/
DMainActivity.java146 LinearLayoutManager layoutManager = in onCreate() local
148 mRecyclerView.setLayoutManager(layoutManager); in onCreate()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java623 final LinearLayoutManager layoutManager = in scrollToPosition() local
626 layoutManager.findFirstVisibleItemPosition(); in scrollToPosition()
633 final int count = layoutManager.getItemCount(); in scrollToPosition()
648 final LinearLayoutManager layoutManager = in getScrollPositionFromBottom() local
651 layoutManager.findLastVisibleItemPosition(); in getScrollPositionFromBottom()
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/
DBandController.java1107 RecyclerView.LayoutManager layoutManager = mView.getLayoutManager(); in getColumnCount() local
1108 if (layoutManager instanceof GridLayoutManager) { in getColumnCount()
1109 return ((GridLayoutManager) layoutManager).getSpanCount(); in getColumnCount()