Searched refs:viewCenter (Results 1 – 2 of 2) sorted by relevance
130 val viewCenter = Point() in createAnimatedView() constant131 viewCenterProvider.getViewCenter(view, viewCenter) in createAnimatedView()133 val viewCenterX = viewCenter.x in createAnimatedView()134 val viewCenterY = viewCenter.y in createAnimatedView()
241 int viewCenter = (getLeft() + getRight()) / 2; in updatePadding() local242 int scrollX = cardCenter - viewCenter; in updatePadding()252 float viewCenter = (view.getRight() + view.getLeft()) / 2f; in updateCardView() local254 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()