/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
UT_refcount.java | 20 import android.content.res.Resources; 24 private Resources mRes; 26 protected UT_refcount(RSTestCore rstc, Resources res, Context ctx) {
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
VectorEnabledTintResources.java | 22 import android.content.res.Resources; 32 * This class allows us to intercept calls so that we can tint resources (if applicable), and 33 * inflate vector resources from within drawable containers pre-L. 38 public class VectorEnabledTintResources extends Resources { 54 @NonNull final Resources res) { 80 * {@link android.graphics.drawable.DrawableContainer} resources. 88 * resources.
|
TintContextWrapper.java | 24 import android.content.res.Resources; 35 * {@link android.content.res.Resources} instance from {@link #getResources()}. 88 private final Resources mResources; 89 private final Resources.Theme mTheme; 96 // new Resources instance 107 public Resources.Theme getTheme() { 121 public Resources getResources() {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
UserInitializeReceiver.java | 28 import android.content.res.Resources; 37 final Resources resources = context.getResources(); local 39 // com.android.launcher2; Resources needs the real package name, 40 // com.android.launcher. So we ask Resources for what it thinks the 42 final String packageName = resources.getResourcePackageName(R.array.wallpapers); 44 addWallpapers(resources, packageName, R.array.wallpapers, list); 45 addWallpapers(resources, packageName, R.array.extra_wallpapers, list); 60 private void addWallpapers(Resources resources, String packageName, int resid [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
StringConcatenator.java | 18 import android.content.res.Resources; 30 private final Resources mResources; 32 public StringConcatenator(Resources resources) { 33 mResources = resources;
|
/packages/apps/Settings/src/com/android/settings/utils/ |
FileSizeFormatter.java | 21 import android.content.res.Resources; 65 final Resources res = context.getResources(); 74 * @param res Resources to fetch strings with. 80 Resources res, long sizeBytes, int suffix, long mult) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
SettingsShadowResourcesImpl.java | 19 import android.content.res.Resources; 40 public Drawable loadDrawable(Resources wrapper, TypedValue value, int id, int density, 41 Resources.Theme theme) { 55 // color_bar_progress and ring_progress use hidden resources, so just use the regular
|
SettingsShadowResources.java | 10 import android.content.res.Resources; 11 import android.content.res.Resources.NotFoundException; 12 import android.content.res.Resources.Theme; 44 * Shadow Resources and Theme classes to handle resource references that Robolectric shadows cannot 47 @Implements(value = Resources.class, inheritImplementationMethods = true) 51 public Resources realResources; 62 final Resources res = application.getResources(); 65 throw new Resources.NotFoundException("Cannot override \"" + name + "\""); 78 // Handle requests for private dimension resources, 83 return directlyOn(realResources, Resources.class).getDimensionPixelSize(id) [all...] |
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/ |
ProviderEligibilityChecker.java | 23 import android.content.res.Resources; 53 final Resources res = context.getPackageManager() 62 Log.w(TAG, "Cannot find resources for " + id, e); 64 } catch (Resources.NotFoundException e) { 65 Log.w(TAG, "Cannot find resources for " + id, e);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AbstractHtmlTemplates.java | 21 import android.content.res.Resources; 65 protected String readTemplate(int id) throws Resources.NotFoundException { 87 throw new Resources.NotFoundException("Unable to open template id="
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
ResourceWallpaperInfo.java | 3 import android.content.res.Resources; 15 private final Resources mResources; 18 public ResourceWallpaperInfo(Resources res, int resId, Drawable thumb) {
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
DictionaryInfoUtilsTests.java | 19 import android.content.res.Resources; 33 protected SpacingAndPunctuations job(final Resources res) { 37 final Resources res = getContext().getResources();
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
ResourcesManagerTest.java | 71 Resources resources = mResourcesManager.getResources( local 74 assertNotNull(resources); 76 Resources newResources = mResourcesManager.getResources( 80 assertSame(resources, newResources); 85 Resources resources = mResourcesManager.getResources( local 88 assertNotNull(resources); 92 Resources newResources = mResourcesManager.getResources( 96 assertNotSame(resources, newResources) [all...] |
/frameworks/layoutlib/bridge/src/android/graphics/ |
ImageDecoder.java | 23 import android.content.res.Resources; 55 Resources getResources() { return null; } 62 Resources res = getResources(); 122 InputStreamSource(Resources res, InputStream is, int inputDensity) { 131 final Resources mResources; 136 public Resources getResources() { return mResources; } 154 @NonNull Resources res, @NonNull TypedValue value) { 168 private final Resources mResources; 172 public Resources getResources() { return mResources; } 186 ResourceSource(@NonNull Resources res, int resId) [all...] |
/prebuilts/sdk/28/optional/ |
android.test.mock.jar | |
/prebuilts/sdk/current/optional/ |
android.test.mock.jar | |
/prebuilts/sdk/system_current/optional/ |
android.test.mock.jar | |
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
LogicalDylib.h | 38 : Resources(std::move(RHS.Resources)), 41 LogicalModuleResources Resources; 77 return LMH->Resources; 92 if (auto StubSym = LMH->Resources.findSymbol(Name, ExportedSymbolsOnly))
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
HtmlLexerTest.java | 40 import com.google.common.io.Resources; 47 String input = Resources.toString( 48 Resources.getResource(getClass(), "htmllexerinput1.html"), 54 String golden = Resources.toString( 55 Resources.getResource(getClass(), "htmllexergolden1.txt"),
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/ |
PickerUtility.java | 19 import android.content.res.Resources; 40 private DateConstant(Locale locale, Resources resources) { 57 private TimeConstant(Locale locale, Resources resources) { 67 public static DateConstant getDateConstantInstance(Locale locale, Resources resources) { 68 return new DateConstant(locale, resources); 71 public static TimeConstant getTimeConstantInstance(Locale locale, Resources resources) { [all...] |
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
CallTypeIconsView.java | 39 private Resources mResources; 51 mResources = new Resources(context); 116 private static class Resources { 123 public Resources(Context context) { 124 final android.content.res.Resources r = context.getResources();
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
TransitionDrawable.java | 20 import android.content.res.Resources; 32 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p> 89 this(new TransitionState(null, null, null), (Resources) null); 92 private TransitionDrawable(TransitionState state, Resources res) { 101 LayerState createConstantState(LayerState state, Resources res) { 260 TransitionState(TransitionState orig, TransitionDrawable owner, Resources res) { 266 return new TransitionDrawable(this, (Resources) null); 270 public Drawable newDrawable(Resources res) {
|
/cts/tests/tests/content/src/android/content/res/cts/ |
Resources_ThemeTest.java | 23 import android.content.res.Resources; 25 import android.content.res.Resources.Theme; 42 private Resources.Theme mResTheme; 104 Resources.Theme theme = getContext().getResources().newTheme(); 117 Resources.Theme other = getContext().getResources().newTheme(); 126 Resources res = getContext().getResources(); 134 Resources.Theme theme = res.newTheme(); 156 final Resources res = getContext().getResources(); 166 final Resources res = getContext().getResources(); 173 final Resources res = getContext().getResources() [all...] |
ColorStateListTest.java | 25 import android.content.res.Resources; 26 import android.content.res.Resources.NotFoundException; 27 import android.content.res.Resources.Theme; 50 final Resources res = getContext().getResources(); 63 final Resources res = getContext().getResources(); 76 final Resources res = getContext().getResources();
|
/frameworks/base/rs/java/android/renderscript/ |
Font.java | 27 import android.content.res.Resources; 160 static public Font createFromFile(RenderScript rs, Resources res, String path, float pointSize) { 176 static public Font createFromFile(RenderScript rs, Resources res, File path, float pointSize) { 183 static public Font createFromAsset(RenderScript rs, Resources res, String path, float pointSize) { 199 static public Font createFromResource(RenderScript rs, Resources res, int id, float pointSize) { 239 static public Font create(RenderScript rs, Resources res, String familyName, Style fontStyle, float pointSize) {
|