Home
last modified time | relevance | path

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

12

/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.java1024 CharSequence description, int iconRes) { in setupEmergencyCallShortcutButton()
1029 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()
/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/TvSettings/Settings/src/com/android/tv/settings/device/eco/
DEnergyModesHelper.java65 public final int iconRes; field in EnergyModesHelper.EnergyMode
90 @StringRes int subtitleRes, int colorRes, @DrawableRes int iconRes, in EnergyMode() argument
102 this.iconRes = iconRes; in EnergyMode()
DEnergyModesFragment.java103 if (mode.iconRes != 0) { in createEnergyModeRadioPreference()
107 final Drawable icon = getContext().getDrawable(mode.iconRes); in createEnergyModeRadioPreference()
DEnergyModesContentProvider.java202 bundle.putParcelable(KEY_ICON, Icon.createWithResource(context, mode.iconRes)); in convertEnergyModeToBundle()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DPairedBluetoothDevices.java267 int iconRes = phoneState.mIsAvailable ? R.drawable.ic_qc_bluetooth_phone in createPhoneButton() local
270 Icon.createWithResource(getContext(), iconRes), in createPhoneButton()
279 int iconRes = mediaState.mIsAvailable ? R.drawable.ic_qc_bluetooth_media in createMediaButton() local
282 Icon.createWithResource(getContext(), iconRes), in createMediaButton()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DExtraSettingsUtil.java55 int iconRes = metaData.getInt(META_DATA_PREFERENCE_ICON); in createIcon() local
56 return createIcon(context, metaData, packageName, iconRes); in createIcon()
/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/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DIconProvider.java170 final int iconRes = ai.getIconResource(); in loadActivityInfoIcon() local
173 if (density != 0 && iconRes != 0) { in loadActivityInfoIcon()
177 icon = resources.getDrawableForDensity(iconRes, density); in loadActivityInfoIcon()
DBaseIconFactory.java112 public BitmapInfo createIconBitmap(Intent.ShortcutIconResource iconRes) { in createIconBitmap() argument
114 Resources resources = mPm.getResourcesForApplication(iconRes.packageName); in createIconBitmap()
116 final int id = resources.getIdentifier(iconRes.resourceName, null, null); in createIconBitmap()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DOptionsPopupView.java305 public OptionItem(Context context, int labelRes, int iconRes, EventEnum eventId, in OptionItem() argument
309 this.icon = ContextCompat.getDrawable(context, iconRes); in OptionItem()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskShortcutFactory.java159 public FreeformSystemShortcut(int iconRes, int textRes, BaseDraggingActivity activity, in FreeformSystemShortcut() argument
161 super(iconRes, textRes, activity, taskContainer.getItemInfo(), in FreeformSystemShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java529 public static CharSequence prefixTextWithIcon(Context context, int iconRes, CharSequence msg) { in prefixTextWithIcon() argument
535 spanned.setSpan(new TintedDrawableSpan(context, iconRes), in prefixTextWithIcon()
/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

12