Home
last modified time | relevance | path

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

123

/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/Car/Dialer/src/com/android/car/dialer/notification/
DNotificationUtils.java22 import android.graphics.drawable.Icon;
42 static Pair<String, Icon> getDisplayNameAndRoundedAvatar(Context context, in getDisplayNameAndRoundedAvatar()
48 Icon largeIcon = loadRoundedContactAvatar(context, displayNameAndAvatarUri.second, in getDisplayNameAndRoundedAvatar()
56 static Icon loadRoundedContactAvatar(Context context, @Nullable Uri avatarUri, int avatarSize) { in loadRoundedContactAvatar()
76 return Icon.createWithBitmap(result); in loadRoundedContactAvatar()
83 static Icon createLetterTile(Context context, String displayName, int avatarSize) { in createLetterTile()
86 return Icon.createWithBitmap(letterTileDrawable.toBitmap(avatarSize)); in createLetterTile()
/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/shortcut/
DCreateShortcutPreferenceController.java32 import android.graphics.drawable.Icon;
148 final Icon maskableIcon; in createResultIntent()
150 maskableIcon = Icon.createWithAdaptiveBitmap(createIcon( in createResultIntent()
155 maskableIcon = Icon.createWithResource(mContext, R.drawable.ic_launcher_settings); in createResultIntent()
244 Icon icon = Icon.createWithResource(mContext, R.drawable.ic_launcher_settings); in createIcon()
/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.java25 import android.graphics.drawable.Icon;
91 .setIcon(Icon.createWithResource(mContext, R.drawable.shortcut_new_alarm)) in createNewAlarmShortcut()
108 .setIcon(Icon.createWithResource(mContext, R.drawable.shortcut_new_timer)) in createNewTimerShortcut()
123 .setIcon(Icon.createWithResource(mContext, R.drawable.shortcut_stopwatch)) in createStopwatchShortcut()
153 .setIcon(Icon.createWithResource(mContext, R.drawable.shortcut_screensaver)) in createScreensaverShortcut()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DExtraSettingsLoader.java31 import android.graphics.drawable.Icon;
117 Icon icon = null; in loadPreferences()
120 icon = Icon.createWithResource(activityInfo.packageName, iconRes); in loadPreferences()
122 icon = Icon.createWithResource(mContext, R.drawable.ic_settings_gear); in loadPreferences()
/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/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/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/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/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/
DDashboardFeatureProviderImpl.java32 import android.graphics.drawable.Icon;
197 final Icon tileIcon = tile.getIcon(preference.getContext()); in bindIcon()
224 final Icon icon = Icon.createWithResource(iconInfo.first, iconInfo.second); in bindIcon()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFeatureProviderImpl.java32 import android.graphics.drawable.Icon;
197 final Icon tileIcon = tile.getIcon(preference.getContext()); in bindIcon()
224 final Icon icon = Icon.createWithResource(iconInfo.first, iconInfo.second); in bindIcon()
/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/apps/Dialer/java/com/android/contacts/common/compat/
DPhoneAccountCompat.java20 import android.graphics.drawable.Icon;
47 Icon accountIcon = phoneAccount.getIcon(); in createIconDrawableMarshmallow()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DSystemShortcut.java10 import android.graphics.drawable.Icon;
42 private final Icon mIcon;
56 public SystemShortcut(Icon icon, CharSequence label, CharSequence contentDescription, in SystemShortcut()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsWatchViewHandler.java12 import android.graphics.drawable.Icon;
54 private Icon mIcon;
81 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi()
DGrantPermissionsViewHandler.java21 import android.graphics.drawable.Icon;
79 void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi()
/packages/services/BuiltInPrintService/src/com/android/bips/
DP2pPermissionManager.java32 import android.graphics.drawable.Icon;
207 Icon.createWithResource(mContext, R.drawable.ic_printservice), in showNotification()
216 Icon.createWithResource(mContext, R.drawable.ic_printservice), in showNotification()
/packages/apps/Traceur/src/com/google/android/traceur/
DQsService.java22 import android.graphics.drawable.Icon;
56 getQsTile().setIcon(Icon.createWithResource(this, R.drawable.stat_sys_adb)); in update()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DNavigationNotificationViewHolder.java19 import android.graphics.drawable.Icon;
66 Icon icon = notification.getLargeIcon(); in bindBody()

123