Searched refs:screenCenter (Results 1 – 3 of 3) sorted by relevance
980 protected float getScrollProgress(int screenCenter, View v, int page) { in getScrollProgress() argument983 int delta = screenCenter - (getScrollForPage(page) + halfScreenSize); in getScrollProgress()1383 int screenCenter = scaledScrollX + (getMeasuredWidth() / 2); in getPageNearestToCenterOfScreen() local1392 int distanceFromScreenCenter = Math.abs(childCenter - screenCenter); in getPageNearestToCenterOfScreen()
1220 int screenCenter = getScrollX() + getMeasuredWidth() / 2; in updatePageAlphaValues() local1224 float scrollProgress = getScrollProgress(screenCenter, child, i); in updatePageAlphaValues()
705 final int screenCenter = mInsets.left + getPaddingLeft() + scrollX + halfPageWidth; in updateCurveProperties() local714 float distanceFromScreenCenter = screenCenter - pageCenter; in updateCurveProperties()