Home
last modified time | relevance | path

Searched refs:YELLOW (Results 1 – 25 of 56) sorted by relevance

123

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DStateListDrawableTest.java93 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()
DDrawableContainerStateTest.java128 Drawable dr3 = spy(new ColorDrawable(Color.YELLOW)); in testIsStateful()
263 Drawable dr3 = spy(new ColorDrawable(Color.YELLOW)); in testGetOpacity()
DRippleDrawableTest.java104 assertEquals(ColorStateList.valueOf(Color.YELLOW), drawable.getEffectColor()); in testEffectColorInflation()
DScaleDrawableTest.java175 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/
DSurfaceControlTest.java116 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 …]
DASurfaceControlTest.java124 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 …]
DTestActivity.java41 mParentLayout.setBackgroundColor(Color.YELLOW); in onCreate()
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DTestLiveWallpaperSupportingAmbientMode.java25 return Color.YELLOW; in getColor()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DColour.java30 public static final float[] YELLOW = new float[]{ field in Colour
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DAccessibilityTestService.java26 setAccessibilityFocusAppearance(8, Color.YELLOW); in onServiceConnected()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareBufferRendererTests.kt235 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>()
DPaintTests.kt195 val colors = intArrayOf(Color.BLUE, Color.GREEN, Color.YELLOW) in <lambda>()
/cts/tests/tests/graphics/src/android/graphics/cts/
DColorTest.java362 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()
DCornerPathEffectTest.java95 assertEquals(Color.YELLOW, pixel); in testCornerPathEffect()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DResourceModifier.java90 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/
DDreamOverlayService.java68 mLayout.setBackgroundColor(Color.YELLOW); in addWindowOverlay()
DControlledTestDreamService.java127 frameLayout.setBackgroundColor(Color.YELLOW); in onAttachedToWindow()
/cts/tests/tests/widget/src/android/widget/cts/
DLinearLayoutTest.java761 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 …]
DImageButtonTest.java104 true, Color.YELLOW, 1, false); in testImageSource()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/
DTouchPointView.java41 Color.YELLOW,
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DMotionIndicatorView.java123 mLimitPaint.setColor(Color.YELLOW); in init()
227 p.setColor(Color.YELLOW); in onDraw()
/cts/tests/tests/view/src/android/view/cts/
DView_UsingViewsTest.java185 mEditText.setDrawingCacheBackgroundColor(Color.YELLOW); in testSetProperties()
186 assertEquals(Color.YELLOW, mEditText.getDrawingCacheBackgroundColor()); in testSetProperties()
194 assertEquals(Color.YELLOW, b.getPixel(0, 0)); in testSetProperties()
DPixelCopyTest.java375 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/
DInProcessImeTest.java85 setBackgroundColor(Color.YELLOW); in TestEditor()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveScopeView.java34 private int mLimitsColor = Color.YELLOW;

123