/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ClipDrawableTest.java | 79 Drawable mockDrawable = spy(new ColorDrawable(Color.GREEN)); in testDraw() 101 Drawable colorDrawable = new ColorDrawable(Color.GREEN); in testGetChangingConfigurations() 117 Drawable mockDrawable = spy(new ColorDrawable(Color.GREEN)); in testGetConstantState() 133 Drawable colorDrawable = new ColorDrawable(Color.GREEN); in testGetIntrinsicHeight() 148 Drawable colorDrawable = new ColorDrawable(Color.GREEN); in testGetIntrinsicWidth() 163 Drawable dr = spy(new ColorDrawable(Color.GREEN)); in testGetOpacity() 186 Drawable colorDrawable = new ColorDrawable(Color.GREEN); in testGetPadding() 218 Drawable colorDrawable = new ColorDrawable(Color.GREEN); in testInvalidateDrawable() 232 Drawable colorDrawable = new ColorDrawable(Color.GREEN); in testIsStateful() 245 Drawable colorDrawable = new ColorDrawable(Color.GREEN); in testOnBoundsChange() [all …]
|
D | DrawableContainerStateTest.java | 115 Drawable dr1 = spy(new ColorDrawable(Color.GREEN)); in testIsStateful() 226 Drawable dr2 = spy(new ColorDrawable(Color.GREEN)); in testConstantHeightsAndWidths() 256 Drawable dr2 = spy(new ColorDrawable(Color.GREEN)); in testGetOpacity()
|
/cts/tests/app/src/android/app/cts/ |
D | WallpaperColorsTest.java | 47 colorList.add(Color.valueOf(Color.GREEN)); in getWallpaperColorsTest() 72 Color.valueOf(Color.BLACK), Color.valueOf(Color.GREEN)); in parcelTest() 87 canvas.drawColor(Color.GREEN); in fromBitmapTest() 96 ColorDrawable drawable = new ColorDrawable(Color.GREEN); in fromDrawableTest() 106 ColorDrawable drawable = new ColorDrawable(Color.GREEN); in fromDrawableDoesntMutateBounds()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupOverlayTest.java | 124 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithNonOverlappingViews() 136 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingViews() 162 final Drawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayWithNonOverlappingViewAndDrawable() 170 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingViewAndDrawable() 177 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingViewAndDrawable() 195 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithOverlappingViews() 205 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingViews() 229 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithOverlappingViewAndDrawable() 240 colorRectangles.add(new Pair<>(new Rect(60, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingViewAndDrawable() 247 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingViewAndDrawable()
|
D | ViewOverlayTest.java | 143 final Drawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayWithNonOverlappingDrawables() 154 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingDrawables() 179 final Drawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayWithOverlappingDrawables() 189 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingDrawables() 231 drawable.setColor(Color.GREEN); in testOverlayDynamicChangesToDrawable() 233 colorRectangles.add(new Pair<>(new Rect(50, 10, 80, 90), Color.GREEN)); in testOverlayDynamicChangesToDrawable() 244 final ColorDrawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayDynamicChangesToOverlappingDrawables() 254 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayDynamicChangesToOverlappingDrawables() 262 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayDynamicChangesToOverlappingDrawables()
|
D | PixelCopyTest.java | 189 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerFullsize() 209 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerCropCenter() 229 Color.GREEN, Color.GREEN, Color.GREEN, Color.GREEN); in testGlProducerCropClamping() 245 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerScaling() 260 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testReuseBitmap() 268 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testReuseBitmap() 297 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducer() 324 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducerCropCenter() 356 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducerScaling() 376 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducerCopyToRGBA16F() [all …]
|
D | TextureViewTest.java | 91 activity.drawColor(Color.GREEN); in testFirstFrames() 99 assertEquals(Color.GREEN, color); in testFirstFrames() 116 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testScaling() 132 Color.BLACK, Color.BLUE, Color.GREEN, Color.RED); in testRotateScale() 272 clearColor(Color.GREEN); in drawGlQuad()
|
/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/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
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
D | GpsTestActivity.java | 120 log("All GPS tests complete", Color.GREEN); in nextTest() 157 log("OK!\n", Color.GREEN); in pass() 160 log("(Sleep 2 second) \n", Color.GREEN); in pass()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | PictureTest.java | 42 pt.setColor(Color.GREEN); in greenSquare() 74 new RectVerifier(Color.WHITE, Color.GREEN, sOffsetRect)); in testPictureRespectsTranslate()
|
D | EdgeEffectTests.java | 133 edgeEffect.setColor(Color.GREEN); in testSetColor() 134 assertEquals(Color.GREEN, edgeEffect.getColor()); in testSetColor() 173 effect.setColor(Color.GREEN); in testGetColor() 174 assertEquals(Color.GREEN, effect.getColor()); in testGetColor()
|
D | SurfaceViewTests.java | 52 new CanvasCallback((canvas, width, height) -> canvas.drawColor(Color.GREEN)); 183 canvas.drawColor(Color.GREEN); in testSurfaceHolderHardwareCanvas() 188 .runWithVerifier(new ColorVerifier(Color.GREEN, 0 /* zero tolerance */)); in testSurfaceHolderHardwareCanvas()
|
D | ShaderTests.java | 80 new int[] { Color.RED, Color.GREEN, Color.BLUE }, null, in testSinglePixelComposeShader() 130 new int[] { Color.RED, Color.BLUE, Color.GREEN }, in testComplexShaderUsage()
|
/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/graphics/src/android/graphics/cts/ |
D | SweepGradientTest.java | 63 final int[] colors = new int[] { Color.GREEN, Color.RED }; in test2Colors() 73 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE }; in testColorArray() 84 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE, Color.GREEN }; in testMultiColor()
|
D | PictureTest.java | 91 paint.setColor(Color.GREEN); in createImbalance() 167 paint.setColor(Color.GREEN); in drawPicture() 187 assertEquals(Color.GREEN, bitmap.getPixel(x, y)); in verifyBitmap()
|
D | ColorMatrixColorFilterTest.java | 60 paint.setColor(Color.GREEN); in testColorMatrixColorFilter() 62 ColorUtils.verifyColor(Color.GREEN, bitmap.getPixel(0, 0)); in testColorMatrixColorFilter()
|
D | LightingColorFilterTest.java | 60 paint.setColorFilter(new LightingColorFilter(Color.BLUE, Color.GREEN)); in testLightingColorFilter() 69 verifyColor(Color.GREEN, bitmap.getPixel(0, 0)); in testLightingColorFilter()
|
D | ColorTest.java | 147 assertEquals(0xff, Color.green(Color.GREEN)); in testGreen() 188 assertEquals(Color.GREEN, Color.parseColor("green")); in testParseColor() 235 assertEquals(0.7152, Color.luminance(Color.GREEN), eps); in testLuminance()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SwitchTest.java | 145 Color.GREEN, 1, true); in testAccessThumbDrawable() 155 TestUtils.compositeColors(0x800000FF, Color.GREEN), 1, true); in testAccessThumbDrawable() 187 Color.GREEN, 1, true); in testAccessTrackDrawable() 198 TestUtils.compositeColors(0x800000FF, Color.GREEN), 1, true); in testAccessTrackDrawable()
|
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
D | PdfRendererTest.java | 255 assertEquals(Color.GREEN, probes[2]); in renderNoTransformationAndComparePoints() 256 assertEquals(Color.GREEN, probes[3]); in renderNoTransformationAndComparePoints() 259 assertEquals(Color.GREEN, probes[6]); in renderNoTransformationAndComparePoints() 260 assertEquals(Color.GREEN, probes[7]); in renderNoTransformationAndComparePoints()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | OrganizationInfoTest.java | 40 Color.GREEN, in testSetOrganizationColor()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | TextPaintTest.java | 51 textPaintSrc.bgColor = Color.GREEN; in testSet()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | CameraPreviewView.java | 46 mPaint.setColor(Color.GREEN); in onDraw()
|