Home | History | Annotate | Download | only in ext

Lines Matching refs:method

96   ResizeFilter(ImageOperations::ResizeMethod method,
179 ResizeFilter::ResizeFilter(ImageOperations::ResizeMethod method,
183 : method_(method),
185 // method_ will only ever refer to an "algorithm method".
186 SkASSERT((ImageOperations::RESIZE_FIRST_ALGORITHM_METHOD <= method) &&
187 (method <= ImageOperations::RESIZE_LAST_ALGORITHM_METHOD));
307 ImageOperations::ResizeMethod method) {
308 // Convert any "Quality Method" into an "Algorithm Method"
309 if (method >= ImageOperations::RESIZE_FIRST_ALGORITHM_METHOD &&
310 method <= ImageOperations::RESIZE_LAST_ALGORITHM_METHOD) {
311 return method;
315 // pick the appropriate software method for each resize quality.
316 switch (method) {
341 ResizeMethod method,
345 if (method == ImageOperations::RESIZE_SUBPIXEL) {
349 return ResizeBasic(source, method, dest_width, dest_height, dest_subset,
466 ResizeMethod method,
474 SkASSERT(((RESIZE_FIRST_QUALITY_METHOD <= method) &&
475 (method <= RESIZE_LAST_QUALITY_METHOD)) ||
476 ((RESIZE_FIRST_ALGORITHM_METHOD <= method) &&
477 (method <= RESIZE_LAST_ALGORITHM_METHOD)));
492 method = ResizeMethodToAlgorithmMethod(method);
494 SkASSERT((ImageOperations::RESIZE_FIRST_ALGORITHM_METHOD <= method) &&
495 (method <= ImageOperations::RESIZE_LAST_ALGORITHM_METHOD));
501 ResizeFilter filter(method, source.width(), source.height(),
531 ResizeMethod method,
535 return Resize(source, method, dest_width, dest_height, dest_subset,