Home
last modified time | relevance | path

Searched refs:ResourceConstants (Results 1 – 15 of 15) sorted by relevance

/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DOverlayThemeExtractor.java3 import static com.android.customization.model.ResourceConstants.ANDROID_PACKAGE;
4 import static com.android.customization.model.ResourceConstants.ICONS_FOR_PREVIEW;
5 import static com.android.customization.model.ResourceConstants.SETTINGS_PACKAGE;
6 import static com.android.customization.model.ResourceConstants.SYSUI_PACKAGE;
24 import com.android.customization.model.ResourceConstants;
55 om.getOverlayInfosForTarget(ResourceConstants.getLauncherPackage(context), user) in OverlayThemeExtractor()
72 .setColorAccentLight(loadColor(ResourceConstants.ACCENT_COLOR_LIGHT_NAME, in addColorOverlay()
74 .setColorAccentDark(loadColor(ResourceConstants.ACCENT_COLOR_DARK_NAME, in addColorOverlay()
92 loadString(ResourceConstants.CONFIG_ICON_MASK, shapeOverlayPackage)) in addShapeOverlay()
94 loadDimen(ResourceConstants.CONFIG_CORNERRADIUS, shapeOverlayPackage)); in addShapeOverlay()
[all …]
DThemeManager.java18 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_COLOR;
19 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_FONT;
20 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_ANDROID;
21 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_LAUNCHER;
22 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_SETTINGS;
23 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_SYSUI;
24 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_THEMEPICKER;
25 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_SHAPE;
34 import com.android.customization.model.ResourceConstants;
87 ResourceConstants.THEME_SETTING, theme.getSerializedPackagesWithTimestamp()); in applyOverlays()
[all …]
DDefaultThemeProvider.java18 import static com.android.customization.model.ResourceConstants.ANDROID_PACKAGE;
19 import static com.android.customization.model.ResourceConstants.ICONS_FOR_PREVIEW;
20 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_COLOR;
21 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_FONT;
22 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_ANDROID;
23 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_LAUNCHER;
24 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_SETTINGS;
25 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_SYSUI;
26 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_THEMEPICKER;
27 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_SHAPE;
[all …]
DThemeBundle.java18 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_COLOR;
19 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_FONT;
20 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_ANDROID;
21 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_SHAPE;
22 import static com.android.customization.model.ResourceConstants.PATH_SIZE;
DOverlayManagerCompat.java25 import com.android.customization.model.ResourceConstants;
44 mTargetPackages = ResourceConstants.getPackagesToOverlay(context); in OverlayManagerCompat()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DColorOptionsProvider.java18 import static com.android.customization.model.ResourceConstants.ACCENT_COLOR_DARK_NAME;
19 import static com.android.customization.model.ResourceConstants.ACCENT_COLOR_LIGHT_NAME;
20 import static com.android.customization.model.ResourceConstants.ANDROID_PACKAGE;
21 import static com.android.customization.model.ResourceConstants.ICONS_FOR_PREVIEW;
22 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ANDROID_THEME;
23 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_COLOR;
24 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_ANDROID;
25 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_SHAPE;
26 import static com.android.customization.model.ResourceConstants.PATH_SIZE;
42 import com.android.customization.model.ResourceConstants;
[all …]
DIconOptionsProvider.java18 import static com.android.customization.model.ResourceConstants.ANDROID_PACKAGE;
19 import static com.android.customization.model.ResourceConstants.ICONS_FOR_PREVIEW;
20 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_ANDROID;
21 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_LAUNCHER;
22 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_SETTINGS;
23 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_SYSUI;
24 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_THEMEPICKER;
34 import com.android.customization.model.ResourceConstants;
59 String[] targetPackages = ResourceConstants.getPackagesToOverlay(context); in IconOptionsProvider()
DFontOptionsProvider.java18 import static com.android.customization.model.ResourceConstants.ANDROID_PACKAGE;
19 import static com.android.customization.model.ResourceConstants.CONFIG_BODY_FONT_FAMILY;
20 import static com.android.customization.model.ResourceConstants.CONFIG_HEADLINE_FONT_FAMILY;
21 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_FONT;
31 import com.android.customization.model.ResourceConstants;
73 ResourceConstants.CONFIG_HEADLINE_FONT_FAMILY,"string", ANDROID_PACKAGE)), in addDefault()
76 ResourceConstants.CONFIG_BODY_FONT_FAMILY, in addDefault()
DShapeOptionsProvider.java18 import static com.android.customization.model.ResourceConstants.ANDROID_PACKAGE;
19 import static com.android.customization.model.ResourceConstants.CONFIG_CORNERRADIUS;
20 import static com.android.customization.model.ResourceConstants.CONFIG_ICON_MASK;
21 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_SHAPE;
22 import static com.android.customization.model.ResourceConstants.PATH_SIZE;
41 import com.android.customization.model.ResourceConstants;
93 system.getIdentifier(ResourceConstants.CONFIG_CORNERRADIUS, in addDefault()
94 "dimen", ResourceConstants.ANDROID_PACKAGE)), in addDefault()
DThemeComponentOption.java18 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_COLOR;
19 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_FONT;
20 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_ANDROID;
21 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_LAUNCHER;
22 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_SETTINGS;
23 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_SYSUI;
24 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_THEMEPICKER;
25 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_SHAPE;
26 import static com.android.customization.model.ResourceConstants.getLauncherPackage;
62 import com.android.customization.model.ResourceConstants;
[all …]
DThemeComponentOptionProvider.java24 import com.android.customization.model.ResourceConstants;
46 UserHandle.myUserId(), ResourceConstants.getPackagesToOverlay(mContext))); in ThemeComponentOptionProvider()
/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/model/theme/
DThemeManagerTest.java18 import static com.android.customization.model.ResourceConstants.ANDROID_PACKAGE;
19 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_COLOR;
20 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_FONT;
21 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_ANDROID;
22 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_SETTINGS;
23 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_SYSUI;
24 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_SHAPE;
25 import static com.android.customization.model.ResourceConstants.SETTINGS_PACKAGE;
26 import static com.android.customization.model.ResourceConstants.SYSUI_PACKAGE;
27 import static com.android.customization.model.ResourceConstants.THEME_SETTING;
/packages/apps/ThemePicker/src/com/android/customization/model/grid/
DLauncherGridOptionsProvider.java29 import com.android.customization.model.ResourceConstants;
81 ResourceConstants.CONFIG_ICON_MASK, "string", ResourceConstants.ANDROID_PACKAGE)); in fetch()
/packages/apps/ThemePicker/src/com/android/customization/module/
DStatsLogUserEventLogger.java18 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_COLOR;
19 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_FONT;
20 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_SHAPE;
/packages/apps/ThemePicker/src/com/android/customization/model/
DResourceConstants.java30 public interface ResourceConstants { interface