Searched refs:viewCenter (Results 1 – 1 of 1) sorted by relevance
168 int viewCenter = (getLeft() + getRight()) / 2; in updatePadding() local169 int scrollX = cardCenter - viewCenter; in updatePadding()230 float viewCenter = (view.getRight() + view.getLeft()) / 2f; in updateCardView() local232 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()