Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogControllerTest.kt58 private val appIcon = ColorDrawable(Color.MAGENTA) constant
87 setOf(channel1, channel2), appIcon, clickListener) in testPrepareDialogForApp_noExtraChannels()
97 setOf(channelDefault), appIcon, clickListener) in testPrepareDialogForApp_onlyDefaultChannel()
108 setOf(), appIcon, clickListener) in testPrepareDialogForApp_noProvidedChannels_noException()
119 setOf(channel1), appIcon, clickListener) in testPrepareDialogForApp_retrievesUpTo4Channels()
129 setOf(channel1, channel2), appIcon, clickListener) in testApply_demoteChannel()
148 setOf(channel1, channel2), appIcon, clickListener) in testApply_demoteApp()
164 setOf(channel1, channel2), appIcon, clickListener) in testApply_promoteApp()
176 setOf(channel1, channel2), appIcon, null) in testSettingsClickListenerNull_noCrash()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogController.kt69 private var appIcon: Drawable? = null in <lambda>() variable
100 appIcon: Drawable, in <lambda>()
106 this.appIcon = appIcon in <lambda>()
178 appIcon = null in <lambda>()
271 appIcon = this@ChannelEditorDialogController.appIcon in <lambda>()
DChannelEditorListView.kt44 var appIcon: Drawable? = null in <lambda>() variable
112 appControlRow.iconView.setImageDrawable(appIcon) in <lambda>()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java399 public void updateSessionAppIcon(int sessionId, @Nullable Bitmap appIcon) { in updateSessionAppIcon() argument
401 mInstaller.updateSessionAppIcon(sessionId, appIcon); in updateSessionAppIcon()
1282 public Bitmap appIcon; field in PackageInstaller.SessionParams
1331 appIcon = source.readParcelable(null); in SessionParams()
1354 ret.appIcon = appIcon; // not a copy. in copy()
1431 public void setAppIcon(@Nullable Bitmap appIcon) { in setAppIcon() argument
1432 this.appIcon = appIcon; in setAppIcon()
1702 pw.printPair("appIcon", (appIcon != null)); in dump()
1731 dest.writeParcelable(appIcon, flags); in writeToParcel()
1837 public Bitmap appIcon; field in PackageInstaller.SessionInfo
[all …]
DIPackageInstaller.aidl33 void updateSessionAppIcon(int sessionId, in Bitmap appIcon); in updateSessionAppIcon() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DBridgeActionBar.java139 ResourceValue appIcon = mParams.getAppIcon(); in setIcon() local
140 if (appIcon != null) { in setIcon()
141 setIcon(appIcon); in setIcon()
/frameworks/base/core/java/com/android/internal/app/
DHeavyWeightSwitcherActivity.java101 Drawable appIcon = null; in setIconAndText() local
107 appIcon = info.loadIcon(getPackageManager()); in setIconAndText()
112 setDrawable(iconId, appIcon); in setIconAndText()
DChooserActivity.java2390 Bitmap appIcon = makePresentationGetter(info).getIconBitmap(
2395 Bitmap directShareBadgedIcon = sif.createAppBadgedIconBitmap(directShareIcon, appIcon);
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java547 if (params.appIcon != null) { in createSessionInternal()
551 if ((params.appIcon.getWidth() > iconSize * 2) in createSessionInternal()
552 || (params.appIcon.getHeight() > iconSize * 2)) { in createSessionInternal()
553 params.appIcon = Bitmap.createScaledBitmap(params.appIcon, iconSize, iconSize, in createSessionInternal()
645 public void updateSessionAppIcon(int sessionId, Bitmap appIcon) { in updateSessionAppIcon() argument
653 if (appIcon != null) { in updateSessionAppIcon()
657 if ((appIcon.getWidth() > iconSize * 2) in updateSessionAppIcon()
658 || (appIcon.getHeight() > iconSize * 2)) { in updateSessionAppIcon()
659 appIcon = Bitmap.createScaledBitmap(appIcon, iconSize, iconSize, true); in updateSessionAppIcon()
663 session.params.appIcon = appIcon; in updateSessionAppIcon()
DPackageInstallerSession.java477 info.appIcon = params.appIcon; in generateInfo()
2436 if (params.appIcon == null && appIconFile.exists()) { in write()
2438 } else if (params.appIcon != null in write()
2444 params.appIcon.compress(Bitmap.CompressFormat.PNG, 90, os); in write()
2518 params.appIcon = readBitmapAttribute(in, ATTR_APP_ICON); in readFromXml()
2530 params.appIcon = BitmapFactory.decodeFile(appIconFile.getAbsolutePath()); in readFromXml()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleView.java140 public void setAppIcon(Drawable appIcon) { in setAppIcon() argument
141 mUserBadgedAppIcon = appIcon; in setAppIcon()
DBubble.java110 Drawable appIcon = pm.getApplicationIcon(mEntry.notification.getPackageName()); in Bubble() local
111 mUserBadgedAppIcon = pm.getUserBadgedIcon(appIcon, mEntry.notification.getUser()); in Bubble()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageInstallerSessionTest.java263 assertEquals(expected.appIcon, actual.appIcon); in assertSessionParamsEquivalent()