Searched refs:snapTarget (Results 1 – 2 of 2) sorted by relevance
514 SnapTarget snapTarget = getSnapAlgorithm().calculateSnapTarget( in onTouch() local516 resizeStackSurfaces(calculatePosition(x, y), mStartPosition, snapTarget, in onTouch() local538 private void logResizeEvent(SnapTarget snapTarget) { in logResizeEvent() argument539 if (snapTarget == mSplitLayout.getSnapAlgorithm().getDismissStartTarget()) { in logResizeEvent()544 } else if (snapTarget == mSplitLayout.getSnapAlgorithm().getDismissEndTarget()) { in logResizeEvent()549 } else if (snapTarget == mSplitLayout.getSnapAlgorithm().getMiddleTarget()) { in logResizeEvent()552 } else if (snapTarget == mSplitLayout.getSnapAlgorithm().getFirstSplitTarget()) { in logResizeEvent()557 } else if (snapTarget == mSplitLayout.getSnapAlgorithm().getLastSplitTarget()) { in logResizeEvent()572 SnapTarget snapTarget = currentSnapAlgorithm.calculateSnapTarget(position, velocity); in fling() local573 if (avoidDismissStart && snapTarget == currentSnapAlgorithm.getDismissStartTarget()) { in fling()[all …]
384 public SnapTarget getNextTarget(SnapTarget snapTarget) { in getNextTarget() argument385 int index = mTargets.indexOf(snapTarget); in getNextTarget()389 return snapTarget; in getNextTarget()392 public SnapTarget getPreviousTarget(SnapTarget snapTarget) { in getPreviousTarget() argument393 int index = mTargets.indexOf(snapTarget); in getPreviousTarget()397 return snapTarget; in getPreviousTarget()420 public SnapTarget cycleNonDismissTarget(SnapTarget snapTarget, int increment) { in cycleNonDismissTarget() argument421 int index = mTargets.indexOf(snapTarget); in cycleNonDismissTarget()433 return snapTarget; in cycleNonDismissTarget()