Searched refs:pixelsPastView (Results 1 – 1 of 1) sorted by relevance
56 int pixelsPastView = 0; in run() local62 pixelsPastView = mHost.getCurrentPosition().y - topBottomThreshold; in run()65 pixelsPastView = mHost.getCurrentPosition().y - mHost.getViewHeight() in run()69 if (!mHost.isActive() || pixelsPastView == 0) { in run()75 if (pixelsPastView > topBottomThreshold) { in run()76 pixelsPastView = topBottomThreshold; in run()80 final int numPixels = computeScrollDistance(pixelsPastView); in run()94 public int computeScrollDistance(int pixelsPastView) { in computeScrollDistance() argument98 final int direction = (int) Math.signum(pixelsPastView); in computeScrollDistance()99 final int absPastView = Math.abs(pixelsPastView); in computeScrollDistance()