Home
last modified time | relevance | path

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

/external/skia/gm/
Dfilterfastbounds.cpp168 static const int kTileWidth = 100; member in skiagm::ImageFilterFastBoundGM
176 return SkISize::Make((SK_ARRAY_COUNT(gDrawMthds) + kNumXtraCols) * kTileWidth, in onISize()
293 SkIntToScalar((SK_ARRAY_COUNT(gDrawMthds) + kNumXtraCols)*kTileWidth), in onDraw()
299 canvas->drawLine(SkIntToScalar(i * kTileWidth), in onDraw()
301 SkIntToScalar(i * kTileWidth), in onDraw()
302 SkIntToScalar(paints.count() * kTileWidth), in onDraw()
314 draw_savelayer_with_paint(SkIPoint::Make(kTileWidth, i*kTileHeight), in onDraw()
322 SkIPoint::Make((i+kNumXtraCols) * kTileWidth, j*kTileHeight), in onDraw()
Dmultipicturedraw.cpp404 static const int kTileWidth = kPicWidth / kNumTilesX; in tiled() local
407 SkASSERT(kPicWidth == kNumTilesX * kTileWidth); in tiled()
419 step.fX = SkIntToScalar(x*kTileWidth); in tiled()
425 step.fSurf = create_compat_surface(finalCanvas, kTileWidth, kTileHeight); in tiled()
429 const SkMatrix trans = SkMatrix::MakeTrans(-SkIntToScalar(x*kTileWidth), in tiled()