Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java421 private OverScroller mOverscroller; field in SystemGesturesPointerEventListener.FlingGestureDetector
424 mOverscroller = new OverScroller(mContext); in FlingGestureDetector()
429 if (!mOverscroller.isFinished()) { in onSingleTapUp()
430 mOverscroller.forceFinished(true); in onSingleTapUp()
437 mOverscroller.computeScrollOffset(); in onFling()
441 mOverscroller.forceFinished(true); in onFling()
443 mOverscroller.fling(0, 0, (int)velocityX, (int)velocityY, in onFling()
445 int duration = mOverscroller.getDuration(); in onFling()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DGesturePointerEventListener.kt422 private val mOverscroller: OverScroller = OverScroller(mContext) in <lambda>() constant in FlingGestureDetector
425 if (!mOverscroller.isFinished) { in <lambda>()
426 mOverscroller.forceFinished(true) in <lambda>()
437 mOverscroller.computeScrollOffset() in <lambda>()
440 mOverscroller.forceFinished(true) in <lambda>()
442 mOverscroller.fling( in <lambda>()
452 var duration = mOverscroller.duration in <lambda>()