Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java157 public SnapTarget calculateSnapTarget(int position, float velocity) { in calculateSnapTarget() method in DividerSnapAlgorithm
158 return calculateSnapTarget(position, velocity, true /* hardDismiss */); in calculateSnapTarget()
166 public SnapTarget calculateSnapTarget(int position, float velocity, boolean hardDismiss) { in calculateSnapTarget() method in DividerSnapAlgorithm
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java522 SnapTarget snapTarget = getSnapAlgorithm().calculateSnapTarget( in onTouch()
579 SnapTarget snapTarget = currentSnapAlgorithm.calculateSnapTarget(position, velocity); in fling()