Home
last modified time | relevance | path

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

12345

/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DWallpaperColorsTest.java45 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()
115 Color.valueOf(Color.BLACK), Color.valueOf(Color.GREEN)); in wallpaperColorsHints_default()
122 Color.valueOf(Color.BLACK), Color.valueOf(Color.GREEN), in wallpaperColorsHints_ctor()
128 Color.valueOf(Color.BLACK), Color.valueOf(Color.GREEN), in wallpaperColorsHints_ctor()
136 Color.valueOf(Color.BLACK), Color.valueOf(Color.GREEN), both); in wallpaperColorsHints_ctor()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DClipDrawableTest.java80 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 …]
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewHighlightTest.java131 pathPaint.setColor(Color.GREEN); in drawRect()
149 assertThat(paintCaptor.getValue().getColor()).isEqualTo(Color.GREEN); in drawRect()
161 pathPaint.setColor(Color.GREEN); in drawRectMultiple()
181 assertThat(paintCaptor.getAllValues().get(0).getColor()).isEqualTo(Color.GREEN); in drawRectMultiple()
197 pathPaint.setColor(Color.GREEN); in drawRectCollapsed()
217 assertThat(paintCaptor.getAllValues().get(0).getColor()).isEqualTo(Color.GREEN); in drawRectCollapsed()
228 pathPaint.setColor(Color.GREEN); in drawRect_EditText()
246 assertThat(paintCaptor.getValue().getColor()).isEqualTo(Color.GREEN); in drawRect_EditText()
258 pathPaint.setColor(Color.GREEN); in drawRectMultiple_EditText()
278 assertThat(paintCaptor.getAllValues().get(0).getColor()).isEqualTo(Color.GREEN); in drawRectMultiple_EditText()
[all …]
DTextViewSearchResultHighlightTest.java171 pathPaint.setColor(Color.GREEN); in drawRect()
174 textView.setSearchResultHighlightColor(Color.GREEN); in drawRect()
188 assertThat(paintCaptor.getValue().getColor()).isEqualTo(Color.GREEN); in drawRect()
199 pathPaint.setColor(Color.GREEN); in drawWithHighlight()
219 assertThat(paintCaptor.getAllValues().get(0).getColor()).isEqualTo(Color.GREEN); in drawWithHighlight()
237 textView.setFocusedSearchResultHighlightColor(Color.GREEN); in drawWithFocused()
255 assertThat(paintCaptor.getAllValues().get(1).getColor()).isEqualTo(Color.GREEN); in drawWithFocused()
/cts/tests/tests/view/src/android/view/cts/
DViewOverlayTest.java155 final Drawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayWithNonOverlappingDrawables()
166 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingDrawables()
191 final Drawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayWithOverlappingDrawables()
201 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingDrawables()
243 drawable.setColor(Color.GREEN); in testOverlayDynamicChangesToDrawable()
245 colorRectangles.add(new Pair<>(new Rect(50, 10, 80, 90), Color.GREEN)); in testOverlayDynamicChangesToDrawable()
256 final ColorDrawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayDynamicChangesToOverlappingDrawables()
266 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayDynamicChangesToOverlappingDrawables()
274 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayDynamicChangesToOverlappingDrawables()
DViewGroupOverlayTest.java138 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithNonOverlappingViews()
150 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingViews()
176 final Drawable greenDrawable = new ColorDrawable(Color.GREEN); in testOverlayWithNonOverlappingViewAndDrawable()
184 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingViewAndDrawable()
191 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); in testOverlayWithNonOverlappingViewAndDrawable()
209 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithOverlappingViews()
219 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingViews()
243 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithOverlappingViewAndDrawable()
254 colorRectangles.add(new Pair<>(new Rect(60, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingViewAndDrawable()
261 colorRectangles.add(new Pair<>(new Rect(30, 20, 80, 40), Color.GREEN)); in testOverlayWithOverlappingViewAndDrawable()
DPixelCopyTest.java247 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerFullsize()
260 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerAutoSize()
280 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerCropCenter()
300 Color.GREEN, Color.GREEN, Color.GREEN, Color.GREEN); in testGlProducerCropClamping()
316 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testGlProducerScaling()
332 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testReuseBitmap()
342 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testReuseBitmap()
374 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testViewProducer()
411 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testViewProducerAutoSizeWithSrc()
438 Color.RED, Color.GREEN, Color.BLUE, Color.BLACK); in testWindowProducerCropCenter()
[all …]
/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/uirendering/src/android/uirendering/cts/testclasses/
DPictureTest.java43 pt.setColor(Color.GREEN); in greenSquare()
75 new RectVerifier(Color.WHITE, Color.GREEN, sOffsetRect)); in testPictureRespectsTranslate()
DSurfaceViewTests.java77 (canvas, width, height) -> canvas.drawColor(Color.GREEN));
277 canvas.drawColor(Color.GREEN);
282 .runWithVerifier(new ColorVerifier(Color.GREEN, 0 /* zero tolerance */));
290 canvas.drawColor(Color.GREEN);
301 .runWithVerifier(new ColorVerifier(Color.GREEN, 0 /* zero tolerance */));
603 canvas.drawColor(Color.GREEN);
680 root.setBackgroundColor(Color.GREEN);
700 new RectVerifier(Color.GREEN, Color.RED, clipRect),
715 root.setBackgroundColor(Color.GREEN);
737 new RectVerifier(Color.GREEN, Color.RED,
[all …]
DHardwareBufferRendererTests.kt233 paint.color = Color.GREEN in <lambda>()
323 bottomLeft = Color.GREEN in <lambda>()
338 bottomLeft = Color.GREEN in <lambda>()
350 topLeft = Color.GREEN, in <lambda>()
365 topLeft = Color.GREEN, in <lambda>()
381 topRight = Color.GREEN, in <lambda>()
396 topRight = Color.GREEN, in <lambda>()
411 bottomRight = Color.GREEN, in <lambda>()
426 bottomRight = Color.GREEN, in <lambda>()
DShaderTests.java85 new int[] { Color.RED, Color.GREEN, Color.BLUE }, null, in testSinglePixelComposeShader()
135 new int[] { Color.RED, Color.BLUE, Color.GREEN }, in testComplexShaderUsage()
250 paint.setColor(Color.GREEN); in testLocalMatrixOrder()
279 .runWithVerifier(new RectVerifier(Color.RED, Color.GREEN, new Rect(0, 0, 20, 20))); in testLocalMatrixOrder()
DDrawingOrderTest.java38 .runWithVerifier(new ColorVerifier(Color.GREEN)); in testDefaultDrawOrder()
/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/tests/tests/graphics/src/android/graphics/cts/
DPictureTest.java77 paint.setColor(Color.GREEN); in createImbalance()
142 paint.setColor(Color.GREEN); in drawPicture()
163 assertEquals(Color.GREEN, bitmap.getPixel(x, y)); in verifyBitmap()
DComposeShaderTest.java51 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()
DColorMatrixColorFilterTest.java61 paint.setColor(Color.GREEN); in testColorMatrixColorFilter()
63 ColorUtils.verifyColor(Color.GREEN, bitmap.getPixel(0, 0)); in testColorMatrixColorFilter()
DLightingColorFilterTest.java61 paint.setColorFilter(new LightingColorFilter(Color.BLUE, Color.GREEN)); in testLightingColorFilter()
70 verifyColor(Color.GREEN, bitmap.getPixel(0, 0)); in testLightingColorFilter()
DSweepGradientTest.java68 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()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DASurfaceControlTest.java123 private static final PixelColor GREEN = new PixelColor(Color.GREEN); field in ASurfaceControlTest
809 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setSourceRect()
822 return GREEN; in testSurfaceTransaction_setSourceRect()
846 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setSourceRect_smallCentered()
859 return GREEN; in testSurfaceTransaction_setSourceRect_smallCentered()
882 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setSourceRect_small()
909 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setSourceRect_extraLarge()
924 return GREEN; in testSurfaceTransaction_setSourceRect_extraLarge()
942 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setSourceRect_badOffset()
964 Color.MAGENTA, Color.GREEN); in testSurfaceTransaction_setTransform_flipH()
[all …]
DSurfacePackageFlickerTest.java98 v.setBackgroundColor(Color.GREEN); in start()
140 PixelChecker pixelChecker = new PixelChecker(Color.GREEN) { in testSurfacePackageNoFlicker()
/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/
DCommonRendererTest.java76 assertEquals(Color.GREEN, probes[2]); in renderNoTransformationAndComparePoints()
77 assertEquals(Color.GREEN, probes[3]); in renderNoTransformationAndComparePoints()
80 assertEquals(Color.GREEN, probes[6]); in renderNoTransformationAndComparePoints()
81 assertEquals(Color.GREEN, probes[7]); in renderNoTransformationAndComparePoints()
/cts/tests/inputmethod/testlauncher/src/android/view/inputmethod/ctstestlauncher/
DLauncherActivity.java61 delegatorView.setBackgroundColor(Color.GREEN); in onCreate()
/cts/hostsidetests/appcloning/test-apps/AppCloningTestApp/src/com/android/cts/appcloningtestapp/
DAppCloningDeviceTest.java152 color = Color.GREEN; in testMediaStoreManager_writeImageToSharedStorage()
209 color = Color.GREEN; in testMediaStoreManager_writeImageToPublicSdCard()
230 color = Color.GREEN; in testMediaStoreManager_writeImageToContentOwnerSharedStorage()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DOrganizationInfoTest.java40 Color.GREEN, in testSetOrganizationColor()

12345