Lines Matching refs:kWidth
22 static const int kWidth = 100; variable
41 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); in DEF_TEST()
43 canvas->drawRect(SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)), SkPaint()); in DEF_TEST()
44 canvas->clipRect(SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight))); in DEF_TEST()
50 SkRecorder canvas(&rerecord, kWidth, kHeight); in DEF_TEST()
75 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); in DEF_TEST()
84 SkRecorder canvas(&rerecord, kWidth, kHeight); in DEF_TEST()
99 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(kWidth), SkIntToScalar(kHeight), in test_replacements()
106 canvas->drawRect(SkRect::MakeWH(SkIntToScalar(kWidth / 2), SkIntToScalar(kHeight / 2)), in test_replacements()
116 SkIRect::MakeWH(kWidth, kHeight), in test_replacements()
117 SkIRect::MakeWH(kWidth, kHeight), in test_replacements()
123 desc.fWidth = kWidth; in test_replacements()
129 layer->setTexture(texture, SkIRect::MakeWH(kWidth, kHeight)); in test_replacements()
134 SkRecorder canvas(&rerecord, kWidth, kHeight); in test_replacements()