Lines Matching refs:bm8888
426 SkBitmap bm8888; in DEF_TEST() local
428 static_cast<void *>(goodJpegImage), len, &bm8888); in DEF_TEST()
430 REPORTER_ASSERT(reporter, bm8888.width() == goodJpegImageWidth); in DEF_TEST()
431 REPORTER_ASSERT(reporter, bm8888.height() == goodJpegImageHeight); in DEF_TEST()
432 REPORTER_ASSERT(reporter, !(bm8888.empty())); in DEF_TEST()
436 REPORTER_ASSERT(reporter, bm8888.getColor(7, 9) == 0xffffffff); in DEF_TEST()
437 REPORTER_ASSERT(reporter, bm8888.getColor(28, 3) == 0xff000000); in DEF_TEST()
438 REPORTER_ASSERT(reporter, bm8888.getColor(27, 34) == 0xffffffff); in DEF_TEST()
439 REPORTER_ASSERT(reporter, bm8888.getColor(71, 18) == 0xff000000); in DEF_TEST()
442 REPORTER_ASSERT(reporter, bm8888.getColor(127, 127) == 0xff808080 in DEF_TEST()
443 || bm8888.getColor(127, 127) == SK_ColorWHITE); in DEF_TEST()
446 REPORTER_ASSERT(reporter, bm8888.getColor(127, 127) == SK_ColorWHITE); in DEF_TEST()
451 bool writeSuccess = (!(bm8888.empty())) && SkImageEncoder::EncodeFile( in DEF_TEST()
452 "HalfOfAJpeg.png", bm8888, SkImageEncoder::kPNG_Type, 100); in DEF_TEST()