/frameworks/support/v4/api21/android/support/v4/content/ |
H A D | ContextCompatApi21.java | 25 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 D | TintResources.java | 44 public Drawable getDrawable(int id) throws NotFoundException { method in class:TintResources 45 Drawable d = super.getDrawable(id);
|
H A D | TintTypedArray.java | 31 * 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 D | ResourcesCompatApi21.java | 25 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 D | ResourcesCompat.java | 44 * 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 D | TypedArrayUtils.java | 37 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 D | VectorEnabledTintResources.java | 60 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 D | TintResourcesTest.java | 43 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 D | ImageSpan.java | 129 public Drawable getDrawable() { method in class:ImageSpan 149 drawable = mContext.getDrawable(mResourceId);
|
H A D | DynamicDrawableSpan.java | 71 public abstract Drawable getDrawable(); method in class:DynamicDrawableSpan 116 d = getDrawable();
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
H A D | ConfirmDialog.java | 112 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 D | PhotoBitmapLoaderInterface.java | 27 public Drawable getDrawable(Resources resources) { method in class:PhotoBitmapLoaderInterface.BitmapResult
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | RestrictedLockImageSpan.java | 34 // 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 D | Partner.java | 55 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 D | AccountViewAdapter.java | 123 public Drawable getDrawable() { method in class:AccountViewAdapter.AccountElements
|
H A D | DrawableHolder.java | 198 public BitmapDrawable getDrawable() { method in class:DrawableHolder
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | AppCompatActionBar.java | 150 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 D | FrameworkActionBarWrapper.java | 294 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 D | ContextCompat.java | 349 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 D | IntentTile.java | 187 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 D | MockResources.java | 127 public Drawable getDrawable(int id) throws NotFoundException { method in class:MockResources
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 667 * {@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 D | Resources_Delegate.java | 133 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 D | ResourceHelper.java | 260 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 D | TypedArray.java | 917 public Drawable getDrawable(@StyleableRes int index) { method in class:TypedArray
|