Home
last modified time | relevance | path

Searched refs:appearanceRegions (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DLightBarControllerTest.java119 final List<AppearanceRegion> appearanceRegions = Arrays.asList( in testOnStatusBarAppearanceChanged_multipleStacks_allStacksLight() local
128 appearanceRegions, in testOnStatusBarAppearanceChanged_multipleStacks_allStacksLight()
140 final List<AppearanceRegion> appearanceRegions = Arrays.asList( in testOnStatusBarAppearanceChanged_multipleStacks_oneStackLightOneStackDark() local
149 appearanceRegions, in testOnStatusBarAppearanceChanged_multipleStacks_oneStackLightOneStackDark()
163 final List<AppearanceRegion> appearanceRegions = Arrays.asList( in testOnStatusBarAppearanceChanged_multipleStacks_oneStackDarkOneStackLight() local
172 appearanceRegions, in testOnStatusBarAppearanceChanged_multipleStacks_oneStackDarkOneStackLight()
187 final List<AppearanceRegion> appearanceRegions = Arrays.asList( in testOnStatusBarAppearanceChanged_multipleStacks_oneStackLightMultipleStackDark() local
197 appearanceRegions, in testOnStatusBarAppearanceChanged_multipleStacks_oneStackLightMultipleStackDark()
212 final List<AppearanceRegion> appearanceRegions = Arrays.asList( in testOnStatusBarAppearanceChanged_multipleStacks_allStacksDark() local
221 appearanceRegions, in testOnStatusBarAppearanceChanged_multipleStacks_allStacksDark()
[all …]
DLetterboxAppearanceCalculatorTest.kt82 expect.that(letterboxAppearance.appearanceRegions).isEqualTo(TEST_APPEARANCE_REGIONS) in getLetterboxAppearance_overlapStartSide_returnsOriginalWithScrim()
98 expect.that(letterboxAppearance.appearanceRegions).isEqualTo(TEST_APPEARANCE_REGIONS) in getLetterboxAppearance_overlapEndSide_returnsOriginalWithScrim()
137 expect.that(letterboxAppearance.appearanceRegions).isEqualTo(TEST_APPEARANCE_REGIONS) in getLetterboxAppearance_noOverlap_BackgroundMultiColor_returnsAppearanceWithScrim()
204 assertThat(letterboxAppearance.appearanceRegions.toList()).contains(letterboxAdaptedRegion) in getLetterboxAppearance_returnsAdaptedAppearanceRegions_basedOnLetterboxInnerBounds()
205 assertThat(letterboxAppearance.appearanceRegions.toList()).doesNotContain(letterboxRegion) in getLetterboxAppearance_returnsAdaptedAppearanceRegions_basedOnLetterboxInnerBounds()
233 assertThat(letterboxAppearance.appearanceRegions) in getLetterboxAppearance_returnsDefaultAppearanceRegions_basedOnLetterboxOuterBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/data/repository/
DStatusBarModePerDisplayRepository.kt147 appearanceRegions: Array<AppearanceRegion>, in onSystemBarAttributesChanged()
158 appearanceRegions.toList(), in onSystemBarAttributesChanged()
209 originalAttributes.appearanceRegions, in statusBarBounds()
243 modifiedAttributes.appearanceRegions, in isTransientShown()
290 appearanceRegions: List<AppearanceRegion>, in modifyAppearanceIfNeeded()
298 appearanceRegions, in modifyAppearanceIfNeeded()
302 Pair(letterboxAppearance.appearance, letterboxAppearance.appearanceRegions) in modifyAppearanceIfNeeded()
304 Pair(appearance, appearanceRegions)
322 val appearanceRegions: List<AppearanceRegion>, constant in StatusBarAttributes
331 appearanceRegions=$appearanceRegions, in toString()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/data/repository/
DStatusBarModeRepositoryImplTest.kt301 appearanceRegions = APPEARANCE_REGIONS.toTypedArray(), in statusBarAppearance_appearanceRegions_noLetterboxDetails_usesCallbackValues()
307 assertThat(latest!!.appearanceRegions).isEqualTo(APPEARANCE_REGIONS) in statusBarAppearance_appearanceRegions_noLetterboxDetails_usesCallbackValues()
308 assertThat(latest!!.appearanceRegions).isNotEqualTo(REGIONS_FROM_LETTERBOX_CALCULATOR) in statusBarAppearance_appearanceRegions_noLetterboxDetails_usesCallbackValues()
328 appearanceRegions = APPEARANCE_REGIONS.toTypedArray(), in statusBarAppearance_appearanceRegions_letterboxDetails_usesLetterboxCalculator()
332 assertThat(latest!!.appearanceRegions).isEqualTo(REGIONS_FROM_LETTERBOX_CALCULATOR) in statusBarAppearance_appearanceRegions_letterboxDetails_usesLetterboxCalculator()
357 appearanceRegions = APPEARANCE_REGIONS.toTypedArray(), in statusBarAppearance_boundsChanged_appearanceReFetched()
361 assertThat(latest!!.appearanceRegions) in statusBarAppearance_boundsChanged_appearanceReFetched()
362 .isEqualTo(startingLetterboxAppearance.appearanceRegions) in statusBarAppearance_boundsChanged_appearanceReFetched()
385 assertThat(latest!!.appearanceRegions) in statusBarAppearance_boundsChanged_appearanceReFetched()
386 .isEqualTo(newLetterboxAppearance.appearanceRegions) in statusBarAppearance_boundsChanged_appearanceReFetched()
[all …]
/frameworks/base/core/java/com/android/internal/statusbar/
DRegisterStatusBarResult.java47 int appearance, AppearanceRegion[] appearanceRegions, int imeWindowVis, in RegisterStatusBarResult() argument
54 mAppearanceRegions = appearanceRegions; in RegisterStatusBarResult()
103 final AppearanceRegion[] appearanceRegions =
118 appearanceRegions, imeWindowVis, imeBackDisposition, showImeSwitcher,
DIStatusBar.aidl234 in AppearanceRegion[] appearanceRegions, boolean navbarColorManagedByIme, in onSystemBarAttributesChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLetterboxAppearanceCalculator.kt38 val appearanceRegions: List<AppearanceRegion>, in <lambda>() constant in com.android.systemui.statusbar.phone.LetterboxAppearance
43 return "LetterboxAppearance{$appearanceString, $appearanceRegions}" in <lambda>()
102 val appearanceRegions = getAppearanceRegions(originalAppearanceRegions, letterboxes) in getLetterboxAppearanceInternal() constant
103 return LetterboxAppearance(appearance, appearanceRegions) in getLetterboxAppearanceInternal()
DLightBarController.java182 AppearanceRegion[] appearanceRegions, in onStatusBarAppearanceChanged() argument
186 final int numStacks = appearanceRegions.length; in onStatusBarAppearanceChanged()
189 stackAppearancesChanged |= !appearanceRegions[i].equals(mAppearanceRegions[i]); in onStatusBarAppearanceChanged()
198 mAppearanceRegions = appearanceRegions; in onStatusBarAppearanceChanged()
379 private void updateStatus(AppearanceRegion[] appearanceRegions) { in updateStatus() argument
380 final int numStacks = appearanceRegions.length; in updateStatus()
384 final AppearanceRegion ar = appearanceRegions[i]; in updateStatus()
DLegacyLightsOutNotifController.java152 AppearanceRegion[] appearanceRegions, boolean navbarColorManagedByIme,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/data/model/
DStatusBarAppearance.kt33 val appearanceRegions: List<AppearanceRegion>, constant in com.android.systemui.statusbar.data.model.StatusBarAppearance
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerInternal.java179 AppearanceRegion[] appearanceRegions, boolean navbarColorManagedByIme, in onSystemBarAttributesChanged() argument
DStatusBarManagerService.java701 AppearanceRegion[] appearanceRegions, boolean navbarColorManagedByIme,
704 getUiState(displayId).setBarAttributes(appearance, appearanceRegions,
710 bar.onSystemBarAttributesChanged(displayId, appearance, appearanceRegions,
1429 AppearanceRegion[] appearanceRegions, boolean navbarColorManagedByIme, in setBarAttributes() argument
1434 mAppearanceRegions = appearanceRegions; in setBarAttributes()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DCommandQueueTest.java149 AppearanceRegion[] appearanceRegions, boolean navbarColorManagedByIme, in doTestOnSystemBarAttributesChanged() argument
152 mCommandQueue.onSystemBarAttributesChanged(displayId, appearance, appearanceRegions, in doTestOnSystemBarAttributesChanged()
157 eq(appearanceRegions), eq(navbarColorManagedByIme), eq(behavior), in doTestOnSystemBarAttributesChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DTaskbarDelegate.java382 AppearanceRegion[] appearanceRegions, boolean navbarColorManagedByIme, int behavior, in onSystemBarAttributesChanged() argument
DNavigationBar.java1169 AppearanceRegion[] appearanceRegions, boolean navbarColorManagedByIme, in onSystemBarAttributesChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java413 AppearanceRegion[] appearanceRegions, boolean navbarColorManagedByIme, in onSystemBarAttributesChanged() argument
1235 AppearanceRegion[] appearanceRegions, boolean navbarColorManagedByIme, in onSystemBarAttributesChanged() argument
1243 args.arg1 = appearanceRegions; in onSystemBarAttributesChanged()