Home
last modified time | relevance | path

Searched refs:kBitmapSize (Results 1 – 12 of 12) sorted by relevance

/external/skia/gm/
Dbigtileimagefilter.cpp47 fRedImage = create_circle_texture(kBitmapSize, SK_ColorRED); in onOnceBeforeDraw()
48 fGreenImage = create_circle_texture(kBitmapSize, SK_ColorGREEN); in onOnceBeforeDraw()
61 SkRect::MakeIWH(kBitmapSize, kBitmapSize), in onDraw()
74 const SkRect bound2 = SkRect::MakeIWH(kBitmapSize, kBitmapSize); in onDraw()
77 SkRect::MakeIWH(kBitmapSize, kBitmapSize), in onDraw()
78 SkRect::MakeIWH(kBitmapSize, kBitmapSize), in onDraw()
88 SkIntToScalar(kBitmapSize), in onDraw()
89 SkIntToScalar(kBitmapSize)); in onDraw()
99 static constexpr int kBitmapSize = 64; member in skiagm::BigTileImageFilterGM
Dandroidblendmodes.cpp28 return SkISize::Make(kNumCols * kBitmapSize, kNumRows * kBitmapSize); in onISize()
32 SkImageInfo ii = SkImageInfo::MakeN32Premul(kBitmapSize, kBitmapSize); in onOnceBeforeDraw()
96 xOffset + kBitmapSize/2.0f, in onDraw()
97 yOffset + kBitmapSize, in onDraw()
109 static const int kBitmapSize = 256; member in skiagm::AndroidBlendModesGM
/external/skqp/gm/
Dbigtileimagefilter.cpp47 fRedImage = create_circle_texture(kBitmapSize, SK_ColorRED); in onOnceBeforeDraw()
48 fGreenImage = create_circle_texture(kBitmapSize, SK_ColorGREEN); in onOnceBeforeDraw()
61 SkRect::MakeIWH(kBitmapSize, kBitmapSize), in onDraw()
74 const SkRect bound2 = SkRect::MakeIWH(kBitmapSize, kBitmapSize); in onDraw()
77 SkRect::MakeIWH(kBitmapSize, kBitmapSize), in onDraw()
78 SkRect::MakeIWH(kBitmapSize, kBitmapSize), in onDraw()
88 SkIntToScalar(kBitmapSize), in onDraw()
89 SkIntToScalar(kBitmapSize)); in onDraw()
99 static constexpr int kBitmapSize = 64; member in skiagm::BigTileImageFilterGM
Dandroidblendmodes.cpp28 return SkISize::Make(kNumCols * kBitmapSize, kNumRows * kBitmapSize); in onISize()
32 SkImageInfo ii = SkImageInfo::MakeN32Premul(kBitmapSize, kBitmapSize); in onOnceBeforeDraw()
96 xOffset + kBitmapSize/2.0f, in onDraw()
97 yOffset + kBitmapSize, in onDraw()
109 static const int kBitmapSize = 256; member in skiagm::AndroidBlendModesGM
/external/pdfium/fpdfsdk/
Dfpdfeditimg_unittest.cpp54 constexpr int kBitmapSize = 50; in TEST_F() local
55 FPDF_BITMAP bitmap = FPDFBitmap_Create(kBitmapSize, kBitmapSize, 0); in TEST_F()
56 FPDFBitmap_FillRect(bitmap, 0, 0, kBitmapSize, kBitmapSize, 0x00000000); in TEST_F()
57 EXPECT_EQ(kBitmapSize, FPDFBitmap_GetWidth(bitmap)); in TEST_F()
58 EXPECT_EQ(kBitmapSize, FPDFBitmap_GetHeight(bitmap)); in TEST_F()
63 FPDFImageObj_SetMatrix(page_image, kBitmapSize, 0, 0, kBitmapSize, 0, 0)); in TEST_F()
Dfpdfannot_embeddertest.cpp702 constexpr int kBitmapSize = 200; in TEST_F() local
703 FPDF_BITMAP image_bitmap = FPDFBitmap_Create(kBitmapSize, kBitmapSize, 1); in TEST_F()
704 FPDFBitmap_FillRect(image_bitmap, 0, 0, kBitmapSize, kBitmapSize, 0xeeeecccc); in TEST_F()
705 EXPECT_EQ(kBitmapSize, FPDFBitmap_GetWidth(image_bitmap)); in TEST_F()
706 EXPECT_EQ(kBitmapSize, FPDFBitmap_GetHeight(image_bitmap)); in TEST_F()
709 ASSERT_TRUE(FPDFImageObj_SetMatrix(image_object, kBitmapSize, 0, 0, in TEST_F()
710 kBitmapSize, 0, 0)); in TEST_F()
728 FPDFBitmap_FillRect(image_bitmap, 0, 0, kBitmapSize, kBitmapSize, 0xff000000); in TEST_F()
/external/skqp/tools/
Dchrome_fuzz.cpp13 static const int kBitmapSize = 24; variable
46 0, 0, SkIntToScalar(kBitmapSize), SkIntToScalar(kBitmapSize))); in run_test_case()
73 bitmap.allocN32Pixels(kBitmapSize, kBitmapSize); in main()
/external/skia/tools/
Dchrome_fuzz.cpp13 static const int kBitmapSize = 24; variable
46 0, 0, SkIntToScalar(kBitmapSize), SkIntToScalar(kBitmapSize))); in run_test_case()
73 bitmap.allocN32Pixels(kBitmapSize, kBitmapSize); in main()
/external/skia/tests/
DSerializationTest.cpp36 static const int kBitmapSize = 256; variable
351 SkIRect canvasRect = SkIRect::MakeWH(kBitmapSize, kBitmapSize); in serialize_and_compare_typeface()
401 bitmap->allocN32Pixels(kBitmapSize, kBitmapSize); in setup_bitmap_for_canvas()
413 const int i = kBitmapSize / 8; in make_checkerboard_bitmap()
415 for (int y = 0; y < kBitmapSize; y += i) { in make_checkerboard_bitmap()
416 for (int x = 0; x < kBitmapSize; x += i) { in make_checkerboard_bitmap()
441 …canvas->drawCircle(SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitm… in draw_something()
445 font.setSize(kBitmapSize/3); in draw_something()
446 …canvas->drawString("Picture", SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitmapSize/4), font, pa… in draw_something()
541 SkImageInfo info = SkImageInfo::MakeN32Premul(kBitmapSize, kBitmapSize); in DEF_TEST()
[all …]
DImageFilterTest.cpp49 static const int kBitmapSize = 4; variable
315 auto surface(SkSurface::MakeRasterN32Premul(kBitmapSize, kBitmapSize)); in make_small_image()
322 const int i = kBitmapSize / 4; in make_small_image()
323 for (int y = 0; y < kBitmapSize; y += i) { in make_small_image()
324 for (int x = 0; x < kBitmapSize; x += i) { in make_small_image()
490 result.allocN32Pixels(kBitmapSize, kBitmapSize); in DEF_TEST()
497 SkRect rect = SkRect::Make(SkIRect::MakeWH(kBitmapSize, kBitmapSize)); in DEF_TEST()
508 result.allocN32Pixels(kBitmapSize, kBitmapSize); in DEF_TEST()
526 SkRect r = SkRect::MakeWH(SkIntToScalar(kBitmapSize), in DEF_TEST()
527 SkIntToScalar(kBitmapSize)); in DEF_TEST()
/external/skqp/tests/
DSerializationTest.cpp36 static const int kBitmapSize = 256; variable
351 SkIRect canvasRect = SkIRect::MakeWH(kBitmapSize, kBitmapSize); in serialize_and_compare_typeface()
401 bitmap->allocN32Pixels(kBitmapSize, kBitmapSize); in setup_bitmap_for_canvas()
413 const int i = kBitmapSize / 8; in make_checkerboard_bitmap()
415 for (int y = 0; y < kBitmapSize; y += i) { in make_checkerboard_bitmap()
416 for (int x = 0; x < kBitmapSize; x += i) { in make_checkerboard_bitmap()
441 …canvas->drawCircle(SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitm… in draw_something()
445 font.setSize(kBitmapSize/3); in draw_something()
446 …canvas->drawString("Picture", SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitmapSize/4), font, pa… in draw_something()
541 SkImageInfo info = SkImageInfo::MakeN32Premul(kBitmapSize, kBitmapSize); in DEF_TEST()
[all …]
DImageFilterTest.cpp49 static const int kBitmapSize = 4; variable
315 auto surface(SkSurface::MakeRasterN32Premul(kBitmapSize, kBitmapSize)); in make_small_image()
322 const int i = kBitmapSize / 4; in make_small_image()
323 for (int y = 0; y < kBitmapSize; y += i) { in make_small_image()
324 for (int x = 0; x < kBitmapSize; x += i) { in make_small_image()
490 result.allocN32Pixels(kBitmapSize, kBitmapSize); in DEF_TEST()
497 SkRect rect = SkRect::Make(SkIRect::MakeWH(kBitmapSize, kBitmapSize)); in DEF_TEST()
508 result.allocN32Pixels(kBitmapSize, kBitmapSize); in DEF_TEST()
526 SkRect r = SkRect::MakeWH(SkIntToScalar(kBitmapSize), in DEF_TEST()
527 SkIntToScalar(kBitmapSize)); in DEF_TEST()