Searched refs:imagesPerRow (Results 1 – 2 of 2) sorted by relevance
63 static const int imagesPerRow = in onDraw() local65 int rowsPerImage = SkScalarCeilToInt((SkScalar)fRepeatCnt / imagesPerRow); in onDraw()70 SkScalar rowYOffset = (r / imagesPerRow) * (kImageSize.fHeight + kPad); in onDraw()71 SkScalar x = (r % imagesPerRow) * (kImageSize.fWidth + kPad); in onDraw()