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.java138 public static final int BOUNDS_POSITION_LENGTH = 4; field in DisplayCutout
154 mRects = new Rect[BOUNDS_POSITION_LENGTH]; in Bounds()
163 if (rects.length != BOUNDS_POSITION_LENGTH) { in Bounds()
168 mRects = new Rect[BOUNDS_POSITION_LENGTH]; in Bounds()
169 for (int i = 0; i < BOUNDS_POSITION_LENGTH; ++i) { in Bounds()
198 Rect[] rects = new Rect[BOUNDS_POSITION_LENGTH]; in getRects()
199 for (int i = 0; i < BOUNDS_POSITION_LENGTH; ++i) { in getRects()
318 Rect[] sortedBounds = new Rect[BOUNDS_POSITION_LENGTH]; in extractBoundsFromList()
579 Rect[] bounds = new Rect[BOUNDS_POSITION_LENGTH]; in fromBoundingRect()
580 for (int i = 0; i < BOUNDS_POSITION_LENGTH; ++i) { in fromBoundingRect()
[all …]