/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/ |
D | WallpaperColorsTest.java | 45 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/ |
D | ClipDrawableTest.java | 80 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/ |
D | TextViewHighlightTest.java | 131 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 …]
|
D | TextViewSearchResultHighlightTest.java | 171 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/ |
D | ViewOverlayTest.java | 155 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()
|
D | ViewGroupOverlayTest.java | 138 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()
|
D | PixelCopyTest.java | 247 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/ |
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/uirendering/src/android/uirendering/cts/testclasses/ |
D | PictureTest.java | 43 pt.setColor(Color.GREEN); in greenSquare() 75 new RectVerifier(Color.WHITE, Color.GREEN, sOffsetRect)); in testPictureRespectsTranslate()
|
D | SurfaceViewTests.java | 77 (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 …]
|
D | HardwareBufferRendererTests.kt | 233 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>()
|
D | ShaderTests.java | 85 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()
|
D | DrawingOrderTest.java | 38 .runWithVerifier(new ColorVerifier(Color.GREEN)); in testDefaultDrawOrder()
|
/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/tests/tests/graphics/src/android/graphics/cts/ |
D | PictureTest.java | 77 paint.setColor(Color.GREEN); in createImbalance() 142 paint.setColor(Color.GREEN); in drawPicture() 163 assertEquals(Color.GREEN, bitmap.getPixel(x, y)); in verifyBitmap()
|
D | ComposeShaderTest.java | 51 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()
|
D | ColorMatrixColorFilterTest.java | 61 paint.setColor(Color.GREEN); in testColorMatrixColorFilter() 63 ColorUtils.verifyColor(Color.GREEN, bitmap.getPixel(0, 0)); in testColorMatrixColorFilter()
|
D | LightingColorFilterTest.java | 61 paint.setColorFilter(new LightingColorFilter(Color.BLUE, Color.GREEN)); in testLightingColorFilter() 70 verifyColor(Color.GREEN, bitmap.getPixel(0, 0)); in testLightingColorFilter()
|
D | SweepGradientTest.java | 68 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/ |
D | ASurfaceControlTest.java | 123 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 …]
|
D | SurfacePackageFlickerTest.java | 98 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/ |
D | CommonRendererTest.java | 76 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/ |
D | LauncherActivity.java | 61 delegatorView.setBackgroundColor(Color.GREEN); in onCreate()
|
/cts/hostsidetests/appcloning/test-apps/AppCloningTestApp/src/com/android/cts/appcloningtestapp/ |
D | AppCloningDeviceTest.java | 152 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/ |
D | OrganizationInfoTest.java | 40 Color.GREEN, in testSetOrganizationColor()
|