Home
last modified time | relevance | path

Searched refs:setOverrideMinSize (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipBoundsStateTest.java191 mPipBoundsState.setOverrideMinSize(new Size(5, 5)); in testSetOverrideMinSize_changed_callbackInvoked()
194 mPipBoundsState.setOverrideMinSize(new Size(10, 10)); in testSetOverrideMinSize_changed_callbackInvoked()
202 mPipBoundsState.setOverrideMinSize(new Size(100, 150)); in testSetOverrideMinSize_notChanged_callbackNotInvoked()
205 mPipBoundsState.setOverrideMinSize(new Size(100, 150)); in testSetOverrideMinSize_notChanged_callbackNotInvoked()
212 mPipBoundsState.setOverrideMinSize(null); in testGetOverrideMinEdgeSize()
215 mPipBoundsState.setOverrideMinSize(new Size(100, 110)); in testGetOverrideMinEdgeSize()
218 mPipBoundsState.setOverrideMinSize(new Size(150, 200)); in testGetOverrideMinEdgeSize()
DPipBoundsAlgorithmTest.java145 mPipBoundsState.setOverrideMinSize(null); in getDefaultBounds_noOverrideMinSize_matchesDefaultSizeAndAspectRatio()
159 mPipBoundsState.setOverrideMinSize(overrideMinSize); in getDefaultBounds_widerOverrideMinSize_matchesMinSizeWidthAndDefaultAspectRatio()
175 mPipBoundsState.setOverrideMinSize(overrideMinSize); in getDefaultBounds_tallerOverrideMinSize_matchesMinSizeHeightAndDefaultAspectRatio()
325 mPipBoundsState.setOverrideMinSize(minimalSize); in getEntryDestinationBounds_withMinSize_returnMinBounds()
347 mPipBoundsState.setOverrideMinSize(minSize); in getAdjustedDestinationBounds_ignoreMinBounds()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DSizeSpecSource.kt36 fun setOverrideMinSize(overrideMinSize: Size?) in getMaxSize() method
DPipBoundsState.java363 public void setOverrideMinSize(@Nullable Size overrideMinSize) { in setOverrideMinSize() method in PipBoundsState
365 mSizeSpecSource.setOverrideMinSize(overrideMinSize); in setOverrideMinSize()
470 setOverrideMinSize(pipBoundsAlgorithm.getMinimalSize(activityInfo)); in setBoundsStateForEntry()
DLegacySizeSpecSource.kt162 override fun setOverrideMinSize(overrideMinSize: Size?) { in getDisplayBounds() method in com.android.wm.shell.common.pip.LegacySizeSpecSource
DPhoneSizeSpecSource.kt256 override fun setOverrideMinSize(overrideMinSize: Size?) { in setOverrideMinSize() method in com.android.wm.shell.common.pip.PhoneSizeSpecSource
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPhoneSizeSpecSourceTest.java191 mSizeSpecSource.setOverrideMinSize(null); in setupSizeSpecWithDisplayDimension()
253 mSizeSpecSource.setOverrideMinSize(initSize); in testGetSizeForAspectRatio_withOverrideMinSize()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTaskOrganizer.java1096 mPipBoundsState.setOverrideMinSize( in onTaskInfoChanged()