Lines Matching refs:icon
595 Bitmap icon = mIconCache.getIcon(intent, myUserHandle); in backupIcons() local
596 if (icon != null && !mIconCache.isDefaultIcon(icon, myUserHandle)) { in backupIcons()
597 writeRowToBackup(key, packIcon(dpi, icon), data); in backupIcons()
637 Bitmap icon = BitmapFactory.decodeByteArray(res.data, 0, res.data.length); in restoreIcon() local
638 if (icon == null) { in restoreIcon()
642 mIconCache.preloadIcon(ComponentName.unflattenFromString(key.name), icon, res.dpi, in restoreIcon() local
725 if (widget.icon.data != null) { in restoreWidget()
726 Bitmap icon = BitmapFactory in restoreWidget() local
727 .decodeByteArray(widget.icon.data, 0, widget.icon.data.length); in restoreWidget()
728 if (icon == null) { in restoreWidget()
732 icon, widget.icon.dpi, widget.label, mUserSerial, mIdp); in restoreWidget() local
856 favorite.icon = blob; in packFavorite()
914 values.put(Favorites.ICON, favorite.icon); in unpackFavorite()
1005 private Resource packIcon(int dpi, Bitmap icon) { in packIcon() argument
1008 res.data = Utilities.flattenBitmap(icon); in packIcon()
1018 if (info.icon != 0) { in packWidget()
1019 widget.icon = new Resource(); in packWidget()
1020 … Drawable fullResIcon = mIconCache.getFullResIcon(info.provider.getPackageName(), info.icon); in packWidget()
1021 Bitmap icon = Utilities.createIconBitmap(fullResIcon, mContext); in packWidget() local
1022 widget.icon.data = Utilities.flattenBitmap(icon); in packWidget()
1023 widget.icon.dpi = dpi; in packWidget()