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.java146 public SnapTarget calculateSnapTarget(int position, float velocity) { in calculateSnapTarget() method in DividerSnapAlgorithm
147 return calculateSnapTarget(position, velocity, true /* hardDismiss */); in calculateSnapTarget()
155 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.java238 .calculateSnapTarget(position, 0f /* velocity */, false /* hardDismiss */); in handleDragActionMoveEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java494 SnapTarget snapTarget = getSnapAlgorithm().calculateSnapTarget( in onTouch()
551 SnapTarget snapTarget = currentSnapAlgorithm.calculateSnapTarget(position, velocity); in fling()