Searched defs:loadDrawable (Results 1 - 6 of 6) 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.java270 * Invokes {@link #loadDrawable(Context)} on the given {@link android.os.Handler Handler}
274 * {@link #loadDrawable(Context)}
287 * Invokes {@link #loadDrawable(Context)} on a background thread and notifies the <code>
292 * {@link #loadDrawable(Context)}
294 * {@link #loadDrawable(Context)} finished
312 public Drawable loadDrawable(Context context) { method in class:Icon
424 return loadDrawable(context);
892 * Wrapper around loadDrawable that does its work on a pooled thread and then
917 mMessage.obj = loadDrawable(mContext);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProviderInfo.java334 return loadDrawable(context, density, providerInfo.getIconResource(), true);
354 return loadDrawable(context, density, previewImage, false);
416 private Drawable loadDrawable(Context context, int density, int resourceId, method in class:AppWidgetProviderInfo
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/
H A DIconCompat.java388 public Drawable loadDrawable(Context context) { method in class:IconCompat
390 return toIcon().loadDrawable(context);
/frameworks/base/core/java/android/content/res/
H A DResources.java888 return impl.loadDrawable(this, value, id, density, theme);
895 Drawable loadDrawable(@NonNull TypedValue value, int id, int density, @Nullable Theme theme) method in class:Resources
897 return mResourcesImpl.loadDrawable(this, value, id, density, theme);
H A DResourcesImpl.java548 Drawable loadDrawable(@NonNull Resources wrapper, @NonNull TypedValue value, int id, method in class:ResourcesImpl

Completed in 327 milliseconds