Lines Matching refs:tileSize
669 static inline int get_tile_count(const SkIRect& srcRect, int tileSize) { in get_tile_count() argument
670 int tilesX = (srcRect.fRight / tileSize) - (srcRect.fLeft / tileSize) + 1; in get_tile_count()
671 int tilesY = (srcRect.fBottom / tileSize) - (srcRect.fTop / tileSize) + 1; in get_tile_count()
734 int* tileSize, in shouldTileImageID() argument
742 *tileSize = determine_tile_size(*clippedSubset, maxTileSize); in shouldTileImageID()
771 *tileSize = kBmpSmallTileSize; // already know whole bitmap fits in one max sized tile. in shouldTileImageID()
857 int tileSize, in drawTiledBitmap() argument
875 int nx = bitmap.width() / tileSize; in drawTiledBitmap()
876 int ny = bitmap.height() / tileSize; in drawTiledBitmap()
880 tileR.set(SkIntToScalar(x * tileSize), in drawTiledBitmap()
881 SkIntToScalar(y * tileSize), in drawTiledBitmap()
882 SkIntToScalar((x + 1) * tileSize), in drawTiledBitmap()
883 SkIntToScalar((y + 1) * tileSize)); in drawTiledBitmap()
1142 int tileSize; in drawBitmapRect() local
1165 &tileSize, &clippedSrcRect)) { in drawBitmapRect()
1167 sampleState, paint, constraint, tileSize, doBicubic); in drawBitmapRect()