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.java112 protected BaseRecyclerView mRv; field in RecyclerViewFastScroller
156 if (mRv != null && mOnScrollListener != null) { in setRecyclerView()
157 mRv.removeOnScrollListener(mOnScrollListener); in setRecyclerView()
159 mRv = rv; in setRecyclerView()
161 mRv.addOnScrollListener(mOnScrollListener = new RecyclerView.OnScrollListener() { in setRecyclerView()
170 mRv.onUpdateScrollbar(dy); in setRecyclerView()
230 mRv.getScrollState() != RecyclerView.SCROLL_STATE_IDLE)) { in handleTouchEvent()
233 mRv.stopScroll(); in handleTouchEvent()
237 } else if (mRv.supportsFastScrolling() in handleTouchEvent()
249 if (!mIsDragging && !mIgnoreDragGesture && mRv.supportsFastScrolling() && in handleTouchEvent()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsFastScrollHelper.java30 private AllAppsRecyclerView mRv; field in AllAppsFastScrollHelper
59 mRv.scrollBy(0, mFastScrollFrames[mFastScrollFrameIndex]);
61 mRv.postOnAnimation(mSmoothSnapNextFrameRunnable);
81 mRv = rv; in AllAppsFastScrollHelper()
110 mRv.removeCallbacks(mSmoothSnapNextFrameRunnable); in smoothSnapToPosition()
111 mRv.removeCallbacks(mFastScrollToTargetSectionRunnable); in smoothSnapToPosition()
134 mRv.postDelayed(mFastScrollToTargetSectionRunnable, in smoothSnapToPosition()
148 : Math.min(availableScrollHeight, mRv.getCurrentScrollY(newPosition, 0)); in smoothSnapToPosition()
159 mRv.postOnAnimation(mSmoothSnapNextFrameRunnable); in smoothSnapToPosition()
167 mRv.removeCallbacks(mSmoothSnapNextFrameRunnable); in onFastScrollCompleted()
[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.java53 highlighter.mRv.invalidateItemDecorations();
63 private final RecyclerView mRv; field in PreferenceHighlighter
71 mRv = rv; in PreferenceHighlighter()
77 mRv.addItemDecoration(this); in run()
78 mRv.smoothScrollToPosition(mIndex); in run()
94 int colorTo = setColorAlphaBound(Themes.getColorAccent(mRv.getContext()), 66); in onDraw()
122 mRv.removeItemDecoration(PreferenceHighlighter.this); in removeHighlight()