Home
last modified time | relevance | path

Searched refs:largeIcon (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationMemoryDumper.kt72 toKb(it.objectUsage.largeIcon), in <lambda>()
88 var largeIcon: Int = 0, in <lambda>() variable in com.android.systemui.statusbar.notification.logging.NotificationMemoryDumper.dumpNotificationObjects.Totals
98 t.largeIcon += usage.objectUsage.largeIcon in <lambda>()
111 toKb(totals.largeIcon), in <lambda>()
133 var largeIcon: Int = 0, in <lambda>() variable in com.android.systemui.statusbar.notification.logging.NotificationMemoryDumper.dumpNotificationViewUsage.Totals
159 toKb(view.largeIcon), in <lambda>()
177 totals.largeIcon += view.largeIcon in <lambda>()
189 toKb(totals.largeIcon), in <lambda>()
DNotificationMemory.kt39 val largeIcon: Int, constant in com.android.systemui.statusbar.notification.logging.NotificationObjectUsage
65 val largeIcon: Int, constant in com.android.systemui.statusbar.notification.logging.NotificationViewUsage
DNotificationMemoryViewWalker.kt22 private var largeIcon: Int = 0 in <lambda>() variable in com.android.systemui.statusbar.notification.logging.NotificationMemoryViewWalker.UsageBuilder
29 fun addLargeIcon(largeIconUse: Int) = apply { largeIcon += largeIconUse } in <lambda>()
42 largeIcon = largeIcon, in <lambda>()
DNotificationMemoryLogger.kt183 use.largeIconObject += element.objectUsage.largeIcon in aggregateMemoryUsageData()
184 if (element.objectUsage.largeIcon > 0) { in aggregateMemoryUsageData()
202 use.largeIconViews += it.largeIcon in aggregateMemoryUsageData()
DNotificationMemoryMeter.kt145 largeIcon = largeIconUse, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DNotificationMemoryMeterTest.kt50 largeIcon = notification.getLargeIcon().bitmap.allocationByteCount, in currentNotificationMemoryUse_plainNotification()
70 largeIcon = notification.getLargeIcon().bitmap.allocationByteCount, in currentNotificationMemoryUse_rankerGroupNotification()
89 largeIcon = 0, in currentNotificationMemoryUse_plainNotification_dontDoubleCountSameBitmap()
112 largeIcon = notification.getLargeIcon().bitmap.allocationByteCount, in currentNotificationMemoryUse_customViewNotification_marksTrue()
132 largeIcon = 0, in currentNotificationMemoryUse_notificationWithDataIcon_calculatesCorrectly()
161 largeIcon = notification.getLargeIcon().bitmap.allocationByteCount, in currentNotificationMemoryUse_bigPictureStyle()
187 largeIcon = notification.getLargeIcon().bitmap.allocationByteCount, in currentNotificationMemoryUse_callingStyle()
223 largeIcon = notification.getLargeIcon().bitmap.allocationByteCount, in currentNotificationMemoryUse_messagingStyle()
245 largeIcon = notification.getLargeIcon().bitmap.allocationByteCount, in currentNotificationMemoryUse_carExtender()
266 largeIcon = notification.getLargeIcon().bitmap.allocationByteCount, in currentNotificationMemoryUse_tvWearExtender()
[all …]
DNotificationMemoryViewWalkerTest.kt127 val largeIcon = Icon.createWithBitmap(Bitmap.createBitmap(30, 30, Bitmap.Config.ARGB_8888)) in testViewWalker_bigPictureNotification() constant
134 .setLargeIcon(largeIcon) in testViewWalker_bigPictureNotification()
145 largeIcon.bitmap.allocationByteCount, in testViewWalker_bigPictureNotification()
151 largeIcon.bitmap.allocationByteCount in testViewWalker_bigPictureNotification()
160 largeIcon.bitmap.allocationByteCount, in testViewWalker_bigPictureNotification()
164 icon.bitmap.allocationByteCount + largeIcon.bitmap.allocationByteCount in testViewWalker_bigPictureNotification()
172 largeIcon.bitmap.allocationByteCount, in testViewWalker_bigPictureNotification()
178 largeIcon.bitmap.allocationByteCount in testViewWalker_bigPictureNotification()
DNotificationMemoryLoggerTest.kt165 presetUsage1.objectUsage.largeIcon + presetUsage2.objectUsage.largeIcon, in <lambda>()
176 presetUsage1.viewUsage[0].largeIcon + presetUsage2.viewUsage[0].largeIcon, in <lambda>()
209 presetUsage.objectUsage.largeIcon, in <lambda>()
216 presetUsage.viewUsage[0].largeIcon, in <lambda>()
244 presetUsage.objectUsage.largeIcon, in <lambda>()
251 presetUsage.viewUsage[0].largeIcon, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DSingleLineViewInflaterTest.kt206 val largeIcon = in <lambda>() constant
208 val notificationType = GroupConversation(largeIcon = largeIcon) in <lambda>()
231 ?.equalsTo(SingleIcon(largeIcon.loadDrawable(context))) == true in <lambda>()
275 sealed class NotificationType(val largeIcon: Icon? = null) in <lambda>() constant in com.android.systemui.statusbar.notification.row.SingleLineViewInflaterTest.NotificationType
277 class NonMessaging(largeIcon: Icon? = null) : NotificationType(largeIcon) in <lambda>()
279 class LegacyMessaging(largeIcon: Icon? = null) : NotificationType(largeIcon) in <lambda>()
281 class LegacyMessagingGroup(largeIcon: Icon? = null) : NotificationType(largeIcon) in <lambda>()
283 class OneToOneConversation(largeIcon: Icon? = null, val shortcutIcon: Icon? = null) : in <lambda>()
284 NotificationType(largeIcon) in <lambda>()
286 class GroupConversation(largeIcon: Icon? = null) : NotificationType(largeIcon) in <lambda>()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DCallLayout.java144 public Runnable setLargeIconAsync(Icon largeIcon) { in setLargeIconAsync() argument
146 return () -> setLargeIcon(largeIcon); in setLargeIconAsync()
149 mLargeIcon = largeIcon; in setLargeIconAsync()
154 public void setLargeIcon(Icon largeIcon) { in setLargeIcon() argument
155 mLargeIcon = largeIcon; in setLargeIcon()
DConversationLayout.java895 public Runnable setLargeIconAsync(Icon largeIcon) { in setLargeIconAsync() argument
897 return () -> setLargeIcon(largeIcon); in setLargeIconAsync()
900 mLargeIcon = largeIcon; in setLargeIconAsync()
905 public void setLargeIcon(Icon largeIcon) { in setLargeIcon() argument
906 mLargeIcon = largeIcon; in setLargeIcon()
1190 CharSequence conversationTitle, Icon shortcutIcon, Icon largeIcon, in loadConversationHeaderData() argument
1221 conversationIcon = largeIcon; in loadConversationHeaderData()
DMessagingLayout.java145 public void setLargeIcon(Icon largeIcon) { in setLargeIcon() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconViewTest.java141 StatusBarIcon largeIcon = new StatusBarIcon(UserHandle.ALL, "mockPackage", in testGiantImageNotAllowed() local
143 assertTrue(mIconView.set(largeIcon)); in testGiantImageNotAllowed()
155 StatusBarIcon largeIcon = new StatusBarIcon(UserHandle.ALL, "mockPackage", in testNullNotifInfo() local
158 mIconView.getIcon(largeIcon); in testNullNotifInfo()
162 mIconView.getIcon(largeIcon); in testNullNotifInfo()
175 StatusBarIcon largeIcon = new StatusBarIcon(UserHandle.ALL, "mockPackage", in testNullIcon() local
177 mIconView.getIcon(largeIcon); in testNullIcon()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationListenerServiceTest.java179 Bitmap largeIcon = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); in testLegacyIcons_preM() local
183 .setLargeIcon(Icon.createWithBitmap(largeIcon)) in testLegacyIcons_preM()
191 assertNotNull(n.largeIcon); in testLegacyIcons_preM()
201 Bitmap largeIcon = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); in testLegacyIcons_mPlus() local
205 .setLargeIcon(Icon.createWithBitmap(largeIcon)) in testLegacyIcons_mPlus()
212 assertNull(n.largeIcon); in testLegacyIcons_mPlus()
DNotificationManagerServiceTest.java6763 final Icon largeIcon = Icon.createWithContentUri("content://media/large/icon"); in testVisitUris() local
6798 .setLargeIcon(largeIcon) in testVisitUris()
6807 verify(visitor, times(1)).accept(eq(largeIcon.getUri())); in testVisitUris()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationTemplateViewWrapper.java189 if (modernLargeIcon == null && n.largeIcon != null) { in getLargeIcon()
190 return Icon.createWithBitmap(n.largeIcon); in getLargeIcon()
/frameworks/base/core/java/android/app/
DNotification.java494 public Bitmap largeIcon; field in Notification
3393 if (mLargeIcon == null && largeIcon != null) { in writeToParcelImpl()
3395 mLargeIcon = Icon.createWithBitmap(largeIcon); in writeToParcelImpl()
4451 if (mN.getLargeIcon() == null && mN.largeIcon != null) { in Builder()
4452 setLargeIcon(mN.largeIcon); in Builder()
5993 if (mN.mLargeIcon == null && mN.largeIcon != null) { in bindLargeIcon()
5994 mN.mLargeIcon = Icon.createWithBitmap(mN.largeIcon); in bindLargeIcon()
6774 Icon largeIcon = mN.mLargeIcon; in makePublicContentView() local
6776 Bitmap largeIconLegacy = mN.largeIcon; in makePublicContentView()
6777 mN.largeIcon = null; in makePublicContentView()
[all …]
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1393 Icon largeIcon = n.getLargeIcon(); in createLegacyIconExtras() local
1398 if (largeIcon != null) { in createLegacyIconExtras()
1399 Drawable d = largeIcon.loadDrawable(getContext()); in createLegacyIconExtras()
1403 n.largeIcon = largeIconBits; in createLegacyIconExtras()
/frameworks/proto_logging/stats/atoms/wearservices/
Dwearservices_atoms.proto115 // Whether this notification contains bigPicture image, largeIcon image, or
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4585 field public static final java.lang.String EXTRA_LARGE_ICON = "android.largeIcon";
4586 field public static final java.lang.String EXTRA_LARGE_ICON_BIG = "android.largeIcon.big";
4639 field public android.graphics.Bitmap largeIcon;
/frameworks/base/core/api/
Dcurrent.txt6453 field @Deprecated public static final String EXTRA_LARGE_ICON = "android.largeIcon";
6454 field public static final String EXTRA_LARGE_ICON_BIG = "android.largeIcon.big";
6527 field @Deprecated public android.graphics.Bitmap largeIcon;