Lines Matching refs:kCellSize
42 return SkISize::Make(kCellSize*kNumCols, kCellSize*kNumRows); in onISize()
46 fBitmap = sk_tool_utils::create_checkerboard_bitmap(kCellSize, kCellSize, in onOnceBeforeDraw()
48 kCellSize/10); in onOnceBeforeDraw()
54 { SkIntToScalar(kCellSize), SkIntToScalar(kCellSize) } in onOnceBeforeDraw()
58 { 0, SkIntToScalar(kCellSize) } in onOnceBeforeDraw()
74 fPath.lineTo(0, SkIntToScalar(kCellSize)); in onOnceBeforeDraw()
75 fPath.lineTo(kCellSize/2.0f, kCellSize/2.0f); in onOnceBeforeDraw()
76 fPath.lineTo(SkIntToScalar(kCellSize), SkIntToScalar(kCellSize)); in onOnceBeforeDraw()
77 fPath.lineTo(SkIntToScalar(kCellSize), 0); in onOnceBeforeDraw()
98 SkRect r = SkRect::MakeWH(SkIntToScalar(kCellSize), SkIntToScalar(kCellSize)); in drawRow()
107 canvas->translate(SkIntToScalar(kCellSize), 0); in drawRow()
113 canvas->translate(SkIntToScalar(kCellSize), 0); in drawRow()
119 canvas->translate(SkIntToScalar(kCellSize), 0); in drawRow()
125 canvas->translate(SkIntToScalar(kCellSize), 0); in drawRow()
131 canvas->translate(SkIntToScalar(kCellSize), 0); in drawRow()
142 fImage = make_image(canvas, kCellSize, kCellSize); in onDraw()
146 canvas->translate(0, SkIntToScalar(kCellSize)); in onDraw()
148 canvas->translate(0, SkIntToScalar(kCellSize)); in onDraw()
150 canvas->translate(0, SkIntToScalar(kCellSize)); in onDraw()
152 canvas->translate(0, SkIntToScalar(kCellSize)); in onDraw()
155 static constexpr int kCellSize = 50; member in skiagm::PerspShadersGM