Home
last modified time | relevance | path

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

/external/skia/gm/
Dtallstretchedbitmaps.cpp36 SkIRect subRect = SkIRect::MakeXYWH(0, i * (kMargin + 2 * kRadius), in make_bm() local
38 bm->extractSubset(&smallBM, subRect); in make_bm()
86 SkIRect subRect = SkIRect::MakeLTRB(0, startItem * itemHeight, in onDraw() local
91 canvas->drawBitmapRect(bmp, &subRect, dstRect, &paint); in onDraw()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp551 SkIRect subRect = SkIRect::MakeXYWH(*left, *top, *width, *height); in adjust_pixel_ops_params() local
554 if (!subRect.intersect(bounds)) { in adjust_pixel_ops_params()
558 (subRect.fTop - *top) * *rowBytes + (subRect.fLeft - *left) * bpp); in adjust_pixel_ops_params()
560 *left = subRect.fLeft; in adjust_pixel_ops_params()
561 *top = subRect.fTop; in adjust_pixel_ops_params()
562 *width = subRect.width(); in adjust_pixel_ops_params()
563 *height = subRect.height(); in adjust_pixel_ops_params()