Home
last modified time | relevance | path

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

/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
H A DLogoUtilsTest.java34 private static final int SAMPLE_COLOR = Color.RED; field in LogoUtilsTest
44 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(5, 5)); in testPartiallyResizedBitmap()
58 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(1, 1)); in testPartiallyResizedElongatedBitmap()
70 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(2, 2)); in testResizeBitmapKeepRatio()
80 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(2, 2)); in testResizeBitmapNoScalingNeeded()
88 assertEquals(SAMPLE_COLOR, newBitmap.getPixel(2, 2)); in testResizeBitmapNoIntegerRatio()
96 Drawable drawable = LogoUtils.getOrganisationLogo(getContext(), SAMPLE_COLOR); in testSaveGetOrganisationLogo()
109 expected.setColorFilter(SAMPLE_COLOR, PorterDuff.Mode.SRC_ATOP); in testDefaultOrganisationLogo()
112 Drawable actual = LogoUtils.getOrganisationLogo(getContext(), SAMPLE_COLOR); in testDefaultOrganisationLogo()
122 paint.setColor(SAMPLE_COLOR); in createSampleBitmap()
H A DHtmlToSpannedParserTest.java32 private static final int SAMPLE_COLOR = Color.MAGENTA; field in HtmlToSpannedParserTest
38 new HtmlToSpannedParser(new ClickableSpanFactory(SAMPLE_COLOR, intent -> {}), in setUp()