Searched refs:dPos (Results 1 – 2 of 2) sorted by relevance
940 float dPos; in onTouchEvent() local942 dPos = thumbScrollOffset / thumbScrollRange; in onTouchEvent()946 dPos = thumbScrollOffset > 0 ? 1 : -1; in onTouchEvent()949 dPos = -dPos; in onTouchEvent()951 final float newPos = constrain(mThumbPosition + dPos, 0, 1); in onTouchEvent()
961 float dPos; in onTouchEvent() local963 dPos = thumbScrollOffset / thumbScrollRange; in onTouchEvent()967 dPos = thumbScrollOffset > 0 ? 1 : -1; in onTouchEvent()970 dPos = -dPos; in onTouchEvent()972 final float newPos = MathUtils.constrain(mThumbPosition + dPos, 0, 1); in onTouchEvent()