Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipKeepClearAlgorithm.kt114 unrestrictedAreas: Set<Rect> in <lambda>()
117 val transformedUnrestrictedAreas = transformAndFilterAreas(unrestrictedAreas) in <lambda>()
171 unrestrictedAreas: Set<Rect> in <lambda>()
174 val keepClearAreas = restrictedAreas + unrestrictedAreas in <lambda>()
181 val freeMovePos = findFreeMovePosition(pipAnchorBounds, restrictedAreas, unrestrictedAreas) in <lambda>()
191 findRelaxedMovePosition(pipAnchorBounds, restrictedAreas, unrestrictedAreas) in <lambda>()
192 ?: findFreeMovePosition(pipAnchorBounds, emptySet(), unrestrictedAreas) in <lambda>()
228 unrestrictedAreas: Set<Rect> in <lambda>()
239 unrestrictedAreas in <lambda>()
247 unrestrictedAreas: Set<Rect> in <lambda>()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
DTvPipKeepClearAlgorithmTest.kt54 private var unrestrictedAreas = mutableSetOf<Rect>() variable
66 unrestrictedAreas.clear() in setup()
176 unrestrictedAreas.add(sidebar) in test_AnchorBottomRight_KeepClearNotObstructing_StayAtAnchor()
191 unrestrictedAreas.add(sidebar) in test_AnchorBottomRight_UnrestrictedRightSidebar_PushedLeft()
206 unrestrictedAreas.add(sidebar) in test_AnchorTopRight_UnrestrictedRightSidebar_PushedLeft()
221 unrestrictedAreas.add(sidebar) in test_AnchorBottomLeft_UnrestrictedRightSidebar_StayAtAnchor()
236 unrestrictedAreas.add(sidebar) in test_AnchorBottom_UnrestrictedRightSidebar_StayAtAnchor()
252 unrestrictedAreas.add(sidebar) in testExpanded_AnchorBottom_UnrestrictedRightSidebar_StayAtAnchor()
301 unrestrictedAreas.add(bottomBar) in test_AnchorBottomRight_UnrestrictedBottomSheet_PushUp()
317 unrestrictedAreas.add(bottomBar) in test_AnchorBottomRight_UnrestrictedBottomSheet_RestrictedSidebar_StashAboveBottomSheet()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipBoundsState.java426 @NonNull Set<Rect> unrestrictedAreas) { in setKeepClearAreas() argument
430 mUnrestrictedKeepClearAreas.addAll(unrestrictedAreas); in setKeepClearAreas()
458 final Set<Rect> unrestrictedAreas = new ArraySet<>(mUnrestrictedKeepClearAreas); in getUnrestrictedKeepClearAreas()
459 unrestrictedAreas.addAll(mNamedUnrestrictedKeepClearAreas.values()); in getUnrestrictedKeepClearAreas()
460 return unrestrictedAreas; in getUnrestrictedKeepClearAreas()