Home
last modified time | relevance | path

Searched refs:GREEN (Results 1 – 25 of 86) sorted by relevance

1234

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DClipDrawableTest.java80 Drawable mockDrawable = spy(new ColorDrawable(Color.GREEN)); in testDraw()
102 Drawable colorDrawable = new ColorDrawable(Color.GREEN); in testGetChangingConfigurations()
118 Drawable mockDrawable = spy(new ColorDrawable(Color.GREEN)); in testGetConstantState()
134 Drawable colorDrawable = new ColorDrawable(Color.GREEN); in testGetIntrinsicHeight()
149 Drawable colorDrawable = new ColorDrawable(Color.GREEN); in testGetIntrinsicWidth()
164 Drawable dr = spy(new ColorDrawable(Color.GREEN)); in testGetOpacity()
187 Drawable colorDrawable = new ColorDrawable(Color.GREEN); in testGetPadding()
219 Drawable colorDrawable = new ColorDrawable(Color.GREEN); in testInvalidateDrawable()
233 Drawable colorDrawable = new ColorDrawable(Color.GREEN); in testIsStateful()
246 Drawable colorDrawable = new ColorDrawable(Color.GREEN); in testOnBoundsChange()
[all …]
DDrawableContainerStateTest.java116 Drawable dr1 = spy(new ColorDrawable(Color.GREEN)); in testIsStateful()
227 Drawable dr2 = spy(new ColorDrawable(Color.GREEN)); in testConstantHeightsAndWidths()
257 Drawable dr2 = spy(new ColorDrawable(Color.GREEN)); in testGetOpacity()
DDrawableContainerTest.java329 Drawable dr = spy(new ColorDrawable(Color.GREEN)); in testSetTint()
341 Drawable dr = spy(new ColorDrawable(Color.GREEN)); in testSetBlendMode()
388 Drawable dr1 = spy(new ColorDrawable(Color.GREEN)); in testIsStateful()
471 Drawable dr1 = spy(new ColorDrawable(Color.GREEN)); in testGetIntrinsicWidth()
504 Drawable dr1 = spy(new ColorDrawable(Color.GREEN)); in testGetIntrinsicHeight()
570 Drawable dr1 = spy(new ColorDrawable(Color.GREEN)); in testGetMinimumHeight()
717 Drawable dr0 = spy(new ColorDrawable(Color.GREEN)); in testGetOpacity()
/cts/tests/tests/view/src/android/view/cts/
DViewGroupOverlayTest.java125 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithNonOverlappingViews()
137 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingViews()
163 final Drawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayWithNonOverlappingViewAndDrawable()
171 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingViewAndDrawable()
178 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingViewAndDrawable()
196 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithOverlappingViews()
206 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingViews()
230 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithOverlappingViewAndDrawable()
241 colorRectangles.add(new Pair<>(new Rect(60, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingViewAndDrawable()
248 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingViewAndDrawable()
DViewOverlayTest.java144 final Drawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayWithNonOverlappingDrawables()
155 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingDrawables()
180 final Drawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayWithOverlappingDrawables()
190 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingDrawables()
232 drawable.setColor(Color.GREEN); in testOverlayDynamicChangesToDrawable()
234 colorRectangles.add(new Pair<>(new Rect(50, 10, 80, 90), Color.GREEN)); in testOverlayDynamicChangesToDrawable()
245 final ColorDrawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayDynamicChangesToOverlappingDrawables()
255 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayDynamicChangesToOverlappingDrawables()
263 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayDynamicChangesToOverlappingDrawables()
DPixelCopyTest.java193 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerFullsize()
213 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerCropCenter()
233 Color.GREEN, Color.GREEN, Color.GREEN, Color.GREEN); in testGlProducerCropClamping()
249 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerScaling()
264 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testReuseBitmap()
272 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testReuseBitmap()
301 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducer()
328 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducerCropCenter()
360 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducerScaling()
380 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducerCopyToRGBA16F()
[all …]
DASurfaceControlTest.java729 PixelColor.MAGENTA, PixelColor.GREEN); in testSurfaceTransaction_setSourceRect()
755 new PixelChecker(PixelColor.GREEN) { //2500 in testSurfaceTransaction_setSourceRect()
772 PixelColor.MAGENTA, PixelColor.GREEN); in testSurfaceTransaction_setSourceRect_smallCentered()
798 new PixelChecker(PixelColor.GREEN) { //2500 in testSurfaceTransaction_setSourceRect_smallCentered()
816 PixelColor.MAGENTA, PixelColor.GREEN); in testSurfaceTransaction_setSourceRect_small()
837 PixelColor.MAGENTA, PixelColor.GREEN); in testSurfaceTransaction_setSourceRect_extraLarge()
863 new PixelChecker(PixelColor.GREEN) { //2500 in testSurfaceTransaction_setSourceRect_extraLarge()
881 PixelColor.MAGENTA, PixelColor.GREEN); in testSurfaceTransaction_setSourceRect_badOffset()
903 PixelColor.MAGENTA, PixelColor.GREEN); in testSurfaceTransaction_setTransform_flipH()
926 PixelColor.MAGENTA, PixelColor.GREEN); in testSurfaceTransaction_setTransform_rotate180()
[all …]
DTextureViewTest.java98 activity.drawColor(Color.GREEN); in testFirstFrames()
106 assertEquals(Color.GREEN, color); in testFirstFrames()
123 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testScaling()
140 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testRotateScale()
162 Color.BLACK, Color.BLUE, Color.GREEN, Color.RED); in testRotateScale()
182 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testTransformScale()
216 assertEquals("top right", Color.GREEN, in testTransformScale()
506 clearColor(Color.GREEN); in drawGlQuad()
/cts/tests/app/src/android/app/cts/
DWallpaperColorsTest.java45 colorList.add(Color.valueOf(Color.GREEN)); in getWallpaperColorsTest()
70 Color.valueOf(Color.BLACK), Color.valueOf(Color.GREEN)); in parcelTest()
85 canvas.drawColor(Color.GREEN); in fromBitmapTest()
94 ColorDrawable drawable = new ColorDrawable(Color.GREEN); in fromDrawableTest()
104 ColorDrawable drawable = new ColorDrawable(Color.GREEN); in fromDrawableDoesntMutateBounds()
/cts/apps/CameraITS/tests/scene5/
Dtest_lens_shading_and_color_uniformity.py51 GREEN = (0, 0.7, 0.3) # blocks passed the test
102 cv2.rectangle(img_legend_ls, (left, top), (right, bottom), GREEN,
106 font_scale, text_offset, GREEN, int(line_width/2))
108 cv2.rectangle(img_legend_ufmt, (left, top), (right, bottom), GREEN,
114 font_scale, text_offset, GREEN, int(line_width/2))
169 legend_color = GREEN
186 legend_color = GREEN
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DTextureTestRenderer.java74 Color.GREEN, Color.GREEN, Color.CYAN, Color.CYAN, in TextureTestRenderer()
75 Color.GREEN, Color.GREEN, Color.CYAN, Color.CYAN in TextureTestRenderer()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DEdgeEffectTests.java136 edgeEffect.setColor(Color.GREEN); in testSetColor()
137 assertEquals(Color.GREEN, edgeEffect.getColor()); in testSetColor()
187 effect.setColor(Color.GREEN); in testGetColor()
188 assertEquals(Color.GREEN, effect.getColor()); in testGetColor()
DPictureTest.java43 pt.setColor(Color.GREEN); in greenSquare()
75 new RectVerifier(Color.WHITE, Color.GREEN, sOffsetRect)); in testPictureRespectsTranslate()
DSurfaceViewTests.java55 new CanvasCallback((canvas, width, height) -> canvas.drawColor(Color.GREEN));
186 canvas.drawColor(Color.GREEN); in testSurfaceHolderHardwareCanvas()
191 .runWithVerifier(new ColorVerifier(Color.GREEN, 0 /* zero tolerance */)); in testSurfaceHolderHardwareCanvas()
DShaderTests.java81 new int[] { Color.RED, Color.GREEN, Color.BLUE }, null, in testSinglePixelComposeShader()
131 new int[] { Color.RED, Color.BLUE, Color.GREEN }, in testComplexShaderUsage()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPictureTest.java77 paint.setColor(Color.GREEN); in createImbalance()
142 paint.setColor(Color.GREEN); in drawPicture()
162 assertEquals(Color.GREEN, bitmap.getPixel(x, y)); in verifyBitmap()
DComposeShaderTest.java51 Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP); in testPorterDuff()
53 Color.GREEN, Color.RED, Shader.TileMode.CLAMP); in testPorterDuff()
84 Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP); in testBlendMode()
86 Color.GREEN, Color.RED, Shader.TileMode.CLAMP); in testBlendMode()
DSweepGradientTest.java68 final int[] colors = new int[] { Color.GREEN, Color.RED }; in test2Colors()
78 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE }; in testColorArray()
89 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE, Color.GREEN }; in testMultiColor()
DColorMatrixColorFilterTest.java60 paint.setColor(Color.GREEN); in testColorMatrixColorFilter()
62 ColorUtils.verifyColor(Color.GREEN, bitmap.getPixel(0, 0)); in testColorMatrixColorFilter()
DLightingColorFilterTest.java61 paint.setColorFilter(new LightingColorFilter(Color.BLUE, Color.GREEN)); in testLightingColorFilter()
70 verifyColor(Color.GREEN, bitmap.getPixel(0, 0)); in testLightingColorFilter()
DColorTest.java166 assertEquals(0xff, Color.green(Color.GREEN)); in testGreen()
207 assertEquals(Color.GREEN, Color.parseColor("green")); in testParseColor()
254 assertEquals(0.7152, Color.luminance(Color.GREEN), eps); in testLuminance()
/cts/tests/tests/assist/src/android/assist/cts/
DScreenshotTest.java67 bundle.putInt(Utils.SCREENSHOT_COLOR_KEY, Color.GREEN); in testGreenScreenshot()
71 delayAndStartSession(Color.GREEN); in testGreenScreenshot()
/cts/tests/pdf/src/android/graphics/pdf/cts/
DPdfRendererTest.java254 assertEquals(Color.GREEN, probes[2]); in renderNoTransformationAndComparePoints()
255 assertEquals(Color.GREEN, probes[3]); in renderNoTransformationAndComparePoints()
258 assertEquals(Color.GREEN, probes[6]); in renderNoTransformationAndComparePoints()
259 assertEquals(Color.GREEN, probes[7]); in renderNoTransformationAndComparePoints()
/cts/tests/tests/widget/src/android/widget/cts/
DSwitchTest.java181 Color.GREEN, 1, true); in testAccessThumbDrawable()
191 TestUtils.compositeColors(0x800000FF, Color.GREEN), 1, true); in testAccessThumbDrawable()
223 Color.GREEN, 1, true); in testAccessTrackDrawable()
234 TestUtils.compositeColors(0x800000FF, Color.GREEN), 1, true); in testAccessTrackDrawable()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DColour.java22 public static final float[] GREEN = new float[]{ field in Colour

1234