Lines Matching refs:tileSize
731 static inline int get_tile_count(const SkIRect& srcRect, int tileSize) { in get_tile_count() argument
732 int tilesX = (srcRect.fRight / tileSize) - (srcRect.fLeft / tileSize) + 1; in get_tile_count()
733 int tilesY = (srcRect.fBottom / tileSize) - (srcRect.fTop / tileSize) + 1; in get_tile_count()
791 int* tileSize, in shouldTileImageID() argument
798 *tileSize = determine_tile_size(*clippedSubset, maxTileSize); in shouldTileImageID()
826 *tileSize = kBmpSmallTileSize; // already know whole bitmap fits in one max sized tile. in shouldTileImageID()
838 int* tileSize, in shouldTileBitmap() argument
847 srcRectPtr, maxTileSize, tileSize, clippedSrcRect); in shouldTileBitmap()
912 int tileSize; in drawBitmap() local
934 maxTileSizeForFilter, &tileSize, &clippedSrcRect)) { in drawBitmap()
936 SkCanvas::kStrict_SrcRectConstraint, tileSize, doBicubic); in drawBitmap()
987 int tileSize, in drawTiledBitmap() argument
1010 int nx = bitmap.width() / tileSize; in drawTiledBitmap()
1011 int ny = bitmap.height() / tileSize; in drawTiledBitmap()
1015 tileR.set(SkIntToScalar(x * tileSize), in drawTiledBitmap()
1016 SkIntToScalar(y * tileSize), in drawTiledBitmap()
1017 SkIntToScalar((x + 1) * tileSize), in drawTiledBitmap()
1018 SkIntToScalar((y + 1) * tileSize)); in drawTiledBitmap()
1326 int tileSize; in drawBitmapRect() local
1353 maxTileSizeForFilter, &tileSize, &clippedSrcRect)) { in drawBitmapRect()
1355 constraint, tileSize, doBicubic); in drawBitmapRect()