Home
last modified time | relevance | path

Searched refs:MAGENTA (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/tests/graphics/src/android/graphics/cts/
DLightingColorFilterTest.java50 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
53 verifyColor(Color.MAGENTA, bitmap.getPixel(0, 0)); in testLightingColorFilter()
55 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
60 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
67 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
73 paint.setColor(Color.MAGENTA); in testLightingColorFilter()
74 paint.setColorFilter(new LightingColorFilter(Color.WHITE, Color.MAGENTA)); in testLightingColorFilter()
76 verifyColor(Color.MAGENTA, bitmap.getPixel(0, 0)); in testLightingColorFilter()
DPorterDuffXfermodeTest.java73 assertEquals(Color.MAGENTA, target.getPixel(WIDTH / 4, HEIGHT * 3 / 4)); in testPorterDuffXfermode()
DColorMatrixColorFilterTest.java68 paint.setColor(Color.MAGENTA); in testColorMatrixColorFilter()
DColorTest.java279 assertEquals(Color.MAGENTA, Color.parseColor("magenta")); in testParseColor()
/cts/tests/tests/view/src/android/view/cts/
DASurfaceControlTest.java97 private static final PixelColor MAGENTA = new PixelColor(PixelColor.MAGENTA); field in ASurfaceControlTest
697 PixelColor.MAGENTA, PixelColor.GREEN); in testSurfaceTransaction_setSourceRect()
713 return MAGENTA; in testSurfaceTransaction_setSourceRect()
729 PixelColor.MAGENTA, PixelColor.GREEN); in testSurfaceTransaction_setSourceRect_smallCentered()
746 return MAGENTA; in testSurfaceTransaction_setSourceRect_smallCentered()
762 PixelColor.MAGENTA, PixelColor.GREEN); in testSurfaceTransaction_setSourceRect_small()
773 return MAGENTA; in testSurfaceTransaction_setSourceRect_small()
789 PixelColor.MAGENTA, PixelColor.GREEN); in testSurfaceTransaction_setSourceRect_extraLarge()
806 return MAGENTA; in testSurfaceTransaction_setSourceRect_extraLarge()
822 PixelColor.MAGENTA, PixelColor.GREEN); in testSurfaceTransaction_setSourceRect_badOffset()
[all …]
DMenuItemTest.java99 ColorStateList colorsNew = ColorStateList.valueOf(Color.MAGENTA); in testAccessIconTint()
/cts/tests/tests/text/src/android/text/style/cts/
DBackgroundColorSpanTest.java105 BackgroundColorSpan backgroundColorSpan = new BackgroundColorSpan(Color.MAGENTA); in testWriteToParcel()
109 assertEquals(Color.MAGENTA, b.getBackgroundColor()); in testWriteToParcel()
DForegroundColorSpanTest.java107 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.MAGENTA); in testWriteToParcel()
111 assertEquals(Color.MAGENTA, f.getForegroundColor()); in testWriteToParcel()
DQuoteSpanTest.java145 QuoteSpan quoteSpan = new QuoteSpan(Color.MAGENTA); in testWriteToParcel()
149 assertEquals(Color.MAGENTA, q.getColor()); in testWriteToParcel()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBlendModeColorFilterTest.java118 BlendModeColorFilter filter = new BlendModeColorFilter(Color.MAGENTA, BlendMode.HARD_LIGHT); in testBlendModeColorFilterGetColor()
119 assertEquals(Color.MAGENTA, filter.getColor()); in testBlendModeColorFilterGetColor()
DBlendModeTest.java175 testBlendMode(BlendMode.PLUS, DST_COLOR, Color.MAGENTA, Color.BLUE); in testBlendMode_PLUS()
190 testBlendMode(BlendMode.SCREEN, DST_COLOR, Color.MAGENTA, Color.BLUE); in testBlendMode_SCREEN()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DPixelColor.java24 public static final int MAGENTA = 0xFFFF00FF; field in PixelColor
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DResourceModifier.java90 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR); in ResourceModifier()
93 Color.YELLOW, Color.MAGENTA); in ResourceModifier()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/
DTouchPointView.java42 Color.MAGENTA,
/cts/hostsidetests/theme/src/android/theme/cts/
DComparisonTask.java193 colorDiff = Color.MAGENTA.getRGB(); in createDiff()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLevelListDrawableTest.java98 mLevelListDrawable.addLevel(0, 0, new ColorDrawable(Color.MAGENTA)); in testOnLevelChange()
DColorStateListDrawableTest.java106 final int[] colors = new int[]{Color.MAGENTA, Color.CYAN}; in testHasFocusStateSpecified()
DDrawableContainerStateTest.java269 Drawable dr4 = spy(new ColorDrawable(Color.MAGENTA)); in testGetOpacity()
DDrawableContainerTest.java309 Drawable mockDrawable = spy(new ColorDrawable(Color.MAGENTA)); in testSetColorFilter()
802 Drawable dr0 = spy(new ColorDrawable(Color.MAGENTA)); in testMutate()
DDrawableWrapperTest.java251 Drawable mockDrawable = spy(new ColorDrawable(Color.MAGENTA)); in testSetAlpha()
/cts/tests/tests/widget/src/android/widget/cts/
DProgressBarTest.java561 Drawable mockIndeterminateDrawable = spy(new ColorDrawable(Color.MAGENTA)); in testIndeterminateTint()
596 Drawable mockIndeterminateDrawable = spy(new ColorDrawable(Color.MAGENTA)); in testIndeterminateTintBlendMode()
DLinearLayoutTest.java853 dividerSize, Color.MAGENTA, dividerPadding); in testDividersInVerticalLayout()
1116 dividerSize, Color.MAGENTA, dividerPadding); in testDividersInHorizontalLayout()
DListViewTest.java124 Color.BLUE, Color.CYAN, Color.GREEN, Color.YELLOW, Color.RED, Color.MAGENTA
1617 final Drawable overscrollFooterDrawable = spy(new ColorDrawable(Color.MAGENTA)); in testAccessOverscrollFooter()
/cts/tests/tests/text/src/android/text/cts/
DHtmlTest.java128 new Object[] { "<font color=\"magenta\">magenta</font>", Color.MAGENTA }, in paramsForTestColor()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java204 .setHighlightColor(Color.MAGENTA)

12