Home
last modified time | relevance | path

Searched refs:categoryToPackage (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayController.java715 final Map<String, OverlayIdentifier> categoryToPackage = new ArrayMap<>(); in updateThemeOverlays() local
723 categoryToPackage.put(category, identifier); in updateThemeOverlays()
732 OverlayIdentifier systemPalette = categoryToPackage.get(OVERLAY_CATEGORY_SYSTEM_PALETTE); in updateThemeOverlays()
741 categoryToPackage.remove(OVERLAY_CATEGORY_SYSTEM_PALETTE); in updateThemeOverlays()
742 categoryToPackage.remove(OVERLAY_CATEGORY_ACCENT_COLOR); in updateThemeOverlays()
743 categoryToPackage.remove(OVERLAY_CATEGORY_DYNAMIC_COLOR); in updateThemeOverlays()
753 categoryToPackage.remove(OVERLAY_CATEGORY_SYSTEM_PALETTE); in updateThemeOverlays()
754 categoryToPackage.remove(OVERLAY_CATEGORY_ACCENT_COLOR); in updateThemeOverlays()
755 categoryToPackage.remove(OVERLAY_CATEGORY_DYNAMIC_COLOR); in updateThemeOverlays()
763 if (!categoryToPackage.containsKey(OVERLAY_CATEGORY_SYSTEM_PALETTE) in updateThemeOverlays()
[all …]
DThemeOverlayApplier.java200 Map<String, OverlayIdentifier> categoryToPackage, in applyCurrentUserOverlays() argument
222 .filter(o -> !categoryToPackage.containsValue( in applyCurrentUserOverlays()
244 if (categoryToPackage.containsKey(category)) { in applyCurrentUserOverlays()
245 OverlayIdentifier overlayInfo = categoryToPackage.get(category); in applyCurrentUserOverlays()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayApplierTest.java251 Map<String, OverlayIdentifier> categoryToPackage = new HashMap<>(ALL_CATEGORIES_MAP); in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled() local
252 categoryToPackage.remove(OVERLAY_CATEGORY_ICON_SETTINGS); in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled()
253 categoryToPackage.remove(OVERLAY_CATEGORY_ICON_ANDROID); in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled()
255 mManager.applyCurrentUserOverlays(categoryToPackage, null, TEST_USER.getIdentifier(), in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled()
258 for (OverlayIdentifier overlayPackage : categoryToPackage.values()) { in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled()
284 Map<String, OverlayIdentifier> categoryToPackage = new HashMap<>(ALL_CATEGORIES_MAP); in nonThemeCategorySpecified_ignored() local
285 categoryToPackage.put("blah.category", new OverlayIdentifier("com.example.blah.category")); in nonThemeCategorySpecified_ignored()
287 mManager.applyCurrentUserOverlays(categoryToPackage, null, TEST_USER.getIdentifier(), in nonThemeCategorySpecified_ignored()