Home
last modified time | relevance | path

Searched refs:imagesPerRow (Results 1 – 2 of 2) sorted by relevance

/external/skqp/bench/
DImageCycleBench.cpp63 static const int imagesPerRow = in onDraw() local
65 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()
/external/skia/bench/
DImageCycleBench.cpp63 static const int imagesPerRow = in onDraw() local
65 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()