Searched refs:screenCenter (Results 1 – 3 of 3) sorted by relevance
976 protected float getScrollProgress(int screenCenter, View v, int page) { in getScrollProgress() argument979 int delta = screenCenter - (getScrollForPage(page) + halfScreenSize); in getScrollProgress()1364 int screenCenter = scaledScrollX + (getMeasuredWidth() / 2); in getPageNearestToCenterOfScreen() local1373 int distanceFromScreenCenter = Math.abs(childCenter - screenCenter); in getPageNearestToCenterOfScreen()
1215 int screenCenter = getScrollX() + getMeasuredWidth() / 2; in updatePageAlphaValues() local1219 float scrollProgress = getScrollProgress(screenCenter, child, i); in updatePageAlphaValues()
686 final int screenCenter = mInsets.left + getPaddingLeft() + scrollX + halfPageWidth; in updateCurveProperties() local695 float distanceFromScreenCenter = screenCenter - pageCenter; in updateCurveProperties()