Searched refs:overlayRes (Results 1 – 5 of 5) sorted by relevance
/packages/apps/ThemePicker/src/com/android/customization/model/theme/ |
D | OverlayThemeExtractor.java | 212 Resources overlayRes = mContext.getPackageManager() in loadTypeface() local 215 String fontFamily = overlayRes.getString(overlayRes.getIdentifier(configName, in loadTypeface() 223 Resources overlayRes = mContext.getPackageManager() in loadColor() local 225 return overlayRes.getColor(overlayRes.getIdentifier(colorName, "color", colorPackage), in loadColor() 232 Resources overlayRes = in loadString() local 235 return overlayRes.getString(overlayRes.getIdentifier(stringName, "string", packageName)); in loadString() 242 Resources overlayRes = in loadDimen() local 245 return overlayRes.getDimensionPixelOffset(overlayRes.getIdentifier( in loadDimen() 252 Resources overlayRes = in loadBoolean() local 255 return overlayRes.getBoolean(overlayRes.getIdentifier( in loadBoolean()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | PreBootReceiver.java | 72 Resources overlayRes; in onReceive() local 74 overlayRes = pm.getResourcesForApplication(overlayPkg); in onReceive() 77 overlayRes = null; in onReceive() 79 if (overlayRes == null) { in onReceive() 84 overlayPkg, overlayRes, CONFIG_IS_LAUNCHER_ENABLED); in onReceive() 86 overlayPkg, overlayRes, CONFIG_HANDLE_VIEW_DOWNLOADS); in onReceive() 90 String className, String overlayPkg, Resources overlayRes, String config) { in setComponentEnabledByConfigResources() argument 91 int resId = overlayRes.getIdentifier(config, "bool", overlayPkg); in setComponentEnabledByConfigResources() 94 final boolean value = overlayRes.getBoolean(resId); in setComponentEnabledByConfigResources()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/ |
D | ColorOptionsProvider.java | 96 Resources overlayRes = getOverlayResources(overlayPackage); in loadOptions() local 97 int lightColor = overlayRes.getColor( in loadOptions() 98 overlayRes.getIdentifier(ACCENT_COLOR_LIGHT_NAME, "color", overlayPackage), in loadOptions() 100 int darkColor = overlayRes.getColor( in loadOptions() 101 overlayRes.getIdentifier(ACCENT_COLOR_DARK_NAME, "color", overlayPackage), in loadOptions() 146 Resources overlayRes = getOverlayResources(packageName); in loadIconPreviewDrawable() local 147 return overlayRes.getDrawable( in loadIconPreviewDrawable() 148 overlayRes.getIdentifier(drawableName, "drawable", packageName), null); in loadIconPreviewDrawable()
|
D | FontOptionsProvider.java | 53 Resources overlayRes = getOverlayResources(overlayPackage); in loadOptions() local 55 getFontFamily(overlayPackage, overlayRes, CONFIG_HEADLINE_FONT_FAMILY), in loadOptions() 58 getFontFamily(overlayPackage, overlayRes, CONFIG_BODY_FONT_FAMILY), 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 | 123 private Path loadPath(Resources overlayRes, String packageName) { in loadPath() argument 124 String shape = overlayRes.getString(overlayRes.getIdentifier(CONFIG_ICON_MASK, "string", in loadPath() 137 Resources overlayRes = in loadCornerRadius() local 140 return overlayRes.getDimensionPixelOffset(overlayRes.getIdentifier( in loadCornerRadius()
|