Searched refs:calculateSnapTarget (Results 1 – 3 of 3) sorted by relevance
146 public SnapTarget calculateSnapTarget(int position, float velocity) { in calculateSnapTarget() method in DividerSnapAlgorithm147 return calculateSnapTarget(position, velocity, true /* hardDismiss */); in calculateSnapTarget()155 public SnapTarget calculateSnapTarget(int position, float velocity, boolean hardDismiss) { in calculateSnapTarget() method in DividerSnapAlgorithm
238 .calculateSnapTarget(position, 0f /* velocity */, false /* hardDismiss */); in handleDragActionMoveEvent()
494 SnapTarget snapTarget = getSnapAlgorithm().calculateSnapTarget( in onTouch()551 SnapTarget snapTarget = currentSnapAlgorithm.calculateSnapTarget(position, velocity); in fling()