/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
D | RoundedCornerDecorProviderFactory.kt | 49 alignedBound1 = DisplayCutout.BOUNDS_POSITION_BOTTOM, 54 alignedBound1 = DisplayCutout.BOUNDS_POSITION_BOTTOM, 73 alignedBound1 = DisplayCutout.BOUNDS_POSITION_BOTTOM, 78 alignedBound1 = DisplayCutout.BOUNDS_POSITION_BOTTOM,
|
D | FaceScanningProviderFactory.kt | 22 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()
|
D | PrivacyDotDecorProviderFactory.kt | 62 alignedBound1 = DisplayCutout.BOUNDS_POSITION_BOTTOM, 67 alignedBound1 = DisplayCutout.BOUNDS_POSITION_BOTTOM,
|
D | DecorProvider.kt | 135 DisplayCutout.BOUNDS_POSITION_BOTTOM, in getProperBound()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ScreenDecorationsTest.java | 17 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/ |
D | RoundedCornerDecorProviderFactoryTest.kt | 96 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>()
|
D | PrivacyDotDecorProviderFactoryTest.kt | 77 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_BOTTOM) in testGet4CornerDecorProvidersWithPrivacyDot() 82 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_BOTTOM) in testGet4CornerDecorProvidersWithPrivacyDot()
|
D | CutoutDecorProviderFactoryTest.kt | 102 sorted[DisplayCutout.BOUNDS_POSITION_BOTTOM] in <lambda>() 149 Assert.assertEquals(DisplayCutout.BOUNDS_POSITION_BOTTOM, providers[0].alignedBounds[0]) in <lambda>()
|
D | OverlayWindowTest.kt | 66 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/ |
D | DisplayPolicyTestsBase.java | 19 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/ |
D | DisplayCutoutTest.java | 19 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/ |
D | WmDisplayCutoutTest.java | 19 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/ |
D | ScreenDecorHwcLayer.kt | 34 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>()
|
D | ScreenDecorations.java | 17 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/ |
D | DisplayCutout.java | 152 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/ |
D | SystemGesturesPointerEventListener.java | 19 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/ |
D | GesturePointerEventListener.kt | 137 if (bounds[DisplayCutout.BOUNDS_POSITION_BOTTOM] != null) { in <lambda>() 141 bounds[DisplayCutout.BOUNDS_POSITION_BOTTOM]!!.height() + in <lambda>()
|