Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DFaceScanningProviderFactory.kt24 import android.view.DisplayCutout.BOUNDS_POSITION_RIGHT in <lambda>()
201 it.add(BOUNDS_POSITION_RIGHT) in DisplayCutout()
214 BOUNDS_POSITION_TOP -> BOUNDS_POSITION_RIGHT in baseOnRotation0()
215 BOUNDS_POSITION_RIGHT -> BOUNDS_POSITION_BOTTOM in baseOnRotation0()
221 BOUNDS_POSITION_RIGHT -> BOUNDS_POSITION_TOP in baseOnRotation0()
222 else /* BOUNDS_POSITION_BOTTOM */ -> BOUNDS_POSITION_RIGHT in baseOnRotation0()
225 BOUNDS_POSITION_LEFT -> BOUNDS_POSITION_RIGHT in baseOnRotation0()
227 BOUNDS_POSITION_RIGHT -> BOUNDS_POSITION_LEFT in baseOnRotation0()
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,
DRoundedCornerDecorProviderImpl.kt108 DisplayCutout.BOUNDS_POSITION_RIGHT -> Gravity.RIGHT in toLayoutGravity()
114 DisplayCutout.BOUNDS_POSITION_RIGHT -> Gravity.TOP in toLayoutGravity()
120 DisplayCutout.BOUNDS_POSITION_RIGHT -> Gravity.BOTTOM in toLayoutGravity()
126 DisplayCutout.BOUNDS_POSITION_RIGHT -> Gravity.LEFT in toLayoutGravity()
DPrivacyDotDecorProviderFactory.kt58 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT,
68 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT,
DCutoutDecorProviderImpl.kt34 DisplayCutout.BOUNDS_POSITION_RIGHT -> R.id.display_cutout_right in <lambda>()
DDecorProvider.kt137 DisplayCutout.BOUNDS_POSITION_RIGHT in getProperBound()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/
DRoundedCornerDecorProviderFactoryTest.kt77 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT)) in <lambda>()
102 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT)) in <lambda>()
128 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT)) in <lambda>()
138 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT)) in <lambda>()
DPrivacyDotDecorProviderFactoryTest.kt73 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT)) in testGet4CornerDecorProvidersWithPrivacyDot()
83 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT)) in testGet4CornerDecorProvidersWithPrivacyDot()
DCutoutDecorProviderFactoryTest.kt101 sorted[DisplayCutout.BOUNDS_POSITION_RIGHT], in <lambda>()
197 Assert.assertEquals(DisplayCutout.BOUNDS_POSITION_RIGHT, it[1].alignedBounds[0]) in <lambda>()
DOverlayWindowTest.kt75 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT, in setUp()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
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()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorHwcLayer.kt38 import android.view.DisplayCutout.BOUNDS_POSITION_RIGHT in <lambda>()
291 (width - getRoundedCornerSizeByPosition(BOUNDS_POSITION_RIGHT)) in <lambda>()
318 (width - getRoundedCornerSizeByPosition(BOUNDS_POSITION_RIGHT)) in <lambda>()
329 BOUNDS_POSITION_RIGHT -> roundedCornerTopSize.coerceAtLeast(roundedCornerBottomSize) in <lambda>()
DScreenDecorations.java20 import static android.view.DisplayCutout.BOUNDS_POSITION_RIGHT;
953 case BOUNDS_POSITION_RIGHT: in getWindowTitleByPos()
975 case BOUNDS_POSITION_RIGHT: in getOverlayWindowGravity()
1170 + (mOverlays[BOUNDS_POSITION_RIGHT] != null) + "," in dump()
1458 } else if (mPosition == BOUNDS_POSITION_RIGHT) { in hasCutout()
1524 } else if (mPosition == BOUNDS_POSITION_RIGHT) { in getGravity()
/frameworks/base/core/java/android/view/
DDisplayCutout.java146 public static final int BOUNDS_POSITION_RIGHT = 2; field in DisplayCutout
176 BOUNDS_POSITION_RIGHT,
189 mRects[BOUNDS_POSITION_RIGHT] = getCopyOrRef(right, copyArguments); in Bounds()
627 sortedBounds[BOUNDS_POSITION_RIGHT] = bound; in extractBoundsFromList()
772 return mBounds.getRect(BOUNDS_POSITION_RIGHT); in getBoundingRectRight()
904 case BOUNDS_POSITION_RIGHT: in sideOverridesToString()
925 mBounds.getRect(BOUNDS_POSITION_RIGHT).dumpDebug(proto, BOUND_RIGHT); in dumpDebug()
1284 bounds[BOUNDS_POSITION_RIGHT], bounds[BOUNDS_POSITION_BOTTOM], false),
1401 displayW, displayH, bounds[BOUNDS_POSITION_RIGHT], Gravity.RIGHT));
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java21 import static android.view.DisplayCutout.BOUNDS_POSITION_RIGHT;
134 if (bounds[BOUNDS_POSITION_RIGHT] != null) { in onConfigurationChanged()
136 bounds[BOUNDS_POSITION_RIGHT].width() + mDisplayCutoutTouchableRegionSize); in onConfigurationChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DScreenDecorationsTest.java19 import static android.view.DisplayCutout.BOUNDS_POSITION_RIGHT;
217 DisplayCutout.BOUNDS_POSITION_RIGHT, in setup()
229 DisplayCutout.BOUNDS_POSITION_RIGHT, in setup()
303 case BOUNDS_POSITION_RIGHT: in getRoundCornerIdsFromOverlayId()
440 final OverlayWindow overlay = mScreenDecorations.mOverlays[BOUNDS_POSITION_RIGHT]; in verifyOverlaysExistAndAdded()
448 assertNull(mScreenDecorations.mOverlays[BOUNDS_POSITION_RIGHT]); in verifyOverlaysExistAndAdded()
648 topRoundedCorner = mScreenDecorations.mOverlays[BOUNDS_POSITION_RIGHT].getRootView() in testRoundingTopBottomRadius_OnLeftRightOverlay()
650 bottomRoundedCorner = mScreenDecorations.mOverlays[BOUNDS_POSITION_RIGHT].getRootView() in testRoundingTopBottomRadius_OnLeftRightOverlay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DGesturePointerEventListener.kt129 if (bounds[DisplayCutout.BOUNDS_POSITION_RIGHT] != null) { in <lambda>()
133 bounds[DisplayCutout.BOUNDS_POSITION_RIGHT]!!.width() + in <lambda>()