Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableInflater.java62 public static Drawable loadDrawable(@NonNull Context context, @DrawableRes int id) { in loadDrawable() method in DrawableInflater
63 return loadDrawable(context.getResources(), context.getTheme(), id); in loadDrawable()
75 public static Drawable loadDrawable( in loadDrawable() method in DrawableInflater
DIcon.java275 public Drawable loadDrawable(Context context) { in loadDrawable() method in Icon
387 return loadDrawable(context); in loadDrawableAsUser()
841 mMessage.obj = loadDrawable(mContext); in run()
/frameworks/support/compat/tests/java/android/support/v4/graphics/drawable/
DIconCompatTest.java84 Drawable d = compat.toIcon().loadDrawable(InstrumentationRegistry.getContext()); in testCreateWithBitmap()
107 Drawable d = compat.toIcon().loadDrawable(InstrumentationRegistry.getContext()); in testCreateWithAdaptiveBitmap()
135 Drawable d = compat.toIcon().loadDrawable(InstrumentationRegistry.getContext()); in testCreateWithData()
148 Drawable d = compat.toIcon().loadDrawable(InstrumentationRegistry.getContext()); in testCreateWithResource()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java59 final Drawable draw1 = im1.loadDrawable(mContext); in testWithBitmap()
60 final Drawable draw2 = im2.loadDrawable(mContext); in testWithBitmap()
61 final Drawable draw3 = im3.loadDrawable(mContext); in testWithBitmap()
119 final AdaptiveIconDrawable draw1 = (AdaptiveIconDrawable) im1.loadDrawable(mContext); in testWithAdaptiveBitmap()
150 final Drawable draw1 = im1.loadDrawable(mContext); in testWithBitmapResource()
177 final Drawable draw1 = im1.loadDrawable(mContext); in testWithFile()
280 final Drawable draw1 = img.loadDrawable(mContext); in testParcel()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java277 return loadDrawable(context, density, providerInfo.getIconResource(), true); in loadIcon()
297 return loadDrawable(context, density, previewImage, false); in loadPreviewImage()
367 private Drawable loadDrawable(Context context, int density, int resourceId, in loadDrawable() method in AppWidgetProviderInfo
/frameworks/base/telecomm/java/android/telecom/
DStatusHints.java93 return mIcon.loadDrawable(context); in getIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java294 drawable = mTile.getIcon().loadDrawable(mContext); in handleUpdateState()
298 drawable = mDefaultIcon.loadDrawable(mContext); in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DNavBarTuner.java195 .loadDrawable(getContext()); in updateSummary()
236 .loadDrawable(getContext()); in setupIcons()
DLockscreenFragment.java181 return mShortcut.icon.loadDrawable(mContext); in getDrawable()
361 mIconState.drawable = shortcut.icon.loadDrawable(context).mutate(); in ShortcutButton()
DShortcutPicker.java183 setIcon(mShortcut.icon.loadDrawable(getContext())); in onBindViewHolder()
/frameworks/base/media/java/android/media/tv/
DTvInputInfo.java475 return mIcon.loadDrawable(context); in loadIcon()
508 return mIconStandby.loadDrawable(context); in loadIcon()
512 return mIconDisconnected.loadDrawable(context); in loadIcon()
/frameworks/base/core/java/android/content/res/
DResources.java876 return impl.loadDrawable(this, value, id, density, theme); in getDrawableForDensity()
883 Drawable loadDrawable(@NonNull TypedValue value, int id, int density, @Nullable Theme theme) in loadDrawable() method in Resources
885 return mResourcesImpl.loadDrawable(this, value, id, density, theme); in loadDrawable()
DTypedArray.java953 return mResources.loadDrawable(value, value.resourceId, density, mTheme); in getDrawableForDensity()
DResourcesImpl.java527 Drawable loadDrawable(@NonNull Resources wrapper, @NonNull TypedValue value, int id, in loadDrawable() method in ResourcesImpl
/frameworks/base/core/java/android/widget/
DRemoteViews.java1792 final Drawable id1 = i1 == null ? null : i1.loadDrawable(ctx);
1793 final Drawable id2 = i2 == null ? null : i2.loadDrawable(ctx);
1794 final Drawable id3 = i3 == null ? null : i3.loadDrawable(ctx);
1795 final Drawable id4 = i4 == null ? null : i4.loadDrawable(ctx);
1824 copy.id1 = i1 == null ? null : i1.loadDrawable(ctx);
1825 copy.id2 = i2 == null ? null : i2.loadDrawable(ctx);
1826 copy.id3 = i3 == null ? null : i3.loadDrawable(ctx);
1827 copy.id4 = i4 == null ? null : i4.loadDrawable(ctx);
DImageView.java591 setImageDrawable(icon == null ? null : icon.loadDrawable(mContext));
596 … return new ImageDrawableCallback(icon == null ? null : icon.loadDrawable(mContext), null, 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DMediaNotificationProcessor.java108 drawable = largeIcon.loadDrawable(mPackageContext); in processNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java130 return params[0].loadDrawable(mContext); in loadAsync()
/frameworks/base/core/java/android/print/
DPrinterInfo.java138 drawable = icon.loadDrawable(context); in loadIcon()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java153 Drawable catIcon = cat.createIcon(this, size, size).loadDrawable(this); in showNameDialog()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java854 return icon.loadDrawable(mContext); in getShortcutIconDrawable()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1126 Drawable d = largeIcon.loadDrawable(getContext()); in createLegacyIconExtras()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java770 mDisplayIcon = icon != null ? icon.loadDrawable(ChooserActivity.this) : null; in ChooserTargetInfo()
/frameworks/base/api/
Dcurrent.txt14138 method public android.graphics.drawable.Drawable loadDrawable(android.content.Context);
Dsystem-current.txt14918 method public android.graphics.drawable.Drawable loadDrawable(android.content.Context);