Home
last modified time | relevance | path

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

12

/cts/tests/tests/view/src/android/view/cts/
DViewOverlayTest.java136 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()
DViewGroupOverlayTest.java109 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()
DTextureViewTest.java73 mActivity.drawColor(Color.GREEN); in testFirstFrames()
82 assertEquals(Color.GREEN, color); in testFirstFrames()
DPixelCopyTests.java129 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/
Dtest_lens_shading_and_color_uniformity.py51 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/
DSweepGradientTest.java53 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()
DPictureTest.java83 paint.setColor(Color.GREEN); in createImbalance()
151 paint.setColor(Color.GREEN); in drawPicture()
171 assertEquals(Color.GREEN, bitmap.getPixel(x, y)); in checkBitmap()
DColorMatrixColorFilterTest.java51 paint.setColor(Color.GREEN); in testColorMatrixColorFilter()
53 assertColor(Color.GREEN, bitmap.getPixel(0, 0)); in testColorMatrixColorFilter()
DColorTest.java41 assertEquals(0xff, Color.green(Color.GREEN)); in testGreen()
100 assertEquals(Color.GREEN, Color.parseColor("green")); in testParseColor()
DLightingColorFilterTest.java50 paint.setColorFilter(new LightingColorFilter(Color.BLUE, Color.GREEN)); in testLightingColorFilter()
59 assertColor(Color.GREEN, bitmap.getPixel(0, 0)); in testLightingColorFilter()
DComposeShaderTest.java43 Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP); in testPorterDuff()
45 Color.GREEN, Color.RED, Shader.TileMode.CLAMP); in testPorterDuff()
DSumPathEffectTest.java51 paint.setColor(Color.GREEN); in testSumPathEffect()
DComposePathEffectTest.java74 paint.setColor(Color.GREEN); in makePaint()
DDashPathEffectTest.java41 private static final int FOREGROUND = 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/apps/CtsVerifier/src/com/android/cts/verifier/location/
DGpsTestActivity.java120 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/
DPictureTest.java38 pt.setColor(Color.GREEN); in greenSquare()
70 new RectVerifier(Color.WHITE, Color.GREEN, sOffsetRect)); in testPictureRespectsTranslate()
DShaderTests.java76 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/
DOrganizationInfoTest.java40 Color.GREEN, in testSetOrganizationColor()
/cts/tests/tests/text/src/android/text/cts/
DTextPaintTest.java45 textPaintSrc.bgColor = Color.GREEN; in testSet()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DCameraPreviewView.java46 mPaint.setColor(Color.GREEN); in onDraw()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodProvisioningTestActivity.java42 .putExtra(DevicePolicyManager.EXTRA_PROVISIONING_MAIN_COLOR, Color.GREEN); in onCreate()
/cts/tests/tests/text/src/android/text/style/cts/
DBackgroundColorSpanTest.java29 BackgroundColorSpan b = new BackgroundColorSpan(Color.GREEN); in testConstructor()
DForegroundColorSpanTest.java29 ForegroundColorSpan f = new ForegroundColorSpan(Color.GREEN); in testConstructor()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/
DTouchPointView.java39 Color.GREEN,

12