Searched refs:mHighlightPosition (Results 1 – 5 of 5) sorted by relevance
50 private int mHighlightPosition; field in HighlightableAdapter84 holder.itemView.setSelected(mHighlightPosition == position); in onBindViewHolder()105 if (mHighlightPosition == position) { in updateBackground()121 if (mHighlightPosition < 0) { in requestHighlight()124 mRecyclerView.getView().post(() -> notifyItemChanged(mHighlightPosition)); in requestHighlight()130 notifyItemChanged(mHighlightPosition); in requestHighlight()131 mHighlightPosition = newPosition; in requestHighlight()166 mHighlightPosition = getPositionFromTitle(mHighlightTitle); in afterTextChanged()174 mRecyclerView.getView().post(() -> mRecyclerView.scrollToPosition(mHighlightPosition)); in onSearchEnded()178 mHighlightPosition = to; in afterFavClicked()
38 private int mHighlightPosition = RecyclerView.NO_POSITION; field in HighlightablePreferenceGroupAdapter65 if (position == mHighlightPosition) { in updateBackground()88 int oldPosition = mHighlightPosition; in requestHighlight()89 mHighlightPosition = position; in requestHighlight()103 if (mHighlightPosition < 0) { in clearHighlight()106 int oldPosition = mHighlightPosition; in clearHighlight()107 mHighlightPosition = RecyclerView.NO_POSITION; in clearHighlight()
69 private int mHighlightPosition = RecyclerView.NO_POSITION; field in HighlightablePreferenceGroupAdapter126 if (position == mHighlightPosition in updateBackground()166 recyclerView.smoothScrollToPosition(mHighlightPosition); in requestHighlight()167 highlightAndFocusTargetItem(recyclerView, mHighlightPosition); in requestHighlight()176 notifyItemChanged(mHighlightPosition); in highlightAndFocusTargetItem()183 notifyItemChanged(mHighlightPosition); in highlightAndFocusTargetItem()206 if (allowHighlight && mHighlightPosition != position) { in ensureHighlightPosition()209 mHighlightPosition = position; in ensureHighlightPosition()222 mHighlightPosition = RecyclerView.NO_POSITION; in requestRemoveHighlightDelayed()
65 private int mHighlightPosition = RecyclerView.NO_POSITION; field in HighlightableTopLevelPreferenceAdapter105 if (position == mHighlightPosition in updateBackground()123 final int previousPosition = mHighlightPosition; in requestHighlight()126 mHighlightPosition = RecyclerView.NO_POSITION; in requestHighlight()150 mHighlightPosition = position; in requestHighlight()159 if (position == mHighlightPosition) { in requestHighlight()163 mHighlightPosition = position; in requestHighlight()
59 private int mHighlightPosition = RecyclerView.NO_POSITION; field in HighlightablePreferenceGroupAdapter83 if (position == mHighlightPosition in updateBackground()124 recyclerView.smoothScrollToPosition(mHighlightPosition); in requestHighlight()133 notifyItemChanged(mHighlightPosition); in requestHighlight()149 if (allowHighlight && mHighlightPosition != position) { in ensureHighlightPosition()152 mHighlightPosition = position; in ensureHighlightPosition()166 mHighlightPosition = RecyclerView.NO_POSITION; in requestRemoveHighlightDelayed()