Home
last modified time | relevance | path

Searched refs:mZOrderVisibleSortedMap (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/
DOverlayViewGlobalStateController.java62 SortedMap<Integer, OverlayViewController> mZOrderVisibleSortedMap; field in OverlayViewGlobalStateController
82 mZOrderVisibleSortedMap = new TreeMap<>(); in OverlayViewGlobalStateController()
116 if (mZOrderVisibleSortedMap.isEmpty()) { in showView()
151 mZOrderVisibleSortedMap.put(zOrder, viewController); in updateInternalsWhenShowingView()
193 if (!mZOrderVisibleSortedMap.containsKey(mZOrderMap.get(viewController))) { in hideView()
203 mZOrderVisibleSortedMap.remove(mZOrderMap.get(viewController)); in hideView()
213 if (mZOrderVisibleSortedMap.isEmpty()) { in hideView()
236 if (mZOrderVisibleSortedMap.isEmpty()) { in refreshHighestZOrderWhenHidingView()
244 mHighestZOrder = mZOrderVisibleSortedMap.get(mZOrderVisibleSortedMap.lastKey()); in refreshHighestZOrderWhenHidingView()
248 if (mZOrderVisibleSortedMap.isEmpty()) { in refreshSystemBarVisibility()
[all …]
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/window/
DOverlayViewGlobalStateControllerTest.java230 assertThat(mOverlayViewGlobalStateController.mZOrderVisibleSortedMap.containsKey( in showView_nothingAlreadyShown_newHighestZOrder_isVisible()
335 assertThat(mOverlayViewGlobalStateController.mZOrderVisibleSortedMap.keySet().toArray()) in showView_newHighestZOrder_correctViewsShown()
474 assertThat(mOverlayViewGlobalStateController.mZOrderVisibleSortedMap.keySet().toArray()) in showView_oldHighestZOrder_correctViewsShown()
626 assertThat(mOverlayViewGlobalStateController.mZOrderVisibleSortedMap.isEmpty()).isTrue(); in hideView_viewControllerOnlyShown_nothingShown()
636 assertThat(mOverlayViewGlobalStateController.mZOrderVisibleSortedMap.containsKey( in hideView_viewControllerOnlyShown_viewControllerNotShown()
907 assertThat(mOverlayViewGlobalStateController.mZOrderVisibleSortedMap.containsValue( in setOccludedTrue_viewToHideWhenOccludedVisible_viewHidden()
919 assertThat(mOverlayViewGlobalStateController.mZOrderVisibleSortedMap.containsValue( in setOccludedTrue_viewToNotHideWhenOccludedVisible_viewShown()
933 assertThat(mOverlayViewGlobalStateController.mZOrderVisibleSortedMap.containsValue( in hideViewAndThenSetOccludedTrue_viewHiddenForOcclusion_viewHiddenAfterOcclusion()
945 assertThat(mOverlayViewGlobalStateController.mZOrderVisibleSortedMap.containsValue( in setOccludedTrueAndThenShowView_viewToNotHideForOcclusion_viewShown()
957 assertThat(mOverlayViewGlobalStateController.mZOrderVisibleSortedMap.containsValue( in setOccludedTrueAndThenShowView_viewToHideForOcclusion_viewHidden()
[all …]