Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogControllerTest.kt58 private val appIcon = ColorDrawable(Color.MAGENTA) constant in com.android.systemui.statusbar.notification.row.ChannelEditorDialogControllerTest
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.kt68 private var appIcon: Drawable? = null in <lambda>() variable
99 appIcon: Drawable, in <lambda>()
105 this.appIcon = appIcon in <lambda>()
178 appIcon = null in <lambda>()
266 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.java411 public void updateSessionAppIcon(int sessionId, @Nullable Bitmap appIcon) { in updateSessionAppIcon() argument
413 mInstaller.updateSessionAppIcon(sessionId, appIcon); in updateSessionAppIcon()
1299 public Bitmap appIcon; field in PackageInstaller.SessionParams
1348 appIcon = source.readParcelable(null); in SessionParams()
1371 ret.appIcon = appIcon; // not a copy. in copy()
1448 public void setAppIcon(@Nullable Bitmap appIcon) { in setAppIcon() argument
1449 this.appIcon = appIcon; in setAppIcon()
1719 pw.printPair("appIcon", (appIcon != null)); in dump()
1748 dest.writeParcelable(appIcon, flags); in writeToParcel()
1854 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.java2116 Bitmap appIcon = makePresentationGetter(info).getIconBitmap(
2121 Bitmap directShareBadgedIcon = sif.createAppBadgedIconBitmap(directShareIcon, appIcon);
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java535 if (params.appIcon != null) { in createSessionInternal()
539 if ((params.appIcon.getWidth() > iconSize * 2) in createSessionInternal()
540 || (params.appIcon.getHeight() > iconSize * 2)) { in createSessionInternal()
541 params.appIcon = Bitmap.createScaledBitmap(params.appIcon, iconSize, iconSize, in createSessionInternal()
633 public void updateSessionAppIcon(int sessionId, Bitmap appIcon) { in updateSessionAppIcon() argument
641 if (appIcon != null) { in updateSessionAppIcon()
645 if ((appIcon.getWidth() > iconSize * 2) in updateSessionAppIcon()
646 || (appIcon.getHeight() > iconSize * 2)) { in updateSessionAppIcon()
647 appIcon = Bitmap.createScaledBitmap(appIcon, iconSize, iconSize, true); in updateSessionAppIcon()
651 session.params.appIcon = appIcon; in updateSessionAppIcon()
DPackageInstallerSession.java482 info.appIcon = params.appIcon; in generateInfo()
2431 if (params.appIcon == null && appIconFile.exists()) { in write()
2433 } else if (params.appIcon != null in write()
2439 params.appIcon.compress(Bitmap.CompressFormat.PNG, 90, os); in write()
2513 params.appIcon = readBitmapAttribute(in, ATTR_APP_ICON); in readFromXml()
2525 params.appIcon = BitmapFactory.decodeFile(appIconFile.getAbsolutePath()); in readFromXml()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageInstallerSessionTest.java258 assertEquals(expected.appIcon, actual.appIcon); in assertSessionParamsEquivalent()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...