Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayManagerTest.java184 Map<String, String> categoryToPackage = new HashMap<>(ALL_CATEGORIES_MAP); in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled() local
185 categoryToPackage.remove(OVERLAY_CATEGORY_ICON_SETTINGS); in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled()
186 categoryToPackage.remove(OVERLAY_CATEGORY_ICON_ANDROID); in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled()
188 mManager.applyCurrentUserOverlays(categoryToPackage, TEST_USER_HANDLES); in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled()
190 for (String overlayPackage : categoryToPackage.values()) { in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled()
210 Map<String, String> categoryToPackage = new HashMap<>(ALL_CATEGORIES_MAP); in nonThemeCategorySpecified_ignored() local
211 categoryToPackage.put("blah.category", "com.example.blah.category"); in nonThemeCategorySpecified_ignored()
213 mManager.applyCurrentUserOverlays(categoryToPackage, TEST_USER_HANDLES); in nonThemeCategorySpecified_ignored()
222 Map<String, String> categoryToPackage = new HashMap<>(ALL_CATEGORIES_MAP); in overlayManagerOnlyQueriedForUnspecifiedPackages() local
223 categoryToPackage.remove(OVERLAY_CATEGORY_ICON_SETTINGS); in overlayManagerOnlyQueriedForUnspecifiedPackages()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayManager.java135 Map<String, String> categoryToPackage, Set<UserHandle> userHandles) { in applyCurrentUserOverlays() argument
138 overlayCategoriesToDisable.removeAll(categoryToPackage.keySet()); in applyCurrentUserOverlays()
154 if (categoryToPackage.containsKey(category)) { in applyCurrentUserOverlays()
155 setEnabled(categoryToPackage.get(category), category, userHandles, true); in applyCurrentUserOverlays()
DThemeOverlayController.java105 final Map<String, String> categoryToPackage = new ArrayMap<>(); in updateThemeOverlays() local
111 categoryToPackage.put(category, object.getString(category)); in updateThemeOverlays()
124 mThemeManager.applyCurrentUserOverlays(categoryToPackage, userHandles); in updateThemeOverlays()