Home
last modified time | relevance | path

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

/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletCardCarousel.java168 int viewCenter = (getLeft() + getRight()) / 2; in updatePadding() local
169 int scrollX = cardCenter - viewCenter; in updatePadding()
230 float viewCenter = (view.getRight() + view.getLeft()) / 2f; in updateCardView() local
232 float position = (viewCenter - center) / viewWidth; in updateCardView()
242 viewCenter < center ? view.getRight() + mCardMarginPx in updateCardView()
245 if (Math.abs(viewCenter - center) < mCardCenterToScreenCenterDistancePx) { in updateCardView()
252 mCardCenterToScreenCenterDistancePx = Math.abs(viewCenter - center); in updateCardView()