/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ClipDrawableTest.java | 80 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 …]
|
D | DrawableContainerStateTest.java | 116 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()
|
D | DrawableContainerTest.java | 329 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/ |
D | ViewGroupOverlayTest.java | 125 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()
|
D | ViewOverlayTest.java | 144 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()
|
D | PixelCopyTest.java | 193 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 …]
|
D | ASurfaceControlTest.java | 729 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 …]
|
D | TextureViewTest.java | 98 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/ |
D | WallpaperColorsTest.java | 45 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/ |
D | test_lens_shading_and_color_uniformity.py | 51 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/ |
D | TextureTestRenderer.java | 74 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/ |
D | EdgeEffectTests.java | 136 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()
|
D | PictureTest.java | 43 pt.setColor(Color.GREEN); in greenSquare() 75 new RectVerifier(Color.WHITE, Color.GREEN, sOffsetRect)); in testPictureRespectsTranslate()
|
D | SurfaceViewTests.java | 55 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()
|
D | ShaderTests.java | 81 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/ |
D | PictureTest.java | 77 paint.setColor(Color.GREEN); in createImbalance() 142 paint.setColor(Color.GREEN); in drawPicture() 162 assertEquals(Color.GREEN, bitmap.getPixel(x, y)); in verifyBitmap()
|
D | ComposeShaderTest.java | 51 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()
|
D | SweepGradientTest.java | 68 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()
|
D | ColorMatrixColorFilterTest.java | 60 paint.setColor(Color.GREEN); in testColorMatrixColorFilter() 62 ColorUtils.verifyColor(Color.GREEN, bitmap.getPixel(0, 0)); in testColorMatrixColorFilter()
|
D | LightingColorFilterTest.java | 61 paint.setColorFilter(new LightingColorFilter(Color.BLUE, Color.GREEN)); in testLightingColorFilter() 70 verifyColor(Color.GREEN, bitmap.getPixel(0, 0)); in testLightingColorFilter()
|
D | ColorTest.java | 166 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/ |
D | ScreenshotTest.java | 67 bundle.putInt(Utils.SCREENSHOT_COLOR_KEY, Color.GREEN); in testGreenScreenshot() 71 delayAndStartSession(Color.GREEN); in testGreenScreenshot()
|
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
D | PdfRendererTest.java | 254 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/ |
D | SwitchTest.java | 181 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/ |
D | Colour.java | 22 public static final float[] GREEN = new float[]{ field in Colour
|