Searched refs:getSafeIcon (Results 1 – 4 of 4) sorted by relevance
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SliceBuilderUtils.java | 268 final IconCompat icon = getSafeIcon(context, sliceData); in buildToggleSlice() 293 final IconCompat icon = getSafeIcon(context, sliceData); in buildIntentSlice() 316 final IconCompat icon = getSafeIcon(context, sliceData); in buildSliderSlice() 340 final IconCompat icon = getSafeIcon(context, sliceData); in buildCopyableSlice() 431 final IconCompat icon = getSafeIcon(context, data); in buildUnavailableSlice() 448 static IconCompat getSafeIcon(Context context, SliceData data) { in getSafeIcon() method in SliceBuilderUtils
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceBuilderUtils.java | 257 final IconCompat icon = getSafeIcon(context, sliceData); in buildToggleSlice() 282 final IconCompat icon = getSafeIcon(context, sliceData); in buildIntentSlice() 309 final IconCompat icon = getSafeIcon(context, sliceData); in buildSliderSlice() 334 final IconCompat icon = getSafeIcon(context, sliceData); in buildCopyableSlice() 425 final IconCompat icon = getSafeIcon(context, data); in buildUnavailableSlice() 442 static IconCompat getSafeIcon(Context context, SliceData data) { in getSafeIcon() method in SliceBuilderUtils
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/ |
D | TaskItemView.java | 124 mIconDrawable.setCurrentDrawable(getSafeIcon(icon)); in setIcon() 159 mIconDrawable.startNewTransition(getSafeIcon(endIcon)); in startContentAnimation() 173 private @NonNull Drawable getSafeIcon(@Nullable Drawable icon) { in getSafeIcon() method in TaskItemView
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceBuilderUtilsTest.java | 490 final IconCompat actualIcon = SliceBuilderUtils.getSafeIcon(mContext, data); in getSafeIcon_replacesEmptyIconWithSettingsIcon() 504 final IconCompat actualIcon = SliceBuilderUtils.getSafeIcon(mContext, data); in getSafeIcon_invalidResource_shouldFallbackToSettingsIcon()
|