Searched defs:loadDrawable (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableInflater.java62 public static Drawable loadDrawable(@NonNull Context context, @DrawableRes int id) { method in class:DrawableInflater
63 return loadDrawable(context.getResources(), context.getTheme(), id);
75 public static Drawable loadDrawable( method in class:DrawableInflater
H A DIcon.java229 * Invokes {@link #loadDrawable(Context)} on the given {@link android.os.Handler Handler}
233 * {@link #loadDrawable(Context)}
246 * Invokes {@link #loadDrawable(Context)} on a background thread and notifies the <code>
251 * {@link #loadDrawable(Context)}
253 * {@link #loadDrawable(Context)} finished
271 public Drawable loadDrawable(Context context) { method in class:Icon
380 return loadDrawable(context);
788 * Wrapper around loadDrawable that does its work on a pooled thread and then
813 mMessage.obj = loadDrawable(mContext);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProviderInfo.java274 return loadDrawable(context, density, providerInfo.getIconResource(), true);
294 return loadDrawable(context, density, previewImage, false);
364 private Drawable loadDrawable(Context context, int density, int resourceId, method in class:AppWidgetProviderInfo
/frameworks/base/core/java/android/content/res/
H A DResources.java771 return impl.loadDrawable(this, value, id, theme, true);
849 return impl.loadDrawable(this, value, id, theme, useCache);
856 Drawable loadDrawable(@NonNull TypedValue value, int id, @Nullable Theme theme) method in class:Resources
858 return mResourcesImpl.loadDrawable(this, value, id, theme, true);
H A DResourcesImpl.java519 Drawable loadDrawable(Resources wrapper, TypedValue value, int id, Resources.Theme theme, method in class:ResourcesImpl

Completed in 162 milliseconds