Searched refs:adaptiveIcon (Results 1 – 5 of 5) sorted by relevance
114 AdaptiveIconDrawable adaptiveIcon = (AdaptiveIconDrawable) appIcon; in getShapedAppIcons() local115 icon = new DynamicAdaptiveIconDrawable(adaptiveIcon.getBackground(), in getShapedAppIcons()116 adaptiveIcon.getForeground(), path); in getShapedAppIcons()
253 AdaptiveIconDrawable adaptiveIcon = (AdaptiveIconDrawable) dr; in setItemInfo() local259 adaptiveIcon.setBounds(shrunkBounds); in setItemInfo()260 final Path mask = adaptiveIcon.getIconMask(); in setItemInfo()271 mBgSpringDrawable = adaptiveIcon.getBackground(); in setItemInfo()276 mFgSpringDrawable = adaptiveIcon.getForeground(); in setItemInfo()
277 AdaptiveIconDrawable adaptiveIcon = (AdaptiveIconDrawable) drawable; in setIcon() local278 Drawable background = adaptiveIcon.getBackground(); in setIcon()283 Drawable foreground = adaptiveIcon.getForeground(); in setIcon()
998 Drawable adaptiveIcon = getSafeIcon(icon); in getAdaptiveIcon() local1000 if (!(adaptiveIcon instanceof AdaptiveIconDrawable)) { in getAdaptiveIcon()1001 adaptiveIcon = new AdaptiveIcon(context, adaptiveIcon); in getAdaptiveIcon()1002 ((AdaptiveIcon) adaptiveIcon).setBackgroundColor(backgroundColor); in getAdaptiveIcon()1005 return adaptiveIcon; in getAdaptiveIcon()
347 AdaptiveIconDrawable adaptiveIcon = (AdaptiveIconDrawable) drawable; in createPreviewInfo() local349 new DynamicAdaptiveIconDrawable(adaptiveIcon.getBackground(), in createPreviewInfo()350 adaptiveIcon.getForeground(), path), in createPreviewInfo()