Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/animation/
DUnfoldMoveFromCenterAnimator.kt130 val viewCenter = Point() in createAnimatedView() constant
131 viewCenterProvider.getViewCenter(view, viewCenter) in createAnimatedView()
133 val viewCenterX = viewCenter.x in createAnimatedView()
134 val viewCenterY = viewCenter.y in createAnimatedView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletCardCarousel.java241 int viewCenter = (getLeft() + getRight()) / 2; in updatePadding() local
242 int scrollX = cardCenter - viewCenter; in updatePadding()
252 float viewCenter = (view.getRight() + view.getLeft()) / 2f; in updateCardView() local
254 float position = (viewCenter - center) / viewWidth; in updateCardView()
264 viewCenter < center ? view.getRight() + mCardMarginPx in updateCardView()
267 if (Math.abs(viewCenter - center) < mCardCenterToScreenCenterDistancePx) { in updateCardView()
274 mCardCenterToScreenCenterDistancePx = Math.abs(viewCenter - center); in updateCardView()