Searched refs:insetsProvider (Results 1 – 7 of 7) sorted by relevance
56 @Mock private lateinit var insetsProvider: StatusBarContentInsetsProvider variable in com.android.systemui.statusbar.events.SystemEventChipAnimationControllerTest81 whenever(insetsProvider.getStatusBarContentInsetsForCurrentRotation()) in setup()90 whenever(insetsProvider.getStatusBarContentAreaForCurrentRotation()) in setup()97 contentInsetsProvider = insetsProvider in setup()129 whenever(insetsProvider.getStatusBarContentAreaForCurrentRotation()) in prepareChipAnimation_rotation_repositionsChip()164 whenever(insetsProvider.getStatusBarContentAreaForCurrentRotation()) in fullScreenStatusBar_positionsChipAtTop_withTopGravity()190 verify(insetsProvider).addCallback(capture(callbackCaptor)) in getInsetsListener()
40 @Mock private lateinit var insetsProvider: StatusBarContentInsetsProvider variable in com.android.systemui.shade.QsBatteryModeControllerTest53 controller = QsBatteryModeController(mockedContext, insetsProvider) in setup()72 whenever(insetsProvider.currentRotationHasCornerCutout()).thenReturn(true) in returnsMODE_ONforQqsWithCornerCutout()82 whenever(insetsProvider.currentRotationHasCornerCutout()).thenReturn(true) in returnsMODE_ESTIMATEforQsWithCornerCutout()
110 @Mock private lateinit var insetsProvider: StatusBarContentInsetsProvider in <lambda>() variable in com.android.systemui.shade.ShadeHeaderControllerTest193 insetsProvider, in <lambda>()938 whenever(insetsProvider.getStatusBarContentInsetsForCurrentRotation()) in <lambda>()947 whenever(insetsProvider.currentRotationHasCornerCutout()).thenReturn(cornerCutout) in <lambda>()990 whenever(insetsProvider.getStatusBarContentInsetsForCurrentRotation()) in <lambda>()992 whenever(insetsProvider.currentRotationHasCornerCutout()).thenReturn(false) in <lambda>()
18 private val insetsProvider: StatusBarContentInsetsProvider, constant in com.android.systemui.shade.QsBatteryModeController67 !insetsProvider.currentRotationHasCornerCutout() && !it.boundingRectTop.isEmpty in hasCenterCutout()
94 private val insetsProvider: StatusBarContentInsetsProvider, in <lambda>() constant in com.android.systemui.shade.ShadeHeaderController415 val sbInsets: Insets = insetsProvider.getStatusBarContentInsetsForCurrentRotation() in <lambda>()418 val hasCornerCutout: Boolean = insetsProvider.currentRotationHasCornerCutout() in <lambda>()
286 StatusBarContentInsetsProvider insetsProvider) { in updateWindowInsets() argument288 if (updateLayoutConsideringCutout(insetsProvider)) { in updateWindowInsets()294 private boolean updateLayoutConsideringCutout(StatusBarContentInsetsProvider insetsProvider) { in updateLayoutConsideringCutout() argument297 insetsProvider); in updateLayoutConsideringCutout()303 StatusBarContentInsetsProvider insetsProvider) { in setDisplayCutout() argument306 updatePadding(insetsProvider); in setDisplayCutout()307 if (mDisplayCutout == null || insetsProvider.currentRotationHasCornerCutout()) { in setDisplayCutout()314 private void updatePadding(StatusBarContentInsetsProvider insetsProvider) { in updatePadding() argument317 mPadding = insetsProvider.getStatusBarContentInsetsForCurrentRotation(); in updatePadding()
296 final InsetsSourceProvider insetsProvider = w.getControllableInsetProvider(); in finishOp() local297 if (insetsProvider != null) { in finishOp()298 insetsProvider.updateInsetsControlPosition(w); in finishOp()