/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
H A D | FaceScanningProviderFactory.kt | 24 import android.view.DisplayCutout.BOUNDS_POSITION_RIGHT 201 it.add(BOUNDS_POSITION_RIGHT) 214 BOUNDS_POSITION_TOP -> BOUNDS_POSITION_RIGHT 215 BOUNDS_POSITION_RIGHT -> BOUNDS_POSITION_BOTTOM 221 BOUNDS_POSITION_RIGHT -> BOUNDS_POSITION_TOP 222 else /* BOUNDS_POSITION_BOTTOM */ -> BOUNDS_POSITION_RIGHT 225 BOUNDS_POSITION_LEFT -> BOUNDS_POSITION_RIGHT 227 BOUNDS_POSITION_RIGHT -> BOUNDS_POSITION_LEFT
|
H A D | RoundedCornerDecorProviderFactory.kt | 45 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT, 55 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT, 67 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT, 79 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT,
|
H A D | RoundedCornerDecorProviderImpl.kt | 108 DisplayCutout.BOUNDS_POSITION_RIGHT -> Gravity.RIGHT 114 DisplayCutout.BOUNDS_POSITION_RIGHT -> Gravity.TOP 120 DisplayCutout.BOUNDS_POSITION_RIGHT -> Gravity.BOTTOM 126 DisplayCutout.BOUNDS_POSITION_RIGHT -> Gravity.LEFT
|
H A D | PrivacyDotDecorProviderFactory.kt | 58 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT, 68 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT,
|
H A D | CutoutDecorProviderImpl.kt | 34 DisplayCutout.BOUNDS_POSITION_RIGHT -> R.id.display_cutout_right
|
H A D | DecorProvider.kt | 137 DisplayCutout.BOUNDS_POSITION_RIGHT
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
H A D | RoundedCornerDecorProviderFactoryTest.kt | 77 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT)) 102 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT)) 128 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT)) 138 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT))
|
H A D | PrivacyDotDecorProviderFactoryTest.kt | 73 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT)) 83 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT))
|
H A D | CutoutDecorProviderFactoryTest.kt | 101 sorted[DisplayCutout.BOUNDS_POSITION_RIGHT], 197 Assert.assertEquals(DisplayCutout.BOUNDS_POSITION_RIGHT, it[1].alignedBounds[0])
|
H A D | OverlayWindowTest.kt | 75 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT,
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | DisplayPolicyTestsBase.java | 21 import static android.view.DisplayCutout.BOUNDS_POSITION_RIGHT; 115 pos = isLongEdgeCutout ? BOUNDS_POSITION_RIGHT : BOUNDS_POSITION_BOTTOM; in displayCutoutForRotation() 118 pos = isLongEdgeCutout ? BOUNDS_POSITION_TOP : BOUNDS_POSITION_RIGHT; in displayCutoutForRotation()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
H A D | WmDisplayCutoutTest.java | 21 import static android.view.DisplayCutout.BOUNDS_POSITION_RIGHT; 81 fromBoundingRect(180, 180, 200, 220, BOUNDS_POSITION_RIGHT), 200, 400); in computeSafeInsets_cutoutRight() 129 fromBoundingRect(380, 0, 400, 20, BOUNDS_POSITION_RIGHT), 400, 200); in computeSafeInsets_topRightCornerCutout_landscape() 145 fromBoundingRect(380, 180, 400, 200, BOUNDS_POSITION_RIGHT), 400, 200); in computeSafeInsets_bottomRightCornerCutout_landscape()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ScreenDecorHwcLayer.kt | 38 import android.view.DisplayCutout.BOUNDS_POSITION_RIGHT 291 (width - getRoundedCornerSizeByPosition(BOUNDS_POSITION_RIGHT)) 318 (width - getRoundedCornerSizeByPosition(BOUNDS_POSITION_RIGHT)) 329 BOUNDS_POSITION_RIGHT -> roundedCornerTopSize.coerceAtLeast(roundedCornerBottomSize)
|
H A D | ScreenDecorations.java | 20 import static android.view.DisplayCutout.BOUNDS_POSITION_RIGHT; 940 case BOUNDS_POSITION_RIGHT: in getWindowTitleByPos() 962 case BOUNDS_POSITION_RIGHT: in getOverlayWindowGravity() 1145 + (mOverlays[BOUNDS_POSITION_RIGHT] != null) + "," in dump() 1410 } else if (mPosition == BOUNDS_POSITION_RIGHT) { in hasCutout() 1476 } else if (mPosition == BOUNDS_POSITION_RIGHT) { in getGravity()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | SystemGesturesPointerEventListener.java | 21 import static android.view.DisplayCutout.BOUNDS_POSITION_RIGHT; 133 if (bounds[BOUNDS_POSITION_RIGHT] != null) { in onConfigurationChanged() 135 bounds[BOUNDS_POSITION_RIGHT].width() + mDisplayCutoutTouchableRegionSize); in onConfigurationChanged()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | DisplayCutout.java | 139 public static final int BOUNDS_POSITION_RIGHT = 2; field in DisplayCutout 157 BOUNDS_POSITION_RIGHT, 170 mRects[BOUNDS_POSITION_RIGHT] = getCopyOrRef(right, copyArguments); in Bounds() 575 sortedBounds[BOUNDS_POSITION_RIGHT] = bound; in extractBoundsFromList() 720 return mBounds.getRect(BOUNDS_POSITION_RIGHT); in getBoundingRectRight() 832 mBounds.getRect(BOUNDS_POSITION_RIGHT).dumpDebug(proto, BOUND_RIGHT); in dumpDebug()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
H A D | ScreenDecorationsTest.java | 19 import static android.view.DisplayCutout.BOUNDS_POSITION_RIGHT; 211 DisplayCutout.BOUNDS_POSITION_RIGHT, in setup() 223 DisplayCutout.BOUNDS_POSITION_RIGHT, in setup() 297 case BOUNDS_POSITION_RIGHT: in getRoundCornerIdsFromOverlayId() 434 final OverlayWindow overlay = mScreenDecorations.mOverlays[BOUNDS_POSITION_RIGHT]; in verifyOverlaysExistAndAdded() 442 assertNull(mScreenDecorations.mOverlays[BOUNDS_POSITION_RIGHT]); in verifyOverlaysExistAndAdded() 642 topRoundedCorner = mScreenDecorations.mOverlays[BOUNDS_POSITION_RIGHT].getRootView() in testRoundingTopBottomRadius_OnLeftRightOverlay() 644 bottomRoundedCorner = mScreenDecorations.mOverlays[BOUNDS_POSITION_RIGHT].getRootView() in testRoundingTopBottomRadius_OnLeftRightOverlay()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/ |
H A D | GesturePointerEventListener.kt | 129 if (bounds[DisplayCutout.BOUNDS_POSITION_RIGHT] != null) { 133 bounds[DisplayCutout.BOUNDS_POSITION_RIGHT]!!.width() +
|