Home
last modified time | relevance | path

Searched refs:mRv (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/views/
DRecyclerViewFastScroller.java132 protected BaseRecyclerView mRv; field in RecyclerViewFastScroller
179 if (mRv != null && mOnScrollListener != null) { in setRecyclerView()
180 mRv.removeOnScrollListener(mOnScrollListener); in setRecyclerView()
182 mRv = rv; in setRecyclerView()
184 mRv.addOnScrollListener(mOnScrollListener = new RecyclerView.OnScrollListener() { in setRecyclerView()
193 mRv.onUpdateScrollbar(dy); in setRecyclerView()
208 int rvCurrentOffsetY = mRv.getCurrentScrollY(); in setThumbOffsetY()
210 mRvOffsetY = mRv.getCurrentScrollY(); in setThumbOffsetY()
218 mRvOffsetY = mRv.getCurrentScrollY(); in setThumbOffsetY()
262 mRv.getScrollState() != SCROLL_STATE_IDLE)) { in handleTouchEvent()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFastScroller.java81 private final RecyclerView mRv; field in ConversationFastScroller
124 mRv = rv; in ConversationFastScroller()
125 mRv.addOnLayoutChangeListener(this); in ConversationFastScroller()
126 mRv.addOnScrollListener(this); in ConversationFastScroller()
127 mRv.addOnItemTouchListener(this); in ConversationFastScroller()
128 mRv.getAdapter().registerAdapterDataObserver(new AdapterDataObserver() { in ConversationFastScroller()
198 final int range = mRv.computeVerticalScrollRange(); in isEnabled()
199 final int extent = mRv.computeVerticalScrollExtent(); in isEnabled()
298 final int range = mRv.computeVerticalScrollRange(); in computeScrollRatio()
299 final int extent = mRv.computeVerticalScrollExtent(); in computeScrollRatio()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/settings/
DPreferenceHighlighter.java55 highlighter.mRv.invalidateItemDecorations();
65 private final RecyclerView mRv; field in PreferenceHighlighter
74 mRv = rv; in PreferenceHighlighter()
81 mRv.addItemDecoration(this); in run()
82 mRv.smoothScrollToPosition(mIndex); in run()
98 int colorTo = setColorAlphaBound(Themes.getColorAccent(mRv.getContext()), 66); in onDraw()
131 mRv.removeItemDecoration(PreferenceHighlighter.this); in removeHighlight()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsFastScrollHelper.java29 private AllAppsRecyclerView mRv; field in AllAppsFastScrollHelper
33 mRv = rv; in AllAppsFastScrollHelper()
44 mRv.getLayoutManager().startSmoothScroll(new MyScroller(mTargetFastScrollPosition)); in smoothScrollToSection()
66 super(mRv.getContext()); in MyScroller()
85 ViewHolder currentHolder = mRv.findViewHolderForAdapterPosition(mTargetPosition); in onStop()