/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
D | FaceScanningProviderFactory.kt | 24 import android.view.DisplayCutout.BOUNDS_POSITION_RIGHT in <lambda>() 194 it.add(BOUNDS_POSITION_RIGHT) in DisplayCutout() 207 BOUNDS_POSITION_TOP -> BOUNDS_POSITION_RIGHT in baseOnRotation0() 208 BOUNDS_POSITION_RIGHT -> BOUNDS_POSITION_BOTTOM in baseOnRotation0() 214 BOUNDS_POSITION_RIGHT -> BOUNDS_POSITION_TOP in baseOnRotation0() 215 else /* BOUNDS_POSITION_BOTTOM */ -> BOUNDS_POSITION_RIGHT in baseOnRotation0() 218 BOUNDS_POSITION_LEFT -> BOUNDS_POSITION_RIGHT in baseOnRotation0() 220 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>() 260 (width - getRoundedCornerSizeByPosition(BOUNDS_POSITION_RIGHT)) in <lambda>() 287 (width - getRoundedCornerSizeByPosition(BOUNDS_POSITION_RIGHT)) in <lambda>() 298 BOUNDS_POSITION_RIGHT -> roundedCornerTopSize.coerceAtLeast(roundedCornerBottomSize) in <lambda>()
|
D | ScreenDecorations.java | 20 import static android.view.DisplayCutout.BOUNDS_POSITION_RIGHT; 873 case BOUNDS_POSITION_RIGHT: in getWindowTitleByPos() 902 case BOUNDS_POSITION_RIGHT: in getOverlayWindowGravity() 1043 + (mOverlays[BOUNDS_POSITION_RIGHT] != null) + "," in dump() 1321 } else if (mPosition == BOUNDS_POSITION_RIGHT) { in hasCutout() 1387 } else if (mPosition == BOUNDS_POSITION_RIGHT) { in getGravity()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SystemGesturesPointerEventListener.java | 21 import static android.view.DisplayCutout.BOUNDS_POSITION_RIGHT; 122 if (bounds[BOUNDS_POSITION_RIGHT] != null) { in onConfigurationChanged() 124 bounds[BOUNDS_POSITION_RIGHT].width() + mDisplayCutoutTouchableRegionSize); in onConfigurationChanged()
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 138 public static final int BOUNDS_POSITION_RIGHT = 2; field in DisplayCutout 156 BOUNDS_POSITION_RIGHT, 169 mRects[BOUNDS_POSITION_RIGHT] = getCopyOrRef(right, copyArguments); in Bounds() 574 sortedBounds[BOUNDS_POSITION_RIGHT] = bound; in extractBoundsFromList() 719 return mBounds.getRect(BOUNDS_POSITION_RIGHT); in getBoundingRectRight() 831 mBounds.getRect(BOUNDS_POSITION_RIGHT).dumpDebug(proto, BOUND_RIGHT); in dumpDebug()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ScreenDecorationsTest.java | 19 import static android.view.DisplayCutout.BOUNDS_POSITION_RIGHT; 208 DisplayCutout.BOUNDS_POSITION_RIGHT, in setup() 220 DisplayCutout.BOUNDS_POSITION_RIGHT, in setup() 295 case BOUNDS_POSITION_RIGHT: in getRoundCornerIdsFromOverlayId() 432 final OverlayWindow overlay = mScreenDecorations.mOverlays[BOUNDS_POSITION_RIGHT]; in verifyOverlaysExistAndAdded() 440 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()
|