Searched refs:dPos (Results 1 – 2 of 2) sorted by relevance
941 float dPos; in onTouchEvent() local943 dPos = thumbScrollOffset / thumbScrollRange; in onTouchEvent()947 dPos = thumbScrollOffset > 0 ? 1 : -1; in onTouchEvent()950 dPos = -dPos; in onTouchEvent()952 final float newPos = constrain(mThumbPosition + dPos, 0, 1); in onTouchEvent()
966 float dPos; in onTouchEvent() local968 dPos = thumbScrollOffset / thumbScrollRange; in onTouchEvent()972 dPos = thumbScrollOffset > 0 ? 1 : -1; in onTouchEvent()975 dPos = -dPos; in onTouchEvent()977 final float newPos = MathUtils.constrain(mThumbPosition + dPos, 0, 1); in onTouchEvent()