HomeSort by relevance Sort by last modified time
    Searched refs:mSnapAlgorithm (Results 1 - 4 of 4) sorted by null

  /frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DividerView.java 149 private DividerSnapAlgorithm mSnapAlgorithm;
188 if (mSnapAlgorithm.isFirstSplitTargetAvailable()) {
194 if (mSnapAlgorithm.isLastSplitTargetAvailable()) {
203 if (mSnapAlgorithm.isFirstSplitTargetAvailable()) {
209 if (mSnapAlgorithm.isLastSplitTargetAvailable()) {
224 nextTarget = mSnapAlgorithm.getDismissEndTarget();
227 nextTarget = mSnapAlgorithm.getLastSplitTarget();
230 nextTarget = mSnapAlgorithm.getMiddleTarget();
233 nextTarget = mSnapAlgorithm.getFirstSplitTarget();
236 nextTarget = mSnapAlgorithm.getDismissStartTarget()
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
PinnedStackController.java 79 private final PipSnapAlgorithm mSnapAlgorithm;
121 mSnapAlgorithm.setMinimized(isMinimized);
155 mSnapAlgorithm = new PipSnapAlgorithm(service.mContext);
229 final float snapFraction = mSnapAlgorithm.getSnapFraction(stackBounds,
233 final Size size = mSnapAlgorithm.getSizeForAspectRatio(aspectRatio, minEdgeSize,
238 mSnapAlgorithm.applySnapFraction(stackBounds, getMovementBounds(stackBounds), snapFraction);
254 final Size size = mSnapAlgorithm.getSizeForAspectRatio(mDefaultAspectRatio,
296 final float snapFraction = mSnapAlgorithm.getSnapFraction(postChangeStackBounds,
304 mSnapAlgorithm.applySnapFraction(postChangeStackBounds, postChangeMovementBounds,
462 mSnapAlgorithm.getMovementBounds(stackBounds, movementBounds, movementBounds
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
PipMotionHelper.java 87 private PipSnapAlgorithm mSnapAlgorithm;
103 mSnapAlgorithm = snapAlgorithm;
114 mSnapAlgorithm.onConfigurationChanged();
205 Rect toBounds = mSnapAlgorithm.findClosestSnapBounds(movementBounds, stackBounds);
206 mSnapAlgorithm.applyMinimizedOffset(toBounds, movementBounds, displaySize, mStableInsets);
250 Rect toBounds = mSnapAlgorithm.findClosestSnapBounds(movementBounds, mBounds,
286 Rect toBounds = mSnapAlgorithm.findClosestSnapBounds(movementBounds, mBounds,
310 Rect toBounds = mSnapAlgorithm.findClosestSnapBounds(movementBounds, mBounds);
330 float savedSnapFraction = mSnapAlgorithm.getSnapFraction(new Rect(mBounds), movementBounds);
331 mSnapAlgorithm.applySnapFraction(expandedBounds, expandedMovementBounds, savedSnapFraction)
    [all...]
PipTouchHandler.java 82 private final PipSnapAlgorithm mSnapAlgorithm;
185 mSnapAlgorithm = new PipSnapAlgorithm(mContext);
192 mSnapAlgorithm, mFlingAnimationUtils);
251 mSnapAlgorithm.getMovementBounds(mNormalBounds, insetBounds, normalMovementBounds,
258 Size expandedSize = mSnapAlgorithm.getSizeForAspectRatio(aspectRatio,
262 mSnapAlgorithm.getMovementBounds(mExpandedBounds, insetBounds, expandedMovementBounds,
453 mSnapAlgorithm.setMinimized(isMinimized);
753 mSnapAlgorithm.dump(pw, innerPrefix);

Completed in 153 milliseconds