Home
last modified time | relevance | path

Searched refs:BOUNDS_POSITION_RIGHT (Results 1 – 18 of 18) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
H A DFaceScanningProviderFactory.kt24 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 DRoundedCornerDecorProviderFactory.kt45 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 DRoundedCornerDecorProviderImpl.kt108 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 DPrivacyDotDecorProviderFactory.kt58 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT,
68 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT,
H A DCutoutDecorProviderImpl.kt34 DisplayCutout.BOUNDS_POSITION_RIGHT -> R.id.display_cutout_right
H A DDecorProvider.kt137 DisplayCutout.BOUNDS_POSITION_RIGHT
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/
H A DRoundedCornerDecorProviderFactoryTest.kt77 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 DPrivacyDotDecorProviderFactoryTest.kt73 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT))
83 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT))
H A DCutoutDecorProviderFactoryTest.kt101 sorted[DisplayCutout.BOUNDS_POSITION_RIGHT],
197 Assert.assertEquals(DisplayCutout.BOUNDS_POSITION_RIGHT, it[1].alignedBounds[0])
H A DOverlayWindowTest.kt75 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT,
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayPolicyTestsBase.java21 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 DWmDisplayCutoutTest.java21 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 DScreenDecorHwcLayer.kt38 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 DScreenDecorations.java20 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 DSystemGesturesPointerEventListener.java21 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 DDisplayCutout.java139 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 DScreenDecorationsTest.java19 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 DGesturePointerEventListener.kt129 if (bounds[DisplayCutout.BOUNDS_POSITION_RIGHT] != null) {
133 bounds[DisplayCutout.BOUNDS_POSITION_RIGHT]!!.width() +