Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DCacheDataUpdatedTaskTest.java35 info.iconBitmap = null; in testCacheUpdate_update_apps()
48 assertNotNull(info.iconBitmap); in testCacheUpdate_update_apps()
50 assertNull(info.iconBitmap); in testCacheUpdate_update_apps()
75 assertNotNull(((ShortcutInfo) info).iconBitmap); in verifyUpdate()
78 assertNull(((ShortcutInfo) info).iconBitmap); in verifyUpdate()
DLoaderCursorTest.java143 assertEquals(icon, info.iconBitmap); in loadSimpleShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java154 info.iconBitmap = loadIcon(info); in loadSimpleShortcut()
156 if (info.iconBitmap == null) { in loadSimpleShortcut()
157 info.iconBitmap = mIconCache.getDefaultIcon(info.user); in loadSimpleShortcut()
215 info.iconBitmap = loadIcon(info); in getRestoredItemInfo()
217 if (info.iconBitmap == null) { in getRestoredItemInfo()
272 if (mIconCache.isDefaultIcon(info.iconBitmap, user)) { in getAppShortcutInfo()
274 info.iconBitmap = icon != null ? icon : info.iconBitmap; in getAppShortcutInfo()
DShortcutsChangedTask.java95 shortcutInfo.iconBitmap = LauncherIcons.createShortcutIcon(fullDetails, context, in execute()
96 shortcutInfo.iconBitmap); in execute()
DUserLockStateChangedTask.java92 si.iconBitmap = LauncherIcons.createShortcutIcon(shortcut, context, in execute()
93 si.iconBitmap); in execute()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseContentFragment.java65 Bitmap iconBitmap) { in buildArgs() argument
66 return buildArgs(title, breadcrumb, description, 0, null, iconBitmap, Color.TRANSPARENT); in buildArgs()
71 Uri iconUri, Bitmap iconBitmap, int iconBackgroundColor) { in buildArgs() argument
78 args.putParcelable(EXTRA_ICON_BITMAP, iconBitmap); in buildArgs()
162 Bitmap iconBitmap = getIconBitmap(); in onCreateView() local
163 if (iconBitmap != null) { in onCreateView()
164 iconImageView.setImageBitmap(iconBitmap); in onCreateView()
/packages/apps/Launcher3/src/com/android/launcher3/
DItemInfoWithIcon.java29 public Bitmap iconBitmap; field in ItemInfoWithIcon
40 iconBitmap = info.iconBitmap; in ItemInfoWithIcon()
DInstallShortcutReceiver.java460 appInfo.iconBitmap = app.getIconCache().getDefaultIcon(user); in getItemInfo()
477 si.iconBitmap = LauncherIcons.createShortcutIcon(shortcutInfo, mContext); in getItemInfo()
658 info.iconBitmap = LauncherIcons.createIconBitmap((Bitmap) bitmap, app.getContext()); in createShortcutInfo()
663 … info.iconBitmap = LauncherIcons.createIconBitmap(info.iconResource, app.getContext()); in createShortcutInfo()
666 if (info.iconBitmap == null) { in createShortcutInfo()
667 info.iconBitmap = app.getIconCache().getDefaultIcon(info.user); in createShortcutInfo()
DBubbleTextView.java185 applyIconAndLabel(info.iconBitmap, info); in applyFromShortcutInfo()
195 applyIconAndLabel(info.iconBitmap, info); in applyFromApplicationInfo()
211 applyIconAndLabel(info.iconBitmap, info); in applyFromPackageItemInfo()
511 .newPendingIcon(info.iconBitmap, getContext()); in applyProgressLevel()
596 info.iconBitmap.prepareToDraw(); in reapplyItemInfo()
DLauncherModel.java635 si.iconBitmap = LauncherIcons.createShortcutIcon(info, mApp.getContext()); in updateAndBindShortcutInfo()
670 … writer.println(prefix + " title=\"" + info.title + "\" iconBitmap=" + info.iconBitmap in dumpState()
DShortcutInfo.java174 writer.putIcon(iconBitmap, user); in onAddToDatabase()
DIconCache.java451 info.iconBitmap = getDefaultIcon(info.user); in getTitleAndIcon()
486 info.iconBitmap = entry.icon == null ? getDefaultIcon(info.user) : entry.icon; in applyCacheEntry()
DPendingAppWidgetHostView.java127 Bitmap icon = info.iconBitmap; in reapplyItemInfo()
/packages/apps/Car/Media/src/com/android/car/media/drawer/
DMediaItemsFetcher.java114 Bitmap iconBitmap = description.getIconBitmap(); in populateViewHolderFrom() local
115 holder.getIcon().setImageBitmap(iconBitmap); // Ok to set null here for clearing. in populateViewHolderFrom()
116 if (iconBitmap == null && description.getIconUri() != null) { in populateViewHolderFrom()
/packages/apps/Launcher3/src/com/android/launcher3/badge/
DBadgeInfo.java137 Bitmap iconBitmap = Bitmap.createBitmap(badgeSize, badgeSize, Bitmap.Config.ARGB_8888); in getNotificationIconForBadge() local
138 Canvas canvas = new Canvas(iconBitmap); in getNotificationIconForBadge()
141 mNotificationIcon = new BitmapShader(iconBitmap, Shader.TileMode.CLAMP, in getNotificationIconForBadge()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsDiffReporter.java138 return curInfo.iconBitmap.equals(newInfo.iconBitmap) && in isSamePackageItemInfo()
139 !mIconCache.isDefaultIcon(curInfo.iconBitmap, curInfo.user); in isSamePackageItemInfo()
/packages/apps/Launcher2/src/com/android/launcher2/
DApplicationInfo.java46 Bitmap iconBitmap; field in ApplicationInfo
110 + info.iconBitmap + " firstInstallTime=" in dumpApplicationInfoList()
DPagedViewIcon.java57 mIcon = info.iconBitmap; in applyFromApplicationInfo()
DIconCache.java188 application.iconBitmap = entry.icon; in getTitleAndIcon()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java1686 Bitmap iconBitmap = null;
1719 iconBitmap = readBitmap(parser);
1773 if (iconBitmap == null) {
1821 } else if (iconBitmap != null) {
1822 builder.setIcon(Icon.createWithBitmap(iconBitmap));
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherIcons.java379 badgeBitmap = appInfo.iconBitmap; in getShortcutInfoBadge()
383 badgeBitmap = pkgInfo.iconBitmap; in getShortcutInfoBadge()
/packages/apps/Launcher3/src/com/android/launcher3/discovery/
DAppDiscoveryAppInfo.java43 this.iconBitmap = item.bitmap; in AppDiscoveryAppInfo()
DAppDiscoveryItemView.java79 mImage.setImageBitmap(info.iconBitmap); in apply()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DLauncherAppsCompatVO.java140 info.iconBitmap = LauncherIcons in createShortcutInfoFromPinItemRequest()
/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/
DWidgetsListAdapterTest.java141 pInfo.iconBitmap = Bitmap.createBitmap(10, 10, Bitmap.Config.ALPHA_8); in generateSampleMap()

12