Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/
DIconCacheTest.java50 doReturn(drawable).when(mIcon).loadDrawable(mContext); in setUp()
62 verify(mIcon, times(1)).loadDrawable(mContext); in testGetIcon_iconAlreadyLoaded()
64 verify(mIcon, times(1)).loadDrawable(mContext); in testGetIcon_iconAlreadyLoaded()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableInflater.java64 public static Drawable loadDrawable(@NonNull Context context, @DrawableRes int id) { in loadDrawable() method in DrawableInflater
65 return loadDrawable(context.getResources(), context.getTheme(), id); in loadDrawable()
77 public static Drawable loadDrawable( in loadDrawable() method in DrawableInflater
DIcon.java322 public Drawable loadDrawable(Context context) { in loadDrawable() method in Icon
434 return loadDrawable(context); in loadDrawableAsUser()
940 mMessage.obj = loadDrawable(mContext); in run()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java62 final Drawable draw1 = im1.loadDrawable(mContext); in testWithBitmap()
63 final Drawable draw2 = im2.loadDrawable(mContext); in testWithBitmap()
64 final Drawable draw3 = im3.loadDrawable(mContext); in testWithBitmap()
135 final AdaptiveIconDrawable draw1 = (AdaptiveIconDrawable) im1.loadDrawable(mContext); in testWithAdaptiveBitmap()
166 final Drawable draw1 = im1.loadDrawable(mContext); in testWithBitmapResource()
193 final Drawable draw1 = im1.loadDrawable(mContext); in testWithFile()
296 final Drawable draw1 = img.loadDrawable(mContext); in testParcel()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java336 return loadDrawable(context, density, providerInfo.getIconResource(), true); in loadIcon()
356 return loadDrawable(context, density, previewImage, false); in loadPreviewImage()
418 private Drawable loadDrawable(Context context, int density, int resourceId, in loadDrawable() method in AppWidgetProviderInfo
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DIconCache.java45 drawable = icon.loadDrawable(mContext); in getIcon()
/frameworks/base/telecomm/java/android/telecom/
DStatusHints.java93 return mIcon.loadDrawable(context); in getIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DNavBarTuner.java185 .loadDrawable(getContext()); in updateSummary()
226 .loadDrawable(getContext()); in setupIcons()
DLockscreenFragment.java173 return mShortcut.icon.loadDrawable(mContext); in getDrawable()
353 mIconState.drawable = shortcut.icon.loadDrawable(context).mutate(); in ShortcutButton()
DShortcutPicker.java183 setIcon(mShortcut.icon.loadDrawable(getContext())); in onBindViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java310 drawable = mTile.getIcon().loadDrawable(mContext); in handleUpdateState()
314 drawable = mDefaultIcon.loadDrawable(mContext); in handleUpdateState()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuare.kt62 icon.loadDrawable(context)?.let { in <lambda>()
DQuaresActivity.kt139 val drawable = icon?.loadDrawable(this)?.also { in checkVictory()
/frameworks/base/media/java/android/media/tv/
DTvInputInfo.java495 return mIcon.loadDrawable(context); in loadIcon()
528 return mIconStandby.loadDrawable(context); in loadIcon()
532 return mIconDisconnected.loadDrawable(context); in loadIcon()
/frameworks/base/core/java/android/widget/
DRemoteViews.java1837 final Drawable id1 = i1 == null ? null : i1.loadDrawable(ctx);
1838 final Drawable id2 = i2 == null ? null : i2.loadDrawable(ctx);
1839 final Drawable id3 = i3 == null ? null : i3.loadDrawable(ctx);
1840 final Drawable id4 = i4 == null ? null : i4.loadDrawable(ctx);
1869 copy.id1 = i1 == null ? null : i1.loadDrawable(ctx);
1870 copy.id2 = i2 == null ? null : i2.loadDrawable(ctx);
1871 copy.id3 = i3 == null ? null : i3.loadDrawable(ctx);
1872 copy.id4 = i4 == null ? null : i4.loadDrawable(ctx);
DImageView.java618 setImageDrawable(icon == null ? null : icon.loadDrawable(mContext));
623 … return new ImageDrawableCallback(icon == null ? null : icon.loadDrawable(mContext), null, 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleView.java237 Drawable iconDrawable = ic.loadDrawable(mContext); in updateViews()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationTest.java147 .loadDrawable(context); in testParcelLegacy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DMediaNotificationProcessor.java107 drawable = largeIcon.loadDrawable(mPackageContext); in processNotification()
/frameworks/base/core/java/android/content/res/
DResources.java906 return impl.loadDrawable(this, value, id, density, theme); in getDrawableForDensity()
914 Drawable loadDrawable(@NonNull TypedValue value, int id, int density, @Nullable Theme theme) in loadDrawable() method in Resources
916 return mResourcesImpl.loadDrawable(this, value, id, density, theme); in loadDrawable()
DTypedArray.java1006 return mResources.loadDrawable(value, value.resourceId, density, mTheme); in getDrawableForDensity()
/frameworks/base/core/java/android/print/
DPrinterInfo.java142 drawable = icon.loadDrawable(context); in loadIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java158 return params[0].loadDrawable(mContext); in loadAsync()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java452 final Drawable d = pictureAsIcon.loadDrawable(context); in doNotify()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java271 iconDrawable = icon.getIcon().loadDrawable(mContext); in showSlice()

12