Lines Matching refs:dstBounds
2210 void adjust_bounds_to_granularity(SkIRect* dstBounds, const SkIRect& srcBounds, in adjust_bounds_to_granularity() argument
2219 dstBounds->fRight = srcBounds.fRight + rightAdj; in adjust_bounds_to_granularity()
2220 if (dstBounds->fRight > maxWidth) { in adjust_bounds_to_granularity()
2221 dstBounds->fRight = maxWidth; in adjust_bounds_to_granularity()
2222 dstBounds->fLeft = 0; in adjust_bounds_to_granularity()
2224 dstBounds->fLeft = srcBounds.fLeft - srcBounds.fLeft % granularity.width; in adjust_bounds_to_granularity()
2227 dstBounds->fLeft = srcBounds.fLeft; in adjust_bounds_to_granularity()
2228 dstBounds->fRight = srcBounds.fRight; in adjust_bounds_to_granularity()
2238 dstBounds->fBottom = srcBounds.fBottom + bottomAdj; in adjust_bounds_to_granularity()
2239 if (dstBounds->fBottom > maxHeight) { in adjust_bounds_to_granularity()
2240 dstBounds->fBottom = maxHeight; in adjust_bounds_to_granularity()
2241 dstBounds->fTop = 0; in adjust_bounds_to_granularity()
2243 dstBounds->fTop = srcBounds.fTop - srcBounds.fTop % granularity.height; in adjust_bounds_to_granularity()
2246 dstBounds->fTop = srcBounds.fTop; in adjust_bounds_to_granularity()
2247 dstBounds->fBottom = srcBounds.fBottom; in adjust_bounds_to_granularity()