Home
last modified time | relevance | path

Searched refs:MAGENTA (Results 1 – 25 of 33) 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()
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DTestLiveWallpaperNoUnfoldTransition.java25 return Color.MAGENTA; in getColor()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DASurfaceControlTest.java122 private static final PixelColor MAGENTA = new PixelColor(Color.MAGENTA); field in ASurfaceControlTest
809 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setSourceRect()
824 return MAGENTA; in testSurfaceTransaction_setSourceRect()
846 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setSourceRect_smallCentered()
861 return MAGENTA; in testSurfaceTransaction_setSourceRect_smallCentered()
882 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setSourceRect_small()
892 return MAGENTA; in testSurfaceTransaction_setSourceRect_small()
909 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setSourceRect_extraLarge()
926 return MAGENTA; in testSurfaceTransaction_setSourceRect_extraLarge()
942 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setSourceRect_badOffset()
[all …]
DSurfaceControlTest.java114 private static final PixelColor MAGENTA = new PixelColor(Color.MAGENTA); field in SurfaceControlTest
814 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setSourceRect()
830 return MAGENTA; in testSurfaceTransaction_setSourceRect()
846 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setSourceRect_small()
850 new PixelChecker(Color.MAGENTA) { //5000 in testSurfaceTransaction_setSourceRect_small()
868 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setSourceRect_smallCentered()
885 return MAGENTA; in testSurfaceTransaction_setSourceRect_smallCentered()
907 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setCropRect_extraLarge()
926 return MAGENTA; in testSurfaceTransaction_setCropRect_extraLarge()
942 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setCropRect_badOffset()
[all …]
/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/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/tests/tests/view/src/android/view/cts/
DPixelCopyGLProducerCtsActivity.java70 clearColor(Color.MAGENTA); in onDrawFrame()
DMenuItemTest.java110 ColorStateList colorsNew = ColorStateList.valueOf(Color.MAGENTA); in testAccessIconTint()
DPixelCopyTest.java333 bitmap.eraseColor(Color.MAGENTA); in testReuseBitmap()
926 canvas.drawColor(Color.MAGENTA); in testBufferQueueCrop()
998 canvas.drawColor(Color.MAGENTA); in testAutoSizeWithCrop()
1033 canvas.drawColor(Color.MAGENTA); in testAutoSizeWithSrcRect()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationTemplateTest.kt841 .setDeclineButtonColorHint(Color.MAGENTA) in <lambda>()
848 .isEqualTo(Color.MAGENTA) in <lambda>()
858 requireViewWithTextContaining(declineText).bgContainsColor(Color.MAGENTA) in <lambda>()
874 .setDeclineButtonColorHint(Color.MAGENTA) in <lambda>()
881 .isEqualTo(Color.MAGENTA) in <lambda>()
894 requireViewWithTextContaining(declineText).bgContainsColor(Color.MAGENTA) in <lambda>()
/cts/tests/tests/gameservice/src/android/service/games/
DTestGameSessionService.java131 textView.setBackgroundColor(Color.MAGENTA); in onCreate()
/cts/hostsidetests/theme/src/android/theme/cts/
DComparisonTask.java193 colorDiff = Color.MAGENTA.getRGB(); in createDiff()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DColorStateListDrawableTest.java106 final int[] colors = new int[]{Color.MAGENTA, Color.CYAN}; in testHasFocusStateSpecified()
DLevelListDrawableTest.java98 mLevelListDrawable.addLevel(0, 0, new ColorDrawable(Color.MAGENTA)); in testOnLevelChange()
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.java570 Drawable mockIndeterminateDrawable = spy(new ColorDrawable(Color.MAGENTA)); in testIndeterminateTint()
605 Drawable mockIndeterminateDrawable = spy(new ColorDrawable(Color.MAGENTA)); in testIndeterminateTintBlendMode()

12