Home
last modified time | relevance | path

Searched refs:BoundsPair (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DLetterboxAppearanceCalculatorTest.kt77 TEST_APPEARANCE, TEST_APPEARANCE_REGIONS, listOf(letterbox), BoundsPair(start, end)) in getLetterboxAppearance_overlapStartSide_returnsOriginalWithScrim()
93 TEST_APPEARANCE, TEST_APPEARANCE_REGIONS, listOf(letterbox), BoundsPair(start, end)) in getLetterboxAppearance_overlapEndSide_returnsOriginalWithScrim()
115 BoundsPair(statusBarStartSideBounds, statusBarEndSideBounds) in getLetterboxAppearance_withOverlap_doesNotMutateOriginalBounds()
132 TEST_APPEARANCE, TEST_APPEARANCE_REGIONS, listOf(letterbox), BoundsPair(start, end)) in getLetterboxAppearance_noOverlap_BackgroundMultiColor_returnsAppearanceWithScrim()
148 TEST_APPEARANCE, TEST_APPEARANCE_REGIONS, listOf(letterbox), BoundsPair(start, end)) in getLetterboxAppearance_noOverlap_returnsAppearanceWithoutScrim()
161 TEST_APPEARANCE, TEST_APPEARANCE_REGIONS, listOf(letterbox), BoundsPair(start, end)) in getLetterboxAppearance_letterboxContainsStartSide_returnsAppearanceWithoutScrim()
174 TEST_APPEARANCE, TEST_APPEARANCE_REGIONS, listOf(letterbox), BoundsPair(start, end)) in getLetterboxAppearance_letterboxContainsEndSide_returnsAppearanceWithoutScrim()
187 TEST_APPEARANCE, TEST_APPEARANCE_REGIONS, listOf(letterbox), BoundsPair(start, end)) in getLetterboxAppearance_letterboxContainsEntireStatusBar_returnsAppearanceWithoutScrim()
201 TEST_APPEARANCE, listOf(letterboxRegion), listOf(letterbox), BoundsPair(start, end)) in getLetterboxAppearance_returnsAdaptedAppearanceRegions_basedOnLetterboxInnerBounds()
220 TEST_APPEARANCE, listOf(letterboxRegion), listOf(letterbox), BoundsPair(start, end)) in getLetterboxAppearance_returnsDefaultAppearanceRegions_basedOnLetterboxOuterBounds()
DLightBarControllerTest.java76 private static final BoundsPair STATUS_BAR_BOUNDS = new BoundsPair(
297 BoundsPair startingBounds = new BoundsPair( in testOnStatusBarAppearanceChanged_statusBarBoundsChanged_statusRedrawn()
311 BoundsPair newBounds = new BoundsPair( in testOnStatusBarAppearanceChanged_statusBarBoundsChanged_statusRedrawn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarBoundsProvider.kt45 fun onStatusBarBoundsChanged(bounds: BoundsPair) in <lambda>()
56 BoundsPair(start = startSideContent.boundsOnScreen, end = endSideContent.boundsOnScreen) in <lambda>()
60 val newBounds = BoundsPair(start = visibleStartSideBounds, end = visibleEndSideBounds) in <lambda>()
110 data class BoundsPair(val start: Rect, val end: Rect) dataClass
DLetterboxAppearanceCalculator.kt82 statusBarBounds: BoundsPair, in getLetterboxAppearance()
96 statusBarBounds: BoundsPair, in getLetterboxAppearanceInternal()
108 statusBarBounds: BoundsPair, in isScrimNeeded()
DLightBarController.java78 private BoundsPair mStatusBarBounds = new BoundsPair(new Rect(), new Rect());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/data/model/
DStatusBarAppearance.kt20 import com.android.systemui.statusbar.phone.BoundsPair
27 val bounds: BoundsPair,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/data/repository/
DStatusBarModePerDisplayRepository.kt36 import com.android.systemui.statusbar.phone.BoundsPair in <lambda>()
175 private val _statusBarBounds = MutableStateFlow(BoundsPair(Rect(), Rect()))
181 override fun onStatusBarBoundsChanged(bounds: BoundsPair) { in onStatusBarViewInitialized()
292 statusBarBounds: BoundsPair, in modifyAppearanceIfNeeded()
349 val statusBarBounds: BoundsPair,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/data/repository/
DStatusBarModeRepositoryImplTest.kt33 import com.android.systemui.statusbar.phone.BoundsPair
380 BoundsPair(Rect(0, 0, 50, 50), Rect(0, 0, 60, 60)) in statusBarAppearance_boundsChanged_appearanceReFetched()