Searched refs:BOUNDS_POSITION_LEFT (Results 1 – 5 of 5) 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; 67 fromBoundingRect(0, 0, 20, 100, BOUNDS_POSITION_LEFT), 400, 200) in calculateRelativeTo_left() 112 fromBoundingRect(0, 0, 20, 100, BOUNDS_POSITION_LEFT), 400, 200); in computeSafeInsets_left()
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 113 public static final int BOUNDS_POSITION_LEFT = 0; field in DisplayCutout 141 BOUNDS_POSITION_LEFT, 154 mRects[BOUNDS_POSITION_LEFT] = getCopyOrRef(left, copyArguments); in Bounds() 327 sortedBounds[BOUNDS_POSITION_LEFT] = bound; in extractBoundsFromList() 435 return mBounds.getRect(BOUNDS_POSITION_LEFT); in getBoundingRectLeft() 501 mBounds.getRect(BOUNDS_POSITION_LEFT).writeToProto(proto, BOUND_LEFT); in writeToProto()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyTestsBase.java | 21 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT; 143 pos = BOUNDS_POSITION_LEFT; in displayCutoutForRotation()
|
D | DisplayContentTests.java | 26 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT; 493 fromBoundingRect(r.left, r.top, r.right, r.bottom, BOUNDS_POSITION_LEFT), null) in testDisplayCutout_rot90()
|