Searched refs:maxScrollDistance (Results 1 – 2 of 2) sorted by relevance
380 float maxScrollDistance = 0.15f * size; in onTouchEvent() local382 deltaX = deltaX > 0 ? maxScrollDistance : -maxScrollDistance; in onTouchEvent()384 deltaX = maxScrollDistance in onTouchEvent()
1068 float maxScrollDistance = 0.15f * size; in calculateDeltaY() local1070 delta = delta > 0 ? maxScrollDistance : -maxScrollDistance; in calculateDeltaY()1072 delta = maxScrollDistance * in calculateDeltaY()