• Home
  • Raw
  • Download

Lines Matching refs:kPad

33 static const int kPad = 3;  variable
34 static const int kFullSize = kSmallerSize + 2 * kPad;
48 temp.drawRect(SkRect::MakeXYWH(SkIntToScalar(kPad), SkIntToScalar(kPad), in create_bm()
97 img->draw(canvas, SkIntToScalar(kPad), SkIntToScalar(kPad), nullptr); in test_image()
106 REPORTER_ASSERT(reporter, SK_ColorBLUE == bm.getColor(kPad-1, kPad-1)); in test_image()
107 REPORTER_ASSERT(reporter, SK_ColorRED == bm.getColor(kPad, kPad)); in test_image()
108 REPORTER_ASSERT(reporter, SK_ColorRED == bm.getColor(kSmallerSize+kPad-1, in test_image()
109 kSmallerSize+kPad-1)); in test_image()
110 REPORTER_ASSERT(reporter, SK_ColorBLUE == bm.getColor(kSmallerSize+kPad, in test_image()
111 kSmallerSize+kPad)); in test_image()
147 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); in DEF_TEST()
151 test_image(subSImg1, reporter, nullptr, false, kPad, kFullSize); in DEF_TEST()
170 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); in test_specialimage_image()
174 test_image(subSImg1, reporter, nullptr, false, kPad, kFullSize); in test_specialimage_image()
204 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
275 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
282 test_image(subSImg1, reporter, context, true, kPad, kFullSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
287 test_image(subSImg2, reporter, context, true, kPad, kFullSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()