/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CommandParams.java | 43 boolean setIcon(Bitmap icon) { return true; } in setIcon() argument 62 boolean setIcon(Bitmap icon) { in setIcon() argument 63 if (icon != null && mTextMsg != null) { in setIcon() 64 mTextMsg.icon = icon; in setIcon() 90 boolean setIcon(Bitmap icon) { in setIcon() argument 91 if (icon != null && mConfirmMsg != null) { in setIcon() 92 mConfirmMsg.icon = icon; in setIcon() 125 boolean setIcon(Bitmap icon) { in setIcon() argument 126 if (icon != null && mTextMsg != null) { in setIcon() 127 mTextMsg.icon = icon; in setIcon() [all …]
|
/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 52 Drawable d = LocalImageResolver.resolveImage(icon, mContext); in resolveImage_invalidResource_returnsNull() 60 Icon icon = Icon.createWithContentUri(Uri.parse("bogus://uri")); in resolveImage_invalidIconUri_returnsNull() local 61 Drawable d = LocalImageResolver.resolveImage(icon, mContext); in resolveImage_invalidIconUri_returnsNull() 73 Icon icon = Icon.createWithResource(mContext, R.drawable.blue); in resolveImage_nonBitmapResourceIcon_fallsBackToNonResizingLoad() local 74 Drawable d = LocalImageResolver.resolveImage(icon, mContext); in resolveImage_nonBitmapResourceIcon_fallsBackToNonResizingLoad() 94 Icon icon = Icon.createWithBitmap( in resolveImage_largeBitmapIcon_defaultSize_resizeToDefaultSize() local 96 Drawable d = LocalImageResolver.resolveImage(icon, mContext); in resolveImage_largeBitmapIcon_defaultSize_resizeToDefaultSize() 110 Icon icon = Icon.createWithAdaptiveBitmap( in resolveImage_largeAdaptiveBitmapIcon_defaultSize_resizeToDefaultSize() local 112 Drawable d = LocalImageResolver.resolveImage(icon, mContext); in resolveImage_largeAdaptiveBitmapIcon_defaultSize_resizeToDefaultSize() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LocalImageResolver.java | 81 public static Drawable resolveImage(@Nullable Icon icon, Context context) throws IOException { in resolveImage() argument 82 return resolveImage(icon, context, DEFAULT_MAX_SAFE_ICON_SIZE_PX, in resolveImage() 96 public static Drawable resolveImage(@Nullable Icon icon, Context context, int maxWidth, in resolveImage() argument 98 if (icon == null) { in resolveImage() 102 switch (icon.getType()) { in resolveImage() 105 Uri uri = getResolvableUri(icon); in resolveImage() 109 return tintDrawable(icon, result); in resolveImage() 114 Resources res = resolveResourcesForIcon(context, icon); in resolveImage() 117 return icon.loadDrawable(context); in resolveImage() 120 Drawable result = resolveImage(res, icon.getResId(), maxWidth, maxHeight); in resolveImage() [all …]
|
D | CachingIconView.java | 101 public void setImageIcon(@Nullable Icon icon) { in setImageIcon() argument 102 if (!testAndSetCache(icon)) { in setImageIcon() 105 Drawable drawable = loadSizeRestrictedIcon(icon); in setImageIcon() 107 super.setImageIcon(icon); in setImageIcon() 116 Drawable loadSizeRestrictedIcon(@Nullable Icon icon) { in loadSizeRestrictedIcon() argument 117 return LocalImageResolver.resolveImage(icon, getContext(), mMaxDrawableWidth, in loadSizeRestrictedIcon() 122 public Runnable setImageIconAsync(@Nullable final Icon icon) { in setImageIconAsync() argument 124 Drawable drawable = loadSizeRestrictedIcon(icon); in setImageIconAsync() 128 return super.setImageIconAsync(icon); in setImageIconAsync() 220 private synchronized boolean testAndSetCache(Icon icon) { in testAndSetCache() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | BigPictureIconManager.kt | 96 skipLazyLoading(state.icon) -> null in <lambda>() 97 state is PlaceHolder && shown -> startLoadingJob(state.icon) in <lambda>() 99 startFreeImageJob(state.icon, state.drawableSize) in <lambda>() 120 override fun updateIcon(drawableConsumer: NotificationDrawableConsumer, icon: Icon?): Runnable { in <lambda>() 124 val drawableAndState = loadImageOrPlaceHolderSync(icon) in <lambda>() 135 private fun loadImageOrPlaceHolderSync(icon: Icon?): Pair<Drawable, DrawableState>? { in <lambda>() 136 icon ?: return null in <lambda>() 138 if (viewShown || skipLazyLoading(icon)) { in <lambda>() 139 return loadImageSync(icon) in <lambda>() 142 return loadPlaceHolderSync(icon) ?: loadImageSync(icon) in <lambda>() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | UserIcons.java | 48 public static Bitmap convertToBitmap(Drawable icon) { in convertToBitmap() argument 49 return convertToBitmapAtSize(icon, icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); in convertToBitmap() 55 public static Bitmap convertToBitmapAtUserIconSize(Resources res, Drawable icon) { in convertToBitmapAtUserIconSize() argument 57 return convertToBitmapAtSize(icon, size, size); in convertToBitmapAtUserIconSize() 60 private static Bitmap convertToBitmapAtSize(Drawable icon, int width, int height) { in convertToBitmapAtSize() argument 61 if (icon == null) { in convertToBitmapAtSize() 66 icon.setBounds(0, 0, width, height); in convertToBitmapAtSize() 67 icon.draw(canvas); in convertToBitmapAtSize() 96 Drawable icon = resources.getDrawable(R.drawable.ic_account_circle, null).mutate(); in getDefaultUserIconInColor() local 97 icon.setColorFilter(color, Mode.SRC_IN); in getDefaultUserIconInColor() [all …]
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | BaseIconFactory.java | 173 Bitmap icon = createIconBitmap(drawable, IconNormalizer.ICON_VISIBLE_AREA_FACTOR); in createIconBitmap() local 174 return BitmapInfo.of(icon, color); in createIconBitmap() 177 public BitmapInfo createIconBitmap(Bitmap icon) { in createIconBitmap() argument 178 if (mIconBitmapSize != icon.getWidth() || mIconBitmapSize != icon.getHeight()) { in createIconBitmap() 179 icon = createIconBitmap(new BitmapDrawable(mContext.getResources(), icon), 1f); in createIconBitmap() 182 return BitmapInfo.of(icon, mColorExtractor.findDominantColorByHue(icon)); in createIconBitmap() 189 public BitmapInfo createShapedIconBitmap(Bitmap icon, IconOptions options) { in createShapedIconBitmap() argument 190 Drawable d = new FixedSizeBitmapDrawable(icon); in createShapedIconBitmap() 199 public BitmapInfo createBadgedIconBitmap(@NonNull Drawable icon) { in createBadgedIconBitmap() argument 200 return createBadgedIconBitmap(icon, null); in createBadgedIconBitmap() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/ |
D | NotificationMemoryViewWalkerTest.kt | 53 val icon = Icon.createWithBitmap(Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888)) in testViewWalker_plainNotification_withPublicView() constant 61 .setSmallIcon(icon) in testViewWalker_plainNotification_withPublicView() 77 icon.bitmap.allocationByteCount, in testViewWalker_plainNotification_withPublicView() 82 icon.bitmap.allocationByteCount in testViewWalker_plainNotification_withPublicView() 89 icon.bitmap.allocationByteCount, in testViewWalker_plainNotification_withPublicView() 94 icon.bitmap.allocationByteCount in testViewWalker_plainNotification_withPublicView() 113 icon.bitmap.allocationByteCount + publicIcon.bitmap.allocationByteCount, in testViewWalker_plainNotification_withPublicView() 118 icon.bitmap.allocationByteCount + publicIcon.bitmap.allocationByteCount in testViewWalker_plainNotification_withPublicView() 126 val icon = Icon.createWithBitmap(Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888)) in testViewWalker_bigPictureNotification() constant 133 .setSmallIcon(icon) in testViewWalker_bigPictureNotification() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | MobileNetworkTypeIconsTest.java | 32 MobileNetworkTypeIcon icon = in getNetworkTypeIcon_hPlus_returnsHPlus() local 35 assertThat(icon.getName()).isEqualTo(TelephonyIcons.H_PLUS.name); in getNetworkTypeIcon_hPlus_returnsHPlus() 36 assertThat(icon.getIconResId()).isEqualTo(TelephonyIcons.ICON_H_PLUS); in getNetworkTypeIcon_hPlus_returnsHPlus() 41 MobileNetworkTypeIcon icon = in getNetworkTypeIcon_fourG_returnsFourG() local 44 assertThat(icon.getName()).isEqualTo(TelephonyIcons.FOUR_G.name); in getNetworkTypeIcon_fourG_returnsFourG() 45 assertThat(icon.getIconResId()).isEqualTo(TelephonyIcons.ICON_4G); in getNetworkTypeIcon_fourG_returnsFourG() 53 MobileNetworkTypeIcon icon = MobileNetworkTypeIcons.getNetworkTypeIcon(unknownGroup); in getNetworkTypeIcon_unknown_returnsUnknown() local 55 assertThat(icon.getName()).isEqualTo("testUnknownNameHere"); in getNetworkTypeIcon_unknown_returnsUnknown() 56 assertThat(icon.getIconResId()).isEqualTo(6); in getNetworkTypeIcon_unknown_returnsUnknown() 57 assertThat(icon.getContentDescriptionResId()).isEqualTo(45); in getNetworkTypeIcon_unknown_returnsUnknown()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | AdaptiveIconTest.java | 67 final AdaptiveIcon icon = in createIcon_shouldSetBackgroundAndInset() local 70 assertThat(icon.getNumberOfLayers()).isEqualTo(2); in createIcon_shouldSetBackgroundAndInset() 71 assertThat(icon.getDrawable(0)).isInstanceOf(AdaptiveIconShapeDrawable.class); in createIcon_shouldSetBackgroundAndInset() 76 final AdaptiveIcon icon = in setBackgroundColor_shouldUpdateColorFilter() local 79 when(icon.getDrawable(0)).thenReturn(background); in setBackgroundColor_shouldUpdateColorFilter() 81 icon.setBackgroundColor(Color.BLUE); in setBackgroundColor_shouldUpdateColorFilter() 92 final AdaptiveIcon icon = in setBackgroundColor_externalTileWithBackgroundColorRawValue_shouldUpdateIcon() local 95 icon.setBackgroundColor(mContext, tile); in setBackgroundColor_externalTileWithBackgroundColorRawValue_shouldUpdateIcon() 96 assertThat(icon.mBackgroundColor).isEqualTo(0xff0000); in setBackgroundColor_externalTileWithBackgroundColorRawValue_shouldUpdateIcon() 104 final AdaptiveIcon icon = new AdaptiveIcon(mContext, new ColorDrawable(Color.BLACK)); in setBackgroundColor_tileWithoutBackgroundColor_shouldSetDefaultBackgroundColor() local [all …]
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/preference/ |
D | ProgressBarPreference.kt | 52 val icon: ImageVector? constant 78 icon = model.icon, in ProgressBarPreference() 89 val icon = model.icon in ProgressBarWithDataPreference() constant 94 icon = if (icon != null) ({ in ProgressBarWithDataPreference() 95 Icon(imageVector = icon, contentDescription = null) in ProgressBarWithDataPreference() 106 icon: ImageVector? = null, in ProgressBarPreference() 115 icon = if (icon != null) ({ in ProgressBarPreference() 116 Icon(imageVector = icon, contentDescription = null) in ProgressBarPreference() 127 icon: (@Composable () -> Unit)? = null, 137 BaseIcon(icon, Modifier, SettingsDimension.itemPaddingStart) in <lambda>()
|
D | SliderPreference.kt | 74 val icon: ImageVector? in <lambda>() constant 102 icon = model.icon, in SliderPreference() 116 icon: ImageVector? = null, in SliderPreference() 131 icon = if (icon != null) ({ in SliderPreference() 132 Icon(imageVector = icon, contentDescription = null) in SliderPreference() 150 icon = Icons.Outlined.AccessAlarm, in SliderPreferencePreview() 159 var icon by remember { mutableStateOf(Icons.Outlined.MusicNote) } in SliderPreferenceIconChangePreview() variable 164 icon = if (it > 0) Icons.Outlined.MusicNote else Icons.Outlined.MusicOff in SliderPreferenceIconChangePreview() 166 icon = icon, in SliderPreferenceIconChangePreview()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/graphics/ |
D | ImageLoader.kt | 224 icon: Icon, in <lambda>() 231 loadDrawableSync(icon, context, maxWidth, maxHeight, allocator) in <lambda>() 318 icon: Icon, in <lambda>() 324 return when (icon.type) { in <lambda>() 327 val source = ImageDecoder.createSource(context.contentResolver, icon.uri) in <lambda>() 331 val resources = resolveResourcesForIcon(context, icon) in <lambda>() 334 ImageDecoder.createSource(it, icon.resId), in <lambda>() 342 ?: loadIconDrawable(icon, context) in <lambda>() 345 BitmapDrawable(context.resources, icon.bitmap) in <lambda>() 348 AdaptiveIconDrawable(null, BitmapDrawable(context.resources, icon.bitmap)) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileRequestDialogTest.kt | 86 val icon = Icon.createWithResource(mContext, R.drawable.cloud) in setTileData_hasCorrectViews() constant 87 val tileData = TileRequestDialog.TileData(UID, APP_NAME, LABEL, icon, PACKAGE) in setTileData_hasCorrectViews() 101 val icon = Icon.createWithResource(mContext, R.drawable.cloud) in setTileData_hasCorrectAppName() constant 102 val tileData = TileRequestDialog.TileData(UID, APP_NAME, LABEL, icon, PACKAGE) in setTileData_hasCorrectAppName() 114 val icon = Icon.createWithResource(mContext, R.drawable.cloud) in setTileData_hasCorrectLabel() constant 115 val tileData = TileRequestDialog.TileData(UID, APP_NAME, LABEL, icon, PACKAGE) in setTileData_hasCorrectLabel() 129 val icon = Icon.createWithResource(mContext, R.drawable.cloud) in setTileData_hasIcon() constant 130 val tileData = TileRequestDialog.TileData(UID, APP_NAME, LABEL, icon, PACKAGE) in setTileData_hasIcon() 139 assertThat((tile.icon.iconView as ImageView).drawable).isNotNull() in setTileData_hasIcon() 153 assertThat((tile.icon.iconView as ImageView).drawable).isNotNull() in setTileData_nullIcon_hasIcon() [all …]
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | Item.java | 35 private Drawable icon; field in Item 50 icon = a.getDrawable(R.styleable.SuwItem_android_icon); in Item() 77 public void setIcon(Drawable icon) { in setIcon() argument 78 this.icon = icon; in setIcon() 83 return icon; in getIcon() 150 final Drawable icon = getIcon(); in onBindView() local 151 if (icon != null) { in onBindView() 156 onMergeIconStateAndLevels(iconView, icon); in onBindView() 157 iconView.setImageDrawable(icon); in onBindView() 171 protected void onMergeIconStateAndLevels(ImageView iconView, Drawable icon) { in onMergeIconStateAndLevels() argument [all …]
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
D | StatusBarIcon.java | 42 public Icon icon; field in StatusBarIcon 49 public StatusBarIcon(UserHandle user, String resPackage, Icon icon, int iconLevel, int number, in StatusBarIcon() argument 51 if (icon.getType() == Icon.TYPE_RESOURCE in StatusBarIcon() 52 && TextUtils.isEmpty(icon.getResPackage())) { in StatusBarIcon() 56 icon = Icon.createWithResource(resPackage, icon.getResId()); in StatusBarIcon() 60 this.icon = icon; in StatusBarIcon() 77 return "StatusBarIcon(icon=" + icon in toString() 88 StatusBarIcon that = new StatusBarIcon(this.user, this.pkg, this.icon, in clone() 102 this.icon = (Icon) in.readParcelable(null, android.graphics.drawable.Icon.class); in readFromParcel() 113 out.writeParcelable(this.icon, 0); in writeToParcel()
|
/frameworks/base/core/java/android/content/pm/ |
D | LabeledIntent.java | 44 int labelRes, int icon) { in LabeledIntent() argument 49 mIcon = icon; in LabeledIntent() 62 CharSequence nonLocalizedLabel, int icon) { in LabeledIntent() argument 67 mIcon = icon; in LabeledIntent() 78 public LabeledIntent(String sourcePackage, int labelRes, int icon) { in LabeledIntent() argument 82 mIcon = icon; in LabeledIntent() 94 CharSequence nonLocalizedLabel, int icon) { in LabeledIntent() argument 98 mIcon = icon; in LabeledIntent() 154 Drawable icon = pm.getDrawable(mSourcePackage, mIcon, null); in loadIcon() local 155 if (icon != null) { in loadIcon() [all …]
|
/frameworks/base/libs/input/ |
D | SpriteController.cpp | 126 update.state.surfaceWidth = update.state.icon.width(); in doUpdateSprites() 127 update.state.surfaceHeight = update.state.icon.height(); in doUpdateSprites() 149 int32_t desiredWidth = update.state.icon.width(); in doUpdateSprites() 150 int32_t desiredHeight = update.state.icon.height(); in doUpdateSprites() 191 if (update.state.icon.draw(surface)) { in doUpdateSprites() 226 update.state.positionX - update.state.icon.hotSpotX, in doUpdateSprites() 227 update.state.positionY - update.state.icon.hotSpotY); in doUpdateSprites() 246 p.writeInt32(static_cast<int32_t>(update.state.icon.style)); in doUpdateSprites() 247 p.writeFloat(update.state.icon.hotSpotX); in doUpdateSprites() 248 p.writeFloat(update.state.icon.hotSpotY); in doUpdateSprites() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | IconCache.java | 39 public Drawable getIcon(Icon icon) { in getIcon() argument 40 if (icon == null) { in getIcon() 43 Drawable drawable = mMap.get(icon); in getIcon() 45 drawable = icon.loadDrawable(mContext); in getIcon() 46 updateIcon(icon, drawable); in getIcon() 51 public void updateIcon(Icon icon, Drawable drawable) { in updateIcon() argument 52 mMap.put(icon, drawable); in updateIcon()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SimpleIconFactory.java | 210 Bitmap createUserBadgedIconBitmap(@Nullable Drawable icon, @Nullable UserHandle user) { in createUserBadgedIconBitmap() argument 214 if (icon == null) { in createUserBadgedIconBitmap() 215 icon = getFullResDefaultActivityIcon(mFillResIconDpi); in createUserBadgedIconBitmap() 217 icon = normalizeAndWrapToAdaptiveIcon(icon, null, scale); in createUserBadgedIconBitmap() 218 Bitmap bitmap = createIconBitmap(icon, scale[0]); in createUserBadgedIconBitmap() 219 if (icon instanceof AdaptiveIconDrawable) { in createUserBadgedIconBitmap() 254 public Bitmap createAppBadgedIconBitmap(@Nullable Drawable icon, Bitmap renderedAppIcon) { in createAppBadgedIconBitmap() argument 256 if (icon == null) { in createAppBadgedIconBitmap() 257 icon = getFullResDefaultActivityIcon(mFillResIconDpi); in createAppBadgedIconBitmap() 262 int w = icon.getIntrinsicWidth(); in createAppBadgedIconBitmap() [all …]
|
/frameworks/base/tools/aapt2/integration-tests/DumpTest/ |
D | multiple_uses_sdk_expected.txt | 4 application-icon-120:'res/drawable-ldpi-v4/icon.png' 5 application-icon-160:'res/drawable-mdpi-v4/icon.png' 6 application-icon-240:'res/drawable-hdpi-v4/icon.png' 7 application: label='w45wmultiapknexus_10' icon='res/drawable-mdpi-v4/icon.png' 8 launchable-activity: name='com.test.e17wmultiapknexus.TestActivity' label='' icon=''
|
/frameworks/base/telecomm/java/android/telecom/ |
D | StatusHints.java | 54 public StatusHints(CharSequence label, Icon icon, Bundle extras) { in StatusHints() argument 56 mIcon = validateAccountIconUserBoundary(icon, Binder.getCallingUserHandle()); in StatusHints() 65 public StatusHints(@Nullable Icon icon) { in StatusHints() argument 68 mIcon = icon; in StatusHints() 76 public void setIcon(@Nullable Icon icon) { in setIcon() argument 77 mIcon = icon; in setIcon() 148 public static Icon validateAccountIconUserBoundary(Icon icon, UserHandle callingUserHandle) { in validateAccountIconUserBoundary() argument 151 if (icon != null && (icon.getType() == Icon.TYPE_URI in validateAccountIconUserBoundary() 152 || icon.getType() == Icon.TYPE_URI_ADAPTIVE_BITMAP)) { in validateAccountIconUserBoundary() 153 String encodedUser = icon.getUri().getEncodedUserInfo(); in validateAccountIconUserBoundary() [all …]
|
/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 47 if (icon != 0) { in IconMixin() 48 setIcon(icon); in IconMixin() 59 public void setIcon(Drawable icon) { in setIcon() argument 62 iconView.setImageDrawable(icon); in setIcon() 63 iconView.setVisibility(icon != null ? View.VISIBLE : View.GONE); in setIcon() 72 public void setIcon(@DrawableRes int icon) { in setIcon() argument 77 iconView.setImageResource(icon); in setIcon() 78 iconView.setVisibility(icon != 0 ? View.VISIBLE : View.GONE); in setIcon()
|
/frameworks/base/core/jni/ |
D | android_view_PointerIcon.cpp | 50 PointerIcon icon; in android_view_PointerIcon_toNative() local 51 icon.style = static_cast<PointerIconStyle>( in android_view_PointerIcon_toNative() 53 icon.hotSpotX = env->GetFloatField(pointerIconObj, gPointerIconClassInfo.mHotSpotX); in android_view_PointerIcon_toNative() 54 icon.hotSpotY = env->GetFloatField(pointerIconObj, gPointerIconClassInfo.mHotSpotY); in android_view_PointerIcon_toNative() 55 icon.drawNativeDropShadow = in android_view_PointerIcon_toNative() 61 icon.bitmap = graphics::Bitmap(env, bitmapObj.get()); in android_view_PointerIcon_toNative() 67 icon.durationPerFrame = in android_view_PointerIcon_toNative() 70 icon.bitmapFrames.resize(size); in android_view_PointerIcon_toNative() 73 icon.bitmapFrames[i] = graphics::Bitmap(env, bitmapObj.get()); in android_view_PointerIcon_toNative() 77 return icon; in android_view_PointerIcon_toNative()
|
/frameworks/base/core/java/android/util/ |
D | IconDrawableFactory.java | 74 Drawable icon = mPm.loadUnbadgedItemIcon(itemInfo, appInfo); in getBadgedIcon() local 76 return icon; in getBadgedIcon() 79 icon = getShadowedIcon(icon); in getBadgedIcon() 85 icon = mLauncherIcons.getBadgedDrawable(icon, in getBadgedIcon() 96 icon = mLauncherIcons.getBadgedDrawable(icon, badge, mUm.getUserBadgeColor(userId)); in getBadgedIcon() 98 return icon; in getBadgedIcon() 112 public Drawable getShadowedIcon(Drawable icon) { in getShadowedIcon() argument 113 return mLauncherIcons.wrapIconDrawableWithShadow(icon); in getShadowedIcon()
|