Searched refs:mRv (Results 1 – 4 of 4) sorted by relevance
112 protected BaseRecyclerView mRv; field in RecyclerViewFastScroller156 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 …]
30 private AllAppsRecyclerView mRv; field in AllAppsFastScrollHelper59 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 …]
81 private final RecyclerView mRv; field in ConversationFastScroller124 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 …]
53 highlighter.mRv.invalidateItemDecorations();63 private final RecyclerView mRv; field in PreferenceHighlighter71 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()