Searched refs:snapTarget (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | DividerView.java | 512 SnapTarget snapTarget = getSnapAlgorithm().calculateSnapTarget( in onTouch() local 514 resizeStackDelayed(calculatePosition(x, y), mStartPosition, snapTarget); in onTouch() local 535 private void logResizeEvent(SnapTarget snapTarget) { in logResizeEvent() argument 536 if (snapTarget == mSnapAlgorithm.getDismissStartTarget()) { in logResizeEvent() 541 } else if (snapTarget == mSnapAlgorithm.getDismissEndTarget()) { in logResizeEvent() 546 } else if (snapTarget == mSnapAlgorithm.getMiddleTarget()) { in logResizeEvent() 549 } else if (snapTarget == mSnapAlgorithm.getFirstSplitTarget()) { in logResizeEvent() 554 } else if (snapTarget == mSnapAlgorithm.getLastSplitTarget()) { in logResizeEvent() 569 SnapTarget snapTarget = currentSnapAlgorithm.calculateSnapTarget(position, velocity); in fling() local 570 if (avoidDismissStart && snapTarget == currentSnapAlgorithm.getDismissStartTarget()) { in fling() [all …]
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DividerSnapAlgorithm.java | 348 public SnapTarget getNextTarget(SnapTarget snapTarget) { in getNextTarget() argument 349 int index = mTargets.indexOf(snapTarget); in getNextTarget() 353 return snapTarget; in getNextTarget() 356 public SnapTarget getPreviousTarget(SnapTarget snapTarget) { in getPreviousTarget() argument 357 int index = mTargets.indexOf(snapTarget); in getPreviousTarget() 361 return snapTarget; in getPreviousTarget() 376 public SnapTarget cycleNonDismissTarget(SnapTarget snapTarget, int increment) { in cycleNonDismissTarget() argument 377 int index = mTargets.indexOf(snapTarget); in cycleNonDismissTarget() 389 return snapTarget; in cycleNonDismissTarget()
|
D | PipSnapAlgorithm.java | 220 Point snapTarget = findClosestPoint(stackBounds.left, stackBounds.top, snapTargets); in findClosestSnapBounds() local 221 float distance = distanceToPoint(snapTarget, stackBounds.left, stackBounds.top); in findClosestSnapBounds() 225 newBounds.offsetTo(snapTarget.x, snapTarget.y); in findClosestSnapBounds() 241 Point snapTarget = findClosestPoint(stackBounds.left, stackBounds.top, snapTargets); in findClosestSnapBounds() local 242 newBounds.offsetTo(snapTarget.x, snapTarget.y); in findClosestSnapBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarGestureHelper.java | 237 SnapTarget snapTarget = mDivider.getView().getSnapAlgorithm() in handleDragActionMoveEvent() local 239 mDivider.getView().resizeStack(position, snapTarget.position, snapTarget); in handleDragActionMoveEvent()
|