Home
last modified time | relevance | path

Searched refs:BOUNDS_POSITION_TOP (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DDisplayRotationUtilTest.java22 import static android.view.DisplayCutout.BOUNDS_POSITION_TOP;
55 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_TOP, ROTATION_0), in testGetBoundIndexFromRotation_rot0()
56 equalTo(BOUNDS_POSITION_TOP)); in testGetBoundIndexFromRotation_rot0()
67 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_TOP, ROTATION_90), in testGetBoundIndexFromRotation_rot90()
70 equalTo(BOUNDS_POSITION_TOP)); in testGetBoundIndexFromRotation_rot90()
79 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_TOP, ROTATION_180), in testGetBoundIndexFromRotation_rot180()
84 equalTo(BOUNDS_POSITION_TOP)); in testGetBoundIndexFromRotation_rot180()
90 equalTo(BOUNDS_POSITION_TOP)); in testGetBoundIndexFromRotation_rot270()
91 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_TOP, ROTATION_270), in testGetBoundIndexFromRotation_rot270()
DWmDisplayCutoutTest.java22 import static android.view.DisplayCutout.BOUNDS_POSITION_TOP;
58 fromBoundingRect(0, 0, 100, 20, BOUNDS_POSITION_TOP), 200, 400) in calculateRelativeTo_top()
94 fromBoundingRect(0, 0, 100, 20, BOUNDS_POSITION_TOP), 200, 400) in calculateRelativeTo_bounds()
104 fromBoundingRect(0, 0, 100, 20, BOUNDS_POSITION_TOP), 200, 400); in computeSafeInsets_top()
/frameworks/base/core/java/android/view/
DDisplayCutout.java120 public static final int BOUNDS_POSITION_TOP = 1; field in DisplayCutout
143 BOUNDS_POSITION_TOP,
156 mRects[BOUNDS_POSITION_TOP] = getCopyOrRef(top, copyArguments); in Bounds()
330 sortedBounds[BOUNDS_POSITION_TOP] = bound; in extractBoundsFromList()
447 return mBounds.getRect(BOUNDS_POSITION_TOP); in getBoundingRectTop()
503 mBounds.getRect(BOUNDS_POSITION_TOP).writeToProto(proto, BOUND_TOP); in writeToProto()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTestsBase.java23 import static android.view.DisplayCutout.BOUNDS_POSITION_TOP;
140 pos = BOUNDS_POSITION_TOP; in displayCutoutForRotation()
DWindowFrameTests.java23 import static android.view.DisplayCutout.BOUNDS_POSITION_TOP;
437 fromBoundingRect(500, 0, 550, 50, BOUNDS_POSITION_TOP), in testDisplayCutout()
464 fromBoundingRect(500, 0, 550, 50, BOUNDS_POSITION_TOP), in testDisplayCutout_tempDisplayedBounds()
DDisplayContentTests.java27 import static android.view.DisplayCutout.BOUNDS_POSITION_TOP;
445 fromBoundingRect(r.left, r.top, r.right, r.bottom, BOUNDS_POSITION_TOP), null) in testDisplayCutout_rot0()
475 fromBoundingRect(r1.left, r1.top, r1.right, r1.bottom, BOUNDS_POSITION_TOP), in testDisplayCutout_rot90()