Searched refs:BOUNDS_POSITION_RIGHT (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | DisplayRotationUtilTest.java | 21 import static android.view.DisplayCutout.BOUNDS_POSITION_RIGHT; 57 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_RIGHT, ROTATION_0), in testGetBoundIndexFromRotation_rot0() 58 equalTo(BOUNDS_POSITION_RIGHT)); in testGetBoundIndexFromRotation_rot0() 69 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_RIGHT, ROTATION_90), in testGetBoundIndexFromRotation_rot90() 72 equalTo(BOUNDS_POSITION_RIGHT)); in testGetBoundIndexFromRotation_rot90() 78 equalTo(BOUNDS_POSITION_RIGHT)); in testGetBoundIndexFromRotation_rot180() 81 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_RIGHT, ROTATION_180), in testGetBoundIndexFromRotation_rot180() 92 equalTo(BOUNDS_POSITION_RIGHT)); in testGetBoundIndexFromRotation_rot270() 93 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_RIGHT, ROTATION_270), in testGetBoundIndexFromRotation_rot270()
|
D | WmDisplayCutoutTest.java | 21 import static android.view.DisplayCutout.BOUNDS_POSITION_RIGHT; 85 fromBoundingRect(180, 0, 200, 100, BOUNDS_POSITION_RIGHT), 200, 100) in calculateRelativeTo_right() 128 fromBoundingRect(180, 0, 200, 100, BOUNDS_POSITION_RIGHT), 200, 100); in computeSafeInsets_right()
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 126 public static final int BOUNDS_POSITION_RIGHT = 2; field in DisplayCutout 144 BOUNDS_POSITION_RIGHT, 157 mRects[BOUNDS_POSITION_RIGHT] = getCopyOrRef(right, copyArguments); in Bounds() 332 sortedBounds[BOUNDS_POSITION_RIGHT] = bound; in extractBoundsFromList() 458 return mBounds.getRect(BOUNDS_POSITION_RIGHT); in getBoundingRectRight() 504 mBounds.getRect(BOUNDS_POSITION_RIGHT).writeToProto(proto, BOUND_RIGHT); in writeToProto()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyTestsBase.java | 22 import static android.view.DisplayCutout.BOUNDS_POSITION_RIGHT; 149 pos = BOUNDS_POSITION_RIGHT; in displayCutoutForRotation()
|