Searched refs:dPos (Results 1 – 1 of 1) sorted by relevance
1058 float dPos; in onTouchEvent() local1060 dPos = thumbScrollOffset / thumbScrollRange; in onTouchEvent()1064 dPos = thumbScrollOffset > 0 ? 1 : -1; in onTouchEvent()1067 dPos = -dPos; in onTouchEvent()1069 final float newPos = MathUtils.constrain(mThumbPosition + dPos, 0, 1); in onTouchEvent()