Home
last modified time | relevance | path

Searched refs:monochromeIcon (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DGroupHelper.java370 Icon monochromeIcon = null; in getMonochromeAppIcon() local
376 monochromeIcon = Icon.createWithResourceAdaptiveDrawable(pkg, in getMonochromeAppIcon()
384 if (monochromeIcon != null) { in getMonochromeAppIcon()
385 return monochromeIcon; in getMonochromeAppIcon()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DGroupHelperTest.java1001 final Icon monochromeIcon = mock(Icon.class); in testAddSummary_diffIcon_diffColor_disableFlag() local
1002 when(monochromeIcon.sameAs(monochromeIcon)).thenReturn(true); in testAddSummary_diffIcon_diffColor_disableFlag()
1004 doReturn(monochromeIcon).when(groupHelper).getMonochromeAppIcon(eq(pkg)); in testAddSummary_diffIcon_diffColor_disableFlag()
1031 NotificationAttributes newAttr = new NotificationAttributes(BASE_FLAGS, monochromeIcon, in testAddSummary_diffIcon_diffColor_disableFlag()
1046 final Icon monochromeIcon = mock(Icon.class); in testAddSummary_diffIcon_diffColor() local
1047 when(monochromeIcon.sameAs(monochromeIcon)).thenReturn(true); in testAddSummary_diffIcon_diffColor()
1049 doReturn(monochromeIcon).when(groupHelper).getMonochromeAppIcon(eq(pkg)); in testAddSummary_diffIcon_diffColor()
1076 NotificationAttributes newAttr = new NotificationAttributes(BASE_FLAGS, monochromeIcon, in testAddSummary_diffIcon_diffColor()
1218 final Icon monochromeIcon = mock(Icon.class); in testAutobundledSummaryIcon_diffIcon() local
1220 doReturn(monochromeIcon).when(groupHelper).getMonochromeAppIcon(eq(pkg)); in testAutobundledSummaryIcon_diffIcon()
[all …]