Searched refs:insetsProvider (Results 1 – 6 of 6) sorted by relevance
57 @Mock private lateinit var insetsProvider: StatusBarContentInsetsProvider82 whenever(insetsProvider.getStatusBarContentInsetsForCurrentRotation())84 whenever(insetsProvider.getStatusBarContentAreaForCurrentRotation())91 contentInsetsProvider = insetsProvider,124 whenever(insetsProvider.getStatusBarContentAreaForCurrentRotation())159 whenever(insetsProvider.getStatusBarContentAreaForCurrentRotation())185 verify(insetsProvider).addCallback(capture(callbackCaptor))
40 @Mock private lateinit var insetsProvider: StatusBarContentInsetsProvider53 controller = QsBatteryModeController(mockedContext, insetsProvider)72 whenever(insetsProvider.currentRotationHasCornerCutout()).thenReturn(true)82 whenever(insetsProvider.currentRotationHasCornerCutout()).thenReturn(true)
108 @Mock private lateinit var insetsProvider: StatusBarContentInsetsProvider188 insetsProvider,936 whenever(insetsProvider.getStatusBarContentInsetsForCurrentRotation())938 whenever(insetsProvider.currentRotationHasCornerCutout()).thenReturn(cornerCutout)981 whenever(insetsProvider.getStatusBarContentInsetsForCurrentRotation())983 whenever(insetsProvider.currentRotationHasCornerCutout()).thenReturn(false)
18 private val insetsProvider: StatusBarContentInsetsProvider,67 !insetsProvider.currentRotationHasCornerCutout() && !it.boundingRectTop.isEmpty
92 private val insetsProvider: StatusBarContentInsetsProvider,399 val sbInsets: Pair<Int, Int> = insetsProvider.getStatusBarContentInsetsForCurrentRotation()402 val hasCornerCutout: Boolean = insetsProvider.currentRotationHasCornerCutout()
280 StatusBarContentInsetsProvider insetsProvider) { in updateWindowInsets() argument282 if (updateLayoutConsideringCutout(insetsProvider)) { in updateWindowInsets()288 private boolean updateLayoutConsideringCutout(StatusBarContentInsetsProvider insetsProvider) { in updateLayoutConsideringCutout() argument291 updatePadding(insetsProvider); in updateLayoutConsideringCutout()292 if (mDisplayCutout == null || insetsProvider.currentRotationHasCornerCutout()) { in updateLayoutConsideringCutout()299 private void updatePadding(StatusBarContentInsetsProvider insetsProvider) { in updatePadding() argument302 mPadding = insetsProvider.getStatusBarContentInsetsForCurrentRotation(); in updatePadding()