Home
last modified time | relevance | path

Searched refs:BOUNDS_POSITION_LEFT (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DDisplayRotationUtilTest.java20 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()
DWmDisplayCutoutTest.java20 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/
DDisplayCutout.java114 public static final int BOUNDS_POSITION_LEFT = 0; field in DisplayCutout
142 BOUNDS_POSITION_LEFT,
155 mRects[BOUNDS_POSITION_LEFT] = getCopyOrRef(left, copyArguments); in Bounds()
328 sortedBounds[BOUNDS_POSITION_LEFT] = bound; in extractBoundsFromList()
436 return mBounds.getRect(BOUNDS_POSITION_LEFT); in getBoundingRectLeft()
502 mBounds.getRect(BOUNDS_POSITION_LEFT).writeToProto(proto, BOUND_LEFT); in writeToProto()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTestsBase.java21 import static android.view.DisplayCutout.BOUNDS_POSITION_LEFT;
143 pos = BOUNDS_POSITION_LEFT; in displayCutoutForRotation()
DDisplayContentTests.java26 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()