Home
last modified time | relevance | path

Searched refs:BOUNDS_POSITION_BOTTOM (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DRoundedCornerDecorProviderFactory.kt49 alignedBound1 = DisplayCutout.BOUNDS_POSITION_BOTTOM,
54 alignedBound1 = DisplayCutout.BOUNDS_POSITION_BOTTOM,
73 alignedBound1 = DisplayCutout.BOUNDS_POSITION_BOTTOM,
78 alignedBound1 = DisplayCutout.BOUNDS_POSITION_BOTTOM,
DFaceScanningProviderFactory.kt22 import android.view.DisplayCutout.BOUNDS_POSITION_BOTTOM in <lambda>()
204 it.add(BOUNDS_POSITION_BOTTOM) in DisplayCutout()
215 BOUNDS_POSITION_RIGHT -> BOUNDS_POSITION_BOTTOM in baseOnRotation0()
219 BOUNDS_POSITION_LEFT -> BOUNDS_POSITION_BOTTOM in baseOnRotation0()
226 BOUNDS_POSITION_TOP -> BOUNDS_POSITION_BOTTOM in baseOnRotation0()
DPrivacyDotDecorProviderFactory.kt62 alignedBound1 = DisplayCutout.BOUNDS_POSITION_BOTTOM,
67 alignedBound1 = DisplayCutout.BOUNDS_POSITION_BOTTOM,
DDecorProvider.kt135 DisplayCutout.BOUNDS_POSITION_BOTTOM, in getProperBound()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DScreenDecorationsTest.java17 import static android.view.DisplayCutout.BOUNDS_POSITION_BOTTOM;
222 DisplayCutout.BOUNDS_POSITION_BOTTOM, in setup()
228 DisplayCutout.BOUNDS_POSITION_BOTTOM, in setup()
307 case BOUNDS_POSITION_BOTTOM: in getRoundCornerIdsFromOverlayId()
452 final OverlayWindow overlay = mScreenDecorations.mOverlays[BOUNDS_POSITION_BOTTOM]; in verifyOverlaysExistAndAdded()
460 assertNull(mScreenDecorations.mOverlays[BOUNDS_POSITION_BOTTOM]); in verifyOverlaysExistAndAdded()
498 verifyRoundedCornerViewsExist(BOUNDS_POSITION_BOTTOM, false); in testNoRounding_NoCutout_PrivacyDot_NoFaceScanning()
527 verifyRoundedCornerViewsExist(BOUNDS_POSITION_BOTTOM, true); in testRounding_NoCutout_NoPrivacyDot_NoFaceScanning()
557 verifyRoundedCornerViewsExist(BOUNDS_POSITION_BOTTOM, true); in testRounding_NoCutout_PrivacyDot_NoFaceScanning()
612 leftRoundedCorner = mScreenDecorations.mOverlays[BOUNDS_POSITION_BOTTOM].getRootView() in testRoundingTopBottomRadius_OnTopBottomOverlay()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/
DRoundedCornerDecorProviderFactoryTest.kt96 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_BOTTOM) in <lambda>()
101 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_BOTTOM) in <lambda>()
132 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_BOTTOM) in <lambda>()
137 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_BOTTOM) in <lambda>()
DPrivacyDotDecorProviderFactoryTest.kt77 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_BOTTOM) in testGet4CornerDecorProvidersWithPrivacyDot()
82 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_BOTTOM) in testGet4CornerDecorProvidersWithPrivacyDot()
DCutoutDecorProviderFactoryTest.kt102 sorted[DisplayCutout.BOUNDS_POSITION_BOTTOM] in <lambda>()
149 Assert.assertEquals(DisplayCutout.BOUNDS_POSITION_BOTTOM, providers[0].alignedBounds[0]) in <lambda>()
DOverlayWindowTest.kt66 alignedBound1 = DisplayCutout.BOUNDS_POSITION_BOTTOM, in setUp()
74 alignedBound1 = DisplayCutout.BOUNDS_POSITION_BOTTOM, in setUp()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTestsBase.java19 import static android.view.DisplayCutout.BOUNDS_POSITION_BOTTOM;
112 pos = isLongEdgeCutout ? BOUNDS_POSITION_BOTTOM : BOUNDS_POSITION_LEFT; in displayCutoutForRotation()
115 pos = isLongEdgeCutout ? BOUNDS_POSITION_RIGHT : BOUNDS_POSITION_BOTTOM; in displayCutoutForRotation()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java19 import static android.view.DisplayCutout.BOUNDS_POSITION_BOTTOM;
579 final int[] sideOverrides = new int[] {BOUNDS_POSITION_TOP, BOUNDS_POSITION_BOTTOM, in testGetRotatedCutoutWithOverride_top_rot0()
580 BOUNDS_POSITION_BOTTOM, BOUNDS_POSITION_TOP}; in testGetRotatedCutoutWithOverride_top_rot0()
594 final int[] sideOverrides = new int[] {BOUNDS_POSITION_TOP, BOUNDS_POSITION_BOTTOM, in testGetRotatedCutoutWithOverride_top_rot90()
595 BOUNDS_POSITION_BOTTOM, BOUNDS_POSITION_TOP}; in testGetRotatedCutoutWithOverride_top_rot90()
609 final int[] sideOverrides = new int[] {BOUNDS_POSITION_TOP, BOUNDS_POSITION_BOTTOM, in testGetRotatedCutoutWithOverride_top_rot180()
610 BOUNDS_POSITION_BOTTOM, BOUNDS_POSITION_TOP}; in testGetRotatedCutoutWithOverride_top_rot180()
625 final int[] sideOverrides = new int[] {BOUNDS_POSITION_TOP, BOUNDS_POSITION_BOTTOM, in testGetRotatedCutoutWithOverride_top_rot270()
626 BOUNDS_POSITION_BOTTOM, BOUNDS_POSITION_TOP}; in testGetRotatedCutoutWithOverride_top_rot270()
640 final int[] sideOverrides = new int[] {BOUNDS_POSITION_TOP, BOUNDS_POSITION_BOTTOM, in testGetRotatedCutoutWithOverride_top_rot90to180()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DWmDisplayCutoutTest.java19 import static android.view.DisplayCutout.BOUNDS_POSITION_BOTTOM;
73 fromBoundingRect(80, 380, 120, 400, BOUNDS_POSITION_BOTTOM), 200, 400); in computeSafeInsets_cutoutBottom()
105 fromBoundingRect(0, 380, 20, 400, BOUNDS_POSITION_BOTTOM), 200, 400); in computeSafeInsets_bottomLeftCornerCutout_portrait()
113 fromBoundingRect(180, 380, 200, 400, BOUNDS_POSITION_BOTTOM), 200, 400); in computeSafeInsets_bottomRightCornerCutout_portrait()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorHwcLayer.kt34 import android.view.DisplayCutout.BOUNDS_POSITION_BOTTOM in <lambda>()
299 (height - getRoundedCornerSizeByPosition(BOUNDS_POSITION_BOTTOM)) in <lambda>()
310 (height - getRoundedCornerSizeByPosition(BOUNDS_POSITION_BOTTOM)) in <lambda>()
330 BOUNDS_POSITION_BOTTOM -> roundedCornerBottomSize in <lambda>()
DScreenDecorations.java17 import static android.view.DisplayCutout.BOUNDS_POSITION_BOTTOM;
937 return rotatedPos == BOUNDS_POSITION_TOP || rotatedPos == BOUNDS_POSITION_BOTTOM in getWidthLayoutParamByPos()
943 return rotatedPos == BOUNDS_POSITION_TOP || rotatedPos == BOUNDS_POSITION_BOTTOM in getHeightLayoutParamByPos()
955 case BOUNDS_POSITION_BOTTOM: in getWindowTitleByPos()
971 case BOUNDS_POSITION_BOTTOM: in getOverlayWindowGravity()
1171 + (mOverlays[BOUNDS_POSITION_BOTTOM] != null) + ")"); in dump()
1456 } else if (mPosition == BOUNDS_POSITION_BOTTOM) { in hasCutout()
1520 } else if (mPosition == BOUNDS_POSITION_BOTTOM) { in getGravity()
/frameworks/base/core/java/android/view/
DDisplayCutout.java152 public static final int BOUNDS_POSITION_BOTTOM = 3; field in DisplayCutout
177 BOUNDS_POSITION_BOTTOM
190 mRects[BOUNDS_POSITION_BOTTOM] = getCopyOrRef(bottom, copyArguments); in Bounds()
621 sortedBounds[BOUNDS_POSITION_BOTTOM] = bound; in extractBoundsFromList()
783 return mBounds.getRect(BOUNDS_POSITION_BOTTOM); in getBoundingRectBottom()
907 case BOUNDS_POSITION_BOTTOM: in sideOverridesToString()
926 mBounds.getRect(BOUNDS_POSITION_BOTTOM).dumpDebug(proto, BOUND_BOTTOM); in dumpDebug()
1284 bounds[BOUNDS_POSITION_RIGHT], bounds[BOUNDS_POSITION_BOTTOM], false),
1363 for (int i = 0; i <= BOUNDS_POSITION_BOTTOM; i++) {
1403 displayW, displayH, bounds[BOUNDS_POSITION_BOTTOM], Gravity.BOTTOM));
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java19 import static android.view.DisplayCutout.BOUNDS_POSITION_BOTTOM;
138 if (bounds[BOUNDS_POSITION_BOTTOM] != null) { in onConfigurationChanged()
140 bounds[BOUNDS_POSITION_BOTTOM].height() in onConfigurationChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DGesturePointerEventListener.kt137 if (bounds[DisplayCutout.BOUNDS_POSITION_BOTTOM] != null) { in <lambda>()
141 bounds[DisplayCutout.BOUNDS_POSITION_BOTTOM]!!.height() + in <lambda>()