Home
last modified time | relevance | path

Searched refs:Icon (Results 1 – 25 of 87) sorted by relevance

1234

/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DIconFactory.java25 import android.graphics.drawable.Icon;
63 public Icon create(@NonNull DialerShortcut shortcut) { in create()
72 public Icon create(@NonNull ShortcutInfo shortcutInfo) { in create()
82 private Icon create( in create()
97 private Icon createAdaptiveIcon( in createAdaptiveIcon()
114 return Icon.createWithAdaptiveBitmap( in createAdaptiveIcon()
118 return Icon.createWithAdaptiveBitmap(bitmap); in createAdaptiveIcon()
121 private Icon createFlatIcon( in createFlatIcon()
137 return Icon.createWithBitmap( in createFlatIcon()
/packages/apps/TV/tests/common/src/com/android/tv/testing/utils/
DTestUtils.java22 import android.graphics.drawable.Icon;
88 Icon.class, in createTvInputInfoForO()
89 Icon.class, in createTvInputInfoForO()
90 Icon.class, in createTvInputInfoForO()
142 Icon.class, in createTvInputInfoForNyc()
143 Icon.class, in createTvInputInfoForNyc()
144 Icon.class, in createTvInputInfoForNyc()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DConversationNotificationInfo.java23 import android.graphics.drawable.Icon;
62 private final Icon mAppIcon;
89 Icon appIcon = null; in createConversationNotificationInfo()
92 appIcon = Icon.createWithData(iconBytes, 0, iconBytes.length); in createConversationNotificationInfo()
107 String conversationTitle, String appPackageName, @Nullable Icon appIcon) { in createConversationNotificationInfo()
120 @Nullable String userDisplayName, @Nullable Icon appIcon, in ConversationNotificationInfo()
216 public Icon getAppIcon() { in getAppIcon()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyVisual.java37 return new Icon(iconId); in newInstance()
53 private static class Icon extends ExpectedKeyVisual { class in ExpectedKeyVisual
56 Icon(final int iconId) { in Icon() method in ExpectedKeyVisual.Icon
107 return (visual instanceof Icon) && mIconId == ((Icon)visual).mIconId; in hasSameKeyVisual()
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DNotificationUtils.java20 import android.graphics.drawable.Icon;
40 static CompletableFuture<Pair<String, Icon>> getDisplayNameAndRoundedAvatar(Context context, in getDisplayNameAndRoundedAvatar()
46 Icon largeIcon = loadContactAvatar(context, info.getAvatarUri(), size); in getDisplayNameAndRoundedAvatar()
58 static Icon loadContactAvatar(Context context, @Nullable Uri avatarUri, int avatarSize) { in loadContactAvatar()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DSearchActionItemInfo.java22 import android.graphics.drawable.Icon;
44 private final Icon mIcon;
52 public SearchActionItemInfo(Icon icon, String packageName, UserHandle user, in SearchActionItemInfo()
115 public Icon getIcon() { in getIcon()
/packages/apps/Settings/src/com/android/settings/shortcut/
DCreateShortcutPreferenceController.java32 import android.graphics.drawable.Icon;
215 final Icon maskableIcon; in createShortcutInfo()
217 maskableIcon = Icon.createWithAdaptiveBitmap(createIcon( in createShortcutInfo()
223 maskableIcon = Icon.createWithResource(context, R.drawable.ic_launcher_settings); in createShortcutInfo()
255 Icon icon = Icon.createWithResource(context, R.drawable.ic_launcher_settings); in createIcon()
/packages/apps/DeskClock/src/com/android/deskclock/controller/
DShortcutController.kt25 import android.graphics.drawable.Icon
81 .setIcon(Icon.createWithResource(context, R.drawable.shortcut_new_alarm)) in createNewAlarmShortcut()
98 .setIcon(Icon.createWithResource(context, R.drawable.shortcut_new_timer)) in createNewTimerShortcut()
116 .setIcon(Icon.createWithResource(context, R.drawable.shortcut_stopwatch)) in createStopwatchShortcut()
146 .setIcon(Icon.createWithResource(context, R.drawable.shortcut_screensaver)) in createScreensaverShortcut()
/packages/apps/Contacts/src/com/android/contacts/compat/
DPhoneAccountCompat.java20 import android.graphics.drawable.Icon;
39 public static Icon getIcon(@Nullable PhoneAccount phoneAccount) { in getIcon()
80 Icon accountIcon = getIcon(phoneAccount); in createIconDrawableMarshmallow()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DCallServiceNotifier.java29 import android.graphics.drawable.Icon;
138 .setIcon(Icon.createWithResource( in registerPhoneAccount()
160 .setIcon(Icon.createWithResource( in registerPhoneAccount()
180 .setIcon(Icon.createWithResource( in registerPhoneAccount()
195 .setIcon(Icon.createWithResource( in registerPhoneAccount()
DSelfManagedConnection.java24 import android.graphics.drawable.Icon;
126 Icon.createWithResource(mContext, R.drawable.ic_android_black_24dp), in onShowIncomingCallUi()
133 Icon.createWithResource(mContext, R.drawable.ic_android_black_24dp), in onShowIncomingCallUi()
/packages/apps/Dialer/java/com/android/bubble/
DBubbleInfo.java21 import android.graphics.drawable.Icon;
36 public abstract Icon getPrimaryIcon(); in getPrimaryIcon()
66 public abstract Builder setPrimaryIcon(@NonNull Icon primaryIcon); in setPrimaryIcon()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/model/
DCandidateSuggestion.java26 import android.graphics.drawable.Icon;
174 Icon icon = null; in updateBuilder()
193 icon = Icon.createWithResource( in updateBuilder()
248 private Icon getIconFromBundle(Bundle bundle, String key) { in getIconFromBundle()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DInfoFragment.java21 import android.graphics.drawable.Icon;
53 Icon image = getArguments().getParcelable(SlicesConstants.EXTRA_PREFERENCE_INFO_IMAGE); in updateInfo()
54 Icon titleIcon = getArguments().getParcelable( in updateInfo()
/packages/apps/Dialer/java/com/android/incallui/
DStatusBarNotifier.java40 import android.graphics.drawable.Icon;
868 Icon.createWithResource(context, R.drawable.quantum_ic_call_white_24), in addAnswerAction()
911 Icon.createWithResource(context, R.drawable.quantum_ic_call_white_24), in addSpeakeasyAnswerAction()
925 Icon.createWithResource(context, R.drawable.quantum_ic_close_white_24), in addDismissAction()
940 Icon.createWithResource(context, R.drawable.quantum_ic_call_end_white_24), in addHangupAction()
967 Icon.createWithResource(context, R.drawable.quantum_ic_volume_up_vd_theme_24), in addSpeakerOnAction()
981 Icon.createWithResource(context, R.drawable.quantum_ic_phone_in_talk_vd_theme_24), in addSpeakerOffAction()
995 Icon.createWithResource(context, R.drawable.quantum_ic_videocam_vd_white_24), in addVideoCallAction()
1011 Icon.createWithResource(context, R.drawable.quantum_ic_videocam_vd_white_24), in addAcceptUpgradeRequestAction()
1026 Icon.createWithResource(context, R.drawable.quantum_ic_videocam_vd_white_24), in addDismissUpgradeRequestAction()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/suggestions/
DSuggestionPreferenceTest.java29 import android.graphics.drawable.Icon;
78 Icon icon = mock(Icon.class); in updateSuggestion_updatesPreference()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFeatureProviderImpl.java43 import android.graphics.drawable.Icon;
366 Icon.createWithResource(mContext, android.R.color.transparent));
385 final Icon icon = Icon.createWithResource(iconInfo.first, iconInfo.second);
395 final Icon tileIcon = tile.getIcon(preference.getContext());
403 String iconPackage, Icon icon) {
/packages/apps/Dialer/java/com/android/contacts/common/compat/
DPhoneAccountCompat.java20 import android.graphics.drawable.Icon;
47 Icon accountIcon = phoneAccount.getIcon(); in createIconDrawableMarshmallow()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/util/
DVoiceUtil.java43 import android.graphics.drawable.Icon;
172 Icon.createWithResource(context, replyIcon), in createTapToReadConversation()
186 Icon.createWithResource(context, markAsReadIcon), in createTapToReadConversation()
199 Icon.createWithResource(context, muteIcon), in createTapToReadConversation()
/packages/apps/Contacts/src/com/android/contacts/
DDynamicShortcuts.java41 import android.graphics.drawable.Icon;
290 ShortcutInfo getActionShortcutInfo(String id, String label, Intent action, Icon icon) { in getActionShortcutInfo()
343 final Icon icon; in addIconForContact()
345 icon = Icon.createWithAdaptiveBitmap(bitmap); in addIconForContact()
347 icon = Icon.createWithBitmap(bitmap); in addIconForContact()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DGrantPermissionsViewHandler.java21 import android.graphics.drawable.Icon;
89 void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DGrantPermissionsWearViewHandler.java28 import android.graphics.drawable.Icon;
71 private Icon mIcon;
98 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DGrantPermissionsAutoViewHandler.java31 import android.graphics.drawable.Icon;
66 private Icon mGroupIcon;
93 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi()
/packages/apps/Traceur/src/com/android/traceur/
DQsService.java22 import android.graphics.drawable.Icon;
56 getQsTile().setIcon(Icon.createWithResource(this, R.drawable.bugfood_icon)); in update()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DCustomShortcutConfigActivity.java23 import android.graphics.drawable.Icon;
62 .setIcon(Icon.createWithResource(context, iconId)) in createShortcutInfo()

1234