Home | History | Annotate | Download | only in tests

Lines Matching refs:green

311     Color green(0xFF00FF00);
313 // Make a red bottom layer, followed by a half green next layer @ 50%.
320 src->context()->fillRect(rightHalf, green);
352 // (black @ 50% atop green) @ 50% atop red = 0xFF804000
357 // 50% green on top of red = FF808000 (rounded to what Skia will produce).
377 Color green(0xFF00FF00);
390 helper.context()->fillRect(bottomRight, green);
397 EXPECT_EQ(green, getPixelAt(src->context(), 15, 7));
416 Color green(0xFF00FF00);
426 // Draw a green pixel at (11, 11). This should be within the clip rect
429 helper.context()->fillRect(greenRect, green);
440 // Verify green pixel got drawn in clip rect and red pixel got clipped.
441 EXPECT_EQ(green, getPixelAt(src->context(), 11, 5));
704 // Our text should end up 50% transparent blue-green.