Home
last modified time | relevance | path

Searched refs:getBoundsScale (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipBoundsStateTest.java104 assertEquals(expectedBoundsScale, mPipBoundsState.getBoundsScale(), MARGIN_OF_ERROR); in testBoundsScale()
108 assertEquals(1.0f, mPipBoundsState.getBoundsScale(), /* delta */ 0f); in testBoundsScale()
112 assertEquals(1.0f, mPipBoundsState.getBoundsScale(), /* delta */ 0f); in testBoundsScale()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipBoundsAlgorithm.java136 Math.round(mPipBoundsState.getMaxSize().x * reentryState.getBoundsScale()), in getEntryDestinationBoundsIgnoringKeepClearAreas()
137 Math.round(mPipBoundsState.getMaxSize().y * reentryState.getBoundsScale())); in getEntryDestinationBoundsIgnoringKeepClearAreas()
DPipBoundsState.java184 public float getBoundsScale() { in getBoundsScale() method in PipBoundsState
643 public float getBoundsScale() { in getBoundsScale() method in PipBoundsState.PipReentryState
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java811 (int) (mPipBoundsState.getMaxSize().x * mPipBoundsState.getBoundsScale()), in onDisplayChangedUncheck()
812 (int) (mPipBoundsState.getMaxSize().y * mPipBoundsState.getBoundsScale())); in onDisplayChangedUncheck()
1155 (int) (mPipBoundsState.getMaxSize().x * mPipBoundsState.getBoundsScale()), in onDisplayRotationChanged()
1156 (int) (mPipBoundsState.getMaxSize().y * mPipBoundsState.getBoundsScale())); in onDisplayRotationChanged()