Home
last modified time | relevance | path

Searched refs:mPipBoundsAlgorithm (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipBoundsAlgorithmTest.java67 private PipBoundsAlgorithm mPipBoundsAlgorithm; field in PipBoundsAlgorithmTest
81 mPipBoundsAlgorithm = new PipBoundsAlgorithm(mContext, mPipBoundsState, in setUp()
123 DEFAULT_ASPECT_RATIO, mPipBoundsAlgorithm.getDefaultAspectRatio(), in getDefaultAspectRatio()
134 mPipBoundsAlgorithm.onConfigurationChanged(mContext); in onConfigurationChanged_reloadResources()
137 mPipBoundsAlgorithm.getDefaultAspectRatio(), newDefaultAspectRatio, in onConfigurationChanged_reloadResources()
146 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_noOverrideMinSize_matchesDefaultSizeAndAspectRatio()
160 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_widerOverrideMinSize_matchesMinSizeWidthAndDefaultAspectRatio()
176 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_tallerOverrideMinSize_matchesMinSizeHeightAndDefaultAspectRatio()
189 final Rect defaultBounds = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_imeShowing_offsetByImeHeight()
192 final Rect defaultBoundsWithIme = mPipBoundsAlgorithm.getDefaultBounds(); in getDefaultBounds_imeShowing_offsetByImeHeight()
[all …]
DPipTaskOrganizerTest.java98 private PipBoundsAlgorithm mPipBoundsAlgorithm; field in PipTaskOrganizerTest
114 mPipBoundsAlgorithm = new PipBoundsAlgorithm(mContext, mPipBoundsState, in setUp()
120 mPipBoundsAlgorithm, mMockPhonePipMenuController, mMockPipAnimationController, in setUp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java134 private PipBoundsAlgorithm mPipBoundsAlgorithm; field in PipController
187 mPipBoundsAlgorithm); in updatePipPositionForKeepClearAreas()
458 mPipBoundsAlgorithm = pipBoundsAlgorithm; in PipController()
608 mPipBoundsAlgorithm.getAdjustedDestinationBounds( in onInit()
737 mPipBoundsAlgorithm.onConfigurationChanged(mContext); in onConfigurationChanged()
799 final PipSnapAlgorithm pipSnapAlgorithm = mPipBoundsAlgorithm.getSnapAlgorithm(); in onDisplayChangedUncheck()
802 mPipBoundsAlgorithm.getMovementBounds(postChangeBounds), in onDisplayChangedUncheck()
816 final Rect postChangeMovementBounds = mPipBoundsAlgorithm.getMovementBounds( in onDisplayChangedUncheck()
989 aspectRatioFloat = mPipBoundsAlgorithm.getDefaultAspectRatio(); in startSwipePipToHome()
1061 float snapFraction = mPipBoundsAlgorithm.getSnapFraction(pipBounds); in saveReentryState()
[all …]
DPipTouchHandler.java82 private final PipBoundsAlgorithm mPipBoundsAlgorithm; field in PipTouchHandler
185 mPipBoundsAlgorithm = pipBoundsAlgorithm; in PipTouchHandler()
219 mMotionHelper, pipTaskOrganizer, mPipBoundsAlgorithm.getSnapAlgorithm(), in PipTouchHandler()
368 mPipBoundsAlgorithm.getMovementBounds(outBounds, insetBounds, toMovementBounds, 0); in adjustBoundsForRotation()
399 mPipBoundsAlgorithm.getMovementBounds(normalBounds, insetBounds, in onMovementBoundsChanged()
405 mPipBoundsAlgorithm.getMovementBounds(curBounds, insetBounds, in onMovementBoundsChanged()
415 mPipBoundsAlgorithm.getMovementBounds( in onMovementBoundsChanged()
711 mPipBoundsAlgorithm.getMovementBounds(maxBounds, mInsetBounds, maxMovementBounds, in animateToMaximizedState()
724 final Rect destBounds = mPipBoundsAlgorithm.adjustNormalBoundsToFitMenu(normalBounds, in animateToNormalSize()
727 mPipBoundsAlgorithm.getMovementBounds(destBounds, in animateToNormalSize()
[all …]
DPipResizeGestureHandler.java63 private final PipBoundsAlgorithm mPipBoundsAlgorithm; field in PipResizeGestureHandler
123 mPipBoundsAlgorithm = pipBoundsAlgorithm; in PipResizeGestureHandler()
392 final Rect movementBounds = mPipBoundsAlgorithm.getMovementBounds(finalBounds);
398 mPipBoundsAlgorithm.applySnapFraction(finalBounds, snapFraction);
428 final Rect movementBounds = mPipBoundsAlgorithm
434 final float snapFraction = mPipBoundsAlgorithm.getSnapFraction(
436 mPipBoundsAlgorithm.applySnapFraction(mLastResizeBounds, snapFraction);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipResizeGestureHandler.java67 private final PipBoundsAlgorithm mPipBoundsAlgorithm; field in PipResizeGestureHandler
132 mPipBoundsAlgorithm = pipBoundsAlgorithm; in PipResizeGestureHandler()
400 final Rect movementBounds = mPipBoundsAlgorithm.getMovementBounds(finalBounds);
406 mPipBoundsAlgorithm.applySnapFraction(finalBounds, snapFraction);
441 final Rect movementBounds = mPipBoundsAlgorithm
447 final float snapFraction = mPipBoundsAlgorithm.getSnapFraction(
449 mPipBoundsAlgorithm.applySnapFraction(mLastResizeBounds, snapFraction);
527 float snapFraction = mPipBoundsAlgorithm.getSnapFraction( in onPipTransitionStateChanged()
DPipTouchHandler.java86 private final PipBoundsAlgorithm mPipBoundsAlgorithm; field in PipTouchHandler
192 mPipBoundsAlgorithm = pipBoundsAlgorithm; in PipTouchHandler()
377 mPipBoundsAlgorithm.getMovementBounds(outBounds, insetBounds, toMovementBounds, 0); in adjustBoundsForRotation()
408 mPipBoundsAlgorithm.getMovementBounds(normalBounds, insetBounds, in onMovementBoundsChanged()
414 mPipBoundsAlgorithm.getMovementBounds(curBounds, insetBounds, in onMovementBoundsChanged()
424 mPipBoundsAlgorithm.getMovementBounds( in onMovementBoundsChanged()
720 mPipBoundsAlgorithm.getMovementBounds(maxBounds, mInsetBounds, maxMovementBounds, in animateToMaximizedState()
733 final Rect destBounds = mPipBoundsAlgorithm.adjustNormalBoundsToFitMenu(normalBounds, in animateToNormalSize()
736 mPipBoundsAlgorithm.getMovementBounds(destBounds, in animateToNormalSize()
744 mPipBoundsAlgorithm.getMovementBounds(restoreBounds, in animateToUnexpandedState()
[all …]
DPipController.java82 private final PipBoundsAlgorithm mPipBoundsAlgorithm; field in PipController
135 mPipBoundsAlgorithm = pipBoundsAlgorithm; in PipController()
283 mPipBoundsAlgorithm); in getSwipePipToHomeBounds()
284 return mPipBoundsAlgorithm.getEntryDestinationBounds(); in getSwipePipToHomeBounds()
352 mPipBoundsAlgorithm.dump(pw, innerPrefix); in dump()
DPipMotionHelper.java80 private @NonNull PipBoundsAlgorithm mPipBoundsAlgorithm; field in PipMotionHelper
172 mPipBoundsAlgorithm = pipBoundsAlgorithm; in PipMotionHelper()
565 mPipBoundsAlgorithm.getMovementBounds(getBounds()).left,
566 mPipBoundsAlgorithm.getMovementBounds(getBounds()).right);
568 mPipBoundsAlgorithm.getMovementBounds(getBounds()).top,
569 mPipBoundsAlgorithm.getMovementBounds(getBounds()).bottom);
DPipTransition.java452 pipParams, mPipBoundsAlgorithm); in getEnterPipTransaction()
455 final Rect entryBounds = mPipBoundsAlgorithm.getEntryDestinationBounds(); in getEnterPipTransaction()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipTouchHandlerTest.java94 private PipBoundsAlgorithm mPipBoundsAlgorithm; field in PipTouchHandlerTest
117 mPipBoundsAlgorithm = new PipBoundsAlgorithm(mContext, mPipBoundsState, mPipSnapAlgorithm, in setUp()
124 mPipBoundsAlgorithm, mPipBoundsState, mSizeSpecSource, mPipTaskOrganizer, in setUp()
162 mPipBoundsAlgorithm.getMovementBounds(mPipBounds, mInsetBounds, expectedMovementBounds, in updateMovementBounds_minMaxBounds()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTransitionController.java64 protected final PipBoundsAlgorithm mPipBoundsAlgorithm; field in PipTransitionController
158 mPipBoundsAlgorithm = pipBoundsAlgorithm; in PipTransitionController()
248 mPipBoundsAlgorithm); in setBoundsStateForEntry()
DPipTaskOrganizer.java134 private final PipBoundsAlgorithm mPipBoundsAlgorithm; field in PipTaskOrganizer
399 mPipBoundsAlgorithm = boundsHandler; in PipTaskOrganizer()
500 return mPipBoundsAlgorithm.getEntryDestinationBounds(); in startSwipePipToHome()
590 mPipBoundsAlgorithm); in setBoundsStateForEntry()
882 final Rect destinationBounds = mPipBoundsAlgorithm.getEntryDestinationBounds(); in onTaskAppeared()
921 final Rect destinationBounds = mPipBoundsAlgorithm.getEntryDestinationBounds(); in onTaskAppearedWithFixedRotation()
935 final Rect destinationBounds = mPipBoundsAlgorithm.getEntryDestinationBounds(); in onDisplayRotationSkipped()
1097 mPipBoundsAlgorithm.getMinimalSize(info.topActivityInfo)); in onTaskInfoChanged()
1175 enterPipWithAlphaAnimation(mPipBoundsAlgorithm.getEntryDestinationBounds(), in onFixedRotationFinished()
1361 final Rect newDestinationBounds = mPipBoundsAlgorithm.getEntryDestinationBounds(); in onMovementBoundsChanged()
[all …]
DPipTransition.java372 final Rect destinationBounds = mPipBoundsAlgorithm.getEntryDestinationBounds(); in augmentRequest()
402 final Rect destinationBounds = mPipBoundsAlgorithm.getEntryDestinationBounds(); in handleRotateDisplay()
1003 final Rect destinationBounds = mPipBoundsAlgorithm.getEntryDestinationBounds(); in startEnterAnimation()
1100 animator.setDestinationBounds(mPipBoundsAlgorithm.getEntryDestinationBounds()); in startEnterAnimation()
1117 outDestinationBounds.set(mPipBoundsAlgorithm.getEntryDestinationBounds()); in computeEnterPipRotatedBounds()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipTransition.java412 mPipBoundsAlgorithm.getEntryDestinationBoundsIgnoringKeepClearAreas(); in startEnterAnimation()