Searched refs:mCenteredAdapterPosition (Results 1 – 2 of 2) sorted by relevance
148 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()
77 int mCenteredAdapterPosition = RecyclerView.NO_POSITION; field in WalletCardCarousel236 && 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) {