Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/
DCutoutDecorProviderFactoryTest.kt26 import android.view.DisplayCutout.BOUNDS_POSITION_LENGTH in <lambda>()
84 val sorted = arrayOfNulls<Rect>(BOUNDS_POSITION_LENGTH) in <lambda>()
85 for (pos in 0 until BOUNDS_POSITION_LENGTH) { in <lambda>()
86 val rotatedPos = (pos - rotation + BOUNDS_POSITION_LENGTH) % BOUNDS_POSITION_LENGTH in <lambda>()
/frameworks/base/core/java/android/view/
DDisplayCutout.java158 public static final int BOUNDS_POSITION_LENGTH = 4; field in DisplayCutout
186 mRects = new Rect[BOUNDS_POSITION_LENGTH]; in Bounds()
195 if (rects.length != BOUNDS_POSITION_LENGTH) { in Bounds()
200 mRects = new Rect[BOUNDS_POSITION_LENGTH]; in Bounds()
201 for (int i = 0; i < BOUNDS_POSITION_LENGTH; ++i) { in Bounds()
230 Rect[] rects = new Rect[BOUNDS_POSITION_LENGTH]; in getRects()
231 for (int i = 0; i < BOUNDS_POSITION_LENGTH; ++i) { in getRects()
238 for (int i = 0; i < BOUNDS_POSITION_LENGTH; ++i) { in scale()
607 Rect[] sortedBounds = new Rect[BOUNDS_POSITION_LENGTH]; in extractBoundsFromList()
886 if (length != BOUNDS_POSITION_LENGTH) { in sideOverridesToString()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java19 import static android.view.DisplayCutout.BOUNDS_POSITION_LENGTH;
534 for (int i = 0; i < BOUNDS_POSITION_LENGTH; i++) { in startOnScreenDecorationsThread()
653 boolean[] hasCreatedOverlay = new boolean[BOUNDS_POSITION_LENGTH]; in setupDecorationsInner()
663 for (int i = 0; i < BOUNDS_POSITION_LENGTH; i++) { in setupDecorationsInner()
732 for (int i = 0; i < BOUNDS_POSITION_LENGTH; i++) { in hasOverlays()
746 for (int i = 0; i < BOUNDS_POSITION_LENGTH; i++) { in removeAllOverlays()
799 mOverlays = new OverlayWindow[BOUNDS_POSITION_LENGTH]; in createOverlay()
985 ? pos - rotation + DisplayCutout.BOUNDS_POSITION_LENGTH in getBoundPositionFromRotation()
1173 for (int i = BOUNDS_POSITION_LEFT; i < BOUNDS_POSITION_LENGTH; i++) { in dump()
1276 for (int i = 0; i < BOUNDS_POSITION_LENGTH; i++) { in updateLayoutParams()
DScreenDecorHwcLayer.kt36 import android.view.DisplayCutout.BOUNDS_POSITION_LENGTH in <lambda>()
326 return when ((position + delta) % BOUNDS_POSITION_LENGTH) { in <lambda>()