Searched refs:loadDrawable (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/
H A DIconCacheTest.java50 doReturn(drawable).when(mIcon).loadDrawable(mContext);
62 verify(mIcon, times(1)).loadDrawable(mContext);
64 verify(mIcon, times(1)).loadDrawable(mContext);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
H A DIconCache.java44 drawable = icon.loadDrawable(mContext);
/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/androidTest/java/androidx/core/graphics/drawable/
H A DIconCompatTest.java147 Drawable d = compat.toIcon().loadDrawable(InstrumentationRegistry.getContext());
169 Drawable d = compat.toIcon().loadDrawable(InstrumentationRegistry.getContext());
196 Drawable d = compat.toIcon().loadDrawable(InstrumentationRegistry.getContext());
208 Drawable d = compat.toIcon().loadDrawable(InstrumentationRegistry.getContext());
326 assertNotNull(icon.loadDrawable(mContext));
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A DIconTest.java61 final Drawable draw1 = im1.loadDrawable(mContext);
62 final Drawable draw2 = im2.loadDrawable(mContext);
63 final Drawable draw3 = im3.loadDrawable(mContext);
134 final AdaptiveIconDrawable draw1 = (AdaptiveIconDrawable) im1.loadDrawable(mContext);
165 final Drawable draw1 = im1.loadDrawable(mContext);
192 final Drawable draw1 = im1.loadDrawable(mContext);
295 final Drawable draw1 = img.loadDrawable(mContext);
/frameworks/base/telecomm/java/android/telecom/
H A DStatusHints.java93 return mIcon.loadDrawable(context);
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
H A DMessageView.java82 Drawable d = source.getIcon().loadDrawable(getContext());
H A DSliceActionView.java105 Drawable d = mSliceAction.getIcon().loadDrawable(getContext());
H A DSliceViewUtil.java158 v.setImageDrawable(icon.loadDrawable(context));
H A DRowView.java396 seekBar.setThumb(thumb.getIcon().loadDrawable(getContext()));
474 iv.setImageDrawable(icon.loadDrawable(getContext()));
H A DActionRow.java98 imageView.setImageDrawable(icon.loadDrawable(getContext()));
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/drawable/
H A DIconTest.kt90 val drawable = loadDrawable(context)
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DNavBarTuner.java184 .loadDrawable(getContext());
225 .loadDrawable(getContext());
H A DLockscreenFragment.java181 return mShortcut.icon.loadDrawable(mContext);
361 mIconState.drawable = shortcut.icon.loadDrawable(context).mutate();
H A DShortcutPicker.java183 setIcon(mShortcut.icon.loadDrawable(getContext()));
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DCustomTile.java302 drawable = mTile.getIcon().loadDrawable(mContext);
306 drawable = mDefaultIcon.loadDrawable(mContext);
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
H A DTextClassificationTest.java133 .loadDrawable(context);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DMediaNotificationProcessor.java107 drawable = largeIcon.loadDrawable(mPackageContext);
/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/print/
H A DPrinterInfo.java142 drawable = icon.loadDrawable(context);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonView.java141 return params[0].loadDrawable(mContext);
/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);
/frameworks/base/media/java/android/media/tv/
H A DTvInputInfo.java475 return mIcon.loadDrawable(context);
508 return mIconStandby.loadDrawable(context);
512 return mIconDisconnected.loadDrawable(context);

Completed in 367 milliseconds

12