/cts/tests/tests/view/src/android/view/cts/ |
D | ViewOverlayTest.java | 136 final Drawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayWithNonOverlappingDrawables() 150 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingDrawables() 173 final Drawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayWithOverlappingDrawables() 186 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingDrawables() 226 runTestOnUiThread(() -> drawable.setColor(Color.GREEN)); in testOverlayDynamicChangesToDrawable() 228 colorRectangles.add(new Pair<>(new Rect(50, 10, 80, 90), Color.GREEN)); in testOverlayDynamicChangesToDrawable() 237 final ColorDrawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayDynamicChangesToOverlappingDrawables() 250 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayDynamicChangesToOverlappingDrawables() 258 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayDynamicChangesToOverlappingDrawables()
|
D | ViewGroupOverlayTest.java | 109 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithNonOverlappingViews() 124 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingViews() 149 final Drawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayWithNonOverlappingViewAndDrawable() 160 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingViewAndDrawable() 167 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingViewAndDrawable() 183 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithOverlappingViews() 196 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingViews() 218 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithOverlappingViewAndDrawable() 232 colorRectangles.add(new Pair<>(new Rect(60, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingViewAndDrawable() 239 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingViewAndDrawable()
|
D | TextureViewTest.java | 73 mActivity.drawColor(Color.GREEN); in testFirstFrames() 82 assertEquals(Color.GREEN, color); in testFirstFrames()
|
D | PixelCopyTests.java | 129 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK, swapFence)); in testGlProducer() 148 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducer() 161 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducer() 202 assertBitmapQuadColor(bitmap, Color.RED, Color.GREEN, Color.BLUE, Color.BLACK, 30); in testVideoProducer()
|
/cts/apps/CameraITS/tests/scene5/ |
D | test_lens_shading_and_color_uniformity.py | 51 GREEN = (0, 0.7, 0.3) # blocks passed the test 99 cv2.rectangle(img_legend_ls, (left, top), (right, bottom), GREEN, 103 font_scale, text_offset, GREEN, int(line_width/2)) 105 cv2.rectangle(img_legend_ufmt, (left, top), (right, bottom), GREEN, 111 font_scale, text_offset, GREEN, int(line_width/2)) 166 legend_color = GREEN 183 legend_color = GREEN
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SweepGradientTest.java | 53 final int[] colors = new int[] { Color.GREEN, Color.RED }; in test2Colors() 62 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE }; in testColorArray() 72 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE, Color.GREEN }; in testMultiColor()
|
D | PictureTest.java | 83 paint.setColor(Color.GREEN); in createImbalance() 151 paint.setColor(Color.GREEN); in drawPicture() 171 assertEquals(Color.GREEN, bitmap.getPixel(x, y)); in checkBitmap()
|
D | ColorMatrixColorFilterTest.java | 51 paint.setColor(Color.GREEN); in testColorMatrixColorFilter() 53 assertColor(Color.GREEN, bitmap.getPixel(0, 0)); in testColorMatrixColorFilter()
|
D | ColorTest.java | 41 assertEquals(0xff, Color.green(Color.GREEN)); in testGreen() 100 assertEquals(Color.GREEN, Color.parseColor("green")); in testParseColor()
|
D | LightingColorFilterTest.java | 50 paint.setColorFilter(new LightingColorFilter(Color.BLUE, Color.GREEN)); in testLightingColorFilter() 59 assertColor(Color.GREEN, bitmap.getPixel(0, 0)); in testLightingColorFilter()
|
D | ComposeShaderTest.java | 43 Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP); in testPorterDuff() 45 Color.GREEN, Color.RED, Shader.TileMode.CLAMP); in testPorterDuff()
|
D | SumPathEffectTest.java | 51 paint.setColor(Color.GREEN); in testSumPathEffect()
|
D | ComposePathEffectTest.java | 74 paint.setColor(Color.GREEN); in makePaint()
|
D | DashPathEffectTest.java | 41 private static final int FOREGROUND = 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/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 | 38 pt.setColor(Color.GREEN); in greenSquare() 70 new RectVerifier(Color.WHITE, Color.GREEN, sOffsetRect)); in testPictureRespectsTranslate()
|
D | ShaderTests.java | 76 new int[] { Color.RED, Color.GREEN, Color.BLUE }, null, in testSinglePixelComposeShader() 126 new int[] { Color.RED, Color.BLUE, Color.GREEN }, in testComplexShaderUsage()
|
/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 | 45 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()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodProvisioningTestActivity.java | 42 .putExtra(DevicePolicyManager.EXTRA_PROVISIONING_MAIN_COLOR, Color.GREEN); in onCreate()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | BackgroundColorSpanTest.java | 29 BackgroundColorSpan b = new BackgroundColorSpan(Color.GREEN); in testConstructor()
|
D | ForegroundColorSpanTest.java | 29 ForegroundColorSpan f = new ForegroundColorSpan(Color.GREEN); in testConstructor()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/ |
D | TouchPointView.java | 39 Color.GREEN,
|