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;
23 import com.android.customization.model.ResourceConstants;
51 om.getOverlayInfosForTarget(ResourceConstants.getLauncherPackage(context), user) in OverlayThemeExtractor()
68 .setColorAccentLight(loadColor(ResourceConstants.ACCENT_COLOR_LIGHT_NAME, in addColorOverlay()
70 .setColorAccentDark(loadColor(ResourceConstants.ACCENT_COLOR_DARK_NAME, in addColorOverlay()
88 loadString(ResourceConstants.CONFIG_ICON_MASK, shapeOverlayPackage)) in addShapeOverlay()
90 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;
156 ResourceConstants.THEME_SETTING, theme.getSerializedPackagesWithTimestamp());
[all …]
DDefaultThemeProvider.java20 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_COLOR;
23 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_FONT;
24 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_ANDROID;
25 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_LAUNCHER;
26 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_SETTINGS;
27 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_SYSUI;
28 import static com.android.customization.model.ResourceConstants.OVERLAY_CATEGORY_ICON_THEMEPICKER;
29 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/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/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()
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;
40 import com.android.customization.model.ResourceConstants;
92 system.getIdentifier(ResourceConstants.CONFIG_CORNERRADIUS, in addDefault()
93 "dimen", ResourceConstants.ANDROID_PACKAGE)), in addDefault()
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()
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;
57 import com.android.customization.model.ResourceConstants;
248 ResourceConstants.getPackagesToOverlay(context).length; in isValid()
DThemeComponentOptionProvider.java24 import com.android.customization.model.ResourceConstants;
46 UserHandle.myUserId(), ResourceConstants.getPackagesToOverlay(mContext))); in ThemeComponentOptionProvider()
/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/grid/
DLauncherGridOptionsProvider.java33 import com.android.customization.model.ResourceConstants;
101 ResourceConstants.CONFIG_ICON_MASK, "string", ResourceConstants.ANDROID_PACKAGE)); in fetch()
/packages/apps/ThemePicker/src/com/android/customization/model/
DResourceConstants.java30 public interface ResourceConstants { interface