Home
last modified time | relevance | path

Searched refs:pipSnapAlgorithm (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
H A DPipResizeGestureHandlerTest.java89 final PipSnapAlgorithm pipSnapAlgorithm = new PipSnapAlgorithm(); in setUp() local
91 mPipBoundsState, pipSnapAlgorithm); in setUp()
93 mPipTaskOrganizer, mPhonePipMenuController, pipSnapAlgorithm, in setUp()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/
H A DWMShellModule.java234 PipBoundsState pipBoundsState, PipSnapAlgorithm pipSnapAlgorithm) { in providesPipBoundsAlgorithm() argument
235 return new PipBoundsAlgorithm(context, pipBoundsState, pipSnapAlgorithm); in providesPipBoundsAlgorithm()
317 PhonePipMenuController menuController, PipSnapAlgorithm pipSnapAlgorithm, in providePipMotionHelper() argument
321 menuController, pipSnapAlgorithm, pipTransitionController, in providePipMotionHelper()
H A DTvPipModule.java97 PipBoundsState pipBoundsState, PipSnapAlgorithm pipSnapAlgorithm) { in providePipBoundsAlgorithm() argument
98 return new PipBoundsAlgorithm(context, pipBoundsState, pipSnapAlgorithm); in providePipBoundsAlgorithm()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipController.java492 final PipSnapAlgorithm pipSnapAlgorithm = mPipBoundsAlgorithm.getSnapAlgorithm(); in onDisplayChanged() local
494 final float snapFraction = pipSnapAlgorithm.getSnapFraction(postChangeStackBounds, in onDisplayChanged()
504 pipSnapAlgorithm.applySnapFraction(postChangeStackBounds, postChangeMovementBounds, in onDisplayChanged()
730 final PipSnapAlgorithm pipSnapAlgorithm = mPipBoundsAlgorithm.getSnapAlgorithm(); in onDisplayRotationChanged() local
734 final float snapFraction = pipSnapAlgorithm.getSnapFraction(postChangeStackBounds, in onDisplayRotationChanged()
745 pipSnapAlgorithm.applySnapFraction(postChangeStackBounds, postChangeMovementBounds, in onDisplayRotationChanged()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPipBoundsAlgorithm.java62 @NonNull PipSnapAlgorithm pipSnapAlgorithm) { in PipBoundsAlgorithm() argument
64 mSnapAlgorithm = pipSnapAlgorithm; in PipBoundsAlgorithm()