Home
last modified time | relevance | path

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

/packages/apps/Car/SystemUI/src/com/android/systemui/car/notification/
DNotificationPanelViewController.java272 int insetSidesToFit = OverlayViewController.NO_INSET_SIDE; in getInsetSidesToFit() local
275 insetSidesToFit = insetSidesToFit | WindowInsets.Side.TOP; in getInsetSidesToFit()
279 insetSidesToFit = insetSidesToFit | WindowInsets.Side.BOTTOM; in getInsetSidesToFit()
283 insetSidesToFit = insetSidesToFit | WindowInsets.Side.LEFT; in getInsetSidesToFit()
287 insetSidesToFit = insetSidesToFit | WindowInsets.Side.RIGHT; in getInsetSidesToFit()
290 return insetSidesToFit; in getInsetSidesToFit()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/window/
DOverlayViewGlobalStateControllerTest.java1005 int insetSidesToFit = WindowInsets.Side.LEFT; in refreshInsetsToFit_setInsetsToFitBySide_setsFitInsetsSides() local
1007 when(mOverlayViewController1.getInsetSidesToFit()).thenReturn(insetSidesToFit); in refreshInsetsToFit_setInsetsToFitBySide_setsFitInsetsSides()
1011 verify(mSystemUIOverlayWindowController).setFitInsetsSides(insetSidesToFit); in refreshInsetsToFit_setInsetsToFitBySide_setsFitInsetsSides()
1016 int insetSidesToFit = WindowInsets.Side.LEFT; in refreshInsetsToFit_setInsetsToFitBySideUsed_firstFitsAllSystemBars() local
1018 when(mOverlayViewController1.getInsetSidesToFit()).thenReturn(insetSidesToFit); in refreshInsetsToFit_setInsetsToFitBySideUsed_firstFitsAllSystemBars()
1028 int insetSidesToFit = WindowInsets.Side.LEFT; in refreshInsetsToFit_bothInsetTypeAndSideDefined_insetSideTakesPrecedence() local
1031 when(mOverlayViewController1.getInsetSidesToFit()).thenReturn(insetSidesToFit); in refreshInsetsToFit_bothInsetTypeAndSideDefined_insetSideTakesPrecedence()
1035 verify(mSystemUIOverlayWindowController).setFitInsetsSides(insetSidesToFit); in refreshInsetsToFit_bothInsetTypeAndSideDefined_insetSideTakesPrecedence()
1041 int insetSidesToFit = WindowInsets.Side.LEFT; in refreshInsetsToFit_bothInsetTypeAndSideDefined_insetTypeIgnored() local
1044 when(mOverlayViewController1.getInsetSidesToFit()).thenReturn(insetSidesToFit); in refreshInsetsToFit_bothInsetTypeAndSideDefined_insetTypeIgnored()