Lines Matching refs:kCellSize
55 return SkISize::Make(kCellSize*kNumCols, kCellSize*kNumRows); in onISize()
60 kCellSize, kCellSize, SK_ColorBLUE, SK_ColorYELLOW, kCellSize / 10); in onOnceBeforeDraw()
64 { SkIntToScalar(kCellSize), SkIntToScalar(kCellSize) } in onOnceBeforeDraw()
68 { 0, SkIntToScalar(kCellSize) } in onOnceBeforeDraw()
84 fPath.lineTo(0, SkIntToScalar(kCellSize)); in onOnceBeforeDraw()
85 fPath.lineTo(kCellSize/2.0f, kCellSize/2.0f); in onOnceBeforeDraw()
86 fPath.lineTo(SkIntToScalar(kCellSize), SkIntToScalar(kCellSize)); in onOnceBeforeDraw()
87 fPath.lineTo(SkIntToScalar(kCellSize), 0); in onOnceBeforeDraw()
106 SkRect r = SkRect::MakeWH(SkIntToScalar(kCellSize), SkIntToScalar(kCellSize)); in drawRow()
115 canvas->translate(SkIntToScalar(kCellSize), 0); in drawRow()
121 canvas->translate(SkIntToScalar(kCellSize), 0); in drawRow()
127 canvas->translate(SkIntToScalar(kCellSize), 0); in drawRow()
133 canvas->translate(SkIntToScalar(kCellSize), 0); in drawRow()
139 canvas->translate(SkIntToScalar(kCellSize), 0); in drawRow()
150 fImage = make_image(canvas, kCellSize, kCellSize); in onDraw()
154 canvas->translate(0, SkIntToScalar(kCellSize)); in onDraw()
156 canvas->translate(0, SkIntToScalar(kCellSize)); in onDraw()
159 canvas->translate(0, SkIntToScalar(kCellSize)); in onDraw()
161 canvas->translate(0, SkIntToScalar(kCellSize)); in onDraw()
164 static constexpr int kCellSize = 50; member in skiagm::PerspShadersGM