Home
last modified time | relevance | path

Searched refs:calculateSnapTarget (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java133 public SnapTarget calculateSnapTarget(int position, float velocity) { in calculateSnapTarget() method in DividerSnapAlgorithm
134 return calculateSnapTarget(position, velocity, true /* hardDismiss */); in calculateSnapTarget()
142 public SnapTarget calculateSnapTarget(int position, float velocity, boolean hardDismiss) { in calculateSnapTarget() method in DividerSnapAlgorithm
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarGestureHelper.java232 .calculateSnapTarget(position, 0f /* velocity */, false /* hardDismiss */); in handleDragActionMoveEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java498 SnapTarget snapTarget = mSnapAlgorithm.calculateSnapTarget( in onTouch()
554 SnapTarget snapTarget = mSnapAlgorithm.calculateSnapTarget(position, velocity); in fling()