Searched refs:ySign (Results 1 – 1 of 1) sorted by relevance
151 float ySign = Math.signum(deltaY); in smoothSnapToPosition() local152 int step = (int) (ySign * Math.ceil((float) Math.abs(deltaY) / numFrames)); in smoothSnapToPosition()155 mFastScrollFrames[i] = (int) (ySign * Math.min(Math.abs(step), Math.abs(deltaY))); in smoothSnapToPosition()