Searched defs:getDrawable (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/support/v4/api21/android/support/v4/content/
H A DContextCompatApi21.java25 public static Drawable getDrawable(Context context, int id) { method in class:ContextCompatApi21
26 return context.getDrawable(id);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DTintResources.java44 public Drawable getDrawable(int id) throws NotFoundException { method in class:TintResources
45 Drawable d = super.getDrawable(id);
H A DTintTypedArray.java31 * surface. The purpose of this class is so that we can intercept the {@link #getDrawable(int)}
63 public Drawable getDrawable(int index) { method in class:TintTypedArray
67 return AppCompatDrawableManager.get().getDrawable(mContext, resourceId);
70 return mWrapped.getDrawable(index);
77 return AppCompatDrawableManager.get().getDrawable(mContext, resourceId, true);
/frameworks/support/v4/api21/android/support/v4/content/res/
H A DResourcesCompatApi21.java25 public static Drawable getDrawable(Resources res, int id, Theme theme) method in class:ResourcesCompatApi21
27 return res.getDrawable(id, theme);
/frameworks/support/v4/java/android/support/v4/content/res/
H A DResourcesCompat.java44 * simply calls through to {@link Resources#getDrawable(int)}.
57 public static Drawable getDrawable(@NonNull Resources res, @DrawableRes int id, method in class:ResourcesCompat
60 return ResourcesCompatApi21.getDrawable(res, id, theme);
62 return res.getDrawable(id);
72 * this method simply calls through to {@link Resources#getDrawable(int)}.
97 return res.getDrawable(id);
H A DTypedArrayUtils.java37 public static Drawable getDrawable(TypedArray a, @StyleableRes int index, method in class:TypedArrayUtils
39 Drawable val = a.getDrawable(index);
41 val = a.getDrawable(fallbackIndex);
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DVectorEnabledTintResources.java60 public Drawable getDrawable(int id) throws NotFoundException { method in class:VectorEnabledTintResources
65 return super.getDrawable(id);
70 return super.getDrawable(id);
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
H A DTintResourcesTest.java43 tintResources.getDrawable(android.R.drawable.ic_delete);
60 public Drawable getDrawable(int id) throws NotFoundException { method in class:TintResourcesTest.TestResources
62 return super.getDrawable(id);
/frameworks/base/core/java/android/text/style/
H A DImageSpan.java129 public Drawable getDrawable() { method in class:ImageSpan
149 drawable = mContext.getDrawable(mResourceId);
H A DDynamicDrawableSpan.java71 public abstract Drawable getDrawable(); method in class:DynamicDrawableSpan
116 d = getDrawable();
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DConfirmDialog.java112 public Drawable getDrawable(String source) { method in class:ConfirmDialog
114 Drawable icon = getDrawable(R.drawable.ic_vpn_dialog);
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
H A DPhotoBitmapLoaderInterface.java27 public Drawable getDrawable(Resources resources) { method in class:PhotoBitmapLoaderInterface.BitmapResult
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DRestrictedLockImageSpan.java34 // we are overriding getDrawable, so passing null to super class here.
44 public Drawable getDrawable() { method in class:RestrictedLockImageSpan
51 Drawable drawable = getDrawable();
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DPartner.java55 public static Drawable getDrawable(Context context, int id) { method in class:Partner
57 return entry.resources.getDrawable(entry.id);
/frameworks/base/core/java/com/android/internal/widget/
H A DAccountViewAdapter.java123 public Drawable getDrawable() { method in class:AccountViewAdapter.AccountElements
H A DDrawableHolder.java198 public BitmapDrawable getDrawable() { method in class:DrawableHolder
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DAppCompatActionBar.java150 Drawable iconDrawable = getDrawable(icon, false);
198 private Drawable getDrawable(@NonNull String name, boolean isFramework) { method in class:AppCompatActionBar
203 return ResourceHelper.getDrawable(value, mBridgeContext);
H A DFrameworkActionBarWrapper.java294 Drawable iconDrawable = getDrawable(icon, false);
368 private Drawable getDrawable(@NonNull String name, boolean isFramework) { method in class:FrameworkActionBarWrapper.WindowActionBarWrapper
373 return ResourceHelper.getDrawable(value, mContext);
/frameworks/support/v4/java/android/support/v4/content/
H A DContextCompat.java349 public static final Drawable getDrawable(Context context, int id) { method in class:ContextCompat
352 return ContextCompatApi21.getDrawable(context, id);
354 return context.getResources().getDrawable(id);
356 // Prior to JELLY_BEAN, Resources.getDrawable() would not correctly
368 return context.getResources().getDrawable(resolvedId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DIntentTile.java187 public Drawable getDrawable(Context context) { method in class:IntentTile.BytesIcon
220 public Drawable getDrawable(Context context) { method in class:IntentTile.PackageDrawableIcon
222 return context.createPackageContext(mPackage, 0).getDrawable(mResId);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockResources.java127 public Drawable getDrawable(int id) throws NotFoundException { method in class:MockResources
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java667 * {@link Resources#getDrawable Resources.getDrawable} of the owning
675 public Drawable getDrawable(int index) { method in class:BridgeTypedArray
681 return ResourceHelper.getDrawable(value, mContext, mTheme);
H A DResources_Delegate.java133 static Drawable getDrawable(Resources resources, int id) { method in class:Resources_Delegate
134 return getDrawable(resources, id, null);
138 static Drawable getDrawable(Resources resources, int id, Theme theme) { method in class:Resources_Delegate
142 return ResourceHelper.getDrawable(value.getSecond(), resources.mContext, theme);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java260 public static Drawable getDrawable(ResourceValue value, BridgeContext context) { method in class:ResourceHelper
261 return getDrawable(value, context, null);
271 public static Drawable getDrawable(ResourceValue value, BridgeContext context, Theme theme) { method in class:ResourceHelper
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java917 public Drawable getDrawable(@StyleableRes int index) { method in class:TypedArray

Completed in 631 milliseconds

12