Searched refs:adaptiveIcon (Results 1 – 6 of 6) sorted by relevance
114 AdaptiveIconDrawable adaptiveIcon = (AdaptiveIconDrawable) appIcon; in getShapedAppIcons() local115 icon = new DynamicAdaptiveIconDrawable(adaptiveIcon.getBackground(), in getShapedAppIcons()116 adaptiveIcon.getForeground(), path); in getShapedAppIcons()
246 AdaptiveIconDrawable adaptiveIcon = (AdaptiveIconDrawable) dr; in setItemInfo()252 adaptiveIcon.setBounds(shrunkBounds); in setItemInfo()253 final Path mask = adaptiveIcon.getIconMask(); in setItemInfo()264 mBgSpringDrawable = adaptiveIcon.getBackground(); in setItemInfo()269 mFgSpringDrawable = adaptiveIcon.getForeground(); in setItemInfo()
171 final Drawable adaptiveIcon = new AdaptiveIcon(context, drawable); in buildBtRainbowDrawable() local172 ((AdaptiveIcon) adaptiveIcon).setBackgroundColor(iconBgColors[index]); in buildBtRainbowDrawable()174 return adaptiveIcon; in buildBtRainbowDrawable()
277 AdaptiveIconDrawable adaptiveIcon = (AdaptiveIconDrawable) drawable; in setIcon() local278 Drawable background = adaptiveIcon.getBackground(); in setIcon()283 Drawable foreground = adaptiveIcon.getForeground(); in setIcon()
347 AdaptiveIconDrawable adaptiveIcon = (AdaptiveIconDrawable) drawable; in createPreviewInfo() local349 new DynamicAdaptiveIconDrawable(adaptiveIcon.getBackground(), in createPreviewInfo()350 adaptiveIcon.getForeground(), path), in createPreviewInfo()
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()