/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/ |
D | IconOptionsProvider.java | 75 for (String overlayPackage : mOverlayPackages) { in loadOptions() 76 IconOption option = addOrUpdateOption(optionsByPrefix, overlayPackage, in loadOptions() 80 option.addIcon(loadIconPreviewDrawable(iconName, overlayPackage)); in loadOptions() 84 overlayPackage), e); in loadOptions() 88 for (String overlayPackage : mSysUiIconsOverlayPackages) { in loadOptions() 89 addOrUpdateOption(optionsByPrefix, overlayPackage, OVERLAY_CATEGORY_ICON_SYSUI); in loadOptions() 92 for (String overlayPackage : mSettingsIconsOverlayPackages) { in loadOptions() 93 addOrUpdateOption(optionsByPrefix, overlayPackage, OVERLAY_CATEGORY_ICON_SETTINGS); in loadOptions() 96 for (String overlayPackage : mLauncherIconsOverlayPackages) { in loadOptions() 97 addOrUpdateOption(optionsByPrefix, overlayPackage, OVERLAY_CATEGORY_ICON_LAUNCHER); in loadOptions() [all …]
|
D | FontOptionsProvider.java | 51 for (String overlayPackage : mOverlayPackages) { in loadOptions() 53 Resources overlayRes = getOverlayResources(overlayPackage); in loadOptions() 55 getFontFamily(overlayPackage, overlayRes, CONFIG_HEADLINE_FONT_FAMILY), in loadOptions() 58 getFontFamily(overlayPackage, overlayRes, CONFIG_BODY_FONT_FAMILY), in loadOptions() 61 String label = pm.getApplicationInfo(overlayPackage, 0).loadLabel(pm).toString(); in loadOptions() 62 mOptions.add(new FontOption(overlayPackage, label, headlineFont, bodyFont)); in loadOptions() 65 overlayPackage), e); in loadOptions() 83 private String getFontFamily(String overlayPackage, Resources overlayRes, String configName) { in getFontFamily() argument 84 return overlayRes.getString(overlayRes.getIdentifier(configName, "string", overlayPackage)); in getFontFamily()
|
D | ShapeOptionsProvider.java | 72 for (String overlayPackage : mOverlayPackages) { in loadOptions() 75 .getResourcesForApplication(overlayPackage), overlayPackage); in loadOptions() 77 String label = pm.getApplicationInfo(overlayPackage, 0).loadLabel(pm).toString(); in loadOptions() 78 mOptions.add(new ShapeOption(overlayPackage, label, path, in loadOptions() 79 loadCornerRadius(overlayPackage), createShapeDrawable(path), in loadOptions() 83 overlayPackage), e); in loadOptions()
|
D | ColorOptionsProvider.java | 94 for (String overlayPackage : mOverlayPackages) { in loadOptions() 96 Resources overlayRes = getOverlayResources(overlayPackage); in loadOptions() 98 overlayRes.getIdentifier(ACCENT_COLOR_LIGHT_NAME, "color", overlayPackage), in loadOptions() 101 overlayRes.getIdentifier(ACCENT_COLOR_DARK_NAME, "color", overlayPackage), in loadOptions() 104 String label = pm.getApplicationInfo(overlayPackage, 0).loadLabel(pm).toString(); in loadOptions() 105 ColorOption option = new ColorOption(overlayPackage, label, lightColor, darkColor); in loadOptions() 111 overlayPackage), e); in loadOptions()
|
D | ThemeComponentOptionProvider.java | 75 protected Resources getOverlayResources(String overlayPackage) throws NameNotFoundException { in getOverlayResources() argument 76 return mContext.getPackageManager().getResourcesForApplication(overlayPackage); in getOverlayResources()
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/overlays/ |
D | OverlayActivity.java | 66 for (OverlayManager.OverlayInfo overlayPackage : overlays.get(targetPackage)) { in onCreatePreferences() 68 switchPreference.setKey(overlayPackage.getPackageName()); in onCreatePreferences() 69 switchPreference.setTitle(overlayPackage.getPackageName()); in onCreatePreferences() 71 switchPreference.setChecked(overlayPackage.isEnabled()); in onCreatePreferences() 74 applyOverlay(overlayPackage.getPackageName(), (boolean) newValue); in onCreatePreferences() 88 private void applyOverlay(String overlayPackage, boolean enableOverlay) { in applyOverlay() argument 90 mOverlayManager.applyOverlay(overlayPackage, enableOverlay); in applyOverlay()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | NavigationModeSwitchRule.java | 161 public static boolean setActiveOverlay(LauncherInstrumentation launcher, String overlayPackage, 164 if (!packageExists(overlayPackage)) { 165 Log.d(TAG, "setActiveOverlay: " + overlayPackage + " pkg does not exist"); 169 Log.d(TAG, "setActiveOverlay: " + overlayPackage + "..."); 171 "cmd overlay enable-exclusive --category " + overlayPackage); 199 Wait.atMost("Couldn't switch to " + overlayPackage,
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | SystemNavigationGestureSettings.java | 214 String overlayPackage = NAV_BAR_MODE_GESTURAL_OVERLAY; in setCurrentSystemNavigationMode() local 217 overlayPackage = NAV_BAR_MODE_GESTURAL_OVERLAY; in setCurrentSystemNavigationMode() 220 overlayPackage = NAV_BAR_MODE_2BUTTON_OVERLAY; in setCurrentSystemNavigationMode() 223 overlayPackage = NAV_BAR_MODE_3BUTTON_OVERLAY; in setCurrentSystemNavigationMode() 228 overlayManager.setEnabledExclusiveInCategory(overlayPackage, USER_CURRENT); in setCurrentSystemNavigationMode()
|
D | SystemNavigationPreferenceController.java | 80 static boolean isOverlayPackageAvailable(Context context, String overlayPackage) { in isOverlayPackageAvailable() argument 82 return context.getPackageManager().getPackageInfo(overlayPackage, 0) != null; in isOverlayPackageAvailable()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/ |
D | OverlayThemeExtractor.java | 126 void addNoPreviewIconOverlay(Builder builder, String overlayPackage) { in addNoPreviewIconOverlay() argument 127 if (!TextUtils.isEmpty(overlayPackage)) { in addNoPreviewIconOverlay() 128 builder.addOverlayPackage(getOverlayCategory(overlayPackage), in addNoPreviewIconOverlay() 129 overlayPackage); in addNoPreviewIconOverlay() local
|