Home
last modified time | relevance | path

Searched refs:snapTarget (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java454 SnapTarget snapTarget = mSnapAlgorithm.calculateSnapTarget( in onTouch() local
456 resizeStack(calculatePosition(x, y), mStartPosition, snapTarget); in onTouch() local
477 private void logResizeEvent(SnapTarget snapTarget) { in logResizeEvent() argument
478 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() local
511 if (avoidDismissStart && snapTarget == mSnapAlgorithm.getDismissStartTarget()) { in fling()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java322 public SnapTarget getNextTarget(SnapTarget snapTarget) { in getNextTarget() argument
323 int index = mTargets.indexOf(snapTarget); in getNextTarget()
327 return snapTarget; in getNextTarget()
330 public SnapTarget getPreviousTarget(SnapTarget snapTarget) { in getPreviousTarget() argument
331 int index = mTargets.indexOf(snapTarget); in getPreviousTarget()
335 return snapTarget; in getPreviousTarget()
350 public SnapTarget cycleNonDismissTarget(SnapTarget snapTarget, int increment) { in cycleNonDismissTarget() argument
351 int index = mTargets.indexOf(snapTarget); in cycleNonDismissTarget()
363 return snapTarget; in cycleNonDismissTarget()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarGestureHelper.java231 SnapTarget snapTarget = mDivider.getView().getSnapAlgorithm() in handleDragActionMoveEvent() local
233 mDivider.getView().resizeStack(position, snapTarget.position, snapTarget); in handleDragActionMoveEvent()