Searched refs:calculateSnapTarget (Results 1 – 3 of 3) sorted by relevance
133 public SnapTarget calculateSnapTarget(int position, float velocity) { in calculateSnapTarget() method in DividerSnapAlgorithm134 return calculateSnapTarget(position, velocity, true /* hardDismiss */); in calculateSnapTarget()142 public SnapTarget calculateSnapTarget(int position, float velocity, boolean hardDismiss) { in calculateSnapTarget() method in DividerSnapAlgorithm
232 .calculateSnapTarget(position, 0f /* velocity */, false /* hardDismiss */); in handleDragActionMoveEvent()
498 SnapTarget snapTarget = mSnapAlgorithm.calculateSnapTarget( in onTouch()554 SnapTarget snapTarget = mSnapAlgorithm.calculateSnapTarget(position, velocity); in fling()