Home
last modified time | relevance | path

Searched refs:appIcon (Results 1 – 6 of 6) 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()
879 public Bitmap appIcon; field in PackageInstaller.SessionParams
909 appIcon = source.readParcelable(null); in SessionParams()
956 public void setAppIcon(@Nullable Bitmap appIcon) { in setAppIcon() argument
957 this.appIcon = appIcon; in setAppIcon()
1006 pw.printPair("appIcon", (appIcon != null)); in dump()
1026 dest.writeParcelable(appIcon, flags); in writeToParcel()
1072 public Bitmap appIcon; field in PackageInstaller.SessionInfo
1092 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.java376 params.appIcon = readBitmapAttribute(in, ATTR_APP_ICON); in readSessionLocked()
384 params.appIcon = BitmapFactory.decodeFile(appIconFile.getAbsolutePath()); in readSessionLocked()
454 if (params.appIcon == null && appIconFile.exists()) { in writeSessionLocked()
456 } else if (params.appIcon != null in writeSessionLocked()
462 params.appIcon.compress(CompressFormat.PNG, 90, os); in writeSessionLocked()
520 if (params.appIcon != null) { in createSessionInternal()
524 if ((params.appIcon.getWidth() > iconSize * 2) in createSessionInternal()
525 || (params.appIcon.getHeight() > iconSize * 2)) { in createSessionInternal()
526 params.appIcon = Bitmap.createScaledBitmap(params.appIcon, iconSize, iconSize, in createSessionInternal()
594 public void updateSessionAppIcon(int sessionId, Bitmap appIcon) { in updateSessionAppIcon() argument
[all …]
DPackageInstallerSession.java233 info.appIcon = params.appIcon; in generateInfo()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DBridgeActionBar.java143 String appIcon = mParams.getAppIcon(); in setIcon() local
144 if (appIcon != null) { in setIcon()
145 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()