Searched refs:layoutManager (Results 1 – 8 of 8) sorted by relevance
35 private LinearLayoutManager layoutManager; field in FastScroller55 void setup(ContactsAdapter adapter, LinearLayoutManager layoutManager) { in setup() argument57 this.layoutManager = layoutManager; in setup()92 layoutManager.scrollToPositionWithOffset(targetPos, 0); in setRecyclerViewPosition()
593 LayoutManager layoutManager = (LayoutManager) getLayoutManager(); in smoothScrollToPosition() local594 layoutManager.setCustomSmoothScroller(smoothScroller); in smoothScrollToPosition()596 layoutManager.clearCustomSmoothScroller(); in smoothScrollToPosition()796 LayoutManager layoutManager = (LayoutManager) getLayoutManager(); in notifyChildrenAboutProximity() local797 int count = layoutManager.getChildCount(); in notifyChildrenAboutProximity()803 int index = layoutManager.findCenterViewIndex(); in notifyChildrenAboutProximity()805 final View view = layoutManager.getChildAt(i); in notifyChildrenAboutProximity()
29 public CarItemAnimator(CarLayoutManager layoutManager) { in CarItemAnimator() argument30 mLayoutManager = layoutManager; in CarItemAnimator()
84 LinearLayoutManager layoutManager = ((LinearLayoutManager) getLayoutManager()); in scrollToPositionAtProgress() local85 layoutManager.scrollToPositionWithOffset(0, (int) -(availableScrollHeight * touchFraction)); in scrollToPositionAtProgress()
259 CarLayoutManager layoutManager = (CarLayoutManager) recyclerView.getLayoutManager(); in onScrolled() local261 if (layoutManager.isAtTop()) { in onScrolled()
146 LinearLayoutManager layoutManager = in onCreate() local148 mRecyclerView.setLayoutManager(layoutManager); in onCreate()
623 final LinearLayoutManager layoutManager = in scrollToPosition() local626 layoutManager.findFirstVisibleItemPosition(); in scrollToPosition()633 final int count = layoutManager.getItemCount(); in scrollToPosition()648 final LinearLayoutManager layoutManager = in getScrollPositionFromBottom() local651 layoutManager.findLastVisibleItemPosition(); in getScrollPositionFromBottom()
1107 RecyclerView.LayoutManager layoutManager = mView.getLayoutManager(); in getColumnCount() local1108 if (layoutManager instanceof GridLayoutManager) { in getColumnCount()1109 return ((GridLayoutManager) layoutManager).getSpanCount(); in getColumnCount()