Searched refs:BOUNDS_POSITION_LEFT (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | DisplayRotationUtilTest.java | 20 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT; 53 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_LEFT, ROTATION_0), in testGetBoundIndexFromRotation_rot0() 54 equalTo(BOUNDS_POSITION_LEFT)); in testGetBoundIndexFromRotation_rot0() 65 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_LEFT, ROTATION_90), in testGetBoundIndexFromRotation_rot90() 68 equalTo(BOUNDS_POSITION_LEFT)); in testGetBoundIndexFromRotation_rot90() 77 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_LEFT, ROTATION_180), in testGetBoundIndexFromRotation_rot180() 82 equalTo(BOUNDS_POSITION_LEFT)); in testGetBoundIndexFromRotation_rot180() 89 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_LEFT, ROTATION_270), in testGetBoundIndexFromRotation_rot270() 96 equalTo(BOUNDS_POSITION_LEFT)); in testGetBoundIndexFromRotation_rot270()
|
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 | 19 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT; 197 assertNull(mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT]); in testRounding_NoCutout() 292 mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT].findViewById(R.id.left); in testRoundingTopBottomRadius_OnLeftRightOverlay() 294 mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT].findViewById(R.id.right); in testRoundingTopBottomRadius_OnLeftRightOverlay() 334 assertNull(mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT]); in testRoundingMultipleRadius_NoCutout() 377 assertNull(mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT]); in testNoRounding_CutoutShortEdge() 409 .addView(eq(mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT]), any()); in testNoRounding_CutoutLongEdge() 446 assertNull(mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT]); in testRounding_CutoutShortEdge() 474 .addView(eq(mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT]), any()); in testRounding_CutoutLongEdge() 513 .addView(eq(mScreenDecorations.mOverlays[BOUNDS_POSITION_LEFT]), any()); in testRounding_CutoutShortAndLongEdge() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyTestsBase.java | 21 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT; 152 pos = isLongEdgeCutout ? BOUNDS_POSITION_LEFT : BOUNDS_POSITION_TOP; in displayCutoutForRotation() 155 pos = isLongEdgeCutout ? BOUNDS_POSITION_BOTTOM : BOUNDS_POSITION_LEFT; in displayCutoutForRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorations.java | 19 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT; 450 case BOUNDS_POSITION_LEFT: in overlayForPosition() 525 case BOUNDS_POSITION_LEFT: in getWindowTitleByPos() 545 case BOUNDS_POSITION_LEFT: in getOverlayWindowGravity() 727 case BOUNDS_POSITION_LEFT: in getRoundedCornerGravity() 791 return pos == BOUNDS_POSITION_LEFT || pos == BOUNDS_POSITION_RIGHT; in shouldShowRoundedCorner() 858 if (i == BOUNDS_POSITION_LEFT || i == BOUNDS_POSITION_RIGHT) { in updateRoundedCornerSize() 1146 if (mPosition == BOUNDS_POSITION_LEFT) { in hasCutout() 1206 if (mPosition == BOUNDS_POSITION_LEFT) { in getGravity()
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 119 public static final int BOUNDS_POSITION_LEFT = 0; field in DisplayCutout 147 BOUNDS_POSITION_LEFT, 160 mRects[BOUNDS_POSITION_LEFT] = getCopyOrRef(left, copyArguments); in Bounds() 507 sortedBounds[BOUNDS_POSITION_LEFT] = bound; in extractBoundsFromList() 628 return mBounds.getRect(BOUNDS_POSITION_LEFT); in getBoundingRectLeft() 759 mBounds.getRect(BOUNDS_POSITION_LEFT).dumpDebug(proto, BOUND_LEFT); in dumpDebug()
|