/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | IconFactory.java | 25 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/ |
D | NotificationUtils.java | 22 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/ |
D | TestUtils.java | 22 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/ |
D | ExpectedKeyVisual.java | 37 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/ |
D | CreateShortcutPreferenceController.java | 32 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/ |
D | CreateShortcutPreferenceController.java | 32 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/ |
D | ShortcutController.java | 25 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/ |
D | ExtraSettingsLoader.java | 31 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/ |
D | CallServiceNotifier.java | 29 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()
|
D | SelfManagedConnection.java | 24 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/ |
D | PhoneAccountCompat.java | 20 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/ |
D | StatusBarNotifier.java | 40 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/ |
D | CandidateSuggestion.java | 26 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/ |
D | BubbleInfo.java | 21 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/ |
D | SuggestionPreferenceTest.java | 29 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/ |
D | DashboardFeatureProviderImpl.java | 32 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/ |
D | DashboardFeatureProviderImpl.java | 32 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/ |
D | DynamicShortcuts.java | 41 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/ |
D | PhoneAccountCompat.java | 20 import android.graphics.drawable.Icon; 47 Icon accountIcon = phoneAccount.getIcon(); in createIconDrawableMarshmallow()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | SystemShortcut.java | 10 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/ |
D | GrantPermissionsWatchViewHandler.java | 12 import android.graphics.drawable.Icon; 54 private Icon mIcon; 81 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi()
|
D | GrantPermissionsViewHandler.java | 21 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/ |
D | P2pPermissionManager.java | 32 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/ |
D | QsService.java | 22 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/ |
D | NavigationNotificationViewHolder.java | 19 import android.graphics.drawable.Icon; 66 Icon icon = notification.getLargeIcon(); in bindBody()
|