Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/views/
DRecyclerViewFastScroller.java135 protected FastScrollRecyclerView mRv; field in RecyclerViewFastScroller
189 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 …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DScrollableLayoutManager.java42 private RecyclerView mRv; field in ScrollableLayoutManager
62 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()
/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()