Home
last modified time | relevance | path

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

12

/cts/tests/tests/graphics/src/android/graphics/cts/
DColorTest.java146 assertEquals(0xff, Color.alpha(Color.YELLOW)); in testAlpha()
152 assertEquals(Color.YELLOW, Color.argb(0xff, 0xff, 0xff, 0x00)); in testArgb()
154 assertEquals(Color.YELLOW, Color.argb(1.0f, 1.0f, 1.0f, 0.0f)); in testArgb()
160 assertEquals(0x00, Color.blue(Color.YELLOW)); in testBlue()
209 assertEquals(Color.YELLOW, Color.parseColor("yellow")); in testParseColor()
223 assertEquals(0xff, Color.red(Color.YELLOW)); in testRed()
229 assertEquals(Color.YELLOW, Color.rgb(0xff, 0xff, 0x00)); in testRgb()
231 assertEquals(Color.YELLOW, Color.rgb(1.0f, 1.0f, 0.0f)); in testRgb()
DCornerPathEffectTest.java94 assertEquals(Color.YELLOW, pixel); in testCornerPathEffect()
/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()
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()
DLevelListDrawableTest.java99 mLevelListDrawable.addLevel(0, 10, new ColorDrawable(Color.YELLOW)); in testOnLevelChange()
DColorStateListDrawableTest.java151 .getColorForState(cslDrawable.getState(), Color.YELLOW)); in testColorStateListAccess()
DLayerDrawableTest.java295 Drawable layer2B = new ColorDrawable(Color.YELLOW); in testSetDrawableByLayerId()
308 Drawable firstLayer = spy(new ColorDrawable(Color.YELLOW)); in testSetLayerInset()
311 Drawable secondLayer = spy(new ColorDrawable(Color.YELLOW)); in testSetLayerInset()
789 Drawable largeMockDrawable = spy(new ColorDrawable(Color.YELLOW)); in testGetIntrinsicWidth()
1155 Drawable firstLayer = spy(new ColorDrawable(Color.YELLOW)); in testSetLayerInsetRelative()
1158 Drawable secondLayer = spy(new ColorDrawable(Color.YELLOW)); in testSetLayerInsetRelative()
DNinePatchDrawableTest.java129 verifyColorFillRect(bmp, 5, 5, 4, 4, Color.YELLOW); in testDraw()
140 verifyColorFillRect(bmp, 2, 2, 1, 1, Color.YELLOW); in testDraw()
DDrawableWrapperTest.java229 Drawable mockDrawable = spy(new ColorDrawable(Color.YELLOW)); in testSetVisible()
/cts/tests/tests/view/src/android/view/cts/
DASurfaceControlTest.java102 canvas.drawColor(Color.YELLOW); in surfaceChanged()
358 new PixelChecker(PixelColor.YELLOW) { //10000 in testSurfaceControl_createFromWindow()
376 new PixelChecker(PixelColor.YELLOW) { //10000 in testSurfaceControl_create()
481 new PixelChecker(PixelColor.YELLOW) { //10000 in testSurfaceTransaction_setVisibility_hide()
531 new PixelChecker(PixelColor.YELLOW) { in testSurfaceTransaction_setBufferOpaque_transparent()
981 new PixelChecker(PixelColor.YELLOW) { in testSurfaceTransaction_setZOrder_zero()
1031 new PixelChecker(PixelColor.YELLOW) { in testSurfaceTransaction_setZOrder_negative()
1081 new PixelChecker(PixelColor.YELLOW) { in testSurfaceTransaction_setZOrder_min()
1255 new PixelChecker(PixelColor.YELLOW) { in testSurfaceTransaction_setBufferAlpha_0_5()
1283 new PixelChecker(PixelColor.YELLOW) { //10000 in testSurfaceTransaction_setBufferAlpha_0_0()
[all …]
DView_UsingViewsTest.java171 mEditText.setDrawingCacheBackgroundColor(Color.YELLOW); in testSetProperties()
172 assertEquals(Color.YELLOW, mEditText.getDrawingCacheBackgroundColor()); in testSetProperties()
180 assertEquals(Color.YELLOW, b.getPixel(0, 0)); in testSetProperties()
DPixelCopyTest.java302 assertBitmapEdgeColor(bitmap, Color.YELLOW); in testWindowProducer()
381 assertBitmapEdgeColor(bitmap, Color.YELLOW); in testWindowProducerCopyToRGBA16F()
425 assertEquals("Bottom right", Color.YELLOW, bitmap.getPixel(96, 96)); in testWideGamutWindowProducerCopyToRGBA8888()
524 assertBitmapEdgeColor(bitmap, Color.YELLOW); in testDialogProducer()
603 assertBitmapEdgeColor(bitmap, Color.YELLOW); in testDialogProducerCopyToRGBA16F()
DPixelCopyViewProducerActivity.java162 canvas.drawColor(Color.YELLOW); in onDraw()
/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/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/tests/widget/src/android/widget/cts/
DLinearLayoutTest.java752 Color.YELLOW, 1, true); in verifyVisualsOfVerticalLayoutWithDivider()
757 Color.YELLOW, 1, true); in verifyVisualsOfVerticalLayoutWithDivider()
776 Color.YELLOW, 1, true); in verifyVisualsOfVerticalLayoutWithDivider()
782 Color.YELLOW, 1, true); in verifyVisualsOfVerticalLayoutWithDivider()
801 Color.YELLOW, 1, true); in verifyVisualsOfVerticalLayoutWithDivider()
807 Color.YELLOW, 1, true); in verifyVisualsOfVerticalLayoutWithDivider()
1005 Color.YELLOW, 1, true); in verifyVisualsOfHorizontalLayoutWithDivider()
1011 Color.YELLOW, 1, true); in verifyVisualsOfHorizontalLayoutWithDivider()
1031 Color.YELLOW, 1, true); in verifyVisualsOfHorizontalLayoutWithDivider()
1037 Color.YELLOW, 1, true); in verifyVisualsOfHorizontalLayoutWithDivider()
[all …]
DImageButtonTest.java95 true, Color.YELLOW, 1, false); in testImageSource()
DCheckedTextViewTest.java357 TestUtils.compositeColors(0x8000FF00, Color.YELLOW), 1, true);
406 TestUtils.compositeColors(0x8000FF00, Color.YELLOW), 1, true); in testCheckMarkTintBlendMode()
DSpinnerTest.java426 false, Color.YELLOW, 1, true); in testDropDownBackgroundDropdownMode()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DPixelColor.java23 public static final int YELLOW = 0xFF00FFFF; field in PixelColor
/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/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/
DTouchPointView.java41 Color.YELLOW,
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/
DRingRenderable.java92 colours[i] = Colour.YELLOW[index]; in initialise()
/cts/tests/tests/systemui/src/android/systemui/cts/
DWindowInsetsPresenterDrawable.java82 mSystemWindowPaint.setColor(Color.YELLOW); in WindowInsetsPresenterDrawable()

12