Lines Matching refs:kCellSize
40 return SkISize::Make(kCellSize*kNumCols, kCellSize*kNumRows); in onISize()
44 fBitmap = sk_tool_utils::create_checkerboard_bitmap(kCellSize, kCellSize, in onOnceBeforeDraw()
46 kCellSize/10); in onOnceBeforeDraw()
52 { SkIntToScalar(kCellSize), SkIntToScalar(kCellSize) } in onOnceBeforeDraw()
56 { 0, SkIntToScalar(kCellSize) } in onOnceBeforeDraw()
72 fPath.lineTo(0, SkIntToScalar(kCellSize)); in onOnceBeforeDraw()
73 fPath.lineTo(kCellSize/2.0f, kCellSize/2.0f); in onOnceBeforeDraw()
74 fPath.lineTo(SkIntToScalar(kCellSize), SkIntToScalar(kCellSize)); in onOnceBeforeDraw()
75 fPath.lineTo(SkIntToScalar(kCellSize), 0); in onOnceBeforeDraw()
96 SkRect r = SkRect::MakeWH(SkIntToScalar(kCellSize), SkIntToScalar(kCellSize)); in drawRow()
105 canvas->translate(SkIntToScalar(kCellSize), 0); in drawRow()
111 canvas->translate(SkIntToScalar(kCellSize), 0); in drawRow()
117 canvas->translate(SkIntToScalar(kCellSize), 0); in drawRow()
123 canvas->translate(SkIntToScalar(kCellSize), 0); in drawRow()
129 canvas->translate(SkIntToScalar(kCellSize), 0); in drawRow()
140 fImage = make_image(canvas, kCellSize, kCellSize); in onDraw()
144 canvas->translate(0, SkIntToScalar(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()
153 static constexpr int kCellSize = 50; member in skiagm::PerspShadersGM