Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DSizeSpecSource.kt39 fun getOverrideMinSize(): Size? in getMaxSize() method
43 val overrideMinSize = getOverrideMinSize() ?: return 0 in getMaxSize()
DLegacySizeSpecSource.kt167 override fun getOverrideMinSize(): Size? { in getOverrideMinSize() method in com.android.wm.shell.common.pip.LegacySizeSpecSource
191 val size = getOverrideMinSize() ?: return null in adjustOverrideMinSizeToAspectRatio()
DPhoneSizeSpecSource.kt261 override fun getOverrideMinSize(): Size? { in getOverrideMinSize() method in com.android.wm.shell.common.pip.PhoneSizeSpecSource
281 val size = getOverrideMinSize() ?: return null in adjustOverrideMinSizeToAspectRatio()
DPipBoundsState.java364 final boolean changed = !Objects.equals(overrideMinSize, getOverrideMinSize()); in setOverrideMinSize()
373 public Size getOverrideMinSize() { in getOverrideMinSize() method in PipBoundsState
374 return mSizeSpecSource.getOverrideMinSize(); in getOverrideMinSize()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipTaskOrganizerTest.java163 assertEquals(minSize, mPipBoundsState.getOverrideMinSize()); in startSwipePipToHome_updatesOverrideMinSize()
192 assertEquals(minSize, mPipBoundsState.getOverrideMinSize()); in onTaskAppeared_updatesOverrideMinSize()
250 assertEquals(minSize, mPipBoundsState.getOverrideMinSize()); in onTaskInfoChanged_inPip_updatesOverrideMinSize()