Home
last modified time | relevance | path

Searched refs:SnapTarget (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java69 private final ArrayList<SnapTarget> mTargets = new ArrayList<>();
78 private final SnapTarget mFirstSplitTarget;
81 private final SnapTarget mLastSplitTarget;
83 private final SnapTarget mDismissStartTarget;
84 private final SnapTarget mDismissEndTarget;
85 private final SnapTarget mMiddleTarget;
156 public SnapTarget calculateSnapTarget(int position, float velocity) { in calculateSnapTarget()
165 public SnapTarget calculateSnapTarget(int position, float velocity, boolean hardDismiss) { in calculateSnapTarget()
182 public SnapTarget calculateNonDismissingSnapTarget(int position) { in calculateNonDismissingSnapTarget()
183 SnapTarget target = snap(position, false /* hardDismiss */); in calculateNonDismissingSnapTarget()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java62 import com.android.internal.policy.DividerSnapAlgorithm.SnapTarget;
126 private SnapTarget mSnapTargetBeforeMinimized;
173 resizeStack(msg.arg1, msg.arg2, (SnapTarget) msg.obj);
228 SnapTarget nextTarget = null;
440 public void stopDragging(int position, SnapTarget target, long duration, in stopDragging()
445 public void stopDragging(int position, SnapTarget target, long duration, in stopDragging()
450 public void stopDragging(int position, SnapTarget target, long duration, long startDelay, in stopDragging()
528 SnapTarget snapTarget = getSnapAlgorithm().calculateSnapTarget( in onTouch()
551 private void logResizeEvent(SnapTarget snapTarget) { in logResizeEvent()
585 SnapTarget snapTarget = currentSnapAlgorithm.calculateSnapTarget(position, velocity); in fling()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
DShortcutKeyDispatcher.java105 DividerSnapAlgorithm.SnapTarget currentTarget = in handleDockKey()
107 DividerSnapAlgorithm.SnapTarget target = (shortcutCode == SC_DOCK_LEFT) in handleDockKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarGestureHelper.java32 import com.android.internal.policy.DividerSnapAlgorithm.SnapTarget;
247 SnapTarget snapTarget = mDivider.getView().getSnapAlgorithm() in handleDragActionMoveEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java67 import com.android.internal.policy.DividerSnapAlgorithm.SnapTarget;
569 final SnapTarget target = algorithm.calculateNonDismissingSnapTarget(dividerPosition); in snapDockedStackAfterRotation()
/frameworks/base/config/
Dboot-image-profile.txt9210 …;->calculateNonDismissingSnapTarget(I)Lcom/android/internal/policy/DividerSnapAlgorithm$SnapTarget;
9211 …policy/DividerSnapAlgorithm;->snap(IZ)Lcom/android/internal/policy/DividerSnapAlgorithm$SnapTarget;
60027 Lcom/android/internal/policy/DividerSnapAlgorithm$SnapTarget;