Home
last modified time | relevance | path

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

123

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DClipDrawableTest.java79 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 …]
DDrawableContainerStateTest.java115 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/
DWallpaperColorsTest.java47 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/
DViewGroupOverlayTest.java124 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()
DViewOverlayTest.java143 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()
DPixelCopyTest.java189 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 …]
DTextureViewTest.java91 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/
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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DColour.java22 public static final float[] GREEN = new float[]{ field in Colour
/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.java42 pt.setColor(Color.GREEN); in greenSquare()
74 new RectVerifier(Color.WHITE, Color.GREEN, sOffsetRect)); in testPictureRespectsTranslate()
DEdgeEffectTests.java133 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()
DSurfaceViewTests.java52 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()
DShaderTests.java80 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/
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/graphics/src/android/graphics/cts/
DSweepGradientTest.java63 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()
DPictureTest.java91 paint.setColor(Color.GREEN); in createImbalance()
167 paint.setColor(Color.GREEN); in drawPicture()
187 assertEquals(Color.GREEN, bitmap.getPixel(x, y)); in verifyBitmap()
DColorMatrixColorFilterTest.java60 paint.setColor(Color.GREEN); in testColorMatrixColorFilter()
62 ColorUtils.verifyColor(Color.GREEN, bitmap.getPixel(0, 0)); in testColorMatrixColorFilter()
DLightingColorFilterTest.java60 paint.setColorFilter(new LightingColorFilter(Color.BLUE, Color.GREEN)); in testLightingColorFilter()
69 verifyColor(Color.GREEN, bitmap.getPixel(0, 0)); in testLightingColorFilter()
DColorTest.java147 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/
DSwitchTest.java145 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/
DPdfRendererTest.java255 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/
DOrganizationInfoTest.java40 Color.GREEN, in testSetOrganizationColor()
/cts/tests/tests/text/src/android/text/cts/
DTextPaintTest.java51 textPaintSrc.bgColor = Color.GREEN; in testSet()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DCameraPreviewView.java46 mPaint.setColor(Color.GREEN); in onDraw()

123