/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
D | FaceScanningProviderFactory.kt | 23 import android.view.DisplayCutout.BOUNDS_POSITION_LEFT in <lambda>() 188 it.add(BOUNDS_POSITION_LEFT) in DisplayCutout() 206 BOUNDS_POSITION_LEFT -> BOUNDS_POSITION_TOP in baseOnRotation0() 209 else /* BOUNDS_POSITION_BOTTOM */ -> BOUNDS_POSITION_LEFT in baseOnRotation0() 212 BOUNDS_POSITION_LEFT -> BOUNDS_POSITION_BOTTOM in baseOnRotation0() 213 BOUNDS_POSITION_TOP -> BOUNDS_POSITION_LEFT in baseOnRotation0() 218 BOUNDS_POSITION_LEFT -> BOUNDS_POSITION_RIGHT in baseOnRotation0() 220 BOUNDS_POSITION_RIGHT -> BOUNDS_POSITION_LEFT in baseOnRotation0()
|
D | RoundedCornerDecorProviderFactory.kt | 40 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT, 50 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT, 62 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT, 74 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT,
|
D | RoundedCornerDecorProviderImpl.kt | 106 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()
|
D | PrivacyDotDecorProviderFactory.kt | 53 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT, 63 alignedBound2 = DisplayCutout.BOUNDS_POSITION_LEFT,
|
D | CutoutDecorProviderImpl.kt | 33 DisplayCutout.BOUNDS_POSITION_LEFT -> R.id.display_cutout_left in <lambda>()
|
D | DecorProvider.kt | 136 DisplayCutout.BOUNDS_POSITION_LEFT, in getProperBound()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
D | RoundedCornerDecorProviderFactoryTest.kt | 72 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>()
|
D | PrivacyDotDecorProviderFactoryTest.kt | 68 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT)) in testGet4CornerDecorProvidersWithPrivacyDot() 78 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_LEFT)) in testGet4CornerDecorProvidersWithPrivacyDot()
|
D | CutoutDecorProviderFactoryTest.kt | 99 sorted[DisplayCutout.BOUNDS_POSITION_LEFT], in <lambda>() 169 Assert.assertEquals(DisplayCutout.BOUNDS_POSITION_LEFT, providers[0].alignedBounds[0]) in <lambda>()
|
D | OverlayWindowTest.kt | 59 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/ |
D | DisplayPolicyTestsBase.java | 20 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/ |
D | WmDisplayCutoutTest.java | 20 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/ |
D | ScreenDecorationsTest.java | 18 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT; 202 DisplayCutout.BOUNDS_POSITION_LEFT, in setup() 214 DisplayCutout.BOUNDS_POSITION_LEFT, in setup() 287 case BOUNDS_POSITION_LEFT: in getRoundCornerIdsFromOverlayId() 408 final OverlayWindow overlay = mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT]; in verifyOverlaysExistAndAdded() 416 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/ |
D | ScreenDecorHwcLayer.kt | 35 import android.view.DisplayCutout.BOUNDS_POSITION_LEFT in <lambda>() 257 transparentRect.left = getRoundedCornerSizeByPosition(BOUNDS_POSITION_LEFT) in <lambda>() 284 transparentRect.left = getRoundedCornerSizeByPosition(BOUNDS_POSITION_LEFT) in <lambda>() 296 BOUNDS_POSITION_LEFT -> roundedCornerTopSize.coerceAtLeast(roundedCornerBottomSize) in <lambda>()
|
D | ScreenDecorations.java | 18 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT; 869 case BOUNDS_POSITION_LEFT: in getWindowTitleByPos() 900 case BOUNDS_POSITION_LEFT: in getOverlayWindowGravity() 1041 + (mOverlays[BOUNDS_POSITION_LEFT] != null) + "," in dump() 1046 for (int i = BOUNDS_POSITION_LEFT; i < BOUNDS_POSITION_LENGTH; i++) { in dump() 1315 if (mPosition == BOUNDS_POSITION_LEFT) { in hasCutout() 1375 if (mPosition == BOUNDS_POSITION_LEFT) { in getGravity()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SystemGesturesPointerEventListener.java | 20 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT; 114 if (bounds[BOUNDS_POSITION_LEFT] != null) { in onConfigurationChanged() 116 bounds[BOUNDS_POSITION_LEFT].width() + mDisplayCutoutTouchableRegionSize); in onConfigurationChanged()
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 126 public static final int BOUNDS_POSITION_LEFT = 0; field in DisplayCutout 154 BOUNDS_POSITION_LEFT, 167 mRects[BOUNDS_POSITION_LEFT] = getCopyOrRef(left, copyArguments); in Bounds() 572 sortedBounds[BOUNDS_POSITION_LEFT] = bound; in extractBoundsFromList() 697 return mBounds.getRect(BOUNDS_POSITION_LEFT); in getBoundingRectLeft() 829 mBounds.getRect(BOUNDS_POSITION_LEFT).dumpDebug(proto, BOUND_LEFT); in dumpDebug()
|