/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
H A D | FaceScanningProviderFactory.kt | 25 import android.view.DisplayCutout.BOUNDS_POSITION_TOP 198 it.add(BOUNDS_POSITION_TOP) 213 BOUNDS_POSITION_LEFT -> BOUNDS_POSITION_TOP 214 BOUNDS_POSITION_TOP -> BOUNDS_POSITION_RIGHT 220 BOUNDS_POSITION_TOP -> BOUNDS_POSITION_LEFT 221 BOUNDS_POSITION_RIGHT -> BOUNDS_POSITION_TOP 226 BOUNDS_POSITION_TOP -> BOUNDS_POSITION_BOTTOM 228 else /* BOUNDS_POSITION_BOTTOM */ -> BOUNDS_POSITION_TOP
|
H A D | RoundedCornerDecorProviderFactory.kt | 39 alignedBound1 = DisplayCutout.BOUNDS_POSITION_TOP, 44 alignedBound1 = DisplayCutout.BOUNDS_POSITION_TOP, 61 alignedBound1 = DisplayCutout.BOUNDS_POSITION_TOP, 66 alignedBound1 = DisplayCutout.BOUNDS_POSITION_TOP,
|
H A D | RoundedCornerDecorProviderImpl.kt | 37 private val isTop = alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_TOP) 107 DisplayCutout.BOUNDS_POSITION_TOP -> Gravity.TOP 113 DisplayCutout.BOUNDS_POSITION_TOP -> Gravity.LEFT 119 DisplayCutout.BOUNDS_POSITION_TOP -> Gravity.RIGHT 125 DisplayCutout.BOUNDS_POSITION_TOP -> Gravity.BOTTOM 165 val isTop = alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_TOP)
|
H A D | PrivacyDotDecorProviderFactory.kt | 52 alignedBound1 = DisplayCutout.BOUNDS_POSITION_TOP, 57 alignedBound1 = DisplayCutout.BOUNDS_POSITION_TOP,
|
H A D | CutoutDecorProviderImpl.kt | 32 DisplayCutout.BOUNDS_POSITION_TOP -> R.id.display_cutout
|
H A D | DecorProvider.kt | 134 DisplayCutout.BOUNDS_POSITION_TOP,
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
H A D | ScreenDecorationsTest.java | 20 import static android.view.DisplayCutout.BOUNDS_POSITION_TOP; 204 DisplayCutout.BOUNDS_POSITION_TOP, in setup() 210 DisplayCutout.BOUNDS_POSITION_TOP, in setup() 234 BOUNDS_POSITION_TOP, in setup() 293 case BOUNDS_POSITION_TOP: in getRoundCornerIdsFromOverlayId() 491 verifyRoundedCornerViewsExist(BOUNDS_POSITION_TOP, false); in testNoRounding_NoCutout_PrivacyDot_NoFaceScanning() 520 verifyRoundedCornerViewsExist(BOUNDS_POSITION_TOP, true); in testRounding_NoCutout_NoPrivacyDot_NoFaceScanning() 550 verifyRoundedCornerViewsExist(BOUNDS_POSITION_TOP, true); in testRounding_NoCutout_PrivacyDot_NoFaceScanning() 694 verifyRoundedCornerViewsExist(BOUNDS_POSITION_TOP, false); in testNoRounding_CutoutShortEdge_PrivacyDot() 773 verifyRoundedCornerViewsExist(BOUNDS_POSITION_TOP, true); in testRounding_CutoutShortEdge_NoPrivacyDot() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
H A D | RoundedCornerDecorProviderFactoryTest.kt | 71 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_TOP) 76 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_TOP) 122 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_TOP) 127 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_TOP)
|
H A D | CutoutDecorProviderFactoryTest.kt | 100 sorted[DisplayCutout.BOUNDS_POSITION_TOP], 129 Assert.assertEquals(DisplayCutout.BOUNDS_POSITION_TOP, providers[0].alignedBounds[0]) 196 Assert.assertEquals(DisplayCutout.BOUNDS_POSITION_TOP, it[0].alignedBounds[0])
|
H A D | PrivacyDotDecorProviderFactoryTest.kt | 67 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_TOP) 72 and it.alignedBounds.contains(DisplayCutout.BOUNDS_POSITION_TOP)
|
H A D | OverlayWindowTest.kt | 58 alignedBound1 = DisplayCutout.BOUNDS_POSITION_TOP,
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | DisplayPolicyTestsBase.java | 22 import static android.view.DisplayCutout.BOUNDS_POSITION_TOP; 109 pos = isLongEdgeCutout ? BOUNDS_POSITION_LEFT : BOUNDS_POSITION_TOP; in displayCutoutForRotation() 118 pos = isLongEdgeCutout ? BOUNDS_POSITION_TOP : BOUNDS_POSITION_RIGHT; in displayCutoutForRotation()
|
H A D | DisplayContentTests.java | 36 import static android.view.DisplayCutout.BOUNDS_POSITION_TOP; 834 fromBoundingRect(r.left, r.top, r.right, r.bottom, BOUNDS_POSITION_TOP), null) in testDisplayCutout_rot0()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
H A D | WmDisplayCutoutTest.java | 22 import static android.view.DisplayCutout.BOUNDS_POSITION_TOP; 57 fromBoundingRect(80, 0, 120, 20, BOUNDS_POSITION_TOP), 200, 400); in computeSafeInsets_cutoutTop() 89 fromBoundingRect(0, 0, 20, 20, BOUNDS_POSITION_TOP), 200, 400); in computeSafeInsets_topLeftCornerCutout_portrait() 97 fromBoundingRect(180, 0, 200, 20, BOUNDS_POSITION_TOP), 200, 400); in computeSafeInsets_topRightCornerCutout_portrait()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ScreenDecorHwcLayer.kt | 37 import android.view.DisplayCutout.BOUNDS_POSITION_TOP 296 transparentRect.top = getRoundedCornerSizeByPosition(BOUNDS_POSITION_TOP) 307 transparentRect.top = getRoundedCornerSizeByPosition(BOUNDS_POSITION_TOP) 328 BOUNDS_POSITION_TOP -> roundedCornerTopSize
|
H A D | ScreenDecorations.java | 21 import static android.view.DisplayCutout.BOUNDS_POSITION_TOP; 924 return rotatedPos == BOUNDS_POSITION_TOP || rotatedPos == BOUNDS_POSITION_BOTTOM in getWidthLayoutParamByPos() 930 return rotatedPos == BOUNDS_POSITION_TOP || rotatedPos == BOUNDS_POSITION_BOTTOM in getHeightLayoutParamByPos() 938 case BOUNDS_POSITION_TOP: in getWindowTitleByPos() 956 case BOUNDS_POSITION_TOP: in getOverlayWindowGravity() 1144 + (mOverlays[BOUNDS_POSITION_TOP] != null) + "," in dump() 1406 } else if (mPosition == BOUNDS_POSITION_TOP) { in hasCutout() 1468 } else if (mPosition == BOUNDS_POSITION_TOP) { in getGravity()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | SystemGesturesPointerEventListener.java | 22 import static android.view.DisplayCutout.BOUNDS_POSITION_TOP; 129 if (bounds[BOUNDS_POSITION_TOP] != null) { in onConfigurationChanged() 131 bounds[BOUNDS_POSITION_TOP].height() + mDisplayCutoutTouchableRegionSize); in onConfigurationChanged()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | DisplayCutout.java | 133 public static final int BOUNDS_POSITION_TOP = 1; field in DisplayCutout 156 BOUNDS_POSITION_TOP, 169 mRects[BOUNDS_POSITION_TOP] = getCopyOrRef(top, copyArguments); in Bounds() 567 sortedBounds[BOUNDS_POSITION_TOP] = bound; in extractBoundsFromList() 709 return mBounds.getRect(BOUNDS_POSITION_TOP); in getBoundingRectTop() 831 mBounds.getRect(BOUNDS_POSITION_TOP).dumpDebug(proto, BOUND_TOP); in dumpDebug()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/ |
H A D | GesturePointerEventListener.kt | 121 if (bounds[DisplayCutout.BOUNDS_POSITION_TOP] != null) { 125 bounds[DisplayCutout.BOUNDS_POSITION_TOP]!!.height() +
|