Home
last modified time | relevance | path

Searched refs:BOUNDS_POSITION_LENGTH (Results 1 – 4 of 4) 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.java132 public static final int BOUNDS_POSITION_LENGTH = 4; field in DisplayCutout
148 mRects = new Rect[BOUNDS_POSITION_LENGTH]; in Bounds()
157 if (rects.length != BOUNDS_POSITION_LENGTH) { in Bounds()
162 mRects = new Rect[BOUNDS_POSITION_LENGTH]; in Bounds()
163 for (int i = 0; i < BOUNDS_POSITION_LENGTH; ++i) { in Bounds()
192 Rect[] rects = new Rect[BOUNDS_POSITION_LENGTH]; in getRects()
193 for (int i = 0; i < BOUNDS_POSITION_LENGTH; ++i) { in getRects()
356 Rect[] sortedBounds = new Rect[BOUNDS_POSITION_LENGTH]; in extractBoundsFromList()
651 Rect[] bounds = new Rect[BOUNDS_POSITION_LENGTH]; in fromBoundingRect()
652 for (int i = 0; i < BOUNDS_POSITION_LENGTH; ++i) { in fromBoundingRect()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java20 import static android.view.DisplayCutout.BOUNDS_POSITION_LENGTH;
251 for (int i = 0; i < BOUNDS_POSITION_LENGTH; i++) { in startOnScreenDecorationsThread()
271 for (int i = 0; i < BOUNDS_POSITION_LENGTH; i++) { in setupDecorations()
336 for (int i = 0; i < BOUNDS_POSITION_LENGTH; i++) { in hasOverlays()
350 for (int i = 0; i < BOUNDS_POSITION_LENGTH; i++) { in removeAllOverlays()
368 mOverlays = new View[BOUNDS_POSITION_LENGTH]; in createOverlay()
372 mCutoutViews = new DisplayCutoutView[BOUNDS_POSITION_LENGTH]; in createOverlay()
496 ? pos - rotation + DisplayCutout.BOUNDS_POSITION_LENGTH in getBoundPositionFromRotation()
533 for (int i = 0; i < BOUNDS_POSITION_LENGTH; i++) { in updateColorInversion()
582 for (int i = 0; i < BOUNDS_POSITION_LENGTH; i++) { in updateOrientation()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/
DDisplayLayout.java383 ? index - rotation + DisplayCutout.BOUNDS_POSITION_LENGTH in getBoundIndexFromRotation()