/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | StateListDrawableTest.java | 93 mDrawable.addState(StateSet.WILD_CARD, new ColorDrawable(Color.YELLOW)); in testAddState() 100 new ColorDrawable(Color.YELLOW)); in testAddState() 107 mDrawable.addState(null, new ColorDrawable(Color.YELLOW)); in testAddState() 121 new ColorDrawable(Color.YELLOW)); in testOnStateChange() 122 mMockDrawable.addState(StateSet.WILD_CARD, new ColorDrawable(Color.YELLOW)); in testOnStateChange() 123 mMockDrawable.addState(StateSet.WILD_CARD, new ColorDrawable(Color.YELLOW)); in testOnStateChange() 158 mMockDrawable.addState(StateSet.WILD_CARD, new ColorDrawable(Color.YELLOW)); in testOnStateChangeWithWildCardAtFirst() 161 new ColorDrawable(Color.YELLOW)); in testOnStateChangeWithWildCardAtFirst() 173 mMockDrawable.addState(null, new ColorDrawable(Color.YELLOW)); in testOnStateChangeWithNullStateSet() 381 ColorDrawable drawable2 = new ColorDrawable(Color.YELLOW); in testGetStateDrawableIndex()
|
D | DrawableContainerStateTest.java | 128 Drawable dr3 = spy(new ColorDrawable(Color.YELLOW)); in testIsStateful() 263 Drawable dr3 = spy(new ColorDrawable(Color.YELLOW)); in testGetOpacity()
|
D | RippleDrawableTest.java | 104 assertEquals(ColorStateList.valueOf(Color.YELLOW), drawable.getEffectColor()); in testEffectColorInflation()
|
D | ScaleDrawableTest.java | 175 Drawable mockDrawable = new ColorDrawable(Color.YELLOW); in testGetChangingConfigurations() 200 Drawable mockDrawable = new ColorDrawable(Color.YELLOW); in testGetPaddingNull() 344 Drawable mockDrawable = new ColorDrawable(Color.YELLOW); in testOnBoundsChange()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SurfaceControlTest.java | 116 private static final PixelColor YELLOW = new PixelColor(Color.YELLOW); field in SurfaceControlTest 149 canvas.drawColor(Color.YELLOW); in surfaceChanged() 308 new PixelChecker(Color.YELLOW) { //10000 in testSurfaceControl_createFromWindow() 326 new PixelChecker(Color.YELLOW) { //10000 in testSurfaceControl_create() 454 new PixelChecker(Color.YELLOW) { //10000 in testSurfaceTransaction_setVisibility_hide() 508 new PixelChecker(Color.YELLOW) { in testSurfaceTransaction_setBufferOpaque_translucent() 558 return YELLOW; in testSurfaceTransaction_setDestinationRect_small() 587 return YELLOW; in testSurfaceTransaction_setDestinationRect_smallScaleFirst() 616 return YELLOW; in testSurfaceTransaction_setDestinationRect_smallPositionFirst() 798 return YELLOW; in testSurfaceTransaction_setDestinationRect_twoLayers() [all …]
|
D | ASurfaceControlTest.java | 124 private static final PixelColor YELLOW = new PixelColor(Color.YELLOW); field in ASurfaceControlTest 159 canvas.drawColor(Color.YELLOW); in surfaceCreated() 330 new PixelChecker(Color.YELLOW) { //10000 in testSurfaceControl_createFromWindow() 348 new PixelChecker(Color.YELLOW) { //10000 in testSurfaceControl_create() 460 new PixelChecker(Color.YELLOW) { //10000 in testSurfaceTransaction_setNullBuffer() 546 new PixelChecker(Color.YELLOW) { //10000 in testSurfaceTransaction_setVisibility_hide() 596 new PixelChecker(Color.YELLOW, false /* logWhenNoMatch */) { in testSurfaceTransaction_setBufferOpaque_translucent() 643 return YELLOW; in testSurfaceTransaction_setDestinationRect_small() 669 return YELLOW; in testSurfaceTransaction_setDestinationRect_childSmall() 737 return YELLOW; in testSurfaceTransaction_setDestinationRect_negativeOffset() [all …]
|
D | TestActivity.java | 41 mParentLayout.setBackgroundColor(Color.YELLOW); in onCreate()
|
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/ |
D | TestLiveWallpaperSupportingAmbientMode.java | 25 return Color.YELLOW; in getColor()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/ |
D | Colour.java | 30 public static final float[] YELLOW = new float[]{ field in Colour
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | AccessibilityTestService.java | 26 setAccessibilityFocusAppearance(8, Color.YELLOW); in onServiceConnected()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | HardwareBufferRendererTests.kt | 235 paint.color = Color.YELLOW in <lambda>() 322 bottomRight = Color.YELLOW, in <lambda>() 337 bottomRight = Color.YELLOW, in <lambda>() 353 bottomLeft = Color.YELLOW in <lambda>() 367 bottomLeft = Color.YELLOW, in <lambda>() 380 topLeft = Color.YELLOW, in <lambda>() 395 topLeft = Color.YELLOW, in <lambda>() 410 topRight = Color.YELLOW, in <lambda>() 425 topRight = Color.YELLOW, in <lambda>()
|
D | PaintTests.kt | 195 val colors = intArrayOf(Color.BLUE, Color.GREEN, Color.YELLOW) in <lambda>()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ColorTest.java | 362 assertEquals(0xff, Color.alpha(Color.YELLOW)); in testAlpha() 368 assertEquals(Color.YELLOW, Color.argb(0xff, 0xff, 0xff, 0x00)); in testArgb() 370 assertEquals(Color.YELLOW, Color.argb(1.0f, 1.0f, 1.0f, 0.0f)); in testArgb() 376 assertEquals(0x00, Color.blue(Color.YELLOW)); in testBlue() 425 assertEquals(Color.YELLOW, Color.parseColor("yellow")); in testParseColor() 439 assertEquals(0xff, Color.red(Color.YELLOW)); in testRed() 445 assertEquals(Color.YELLOW, Color.rgb(0xff, 0xff, 0x00)); in testRgb() 447 assertEquals(Color.YELLOW, Color.rgb(1.0f, 1.0f, 0.0f)); in testRgb()
|
D | CornerPathEffectTest.java | 95 assertEquals(Color.YELLOW, pixel); in testCornerPathEffect()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | ResourceModifier.java | 90 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR); in ResourceModifier() 93 Color.YELLOW, Color.MAGENTA); in ResourceModifier()
|
/cts/tests/tests/dreams/CtsDreamOverlayTestApp/src/android/app/dream/cts/app/ |
D | DreamOverlayService.java | 68 mLayout.setBackgroundColor(Color.YELLOW); in addWindowOverlay()
|
D | ControlledTestDreamService.java | 127 frameLayout.setBackgroundColor(Color.YELLOW); in onAttachedToWindow()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | LinearLayoutTest.java | 761 Color.YELLOW, 1, true); in verifyVisualsOfVerticalLayoutWithDivider() 766 Color.YELLOW, 1, true); in verifyVisualsOfVerticalLayoutWithDivider() 785 Color.YELLOW, 1, true); in verifyVisualsOfVerticalLayoutWithDivider() 791 Color.YELLOW, 1, true); in verifyVisualsOfVerticalLayoutWithDivider() 810 Color.YELLOW, 1, true); in verifyVisualsOfVerticalLayoutWithDivider() 816 Color.YELLOW, 1, true); in verifyVisualsOfVerticalLayoutWithDivider() 1016 Color.YELLOW, 1, true); in verifyVisualsOfHorizontalLayoutWithDivider() 1022 Color.YELLOW, 1, true); in verifyVisualsOfHorizontalLayoutWithDivider() 1042 Color.YELLOW, 1, true); in verifyVisualsOfHorizontalLayoutWithDivider() 1048 Color.YELLOW, 1, true); in verifyVisualsOfHorizontalLayoutWithDivider() [all …]
|
D | ImageButtonTest.java | 104 true, Color.YELLOW, 1, false); in testImageSource()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/ |
D | TouchPointView.java | 41 Color.YELLOW,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | MotionIndicatorView.java | 123 mLimitPaint.setColor(Color.YELLOW); in init() 227 p.setColor(Color.YELLOW); in onDraw()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_UsingViewsTest.java | 185 mEditText.setDrawingCacheBackgroundColor(Color.YELLOW); in testSetProperties() 186 assertEquals(Color.YELLOW, mEditText.getDrawingCacheBackgroundColor()); in testSetProperties() 194 assertEquals(Color.YELLOW, b.getPixel(0, 0)); in testSetProperties()
|
D | PixelCopyTest.java | 375 assertBitmapEdgeColor(bitmap, Color.YELLOW); in testViewProducer() 412 assertBitmapEdgeColor(bitmap, Color.YELLOW); in testViewProducerAutoSizeWithSrc() 487 assertBitmapEdgeColor(bitmap, Color.YELLOW); in testWindowProducerCopyToRGBA16F() 505 assertBitmapEdgeColor(bitmap, Color.YELLOW); in testWindowProducer() 548 assertEquals("Bottom right", Color.YELLOW, bitmap.getPixel(96, 96)); in testWideGamutWindowProducerCopyToRGBA8888() 647 assertBitmapEdgeColor(bitmap, Color.YELLOW); in testDialogProducer() 722 assertBitmapEdgeColor(bitmap, Color.YELLOW); in testDialogProducerCopyToRGBA16F()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InProcessImeTest.java | 85 setBackgroundColor(Color.YELLOW); in TestEditor()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | WaveScopeView.java | 34 private int mLimitsColor = Color.YELLOW;
|