Home
last modified time | relevance | path

Searched refs:insetsProvider (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/events/
DSystemEventChipAnimationControllerTest.kt56 @Mock private lateinit var insetsProvider: StatusBarContentInsetsProvider variable in com.android.systemui.statusbar.events.SystemEventChipAnimationControllerTest
81 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DQsBatteryModeControllerTest.kt40 @Mock private lateinit var insetsProvider: StatusBarContentInsetsProvider variable in com.android.systemui.shade.QsBatteryModeControllerTest
53 controller = QsBatteryModeController(mockedContext, insetsProvider) in setup()
72 whenever(insetsProvider.currentRotationHasCornerCutout()).thenReturn(true) in returnsMODE_ONforQqsWithCornerCutout()
82 whenever(insetsProvider.currentRotationHasCornerCutout()).thenReturn(true) in returnsMODE_ESTIMATEforQsWithCornerCutout()
DShadeHeaderControllerTest.kt110 @Mock private lateinit var insetsProvider: StatusBarContentInsetsProvider in <lambda>() variable in com.android.systemui.shade.ShadeHeaderControllerTest
193 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>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQsBatteryModeController.kt18 private val insetsProvider: StatusBarContentInsetsProvider, constant in com.android.systemui.shade.QsBatteryModeController
67 !insetsProvider.currentRotationHasCornerCutout() && !it.boundingRectTop.isEmpty in hasCenterCutout()
DShadeHeaderController.kt94 private val insetsProvider: StatusBarContentInsetsProvider, in <lambda>() constant in com.android.systemui.shade.ShadeHeaderController
415 val sbInsets: Insets = insetsProvider.getStatusBarContentInsetsForCurrentRotation() in <lambda>()
418 val hasCornerCutout: Boolean = insetsProvider.currentRotationHasCornerCutout() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java286 StatusBarContentInsetsProvider insetsProvider) { in updateWindowInsets() argument
288 if (updateLayoutConsideringCutout(insetsProvider)) { in updateWindowInsets()
294 private boolean updateLayoutConsideringCutout(StatusBarContentInsetsProvider insetsProvider) { in updateLayoutConsideringCutout() argument
297 insetsProvider); in updateLayoutConsideringCutout()
303 StatusBarContentInsetsProvider insetsProvider) { in setDisplayCutout() argument
306 updatePadding(insetsProvider); in setDisplayCutout()
307 if (mDisplayCutout == null || insetsProvider.currentRotationHasCornerCutout()) { in setDisplayCutout()
314 private void updatePadding(StatusBarContentInsetsProvider insetsProvider) { in updatePadding() argument
317 mPadding = insetsProvider.getStatusBarContentInsetsForCurrentRotation(); in updatePadding()
/frameworks/base/services/core/java/com/android/server/wm/
DAsyncRotationController.java296 final InsetsSourceProvider insetsProvider = w.getControllableInsetProvider(); in finishOp() local
297 if (insetsProvider != null) { in finishOp()
298 insetsProvider.updateInsetsControlPosition(w); in finishOp()