Lines Matching refs:srcBounds
132 const SkIRect& srcBounds, in adjust_bounds_to_granularity() argument
139 int rightAdj = srcBounds.fRight % granularity.width; in adjust_bounds_to_granularity()
143 dstBounds->fRight = srcBounds.fRight + rightAdj; in adjust_bounds_to_granularity()
148 dstBounds->fLeft = srcBounds.fLeft - srcBounds.fLeft % granularity.width; in adjust_bounds_to_granularity()
151 dstBounds->fLeft = srcBounds.fLeft; in adjust_bounds_to_granularity()
152 dstBounds->fRight = srcBounds.fRight; in adjust_bounds_to_granularity()
158 int bottomAdj = srcBounds.fBottom % granularity.height; in adjust_bounds_to_granularity()
162 dstBounds->fBottom = srcBounds.fBottom + bottomAdj; in adjust_bounds_to_granularity()
167 dstBounds->fTop = srcBounds.fTop - srcBounds.fTop % granularity.height; in adjust_bounds_to_granularity()
170 dstBounds->fTop = srcBounds.fTop; in adjust_bounds_to_granularity()
171 dstBounds->fBottom = srcBounds.fBottom; in adjust_bounds_to_granularity()