Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
H A 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()
H A DWalletCardCarousel.java77 int mCenteredAdapterPosition = RecyclerView.NO_POSITION; field in WalletCardCarousel
230 && mCenteredAdapterPosition != NO_POSITION) { in updatePadding()
231 ViewHolder viewHolder = findViewHolderForAdapterPosition(mCenteredAdapterPosition); in updatePadding()
266 mCenteredAdapterPosition = getChildAdapterPosition(view); in updateCardView()
297 mCenteredAdapterPosition = RecyclerView.NO_POSITION;
303 if (mCenteredAdapterPosition == RecyclerView.NO_POSITION || dx == 0) {
308 mCenteredAdapterPosition + (mEdgeToCenterDistance > 0 ? 1 : -1);
316 mWalletCardCarouselAdapter.mData.get(mCenteredAdapterPosition);
405 if (position != mCenteredAdapterPosition) {
/aosp12/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
H A DWalletCardCarousel.java71 private int mCenteredAdapterPosition = RecyclerView.NO_POSITION; field in WalletCardCarousel
163 && mCenteredAdapterPosition != NO_POSITION) { in updatePadding()
164 ViewHolder viewHolder = findViewHolderForAdapterPosition(mCenteredAdapterPosition); in updatePadding()
250 mCenteredAdapterPosition = getChildAdapterPosition(view); in updateCardView()
285 mCenteredAdapterPosition = RecyclerView.NO_POSITION;
291 if (mCenteredAdapterPosition == RecyclerView.NO_POSITION || dx == 0) {
296 mCenteredAdapterPosition + (mEdgeToCenterDistance > 0 ? 1 : -1);
302 WalletCardViewInfo centerCard = mWalletCardAdapter.mData.get(mCenteredAdapterPosition);
407 if (position != mCenteredAdapterPosition) {