Lines Matching refs:subset
316 SkISize SkAndroidCodec::getSampledSubsetDimensions(int sampleSize, const SkIRect& subset) const {
321 // We require that the input subset is a subset that is supported by SkAndroidCodec.
323 // are made to the subset.
324 SkIRect copySubset = subset;
325 if (!this->getSupportedSubset(©Subset) || copySubset != subset) {
329 // If the subset is the entire image, for consistency, use getSampledDimensions().
330 if (fInfo.dimensions() == subset.size()) {
336 return {get_scaled_dimension(subset.width(), sampleSize),
337 get_scaled_dimension(subset.height(), sampleSize)};
377 // The caller wants the whole thing, rather than a subset. Modify
379 // a subset.