Home
last modified time | relevance | path

Searched refs:xTiles (Results 1 – 5 of 5) sorted by relevance

/external/skqp/bench/
DSKPBench.cpp64 int xTiles = SkScalarCeilToInt(bounds.width() / SkIntToScalar(tileW)); in onPerCanvasPreDraw() local
67 fSurfaces.setReserve(xTiles * yTiles); in onPerCanvasPreDraw()
68 fTileRects.setReserve(xTiles * yTiles); in onPerCanvasPreDraw()
/external/skia/bench/
DSKPBench.cpp64 int xTiles = SkScalarCeilToInt(bounds.width() / SkIntToScalar(tileW)); in onPerCanvasPreDraw() local
67 fSurfaces.setReserve(xTiles * yTiles); in onPerCanvasPreDraw()
68 fTileRects.setReserve(xTiles * yTiles); in onPerCanvasPreDraw()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java1482 int xTiles = 1; in initialiseTileMap() local
1485 int sTileWidth = sWidth()/xTiles; in initialiseTileMap()
1489 …while (subTileWidth + xTiles + 1 > maxTileDimensions.x || (subTileWidth > getWidth() * 1.25 && sam… in initialiseTileMap()
1490 xTiles += 1; in initialiseTileMap()
1491 sTileWidth = sWidth()/xTiles; in initialiseTileMap()
1499 List<Tile> tileGrid = new ArrayList<>(xTiles * yTiles); in initialiseTileMap()
1500 for (int x = 0; x < xTiles; x++) { in initialiseTileMap()
1508 x == xTiles - 1 ? sWidth() : (x + 1) * sTileWidth, in initialiseTileMap()
/external/skqp/dm/
DDMSrcSink.cpp2013 const int xTiles = (size.width() + fW - 1) / fW, in GPUThreadTestingSink() local
2015 SkMultiPictureDraw mpd(xTiles*yTiles); in GPUThreadTestingSink()
2021 for (int i = 0; i < xTiles; i++) { in GPUThreadTestingSink()
2037 for (int i = 0; i < xTiles; i++) { in GPUThreadTestingSink()
2038 sk_sp<SkImage> image(surfaces[i+xTiles*j]->makeImageSnapshot()); in GPUThreadTestingSink()
/external/skia/dm/
DDMSrcSink.cpp2057 const int xTiles = (size.width() + fW - 1) / fW, in GPUThreadTestingSink() local
2059 SkMultiPictureDraw mpd(xTiles*yTiles); in GPUThreadTestingSink()
2065 for (int i = 0; i < xTiles; i++) { in GPUThreadTestingSink()
2081 for (int i = 0; i < xTiles; i++) { in GPUThreadTestingSink()
2082 sk_sp<SkImage> image(surfaces[i+xTiles*j]->makeImageSnapshot()); in GPUThreadTestingSink()