Searched refs:mRv (Results 1 – 5 of 5) sorted by relevance
135 protected FastScrollRecyclerView mRv; field in RecyclerViewFastScroller189 if (mRv != null && mOnScrollListener != null) { in setRecyclerView()190 mRv.removeOnScrollListener(mOnScrollListener); in setRecyclerView()192 mRv = rv; in setRecyclerView()194 mRv.addOnScrollListener(mOnScrollListener = new RecyclerView.OnScrollListener() { in setRecyclerView()203 mRv.onUpdateScrollbar(dy); in setRecyclerView()262 mRv.getScrollState() != SCROLL_STATE_IDLE)) { in handleTouchEvent()265 mRv.stopScroll(); in handleTouchEvent()281 if (!mIsDragging && !mIgnoreDragGesture && mRv.supportsFastScrolling()) { in handleTouchEvent()326 int bottom = mRv.getScrollbarTrackHeight() - mThumbHeight; in updateFastScrollSectionNameAndThumbOffset()[all …]
42 private RecyclerView mRv; field in ScrollableLayoutManager62 mRv = view; in onAttachedToWindow()79 int viewType = mRv.getChildViewHolder(child).getItemViewType(); in updateCachedSize()89 return mRv == null ? 0 : mRv.getHeight(); in computeVerticalScrollExtent()94 Adapter adapter = mRv == null ? null : mRv.getAdapter(); in computeVerticalScrollOffset()102 ViewHolder holder = mRv.findContainingViewHolder(child); in computeVerticalScrollOffset()115 Adapter adapter = mRv == null ? null : mRv.getAdapter(); in computeVerticalScrollRange()
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 …]
55 highlighter.mRv.invalidateItemDecorations();65 private final RecyclerView mRv; field in PreferenceHighlighter74 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()
29 private AllAppsRecyclerView mRv; field in AllAppsFastScrollHelper33 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()