/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | LocalImageResolverTest.java | 51 Icon icon = Icon.createWithResource(mContext, 0x85849454); in resolveImage_invalidResource_returnsNull() local 60 Icon icon = Icon.createWithContentUri(Uri.parse("bogus://uri")); in resolveImage_invalidIconUri_returnsNull() local 73 Icon icon = Icon.createWithResource(mContext, R.drawable.blue); in resolveImage_nonBitmapResourceIcon_fallsBackToNonResizingLoad() local 94 Icon icon = Icon.createWithBitmap( in resolveImage_largeBitmapIcon_defaultSize_resizeToDefaultSize() local 110 Icon icon = Icon.createWithAdaptiveBitmap( in resolveImage_largeAdaptiveBitmapIcon_defaultSize_resizeToDefaultSize() local 126 Icon icon = Icon.createWithResource(mContext, R.drawable.big_a); in resolveImage_largeResourceIcon_defaultSize_resizeToDefaultSize() local 140 Icon icon = Icon.createWithResource(mContext, R.drawable.big_a); in resolveImage_largeResourceIcon_passedSize_resizeToDefinedSize() local 151 Icon icon = Icon.createWithResource(mContext, R.drawable.big_a); in resolveImage_largeResourceIcon_negativeWidth_dontResize() local 163 Icon icon = Icon.createWithResource(mContext, R.drawable.big_a); in resolveImage_largeResourceIcon_negativeHeight_dontResize() local 175 Icon icon = Icon.createWithBitmap( in resolveImage_largeBitmapIcon_passedNegativeWidth_dontResize() local [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | AdaptiveIconTest.java | 67 final AdaptiveIcon icon = in createIcon_shouldSetBackgroundAndInset() local 76 final AdaptiveIcon icon = in setBackgroundColor_shouldUpdateColorFilter() local 92 final AdaptiveIcon icon = in setBackgroundColor_externalTileWithBackgroundColorRawValue_shouldUpdateIcon() local 104 final AdaptiveIcon icon = new AdaptiveIcon(mContext, new ColorDrawable(Color.BLACK)); in setBackgroundColor_tileWithoutBackgroundColor_shouldSetDefaultBackgroundColor() local 120 final AdaptiveIcon icon = in onBindTile_externalTileWithBackgroundColorHint_shouldUpdateIcon() local 130 final AdaptiveIcon icon = in getConstantState_returnCorrectState() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileRequestDialogTest.kt | 64 val icon = Icon.createWithResource(mContext, R.drawable.cloud) in setTileData_hasCorrectViews() constant 79 val icon = Icon.createWithResource(mContext, R.drawable.cloud) in setTileData_hasCorrectAppName() constant 92 val icon = Icon.createWithResource(mContext, R.drawable.cloud) in setTileData_hasCorrectLabel() constant 107 val icon = Icon.createWithResource(mContext, R.drawable.cloud) in setTileData_hasIcon() constant 136 val icon = Icon.createWithResource(mContext, R.drawable.cloud) in setTileData_hasNoStateDescription() constant 152 val icon = Icon.createWithResource(mContext, R.drawable.cloud) in setTileData_tileNotClickable() constant 169 val icon = Icon.createWithResource(mContext, R.drawable.cloud) in setTileData_tileHasCorrectContentDescription() constant
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | MobileNetworkTypeIconsTest.java | 32 MobileNetworkTypeIcon icon = in getNetworkTypeIcon_hPlus_returnsHPlus() local 41 MobileNetworkTypeIcon icon = in getNetworkTypeIcon_fourG_returnsFourG() local 53 MobileNetworkTypeIcon icon = MobileNetworkTypeIcons.getNetworkTypeIcon(unknownGroup); in getNetworkTypeIcon_unknown_returnsUnknown() local
|
/frameworks/base/core/java/com/android/internal/util/ |
D | UserIcons.java | 48 public static Bitmap convertToBitmap(Drawable icon) { in convertToBitmap() 55 public static Bitmap convertToBitmapAtUserIconSize(Resources res, Drawable icon) { in convertToBitmapAtUserIconSize() 60 private static Bitmap convertToBitmapAtSize(Drawable icon, int width, int height) { in convertToBitmapAtSize() 96 Drawable icon = resources.getDrawable(R.drawable.ic_account_circle, null).mutate(); in getDefaultUserIconInColor() local
|
/frameworks/base/core/java/android/content/pm/ |
D | LabeledIntent.java | 44 int labelRes, int icon) { in LabeledIntent() 62 CharSequence nonLocalizedLabel, int icon) { in LabeledIntent() 78 public LabeledIntent(String sourcePackage, int labelRes, int icon) { in LabeledIntent() 94 CharSequence nonLocalizedLabel, int icon) { in LabeledIntent() 154 Drawable icon = pm.getDrawable(mSourcePackage, mIcon, null); in loadIcon() local
|
D | AppSearchShortcutPerson.java | 166 public Builder setIcon(@Nullable final byte[] icon) { in setIcon() 185 private static byte[] transformToByteArray(@Nullable final Icon icon) { in transformToByteArray() 201 private Icon transformToIcon(@Nullable final byte[] icon) { in transformToIcon()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CommandParams.java | 43 boolean setIcon(Bitmap icon) { return true; } in setIcon() 62 boolean setIcon(Bitmap icon) { in setIcon() 90 boolean setIcon(Bitmap icon) { in setIcon() 125 boolean setIcon(Bitmap icon) { in setIcon() 146 boolean setIcon(Bitmap icon) { in setIcon() 182 boolean setIcon(Bitmap icon) { in setIcon() 211 boolean setIcon(Bitmap icon) { in setIcon() 238 boolean setIcon(Bitmap icon) { in setIcon()
|
D | Item.java | 34 public Bitmap icon; field in Item 40 public Item(int id, String text, Bitmap icon) { in Item()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/ |
D | NotificationMemoryViewWalkerTest.kt | 53 val icon = Icon.createWithBitmap(Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_8888)) in testViewWalker_plainNotification_withPublicView() constant 126 val icon = Icon.createWithBitmap(Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_8888)) in testViewWalker_bigPictureNotification() constant 185 val icon = Icon.createWithBitmap(Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_8888)) in testViewWalker_customView() constant
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageUtil.java | 65 public static View initSnippet(View snippetView, CharSequence label, Drawable icon) { in initSnippet() 100 Drawable icon = appInfo.loadIcon(pm); in initSnippetForInstalledApp() local 112 @Nullable public Drawable icon; field in PackageUtil.AppSnippet 113 public AppSnippet(@NonNull CharSequence label, @Nullable Drawable icon) { in AppSnippet() 151 Drawable icon = null; in getAppSnippet() local
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | IconMixin.java | 46 final @DrawableRes int icon = a.getResourceId(R.styleable.SuwIconMixin_android_icon, 0); in IconMixin() local 59 public void setIcon(Drawable icon) { in setIcon() 72 public void setIcon(@DrawableRes int icon) { in setIcon()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | StatusHints.java | 54 public StatusHints(CharSequence label, Icon icon, Bundle extras) { in StatusHints() 65 public StatusHints(@Nullable Icon icon) { in StatusHints() 76 public void setIcon(@Nullable Icon icon) { in setIcon() 148 public static Icon validateAccountIconUserBoundary(Icon icon, UserHandle callingUserHandle) { in validateAccountIconUserBoundary()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | Item.java | 35 private Drawable icon; field in Item 77 public void setIcon(Drawable icon) { in setIcon() 150 final Drawable icon = getIcon(); in onBindView() local 171 protected void onMergeIconStateAndLevels(ImageView iconView, Drawable icon) { in onMergeIconStateAndLevels()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | StatusBarIconViewTest.java | 135 Icon icon = Icon.createWithBitmap(largeBitmap); in testGiantImageNotAllowed() local 149 Icon icon = Icon.createWithBitmap(bitmap); in testNullNotifInfo() local 169 Icon icon = Icon.createWithBitmap(bitmap); in testNullIcon() local
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | IconCache.java | 39 public Drawable getIcon(Icon icon) { in getIcon() 51 public void updateIcon(Icon icon, Drawable drawable) { in updateIcon()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | BaseIconFactory.java | 172 Bitmap icon = createIconBitmap(drawable, IconNormalizer.ICON_VISIBLE_AREA_FACTOR); in createIconBitmap() local 176 public BitmapInfo createIconBitmap(Bitmap icon) { in createIconBitmap() 188 public BitmapInfo createShapedIconBitmap(Bitmap icon, IconOptions options) { in createShapedIconBitmap() 198 public BitmapInfo createBadgedIconBitmap(@NonNull Drawable icon) { in createBadgedIconBitmap() 211 public BitmapInfo createBadgedIconBitmap(@NonNull Drawable icon, in createBadgedIconBitmap() 290 public Bitmap createScaledBitmap(@NonNull Drawable icon, @BitmapGenerationMode int mode) { in createScaledBitmap() 306 protected Drawable normalizeAndWrapToAdaptiveIcon(@Nullable Drawable icon, in normalizeAndWrapToAdaptiveIcon() 340 protected Bitmap createIconBitmap(@Nullable final Drawable icon, final float scale) { in createIconBitmap() 345 protected Bitmap createIconBitmap(@Nullable final Drawable icon, final float scale, in createIconBitmap() 372 private void drawIconBitmap(@NonNull Canvas canvas, @Nullable final Drawable icon, in drawIconBitmap()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | BigPictureNotificationImageView.java | 86 public void setImageIcon(@Nullable Icon icon) { in setImageIcon() 91 public Runnable setImageIconAsync(@Nullable Icon icon) { in setImageIconAsync() 102 private Drawable loadImage(Icon icon) { in loadImage()
|
D | LocalImageResolver.java | 81 public static Drawable resolveImage(@Nullable Icon icon, Context context) throws IOException { in resolveImage() 96 public static Drawable resolveImage(@Nullable Icon icon, Context context, int maxWidth, in resolveImage() 171 private static Drawable resolveBitmapImage(Icon icon, Context context, int maxWidth, in resolveBitmapImage() 195 private static Drawable tintDrawable(Icon icon, @Nullable Drawable drawable) { in tintDrawable()
|
D | CachingIconView.java | 101 public void setImageIcon(@Nullable Icon icon) { in setImageIcon() 116 private Drawable loadSizeRestrictedIcon(@Nullable Icon icon) { in loadSizeRestrictedIcon() 122 public Runnable setImageIconAsync(@Nullable final Icon icon) { in setImageIconAsync() 220 private synchronized boolean testAndSetCache(Icon icon) { in testAndSetCache() 258 private String normalizeIconPackage(Icon icon) { in normalizeIconPackage() 341 Drawable icon = getDrawable(); in setOriginalIconColor() local
|
/frameworks/base/core/java/android/service/quickaccesswallet/ |
D | GetWalletCardsError.java | 41 public GetWalletCardsError(@Nullable Icon icon, @Nullable CharSequence message) { in GetWalletCardsError() 63 Icon icon = source.readByte() == 0 ? null : Icon.CREATOR.createFromParcel(source); in readFromParcel() local
|
/frameworks/base/core/java/android/view/ |
D | SubMenu.java | 69 public SubMenu setHeaderIcon(Drawable icon); in setHeaderIcon() 102 public SubMenu setIcon(Drawable icon); in setIcon()
|
/frameworks/base/core/java/android/widget/ |
D | AppSecurityPermissions.java | 44 Drawable icon = context.getDrawable(dangerous in getPermissionItemView() local 51 CharSequence grpName, CharSequence permList, boolean dangerous, Drawable icon) { in getPermissionItemViewOld()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | NavBarTuner.java | 127 ListPreference icon = (ListPreference) findPreference(ICON + "_" + k); in bindButton() local 178 private void updateSummary(ListPreference icon) { in updateSummary() 205 ListPreference icon) { in setValue() 219 private void setupIcons(ListPreference icon) { in setupIcons()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/model/ |
D | WifiIcon.kt | 40 val icon = Icon.Resource(res, contentDescription) in toString() constant
|