Lines Matching defs:tileSize
856 static inline int get_tile_count(const SkIRect& srcRect, int tileSize) {
857 int tilesX = (srcRect.fRight / tileSize) - (srcRect.fLeft / tileSize) + 1;
858 int tilesY = (srcRect.fBottom / tileSize) - (srcRect.fTop / tileSize) + 1;
914 int* tileSize,
924 *tileSize = determine_tile_size(bitmap, *clippedSrcRect, maxTileSize);
953 *tileSize = kBmpSmallTileSize; // already know whole bitmap fits in one max sized tile.
1199 int tileSize;
1202 if (this->shouldTileBitmap(bitmap, params, srcRectPtr, maxTileSize, &tileSize,
1204 this->drawTiledBitmap(bitmap, srcRect, clippedSrcRect, params, paint, flags, tileSize,
1231 int tileSize,
1240 int nx = bitmap.width() / tileSize;
1241 int ny = bitmap.height() / tileSize;
1245 tileR.set(SkIntToScalar(x * tileSize),
1246 SkIntToScalar(y * tileSize),
1247 SkIntToScalar((x + 1) * tileSize),
1248 SkIntToScalar((y + 1) * tileSize));