/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
D | FaceScanningProviderFactory.kt | 24 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()
|
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,
|
D | RoundedCornerDecorProviderImpl.kt | 108 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()
|
D | PrivacyDotDecorProviderFactory.kt | 58 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT, 68 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT,
|
D | CutoutDecorProviderImpl.kt | 34 DisplayCutout.BOUNDS_POSITION_RIGHT -> R.id.display_cutout_right in <lambda>()
|
D | DecorProvider.kt | 137 DisplayCutout.BOUNDS_POSITION_RIGHT in getProperBound()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
D | RoundedCornerDecorProviderFactoryTest.kt | 77 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>()
|
D | PrivacyDotDecorProviderFactoryTest.kt | 73 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT)) in testGet4CornerDecorProvidersWithPrivacyDot() 83 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_RIGHT)) in testGet4CornerDecorProvidersWithPrivacyDot()
|
D | CutoutDecorProviderFactoryTest.kt | 101 sorted[DisplayCutout.BOUNDS_POSITION_RIGHT], in <lambda>() 197 Assert.assertEquals(DisplayCutout.BOUNDS_POSITION_RIGHT, it[1].alignedBounds[0]) in <lambda>()
|
D | OverlayWindowTest.kt | 75 alignedBound2 = DisplayCutout.BOUNDS_POSITION_RIGHT, in setUp()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
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()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorHwcLayer.kt | 38 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>()
|
D | ScreenDecorations.java | 20 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/ |
D | DisplayCutout.java | 146 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/ |
D | SystemGesturesPointerEventListener.java | 21 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/ |
D | ScreenDecorationsTest.java | 19 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/ |
D | GesturePointerEventListener.kt | 129 if (bounds[DisplayCutout.BOUNDS_POSITION_RIGHT] != null) { in <lambda>() 133 bounds[DisplayCutout.BOUNDS_POSITION_RIGHT]!!.width() + in <lambda>()
|