Home
last modified time | relevance | path

Searched refs:MIN_ASPECT_RATIO (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
H A DPipBoundsAlgorithmTest.java52 private static final float MIN_ASPECT_RATIO = 0.5f; field in PipBoundsAlgorithmTest
88 MIN_ASPECT_RATIO); in initializeMockResources()
222 mPipBoundsState.setAspectRatio(MIN_ASPECT_RATIO / 2); in getNormalBounds_invalidAspectRatio_returnsDefaultBounds()
232 MIN_ASPECT_RATIO, false /* useCurrentMinEdgeSize */, false /* useCurrentSize */); in getNormalBounds_validAspectRatio_returnsAdjustedDefaultBounds()
235 mPipBoundsState.setAspectRatio(MIN_ASPECT_RATIO); in getNormalBounds_validAspectRatio_returnsAdjustedDefaultBounds()
244 (MIN_ASPECT_RATIO + DEFAULT_ASPECT_RATIO) / 2, in getEntryDestinationBounds_returnBoundsMatchesAspectRatio()
260 MIN_ASPECT_RATIO / 2, in getEntryDestinationBounds_invalidAspectRatio_returnsDefaultAspectRatio()
293 (MIN_ASPECT_RATIO + DEFAULT_ASPECT_RATIO) / 2, in getEntryDestinationBounds_withMinSize_returnMinBounds()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DActivityRecord.java157 import static com.android.server.wm.ActivityRecordProto.MIN_ASPECT_RATIO;
9075 proto.write(MIN_ASPECT_RATIO, getMinAspectRatio()); in dumpDebug()