Lines Matching refs:SkRect
41 SkRect srcRect = layer->getCurrentCropRect(); in onDraw()
52 static bool shouldFilterRect(const SkMatrix& matrix, const SkRect& srcRect, const SkRect& dstRect) { in shouldFilterRect()
54 SkRect dstDevRect = matrix.mapRect(dstRect); in shouldFilterRect()
80 static void adjustCropForYUV(uint32_t format, int bufferWidth, int bufferHeight, SkRect* cropRect) { in adjustCropForYUV()
110 const SkRect* srcRect, in DrawLayer()
111 const SkRect* dstRect, in DrawLayer()
138 SkRect skiaSrcRect; in DrawLayer()
143 skiaSrcRect = SkRect::MakeIWH(imageWidth, imageHeight); in DrawLayer()
145 SkRect skiaDestRect; in DrawLayer()
148 ? SkRect::MakeIWH(dstRect->height(), dstRect->width()) in DrawLayer()
149 : SkRect::MakeIWH(dstRect->width(), dstRect->height()); in DrawLayer()
152 ? SkRect::MakeIWH(layerHeight, layerWidth) in DrawLayer()
153 : SkRect::MakeIWH(layerWidth, layerHeight); in DrawLayer()