/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/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
H A D | ConfirmDialog.java | 90 public Drawable getDrawable(String source) { method in class:ConfirmDialog 92 Drawable icon = getDrawable(R.drawable.ic_vpn_dialog);
|
/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 | 37 * simply calls through to {@link Resources#getDrawable(int)}. 49 public static Drawable getDrawable(Resources res, int id, Theme theme) method in class:ResourcesCompat 53 return ResourcesCompatApi21.getDrawable(res, id, theme); 55 return res.getDrawable(id); 65 * this method simply calls through to {@link Resources#getDrawable(int)}. 90 return res.getDrawable(id);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | TintResources.java | 42 public Drawable getDrawable(int id) throws NotFoundException { method in class:TintResources 43 Drawable d = super.getDrawable(id);
|
H A D | TintManager.java | 119 * A helper method to instantiate a {@link TintManager} and then call {@link #getDrawable(int)}. 122 public static Drawable getDrawable(Context context, int resId) { method in class:TintManager 124 return new TintManager(context).getDrawable(resId); 126 return ContextCompat.getDrawable(context, resId); 136 public Drawable getDrawable(int resId) { method in class:TintManager 137 Drawable drawable = ContextCompat.getDrawable(mContext, resId); 152 drawable = mResources.getDrawable(resId);
|
H A D | TintTypedArray.java | 29 * surface. The purpose of this class is so that we can intercept the {@link #getDrawable(int)} 58 public Drawable getDrawable(int index) { method in class:TintTypedArray 62 return getTintManager().getDrawable(resourceId); 65 return mWrapped.getDrawable(index);
|
H A D | ResourcesWrapper.java | 130 public Drawable getDrawable(int id) throws NotFoundException { method in class:ResourcesWrapper 131 return mResources.getDrawable(id); 135 public Drawable getDrawable(int id, Theme theme) throws NotFoundException { method in class:ResourcesWrapper 136 return mResources.getDrawable(id, theme);
|
/frameworks/base/core/java/android/text/style/ |
H A D | ImageSpan.java | 128 public Drawable getDrawable() { method in class:ImageSpan 148 drawable = mContext.getDrawable(mResourceId);
|
H A D | DynamicDrawableSpan.java | 71 public abstract Drawable getDrawable(); method in class:DynamicDrawableSpan 116 d = getDrawable();
|
/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/support/v4/java/android/support/v4/content/ |
H A D | ContextCompat.java | 316 public static final Drawable getDrawable(Context context, int id) { method in class:ContextCompat 319 return ContextCompatApi21.getDrawable(context, id); 321 return context.getResources().getDrawable(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 | 109 Drawable iconDrawable = getDrawable(icon, false); 157 private Drawable getDrawable(@NonNull String name, boolean isFramework) { method in class:AppCompatActionBar 162 return ResourceHelper.getDrawable(value, mBridgeContext);
|
H A D | FrameworkActionBarWrapper.java | 288 Drawable iconDrawable = getDrawable(icon, false); 362 private Drawable getDrawable(@NonNull String name, boolean isFramework) { method in class:FrameworkActionBarWrapper.WindowActionBarWrapper 367 return ResourceHelper.getDrawable(value, mContext);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 169 public static Drawable getDrawable(ResourceValue value, BridgeContext context) { method in class:ResourceHelper 170 return getDrawable(value, context, null); 180 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 | 739 public Drawable getDrawable(int index) { method in class:TypedArray
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | IntentTile.java | 153 public Drawable getDrawable(Context context) { method in class:IntentTile.BytesIcon 186 public Drawable getDrawable(Context context) { method in class:IntentTile.PackageDrawableIcon 188 return context.createPackageContext(mPackage, 0).getDrawable(mResId);
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockResources.java | 122 public Drawable getDrawable(int id) throws NotFoundException { method in class:MockResources
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeResources.java | 157 public Drawable getDrawable(int id) throws NotFoundException { method in class:BridgeResources 158 return getDrawable(id, null); 162 public Drawable getDrawable(int id, Theme theme) { method in class:BridgeResources 166 return ResourceHelper.getDrawable(value.getSecond(), mContext, theme);
|
H A D | BridgeTypedArray.java | 672 * {@link Resources#getDrawable Resources.getDrawable} of the owning 680 public Drawable getDrawable(int index) { method in class:BridgeTypedArray 686 return ResourceHelper.getDrawable(value, mContext, mTheme);
|
/frameworks/base/core/java/android/widget/ |
H A D | SuggestionsAdapter.java | 539 drawable = mProviderContext.getDrawable(resourceId); 550 drawable = getDrawable(uri); 565 private Drawable getDrawable(Uri uri) { method in class:SuggestionsAdapter 573 return r.r.getDrawable(r.id, mContext.getTheme()); 675 Drawable drawable = pm.getDrawable(pkg, iconId, activityInfo.applicationInfo);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ScaleDrawable.java | 77 public Drawable getDrawable() { method in class:ScaleDrawable 181 final Drawable dr = a.getDrawable(R.styleable.ScaleDrawable_drawable);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | UserSwitcherController.java | 420 public Drawable getDrawable(Context context, UserRecord item) { method in class:UserSwitcherController.BaseUserAdapter 422 return context.getDrawable(R.drawable.ic_add_circle_qs);
|