Home
last modified time | relevance | path

Searched refs:stashOffset (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
H A DPipSnapAlgorithm.java112 @PipBoundsState.StashType int stashType, int stashOffset, Rect displayBounds, in applySnapFraction() argument
118 ? stashOffset - stackBounds.width() + insetBounds.left in applySnapFraction()
119 : displayBounds.right - stashOffset - insetBounds.right, in applySnapFraction()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
H A DTvPipKeepClearAlgorithm.kt77 var stashOffset = DEFAULT_PIP_MARGINS regex
350 val fullStashTop = screenBounds.bottom - stashOffset
363 val fullStashBottom = screenBounds.top - bounds.height() + stashOffset
379 val fullStashRight = screenBounds.right - stashOffset
392 val fullStashLeft = screenBounds.left - bounds.width() + stashOffset
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
H A DTvPipKeepClearAlgorithmTest.kt74 algorithm.stashOffset = STASH_OFFSET