Home
last modified time | relevance | path

Searched refs:shortcutIcon (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutAppItemLayout.java47 ImageView shortcutIcon = findViewById(R.id.keyboard_shortcuts_icon); in onMeasure() local
52 if (shortcutIcon.getVisibility() == View.VISIBLE) { in onMeasure()
53 availableWidth = availableWidth - shortcutIcon.getMeasuredWidth(); in onMeasure()
DKeyboardShortcutListSearch.java512 Icon shortcutIcon = shortcut.getIcon(); in reMapToKeyboardShortcutMultiMappingGroup() local
513 if ((shortcutIcon != null in reMapToKeyboardShortcutMultiMappingGroup()
515 && shortcutIcon.sameAs(icon)) in reMapToKeyboardShortcutMultiMappingGroup()
516 || (shortcutIcon == null && icon == null)) { in reMapToKeyboardShortcutMultiMappingGroup()
1094 ImageView shortcutIcon = in populateKeyboardShortcutSearchList() local
1096 shortcutIcon.setImageIcon(keyGroupInfo.getIcon()); in populateKeyboardShortcutSearchList()
1097 shortcutIcon.setVisibility(View.VISIBLE); in populateKeyboardShortcutSearchList()
DKeyboardShortcuts.java702 ImageView shortcutIcon = (ImageView) shortcutView in populateKeyboardShortcuts() local
704 shortcutIcon.setImageIcon(info.getIcon()); in populateKeyboardShortcuts()
705 shortcutIcon.setVisibility(View.VISIBLE); in populateKeyboardShortcuts()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DSingleLineViewInflaterTest.kt177 val shortcutIcon = in <lambda>() constant
179 val notificationType = OneToOneConversation(shortcutIcon = shortcutIcon) in <lambda>()
199 ?.equalsTo(SingleIcon(shortcutIcon.loadDrawable(context))) == true in <lambda>()
283 class OneToOneConversation(largeIcon: Icon? = null, val shortcutIcon: Icon? = null) : in <lambda>() constant
336 .setShortcutIcon(type.shortcutIcon) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DSingleLineViewInflater.kt256 if (shortcutIcon != null) { in loadConversationAvatar()
257 conversationIcon = shortcutIcon in loadConversationAvatar()
/frameworks/base/core/java/com/android/internal/widget/
DConversationLayout.java913 public Runnable setShortcutIconAsync(Icon shortcutIcon) { in setShortcutIconAsync() argument
915 return () -> setShortcutIcon(shortcutIcon); in setShortcutIconAsync()
918 mShortcutIcon = shortcutIcon; in setShortcutIconAsync()
923 public void setShortcutIcon(Icon shortcutIcon) { in setShortcutIcon() argument
924 mShortcutIcon = shortcutIcon; in setShortcutIcon()
1190 CharSequence conversationTitle, Icon shortcutIcon, Icon largeIcon, in loadConversationHeaderData() argument
1194 Icon conversationIcon = shortcutIcon; in loadConversationHeaderData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DConversationNotifications.kt65 messagingStyle.shortcutIcon = launcherApps.getShortcutIcon(shortcutInfo) in <lambda>()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java761 Bitmap shortcutIcon = style.getShortcutIcon().getBitmap(); in testBuild_ensureMessagingShortcutIconIsNotTooBig_resizesIcon() local
763 assertThat((float) shortcutIcon.getWidth()).isWithin(3f).of( in testBuild_ensureMessagingShortcutIconIsNotTooBig_resizesIcon()
766 assertThat((float) shortcutIcon.getHeight()).isWithin(3f).of( in testBuild_ensureMessagingShortcutIconIsNotTooBig_resizesIcon()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java6870 Icon shortcutIcon = Icon.createWithContentUri("content://media/shortcut"); in testVisitUris_messagingStyle() local
6884 .setShortcutIcon(shortcutIcon); in testVisitUris_messagingStyle()
6891 verify(visitor, times(1)).accept(eq(shortcutIcon.getUri())); in testVisitUris_messagingStyle()