Home
last modified time | relevance | path

Searched refs:maxScrollDistance (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DSwipeHelper.java324 float maxScrollDistance = 0.15f * size; in setSwipeAmount() local
326 amount = amount > 0 ? maxScrollDistance : -maxScrollDistance; in setSwipeAmount()
328 amount = maxScrollDistance * (float) Math.sin((amount/size)*(Math.PI/2)); in setSwipeAmount()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java425 float maxScrollDistance = 0.15f * size; in onTouchEvent() local
427 delta = delta > 0 ? maxScrollDistance : -maxScrollDistance; in onTouchEvent()
429 delta = maxScrollDistance * (float) Math.sin((delta/size)*(Math.PI/2)); in onTouchEvent()