Home
last modified time | relevance | path

Searched refs:BOUNDS_POSITION_LENGTH (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/utils/
DDisplayRotationUtil.java19 import static android.view.DisplayCutout.BOUNDS_POSITION_LENGTH;
58 BOUNDS_POSITION_LENGTH); in getBoundIndexFromRotation()
74 if (bounds.length != BOUNDS_POSITION_LENGTH) { in getRotatedBounds()
83 Rect[] newBounds = new Rect[BOUNDS_POSITION_LENGTH]; in getRotatedBounds()
/frameworks/base/core/java/android/view/
DDisplayCutout.java137 public static final int BOUNDS_POSITION_LENGTH = 4; field in DisplayCutout
153 mRects = new Rect[BOUNDS_POSITION_LENGTH]; in Bounds()
162 if (rects.length != BOUNDS_POSITION_LENGTH) { in Bounds()
167 mRects = new Rect[BOUNDS_POSITION_LENGTH]; in Bounds()
168 for (int i = 0; i < BOUNDS_POSITION_LENGTH; ++i) { in Bounds()
197 Rect[] rects = new Rect[BOUNDS_POSITION_LENGTH]; in getRects()
198 for (int i = 0; i < BOUNDS_POSITION_LENGTH; ++i) { in getRects()
317 Rect[] sortedBounds = new Rect[BOUNDS_POSITION_LENGTH]; in extractBoundsFromList()
578 Rect[] bounds = new Rect[BOUNDS_POSITION_LENGTH]; in fromBoundingRect()
579 for (int i = 0; i < BOUNDS_POSITION_LENGTH; ++i) { in fromBoundingRect()
[all …]