Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
H A DFaceScanningProviderFactory.kt23 import android.view.DisplayCutout.BOUNDS_POSITION_LEFT
195 it.add(BOUNDS_POSITION_LEFT)
213 BOUNDS_POSITION_LEFT -> BOUNDS_POSITION_TOP
216 else /* BOUNDS_POSITION_BOTTOM */ -> BOUNDS_POSITION_LEFT
219 BOUNDS_POSITION_LEFT -> BOUNDS_POSITION_BOTTOM
220 BOUNDS_POSITION_TOP -> BOUNDS_POSITION_LEFT
225 BOUNDS_POSITION_LEFT -> BOUNDS_POSITION_RIGHT
227 BOUNDS_POSITION_RIGHT -> BOUNDS_POSITION_LEFT
H A DRoundedCornerDecorProviderFactory.kt40 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT,
50 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT,
62 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT,
74 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT,
H A DRoundedCornerDecorProviderImpl.kt106 DisplayCutout.BOUNDS_POSITION_LEFT -> Gravity.LEFT
112 DisplayCutout.BOUNDS_POSITION_LEFT -> Gravity.BOTTOM
118 DisplayCutout.BOUNDS_POSITION_LEFT -> Gravity.TOP
124 DisplayCutout.BOUNDS_POSITION_LEFT -> Gravity.RIGHT
166 val isLeft = alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT)
H A DPrivacyDotDecorProviderFactory.kt53 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT,
63 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT,
H A DCutoutDecorProviderImpl.kt33 DisplayCutout.BOUNDS_POSITION_LEFT -> R.id.display_cutout_left
H A DDecorProvider.kt136 DisplayCutout.BOUNDS_POSITION_LEFT,
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/
H A DRoundedCornerDecorProviderFactoryTest.kt72 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT))
97 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT))
123 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT))
133 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT))
H A DPrivacyDotDecorProviderFactoryTest.kt68 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT))
78 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT))
H A DCutoutDecorProviderFactoryTest.kt99 sorted[DisplayCutout.BOUNDS_POSITION_LEFT],
169 Assert.assertEquals(DisplayCutout.BOUNDS_POSITION_LEFT, providers[0].alignedBounds[0])
H A DOverlayWindowTest.kt59 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT,
67 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT,
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayPolicyTestsBase.java20 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT;
109 pos = isLongEdgeCutout ? BOUNDS_POSITION_LEFT : BOUNDS_POSITION_TOP; in displayCutoutForRotation()
112 pos = isLongEdgeCutout ? BOUNDS_POSITION_BOTTOM : BOUNDS_POSITION_LEFT; in displayCutoutForRotation()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
H A DWmDisplayCutoutTest.java20 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT;
65 fromBoundingRect(0, 180, 20, 220, BOUNDS_POSITION_LEFT), 200, 400); in computeSafeInsets_cutoutLeft()
121 fromBoundingRect(0, 0, 20, 20, BOUNDS_POSITION_LEFT), 400, 200); in computeSafeInsets_topLeftCornerCutout_landscape()
137 fromBoundingRect(0, 180, 20, 200, BOUNDS_POSITION_LEFT), 400, 200); in computeSafeInsets_bottomLeftCornerCutout_landscape()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
H A DScreenDecorationsTest.java18 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT;
205 DisplayCutout.BOUNDS_POSITION_LEFT, in setup()
217 DisplayCutout.BOUNDS_POSITION_LEFT, in setup()
289 case BOUNDS_POSITION_LEFT: in getRoundCornerIdsFromOverlayId()
418 assertNull(mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT]); in verifyOverlaysExistAndAdded()
628 mMockCutoutList.add(new CutoutDecorProviderImpl(BOUNDS_POSITION_LEFT)); in testRoundingTopBottomRadius_OnLeftRightOverlay()
714 mMockCutoutList.add(new CutoutDecorProviderImpl(BOUNDS_POSITION_LEFT)); in testNoRounding_CutoutLongEdge_NoPrivacyDot()
723 verifyRoundedCornerViewsExist(BOUNDS_POSITION_LEFT, false); in testNoRounding_CutoutLongEdge_NoPrivacyDot()
739 mMockCutoutList.add(new CutoutDecorProviderImpl(BOUNDS_POSITION_LEFT)); in testNoRounding_CutoutLongEdge_PrivacyDot()
819 mMockCutoutList.add(new CutoutDecorProviderImpl(BOUNDS_POSITION_LEFT)); in testRounding_CutoutLongEdge_NoPrivacyDot()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DScreenDecorHwcLayer.kt35 import android.view.DisplayCutout.BOUNDS_POSITION_LEFT
288 transparentRect.left = getRoundedCornerSizeByPosition(BOUNDS_POSITION_LEFT)
315 transparentRect.left = getRoundedCornerSizeByPosition(BOUNDS_POSITION_LEFT)
327 BOUNDS_POSITION_LEFT -> roundedCornerTopSize.coerceAtLeast(roundedCornerBottomSize)
H A DScreenDecorations.java18 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT;
936 case BOUNDS_POSITION_LEFT: in getWindowTitleByPos()
960 case BOUNDS_POSITION_LEFT: in getOverlayWindowGravity()
1143 + (mOverlays[BOUNDS_POSITION_LEFT] != null) + "," in dump()
1148 for (int i = BOUNDS_POSITION_LEFT; i < BOUNDS_POSITION_LENGTH; i++) { in dump()
1404 if (mPosition == BOUNDS_POSITION_LEFT) { in hasCutout()
1464 if (mPosition == BOUNDS_POSITION_LEFT) { in getGravity()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DSystemGesturesPointerEventListener.java20 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT;
125 if (bounds[BOUNDS_POSITION_LEFT] != null) { in onConfigurationChanged()
127 bounds[BOUNDS_POSITION_LEFT].width() + mDisplayCutoutTouchableRegionSize); in onConfigurationChanged()
/aosp14/frameworks/base/core/java/android/view/
H A DDisplayCutout.java127 public static final int BOUNDS_POSITION_LEFT = 0; field in DisplayCutout
155 BOUNDS_POSITION_LEFT,
168 mRects[BOUNDS_POSITION_LEFT] = getCopyOrRef(left, copyArguments); in Bounds()
573 sortedBounds[BOUNDS_POSITION_LEFT] = bound; in extractBoundsFromList()
698 return mBounds.getRect(BOUNDS_POSITION_LEFT); in getBoundingRectLeft()
830 mBounds.getRect(BOUNDS_POSITION_LEFT).dumpDebug(proto, BOUND_LEFT); in dumpDebug()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
H A DGesturePointerEventListener.kt113 if (bounds[DisplayCutout.BOUNDS_POSITION_LEFT] != null) {
117 bounds[DisplayCutout.BOUNDS_POSITION_LEFT]!!.width() +