Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DFaceScanningProviderFactory.kt23 import android.view.DisplayCutout.BOUNDS_POSITION_LEFT in <lambda>()
195 it.add(BOUNDS_POSITION_LEFT) in DisplayCutout()
213 BOUNDS_POSITION_LEFT -> BOUNDS_POSITION_TOP in baseOnRotation0()
216 else /* BOUNDS_POSITION_BOTTOM */ -> BOUNDS_POSITION_LEFT in baseOnRotation0()
219 BOUNDS_POSITION_LEFT -> BOUNDS_POSITION_BOTTOM in baseOnRotation0()
220 BOUNDS_POSITION_TOP -> BOUNDS_POSITION_LEFT in baseOnRotation0()
225 BOUNDS_POSITION_LEFT -> BOUNDS_POSITION_RIGHT in baseOnRotation0()
227 BOUNDS_POSITION_RIGHT -> BOUNDS_POSITION_LEFT in baseOnRotation0()
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,
DRoundedCornerDecorProviderImpl.kt106 DisplayCutout.BOUNDS_POSITION_LEFT -> Gravity.LEFT in toLayoutGravity()
112 DisplayCutout.BOUNDS_POSITION_LEFT -> Gravity.BOTTOM in toLayoutGravity()
118 DisplayCutout.BOUNDS_POSITION_LEFT -> Gravity.TOP in toLayoutGravity()
124 DisplayCutout.BOUNDS_POSITION_LEFT -> Gravity.RIGHT in toLayoutGravity()
166 val isLeft = alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT) in adjustRotation()
DPrivacyDotDecorProviderFactory.kt53 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT,
63 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT,
DCutoutDecorProviderImpl.kt33 DisplayCutout.BOUNDS_POSITION_LEFT -> R.id.display_cutout_left in <lambda>()
DDecorProvider.kt136 DisplayCutout.BOUNDS_POSITION_LEFT, in getProperBound()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/
DRoundedCornerDecorProviderFactoryTest.kt72 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT)) in <lambda>()
97 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT)) in <lambda>()
123 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT)) in <lambda>()
133 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT)) in <lambda>()
DPrivacyDotDecorProviderFactoryTest.kt68 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT)) in testGet4CornerDecorProvidersWithPrivacyDot()
78 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT)) in testGet4CornerDecorProvidersWithPrivacyDot()
DCutoutDecorProviderFactoryTest.kt99 sorted[DisplayCutout.BOUNDS_POSITION_LEFT], in <lambda>()
169 Assert.assertEquals(DisplayCutout.BOUNDS_POSITION_LEFT, providers[0].alignedBounds[0]) in <lambda>()
DOverlayWindowTest.kt59 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT, in setUp()
67 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT, in setUp()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
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()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DScreenDecorationsTest.java18 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT;
211 DisplayCutout.BOUNDS_POSITION_LEFT, in setup()
223 DisplayCutout.BOUNDS_POSITION_LEFT, in setup()
295 case BOUNDS_POSITION_LEFT: in getRoundCornerIdsFromOverlayId()
416 final OverlayWindow overlay = mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT]; in verifyOverlaysExistAndAdded()
424 assertNull(mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT]); in verifyOverlaysExistAndAdded()
634 mMockCutoutList.add(new CutoutDecorProviderImpl(BOUNDS_POSITION_LEFT)); in testRoundingTopBottomRadius_OnLeftRightOverlay()
637 View topRoundedCorner = mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT].getRootView() in testRoundingTopBottomRadius_OnLeftRightOverlay()
639 View bottomRoundedCorner = mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT].getRootView() in testRoundingTopBottomRadius_OnLeftRightOverlay()
720 mMockCutoutList.add(new CutoutDecorProviderImpl(BOUNDS_POSITION_LEFT)); in testNoRounding_CutoutLongEdge_NoPrivacyDot()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorHwcLayer.kt35 import android.view.DisplayCutout.BOUNDS_POSITION_LEFT in <lambda>()
288 transparentRect.left = getRoundedCornerSizeByPosition(BOUNDS_POSITION_LEFT) in <lambda>()
315 transparentRect.left = getRoundedCornerSizeByPosition(BOUNDS_POSITION_LEFT) in <lambda>()
327 BOUNDS_POSITION_LEFT -> roundedCornerTopSize.coerceAtLeast(roundedCornerBottomSize) in <lambda>()
DScreenDecorations.java18 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT;
949 case BOUNDS_POSITION_LEFT: in getWindowTitleByPos()
973 case BOUNDS_POSITION_LEFT: in getOverlayWindowGravity()
1168 + (mOverlays[BOUNDS_POSITION_LEFT] != null) + "," in dump()
1173 for (int i = BOUNDS_POSITION_LEFT; i < BOUNDS_POSITION_LENGTH; i++) { in dump()
1452 if (mPosition == BOUNDS_POSITION_LEFT) { in hasCutout()
1512 if (mPosition == BOUNDS_POSITION_LEFT) { in getGravity()
/frameworks/base/core/java/android/view/
DDisplayCutout.java134 public static final int BOUNDS_POSITION_LEFT = 0; field in DisplayCutout
174 BOUNDS_POSITION_LEFT,
187 mRects[BOUNDS_POSITION_LEFT] = getCopyOrRef(left, copyArguments); in Bounds()
625 sortedBounds[BOUNDS_POSITION_LEFT] = bound; in extractBoundsFromList()
750 return mBounds.getRect(BOUNDS_POSITION_LEFT); in getBoundingRectLeft()
898 case BOUNDS_POSITION_LEFT: in sideOverridesToString()
923 mBounds.getRect(BOUNDS_POSITION_LEFT).dumpDebug(proto, BOUND_LEFT); in dumpDebug()
1173 if (rawOverrides[rotation] < BOUNDS_POSITION_LEFT
1283 new Bounds(bounds[BOUNDS_POSITION_LEFT], bounds[BOUNDS_POSITION_TOP],
1397 displayW, displayH, bounds[BOUNDS_POSITION_LEFT], Gravity.LEFT));
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java20 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT;
126 if (bounds[BOUNDS_POSITION_LEFT] != null) { in onConfigurationChanged()
128 bounds[BOUNDS_POSITION_LEFT].width() + mDisplayCutoutTouchableRegionSize); in onConfigurationChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DGesturePointerEventListener.kt113 if (bounds[DisplayCutout.BOUNDS_POSITION_LEFT] != null) { in <lambda>()
117 bounds[DisplayCutout.BOUNDS_POSITION_LEFT]!!.width() + in <lambda>()