Home | History | Annotate | Download | only in core

Lines Matching refs:method

14     SkResizeFilter(SkBitmapScaler::ResizeMethod method,
52 SkResizeFilter::SkResizeFilter(SkBitmapScaler::ResizeMethod method,
58 // method will only ever refer to an "algorithm method".
59 SkASSERT((SkBitmapScaler::RESIZE_FIRST_ALGORITHM_METHOD <= method) &&
60 (method <= SkBitmapScaler::RESIZE_LAST_ALGORITHM_METHOD));
62 switch(method) {
211 SkBitmapScaler::ResizeMethod method) {
212 // Convert any "Quality Method" into an "Algorithm Method"
213 if (method >= SkBitmapScaler::RESIZE_FIRST_ALGORITHM_METHOD &&
214 method <= SkBitmapScaler::RESIZE_LAST_ALGORITHM_METHOD) {
215 return method;
219 // pick the appropriate software method for each resize quality.
220 switch (method) {
247 ResizeMethod method,
255 SkASSERT(((RESIZE_FIRST_QUALITY_METHOD <= method) &&
256 (method <= RESIZE_LAST_QUALITY_METHOD)) ||
257 ((RESIZE_FIRST_ALGORITHM_METHOD <= method) &&
258 (method <= RESIZE_LAST_ALGORITHM_METHOD)));
276 method = ResizeMethodToAlgorithmMethod(method);
279 SkASSERT((SkBitmapScaler::RESIZE_FIRST_ALGORITHM_METHOD <= method) &&
280 (method <= SkBitmapScaler::RESIZE_LAST_ALGORITHM_METHOD));
288 SkResizeFilter filter(method, source.width(), source.height(),