Searched refs:snapTarget (Results 1 – 3 of 3) sorted by relevance
454 SnapTarget snapTarget = mSnapAlgorithm.calculateSnapTarget( in onTouch() local456 resizeStack(calculatePosition(x, y), mStartPosition, snapTarget); in onTouch() local477 private void logResizeEvent(SnapTarget snapTarget) { in logResizeEvent() argument478 if (snapTarget == mSnapAlgorithm.getDismissStartTarget()) { in logResizeEvent()483 } else if (snapTarget == mSnapAlgorithm.getDismissEndTarget()) { in logResizeEvent()488 } else if (snapTarget == mSnapAlgorithm.getMiddleTarget()) { in logResizeEvent()491 } else if (snapTarget == mSnapAlgorithm.getFirstSplitTarget()) { in logResizeEvent()496 } else if (snapTarget == mSnapAlgorithm.getLastSplitTarget()) { in logResizeEvent()510 SnapTarget snapTarget = mSnapAlgorithm.calculateSnapTarget(position, velocity); in fling() local511 if (avoidDismissStart && snapTarget == mSnapAlgorithm.getDismissStartTarget()) { in fling()[all …]
322 public SnapTarget getNextTarget(SnapTarget snapTarget) { in getNextTarget() argument323 int index = mTargets.indexOf(snapTarget); in getNextTarget()327 return snapTarget; in getNextTarget()330 public SnapTarget getPreviousTarget(SnapTarget snapTarget) { in getPreviousTarget() argument331 int index = mTargets.indexOf(snapTarget); in getPreviousTarget()335 return snapTarget; in getPreviousTarget()350 public SnapTarget cycleNonDismissTarget(SnapTarget snapTarget, int increment) { in cycleNonDismissTarget() argument351 int index = mTargets.indexOf(snapTarget); in cycleNonDismissTarget()363 return snapTarget; in cycleNonDismissTarget()
231 SnapTarget snapTarget = mDivider.getView().getSnapAlgorithm() in handleDragActionMoveEvent() local233 mDivider.getView().resizeStack(position, snapTarget.position, snapTarget); in handleDragActionMoveEvent()