Searched defs:getDrawable (Results 1 - 25 of 44) 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/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DConfirmDialog.java90 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 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.java37 * 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 DTintResources.java42 public Drawable getDrawable(int id) throws NotFoundException { method in class:TintResources
43 Drawable d = super.getDrawable(id);
H A DTintManager.java119 * 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 DTintTypedArray.java29 * 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 DResourcesWrapper.java130 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 DImageSpan.java128 public Drawable getDrawable() { method in class:ImageSpan
148 drawable = mContext.getDrawable(mResourceId);
H A DDynamicDrawableSpan.java71 public abstract Drawable getDrawable(); method in class:DynamicDrawableSpan
116 d = getDrawable();
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
H A DPhotoBitmapLoaderInterface.java27 public Drawable getDrawable(Resources resources) { method in class:PhotoBitmapLoaderInterface.BitmapResult
/frameworks/support/v4/java/android/support/v4/content/
H A DContextCompat.java316 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 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.java109 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 DFrameworkActionBarWrapper.java288 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 DResourceHelper.java169 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 DTypedArray.java739 public Drawable getDrawable(int index) { method in class:TypedArray
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DIntentTile.java153 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 DMockResources.java122 public Drawable getDrawable(int id) throws NotFoundException { method in class:MockResources
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeResources.java157 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 DBridgeTypedArray.java672 * {@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 DSuggestionsAdapter.java539 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 DScaleDrawable.java77 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 DUserSwitcherController.java420 public Drawable getDrawable(Context context, UserRecord item) { method in class:UserSwitcherController.BaseUserAdapter
422 return context.getDrawable(R.drawable.ic_add_circle_qs);

Completed in 4220 milliseconds

12