Home
last modified time | relevance | path

Searched refs:iconRes (Results 1 – 22 of 22) 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.java1013 CharSequence description, int iconRes) { in setupEmergencyCallShortcutButton()
1018 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.java37 this.iconRes = R.drawable.quantum_ic_sim_card_vd_theme_24; in SimAccountType()
DExternalAccountType.java176 iconRes = resolveExternalResId(context, mAccountTypeIconAttribute, in ExternalAccountType()
DBaseAccountType.java124 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/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java97 public BitmapInfo createIconBitmap(Intent.ShortcutIconResource iconRes) { in createIconBitmap() argument
99 Resources resources = mPm.getResourcesForApplication(iconRes.packageName); in createIconBitmap()
101 final int id = resources.getIdentifier(iconRes.resourceName, null, null); in createIconBitmap()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java199 int iconRes = intent.getIntExtra(LauncherActivity.TASK_ICON_RES, -1); in updateTaskDescription() local
200 assert(iconRes > -1); in updateTaskDescription()
202 setTaskDescription(new TaskDescription(label, iconRes)); in updateTaskDescription()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DExtraSettingsLoader.java120 int iconRes = metaData.getInt(META_DATA_PREFERENCE_ICON); in loadPreferences() local
121 icon = Icon.createWithResource(activityInfo.packageName, iconRes); in loadPreferences()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DOptionsPopupView.java227 public OptionItem(int labelRes, int iconRes, int controlTypeForLog, in OptionItem() argument
230 mIconRes = iconRes; in OptionItem()
/packages/apps/Launcher3/src/com/android/launcher3/
DDefaultLayoutParser.java187 public UriShortcutParser(Resources iconRes) { in UriShortcutParser() argument
188 super(iconRes); in UriShortcutParser()
DUtilities.java454 public static CharSequence prefixTextWithIcon(Context context, int iconRes, CharSequence msg) { in prefixTextWithIcon() argument
460 spanned.setSpan(new TintedDrawableSpan(context, iconRes), in prefixTextWithIcon()
DAutoInstallsLayout.java421 public ShortcutParser(Resources iconRes) { in ShortcutParser() argument
422 mIconRes = iconRes; in ShortcutParser()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskSystemShortcut.java113 public MultiWindow(int iconRes, int textRes) { in MultiWindow() argument
114 super(iconRes, textRes); in MultiWindow()
/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.java976 int iconRes = CameraUtil.getCameraModeCoverIconResId(moduleToTransitionTo, in onSwipeDetected() local