Home
last modified time | relevance | path

Searched refs:adaptiveIcon (Results 1 – 3 of 3) sorted by relevance

/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java215 AdaptiveIconDrawable adaptiveIcon = normalizeAndWrapToAdaptiveIcon(icon, null, scale); in createBadgedIconBitmap() local
216 Bitmap bitmap = createIconBitmap(adaptiveIcon, scale[0], in createBadgedIconBitmap()
223 if (adaptiveIcon instanceof BitmapInfo.Extender extender) { in createBadgedIconBitmap()
226 Drawable mono = getMonochromeDrawable(adaptiveIcon); in createBadgedIconBitmap()
319 AdaptiveIconDrawable adaptiveIcon; in normalizeAndWrapToAdaptiveIcon() local
321 adaptiveIcon = wrapToAdaptiveIcon(icon, outIconBounds); in normalizeAndWrapToAdaptiveIcon()
322 scale = getNormalizer().getScale(adaptiveIcon, outIconBounds, null, null); in normalizeAndWrapToAdaptiveIcon()
324 return adaptiveIcon; in normalizeAndWrapToAdaptiveIcon()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java217 final Drawable adaptiveIcon = new AdaptiveIcon(context, drawable); in buildBtRainbowDrawable() local
218 ((AdaptiveIcon) adaptiveIcon).setBackgroundColor(iconBgColors[index]); in buildBtRainbowDrawable()
220 return adaptiveIcon; in buildBtRainbowDrawable()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DGroupHelperTest.java1318 AdaptiveIconDrawable adaptiveIcon = mock(AdaptiveIconDrawable.class); in testMonochromeAppIcon_adaptiveIconExists() local
1320 when(mPackageManager.getApplicationIcon(pkg)).thenReturn(adaptiveIcon); in testMonochromeAppIcon_adaptiveIconExists()
1321 when(adaptiveIcon.getMonochrome()).thenReturn(monochromeIcon); in testMonochromeAppIcon_adaptiveIconExists()
1322 when(adaptiveIcon.getSourceDrawableResId()).thenReturn(monochromeIconResId); in testMonochromeAppIcon_adaptiveIconExists()