Home
last modified time | relevance | path

Searched refs:BOUNDS_POSITION_RIGHT (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DDisplayRotationUtilTest.java21 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()
DWmDisplayCutoutTest.java21 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/
DDisplayCutout.java126 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/
DDisplayPolicyTestsBase.java22 import static android.view.DisplayCutout.BOUNDS_POSITION_RIGHT;
149 pos = BOUNDS_POSITION_RIGHT; in displayCutoutForRotation()