Lines Matching refs:kPictureSize
15 constexpr SkScalar kPictureSize = SK_Scalar1; variable
96 SkCanvas* pictureCanvas = recorder.beginRecording(kPictureSize, kPictureSize); in onOnceBeforeDraw()
97 draw_scene(pictureCanvas, kPictureSize); in onOnceBeforeDraw()
102 kPictureSize, kPictureSize)); in onOnceBeforeDraw()
104 draw_scene(pictureCanvas, kPictureSize); in onOnceBeforeDraw()
108 SkRect tile = SkRect::MakeXYWH(tiles[i].x * kPictureSize, in onOnceBeforeDraw()
109 tiles[i].y * kPictureSize, in onOnceBeforeDraw()
110 tiles[i].w * kPictureSize, in onOnceBeforeDraw()
111 tiles[i].h * kPictureSize); in onOnceBeforeDraw()
113 localMatrix.setTranslate(tiles[i].offsetX * kPictureSize, in onOnceBeforeDraw()
114 tiles[i].offsetY * kPictureSize); in onOnceBeforeDraw()
115 localMatrix.postScale(kFillSize / (2 * kPictureSize), in onOnceBeforeDraw()
116 kFillSize / (2 * kPictureSize)); in onOnceBeforeDraw()
121 if (tile == SkRect::MakeWH(kPictureSize, kPictureSize)) { in onOnceBeforeDraw()