Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
H A DPipResizeGestureHandlerTest.java104 final PipSnapAlgorithm pipSnapAlgorithm = new PipSnapAlgorithm(); in setUp() local
108 mPipBoundsState, pipSnapAlgorithm, pipKeepClearAlgorithm, mPipDisplayLayoutState, in setUp()
111 mPipTaskOrganizer, mPhonePipMenuController, pipSnapAlgorithm, in setUp()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/pip/
H A DPip1Module.java211 PhonePipMenuController menuController, PipSnapAlgorithm pipSnapAlgorithm, in providePipMotionHelper() argument
215 menuController, pipSnapAlgorithm, pipTransitionController, in providePipMotionHelper()
H A DTvPipModule.java134 TvPipBoundsState tvPipBoundsState, PipSnapAlgorithm pipSnapAlgorithm, in provideTvPipBoundsAlgorithm() argument
136 return new TvPipBoundsAlgorithm(context, tvPipBoundsState, pipSnapAlgorithm, in provideTvPipBoundsAlgorithm()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipController.java794 final PipSnapAlgorithm pipSnapAlgorithm = mPipBoundsAlgorithm.getSnapAlgorithm(); in onDisplayChangedUncheck() local
796 final float snapFraction = pipSnapAlgorithm.getSnapFraction(postChangeBounds, in onDisplayChangedUncheck()
819 pipSnapAlgorithm.applySnapFraction(postChangeBounds, postChangeMovementBounds, in onDisplayChangedUncheck()
1142 final PipSnapAlgorithm pipSnapAlgorithm = mPipBoundsAlgorithm.getSnapAlgorithm(); in onDisplayRotationChanged() local
1146 final float snapFraction = pipSnapAlgorithm.getSnapFraction(postChangeStackBounds, in onDisplayRotationChanged()
1157 pipSnapAlgorithm.applySnapFraction(postChangeStackBounds, postChangeMovementBounds, in onDisplayRotationChanged()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
H A DPipBoundsAlgorithm.java54 @NonNull PipSnapAlgorithm pipSnapAlgorithm, in PipBoundsAlgorithm() argument
59 mSnapAlgorithm = pipSnapAlgorithm; in PipBoundsAlgorithm()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
H A DTvPipBoundsAlgorithm.java65 @NonNull PipSnapAlgorithm pipSnapAlgorithm, in TvPipBoundsAlgorithm() argument
68 super(context, tvPipBoundsState, pipSnapAlgorithm, in TvPipBoundsAlgorithm()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/
H A DWMShellBaseModule.java383 PipBoundsState pipBoundsState, PipSnapAlgorithm pipSnapAlgorithm, in providesPipBoundsAlgorithm() argument
386 return new PipBoundsAlgorithm(context, pipBoundsState, pipSnapAlgorithm, in providesPipBoundsAlgorithm()