Searched refs:getSafeIcon (Results 1 – 11 of 11) sorted by relevance
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAppUtilsTest.java | 44 Drawable icon = DefaultAppUtils.getSafeIcon(drawable, testMaxDimensions); in setSafeIcon_smallerThanLimit() 59 Drawable icon = DefaultAppUtils.getSafeIcon(drawable, testMaxDimensions); in setSafeIcon_largerThanLimit() 74 Drawable icon = DefaultAppUtils.getSafeIcon(drawable, testMaxDimensions); in setSafeIcon_noChangeForVectorDrawable()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceBuilderUtils.java | 237 final IconCompat icon = getSafeIcon(context, sliceData); in buildToggleSlice() 265 final IconCompat icon = getSafeIcon(context, sliceData); in buildIntentSlice() 295 final IconCompat icon = getSafeIcon(context, sliceData); in buildSliderSlice() 335 final IconCompat icon = getSafeIcon(context, sliceData); in buildCopyableSlice() 430 final IconCompat icon = getSafeIcon(context, data); in buildUnavailableSlice() 450 static IconCompat getSafeIcon(Context context, SliceData data) { in getSafeIcon() method in SliceBuilderUtils
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAppUtils.java | 32 public static Drawable getSafeIcon(Drawable icon, int maxDimension) { in getSafeIcon() method in DefaultAppUtils
|
D | DefaultAppEntryBasePreferenceController.java | 57 preference.setIcon(DefaultAppUtils.getSafeIcon(getDefaultAppIcon(), in updateState()
|
D | DefaultAppsPickerBasePreferenceController.java | 123 preference.setIcon(DefaultAppUtils.getSafeIcon(info.loadIcon(), in createOption()
|
/packages/apps/Settings/src/com/android/settings/dream/ |
D | CurrentDreamPreferenceController.java | 91 gearPref.setIcon(Utils.getSafeIcon(mBackend.getActiveIcon())); in setActiveDreamIcon()
|
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/ |
D | DefaultAppPreferenceController.java | 73 preference.setIcon(Utils.getSafeIcon(getDefaultAppIcon())); in updateState()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceBuilderUtilsTest.java | 437 final IconCompat actualIcon = SliceBuilderUtils.getSafeIcon(mContext, data); in getSafeIcon_replacesEmptyIconWithSettingsIcon() 451 final IconCompat actualIcon = SliceBuilderUtils.getSafeIcon(mContext, data); in getSafeIcon_invalidResource_shouldFallbackToSettingsIcon()
|
/packages/apps/Settings/src/com/android/settings/applications/autofill/ |
D | PasswordsPreferenceController.java | 130 pref.setIcon(Utils.getSafeIcon(icon)); in addPasswordPreferences()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | RadioButtonPickerFragment.java | 208 pref.setIcon(Utils.getSafeIcon(info.loadIcon())); in bindPreference()
|
/packages/apps/Settings/src/com/android/settings/ |
D | Utils.java | 998 Drawable adaptiveIcon = getSafeIcon(icon); in getAdaptiveIcon() 1012 public static Drawable getSafeIcon(Drawable icon) { in getSafeIcon() method in Utils
|