Home
last modified time | relevance | path

Searched refs:iconRes (Results 1 – 23 of 23) sorted by relevance

/packages/services/Telephony/src/com/android/phone/
DEccShortcutAdapter.java49 public int iconRes = 0; field in EccShortcutAdapter.EccDisplayMaterial
80 material.iconRes); in getView()
100 CharSequence description, int iconRes); in inflateView() argument
175 material.iconRes = R.drawable.ic_local_police_gm2_24px; in prepareEccMaterial()
179 material.iconRes = R.drawable.ic_local_hospital_gm2_24px; in prepareEccMaterial()
183 material.iconRes = R.drawable.ic_local_fire_department_gm2_24px; in prepareEccMaterial()
194 material.iconRes = R.drawable.ic_local_hospital_gm2_24px; in prepareEccMaterial()
200 if (TextUtils.isEmpty(material.description) || material.iconRes == 0) { in prepareEccMaterial()
DEmergencyDialer.java1019 CharSequence description, int iconRes) { in setupEmergencyCallShortcutButton()
1024 button.setPhoneTypeIcon(iconRes); in setupEmergencyCallShortcutButton()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountType.java89 public int iconRes; field in AccountType
277 return getDisplayIcon(context, titleRes, iconRes, syncAdapterPackageName); in getDisplayIcon()
280 public static Drawable getDisplayIcon(Context context, int titleRes, int iconRes, in getDisplayIcon() argument
284 return pm.getDrawable(syncAdapterPackageName, iconRes, null); in getDisplayIcon()
286 return context.getResources().getDrawable(iconRes); in getDisplayIcon()
328 iconRes = authenticator.iconId; in initializeFieldsFromAuthenticator()
DFallbackAccountType.java37 this.iconRes = R.drawable.quantum_ic_smartphone_vd_theme_24; in FallbackAccountType()
67 final Drawable icon = ResourcesCompat.getDrawable(context.getResources(), iconRes, null); in getDisplayIcon()
DSimAccountType.java42 this.iconRes = R.drawable.quantum_ic_sim_card_vd_theme_24; in SimAccountType()
123 final Drawable icon = ResourcesCompat.getDrawable(context.getResources(), iconRes, null); in getDisplayIcon()
DExternalAccountType.java176 iconRes = resolveExternalResId(context, mAccountTypeIconAttribute, in ExternalAccountType()
DBaseAccountType.java125 this.iconRes = R.mipmap.ic_contacts_launcher; in BaseAccountType()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/model/
DCandidateSuggestion.java170 int iconRes = 0; in updateBuilder() local
188 iconRes = metaData.getInt(META_DATA_PREFERENCE_ICON); in updateBuilder()
190 iconRes = mResolveInfo.activityInfo.icon; in updateBuilder()
192 if (iconRes != 0) { in updateBuilder()
194 mResolveInfo.activityInfo.packageName, iconRes); in updateBuilder()
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DAccountType.java84 public int iconRes; field in AccountType
112 Context context, int titleRes, int iconRes, String syncAdapterPackageName) { in getDisplayIcon() argument
115 return pm.getDrawable(syncAdapterPackageName, iconRes, null); in getDisplayIcon()
117 return ContextCompat.getDrawable(context, iconRes); in getDisplayIcon()
262 return getDisplayIcon(context, titleRes, iconRes, syncAdapterPackageName); in getDisplayIcon()
DFallbackAccountType.java32 this.iconRes = R.mipmap.ic_contacts_launcher; in FallbackAccountType()
DExternalAccountType.java179 iconRes = in ExternalAccountType()
DBaseAccountType.java119 this.iconRes = R.mipmap.ic_contacts_launcher; in BaseAccountType()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DTestContentProvider.java123 int iconRes = resources.getIdentifier("test_icon", "drawable", in call() local
125 if (iconRes == 0) { in call()
130 bundle.putInt(KEY_PREFERENCE_ICON, iconRes); in call()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskShortcutFactory.java74 MultiWindowFactory(int iconRes, int textRes, LauncherEvent launcherEvent) { in MultiWindowFactory() argument
75 mIconRes = iconRes; in MultiWindowFactory()
125 public MultiWindowSystemShortcut(int iconRes, int textRes, BaseDraggingActivity activity, in MultiWindowSystemShortcut() argument
127 super(iconRes, textRes, activity, taskView.getItemInfo()); in MultiWindowSystemShortcut()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java213 int iconRes = intent.getIntExtra(LauncherActivity.TASK_ICON_RES, -1); in updateTaskDescription() local
214 assert(iconRes > -1); in updateTaskDescription()
216 setTaskDescription(new TaskDescription(label, iconRes)); in updateTaskDescription()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DExtraSettingsUtil.java56 int iconRes = metaData.getInt(META_DATA_PREFERENCE_ICON); in createIcon() local
57 return createIcon(context, metaData, packageName, iconRes); in createIcon()
/packages/apps/Car/libs/car-assist-lib/src/com/android/car/assist/payloadhandlers/
DConversationPayloadHandler.java66 @DrawableRes int iconRes, in createNotificationFromConversation() argument
78 .setSmallIcon(iconRes) in createNotificationFromConversation()
/packages/apps/Launcher3/src/com/android/launcher3/
DDefaultLayoutParser.java187 public UriShortcutParser(Resources iconRes) { in UriShortcutParser() argument
188 super(iconRes); in UriShortcutParser()
DAutoInstallsLayout.java424 public ShortcutParser(Resources iconRes) { in ShortcutParser() argument
425 mIconRes = iconRes; in ShortcutParser()
DUtilities.java558 public static CharSequence prefixTextWithIcon(Context context, int iconRes, CharSequence msg) { in prefixTextWithIcon() argument
564 spanned.setSpan(new TintedDrawableSpan(context, iconRes), in prefixTextWithIcon()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DOptionsPopupView.java287 public OptionItem(Context context, int labelRes, int iconRes, EventEnum eventId, in OptionItem() argument
291 this.icon = ContextCompat.getDrawable(context, iconRes); in OptionItem()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DAccountTypeManager.java466 accountType.iconRes = auth.iconId; in loadAccountsInBackground()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java977 int iconRes = CameraUtil.getCameraModeCoverIconResId(moduleToTransitionTo, in onSwipeDetected() local