Lines Matching refs:GetBitmap
401 EXPECT_TRUE(platform_bitmap->GetBitmap().empty());
402 EXPECT_TRUE(platform_bitmap->GetBitmap().isNull());
407 EXPECT_FALSE(platform_bitmap->GetBitmap().empty());
408 EXPECT_FALSE(platform_bitmap->GetBitmap().isNull());
409 EXPECT_EQ(kWidth, platform_bitmap->GetBitmap().width());
410 EXPECT_EQ(kHeight, platform_bitmap->GetBitmap().height());
411 EXPECT_LE(static_cast<size_t>(platform_bitmap->GetBitmap().width()*4),
412 platform_bitmap->GetBitmap().rowBytes());
414 platform_bitmap->GetBitmap().colorType());
415 EXPECT_TRUE(platform_bitmap->GetBitmap().lockPixelsAreWritable());
416 EXPECT_TRUE(platform_bitmap->GetBitmap().pixelRef()->isLocked());
417 EXPECT_EQ(1, platform_bitmap->GetBitmap().pixelRef()->getRefCnt());
419 *(platform_bitmap->GetBitmap().getAddr32(10, 20)) = 0xDEED1020;
420 *(platform_bitmap->GetBitmap().getAddr32(20, 30)) = 0xDEED2030;
422 SkBitmap sk_bitmap = platform_bitmap->GetBitmap();
425 EXPECT_EQ(2, platform_bitmap->GetBitmap().pixelRef()->getRefCnt());
431 *(platform_bitmap->GetBitmap().getAddr32(30, 40)) = 0xDEED3040;