Home
last modified time | relevance | path

Searched refs:mCenteredAdapterPosition (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DDotIndicatorDecoration.java148 return mCardCarousel.mCenteredAdapterPosition == position; in isSelectedItem()
153 return (mCardCarousel.mCenteredAdapterPosition + 1 == position in isNextItemInScrollingDirection()
155 || (mCardCarousel.mCenteredAdapterPosition - 1 == position in isNextItemInScrollingDirection()
158 return (mCardCarousel.mCenteredAdapterPosition - 1 == position in isNextItemInScrollingDirection()
160 || (mCardCarousel.mCenteredAdapterPosition + 1 == position in isNextItemInScrollingDirection()
DWalletCardCarousel.java77 int mCenteredAdapterPosition = RecyclerView.NO_POSITION; field in WalletCardCarousel
236 && mCenteredAdapterPosition != NO_POSITION) { in updatePadding()
237 ViewHolder viewHolder = findViewHolderForAdapterPosition(mCenteredAdapterPosition); in updatePadding()
272 mCenteredAdapterPosition = getChildAdapterPosition(view); in updateCardView()
303 mCenteredAdapterPosition = RecyclerView.NO_POSITION;
309 if (mCenteredAdapterPosition == RecyclerView.NO_POSITION || dx == 0) {
314 mCenteredAdapterPosition + (mEdgeToCenterDistance > 0 ? 1 : -1);
322 mWalletCardCarouselAdapter.mData.get(mCenteredAdapterPosition);
411 if (position != mCenteredAdapterPosition) {