Home
last modified time | relevance | path

Searched refs:applyTint (Results 1 – 6 of 6) sorted by relevance

/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
DUtils.java107 public static Drawable applyTint(Context context, Drawable icon, int attr) { in applyTint() method in Utils
116 public static Drawable applyTint(Context context, int iconResId, int attr) { in applyTint() method in Utils
117 return applyTint(context, context.getDrawable(iconResId), attr); in applyTint()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DManagePermissionsFragment.java169 preference.setIcon(Utils.applyTint(context, group.getIcon(), in updatePermissionsUi()
204 extraScreenPreference.setIcon(Utils.applyTint(context, in updatePermissionsUi()
DAllAppPermissionsFragment.java201 pref.setIcon(Utils.applyTint(getContext(), icon, android.R.attr.colorControlNormal)); in getPreference()
DAppPermissionsFragment.java219 preference.setIcon(Utils.applyTint(getContext(), icon, in loadPreferences()
DPermissionAppsFragment.java265 pref.setIcon(Utils.applyTint(context, R.drawable.ic_toc, in onPermissionsLoaded()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DPermissionApps.java280 mIcon = Utils.applyTint(mContext, mIcon, android.R.attr.colorControlNormal); in loadGroupInfo()