Home
last modified time | relevance | path

Searched refs:appIcon (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java334 public void updateSessionAppIcon(int sessionId, @Nullable Bitmap appIcon) { in updateSessionAppIcon() argument
336 mInstaller.updateSessionAppIcon(sessionId, appIcon); in updateSessionAppIcon()
888 public Bitmap appIcon; field in PackageInstaller.SessionParams
924 appIcon = source.readParcelable(null); in SessionParams()
974 public void setAppIcon(@Nullable Bitmap appIcon) { in setAppIcon() argument
975 this.appIcon = appIcon; in setAppIcon()
1076 pw.printPair("appIcon", (appIcon != null)); in dump()
1099 dest.writeParcelable(appIcon, flags); in writeToParcel()
1148 public Bitmap appIcon; field in PackageInstaller.SessionInfo
1168 appIcon = source.readParcelable(null); in SessionInfo()
[all …]
DIPackageInstaller.aidl32 void updateSessionAppIcon(int sessionId, in Bitmap appIcon); in updateSessionAppIcon() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java401 params.appIcon = readBitmapAttribute(in, ATTR_APP_ICON); in readSessionLocked()
413 params.appIcon = BitmapFactory.decodeFile(appIconFile.getAbsolutePath()); in readSessionLocked()
485 if (params.appIcon == null && appIconFile.exists()) { in writeSessionLocked()
487 } else if (params.appIcon != null in writeSessionLocked()
493 params.appIcon.compress(CompressFormat.PNG, 90, os); in writeSessionLocked()
602 if (params.appIcon != null) { in createSessionInternal()
606 if ((params.appIcon.getWidth() > iconSize * 2) in createSessionInternal()
607 || (params.appIcon.getHeight() > iconSize * 2)) { in createSessionInternal()
608 params.appIcon = Bitmap.createScaledBitmap(params.appIcon, iconSize, iconSize, in createSessionInternal()
695 public void updateSessionAppIcon(int sessionId, Bitmap appIcon) { in updateSessionAppIcon() argument
[all …]
DPackageInstallerSession.java283 info.appIcon = params.appIcon; in generateInfo()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DBridgeActionBar.java147 String appIcon = mParams.getAppIcon(); in setIcon() local
148 if (appIcon != null) { in setIcon()
149 setIcon(appIcon); in setIcon()
/frameworks/base/core/java/com/android/internal/app/
DHeavyWeightSwitcherActivity.java106 Drawable appIcon = null; in setIconAndText() local
112 appIcon = info.loadIcon(getPackageManager()); in setIconAndText()
117 setDrawable(iconId, appIcon); in setIconAndText()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java149 Drawable appIcon = mPackageManager.getApplicationIcon(appInfo); in getRequestFromOps() local
150 Drawable icon = mPackageManager.getUserBadgedIcon(appIcon, userHandle); in getRequestFromOps()