/frameworks/base/services/tests/servicestests/src/com/android/server/textclassifier/ |
D | IconsContentProviderTest.java | 46 final Drawable expected = Icon.createWithResource(packageName, resId).loadDrawable(context); in testLoadResource() 51 final Drawable actual = Icon.createWithContentUri(uri).loadDrawable(context); in testLoadResource() 66 assertThat(Icon.createWithContentUri(badUri).loadDrawable(context)).isNull(); in testLoadResource_badUri()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/ |
D | IconCacheTest.java | 50 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/ |
D | DrawableInflater.java | 64 public static @Nullable Drawable loadDrawable(@NonNull Context context, @DrawableRes int id) { in loadDrawable() method in DrawableInflater 65 return loadDrawable(context.getResources(), context.getTheme(), id); in loadDrawable() 76 public static @Nullable Drawable loadDrawable(@NonNull Resources resources, in loadDrawable() method in DrawableInflater
|
D | Icon.java | 353 public @Nullable Drawable loadDrawable(Context context) { in loadDrawable() method in Icon 490 return loadDrawable(context); in loadDrawableAsUser() 1045 mMessage.obj = loadDrawable(mContext); in run()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | IconTest.java | 62 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() 216 final Drawable draw1 = im1.loadDrawable(getContext()); in testWithStatSysAdbResource() 248 final Drawable draw1 = im1.loadDrawable(mContext); in testWithFile() 351 final Drawable draw1 = img.loadDrawable(mContext); in testParcel()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LocalImageResolver.java | 117 return icon.loadDrawable(context); in resolveImage() 135 return icon.loadDrawable(context); in resolveImage() 187 return smallerIcon.loadDrawable(context); in resolveBitmapImage() 191 return icon.loadDrawable(context); in resolveBitmapImage()
|
D | EmphasizedNotificationButton.java | 85 final Drawable drawable = icon == null ? null : icon.loadDrawable(mContext); in setImageIcon() 94 final Drawable drawable = icon == null ? null : icon.loadDrawable(mContext); in setImageIconAsync()
|
D | BigPictureNotificationImageView.java | 107 return icon.loadDrawable(mContext); in loadImage()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | IconCache.java | 45 drawable = icon.loadDrawable(mContext); in getIcon()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProviderInfo.java | 427 return loadDrawable(context, density, providerInfo.getIconResource(), true); in loadIcon() 447 return loadDrawable(context, density, previewImage, false); in loadPreviewImage() 555 private Drawable loadDrawable(Context context, int density, int resourceId, in loadDrawable() method in AppWidgetProviderInfo
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | CustomTileTest.kt | 175 `when`(customTile.qsTile.icon.loadDrawable(any(Context::class.java))) in testValueUpdatedInBooleanTile() 197 `when`(customTile.qsTile.icon.loadDrawable(any(Context::class.java))) in testNoCrashOnNullDrawable() 247 `when`(tile.qsTile.icon.loadDrawable(any(Context::class.java))) in testPersistedStateRetrieved() 378 `when`(tile.qsTile.icon.loadDrawable(any(Context::class.java))) in testActiveTileDoesntListenAfterFirstTime()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleIconFactory.java | 64 return ic.loadDrawable(context); in getBubbleDrawable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileRequestDialog.kt | 73 icon = tileData.icon?.loadDrawable(context)?.let { in createTileView()
|
/frameworks/base/core/java/android/widget/ |
D | AnalogClock.java | 220 mDial = icon.loadDrawable(getContext()); in setDial() 296 mHourHand = icon.loadDrawable(getContext()); in setHourHand() 373 mMinuteHand = icon.loadDrawable(getContext()); in setMinuteHand() 453 mSecondHand = icon == null ? null : icon.loadDrawable(getContext()); in setSecondHand()
|
D | CompoundButton.java | 355 setButtonDrawable(icon == null ? null : icon.loadDrawable(getContext())); in setButtonIcon() 360 Drawable button = icon == null ? null : icon.loadDrawable(getContext()); in setButtonIconAsync()
|
D | Switch.java | 584 setTrackDrawable(icon == null ? null : icon.loadDrawable(getContext())); in setTrackIcon() 589 Drawable track = icon == null ? null : icon.loadDrawable(getContext()); in setTrackIconAsync() 765 setThumbDrawable(icon == null ? null : icon.loadDrawable(getContext())); in setThumbIcon() 770 Drawable track = icon == null ? null : icon.loadDrawable(getContext()); in setThumbIconAsync()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | NavBarTuner.java | 186 .loadDrawable(getContext()); in updateSummary() 227 .loadDrawable(getContext()); in setupIcons()
|
D | LockscreenFragment.java | 173 return mShortcut.icon.loadDrawable(mContext); in getDrawable() 353 mIconState.drawable = shortcut.icon.loadDrawable(context).mutate(); in ShortcutButton()
|
D | ShortcutPicker.java | 183 setIcon(mShortcut.icon.loadDrawable(getContext())); in onBindViewHolder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | WalletScreenController.java | 345 mCardDrawable = mWalletCard.getCardImage().loadDrawable(context); in QAWalletCardViewInfo() 348 mIconDrawable = icon == null ? null : icon.loadDrawable(context); in QAWalletCardViewInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ThumbnailBehavior.kt | 83 val drawable = template.getThumbnail().loadDrawable(cvh.context) in bind()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextClassificationTest.java | 151 .loadDrawable(context); in testParcelLegacy() 239 .setIcon(icon1.loadDrawable(context)) in testToBuilder()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | StatusHints.java | 118 return mIcon.loadDrawable(context); in getIcon()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/ |
D | Quare.kt | 62 icon.loadDrawable(context)?.let { in <lambda>()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvInputInfo.java | 506 return mIcon.loadDrawable(context); in loadIcon() 539 return mIconStandby.loadDrawable(context); in loadIcon() 543 return mIconDisconnected.loadDrawable(context); in loadIcon()
|