Searched refs:mRv (Results 1 – 4 of 4) sorted by relevance
100 protected BaseRecyclerView mRv; field in RecyclerViewFastScroller143 mRv = rv; in setRecyclerView()144 mRv.addOnScrollListener(new RecyclerView.OnScrollListener() { in setRecyclerView()153 mRv.onUpdateScrollbar(dy); in setRecyclerView()212 mRv.getScrollState() != RecyclerView.SCROLL_STATE_IDLE)) { in handleTouchEvent()215 mRv.stopScroll(); in handleTouchEvent()220 && mRv.supportsFastScrolling() in handleTouchEvent()232 if (!mIsDragging && !mIgnoreDragGesture && mRv.supportsFastScrolling() && in handleTouchEvent()243 mRv.onFastScrollCompleted(); in handleTouchEvent()258 mRv.getParent().requestDisallowInterceptTouchEvent(true); in calcTouchOffsetAndPrepToFastScroll()[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 …]
50 event.offsetLocation(0, -mRv.getPaddingTop()); in onTouchEvent()54 event.offsetLocation(0, mRv.getPaddingTop()); in onTouchEvent()
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 …]