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) {
206 SkBitmapScaler::ResizeMethod method) {
207 // Convert any "Quality Method" into an "Algorithm Method"
208 if (method >= SkBitmapScaler::RESIZE_FIRST_ALGORITHM_METHOD &&
209 method <= SkBitmapScaler::RESIZE_LAST_ALGORITHM_METHOD) {
210 return method;
214 // pick the appropriate software method for each resize quality.
215 switch (method) {
238 ResizeMethod method,
244 SkASSERT(((RESIZE_FIRST_QUALITY_METHOD <= method) &&
245 (method <= RESIZE_LAST_QUALITY_METHOD)) ||
246 ((RESIZE_FIRST_ALGORITHM_METHOD <= method) &&
247 (method <= RESIZE_LAST_ALGORITHM_METHOD)));
253 " method I have never heard of: %d",
254 method );
266 method = ResizeMethodToAlgorithmMethod(method);
269 SkASSERT((SkBitmapScaler::RESIZE_FIRST_ALGORITHM_METHOD <= method) &&
270 (method <= SkBitmapScaler::RESIZE_LAST_ALGORITHM_METHOD));
278 SkResizeFilter filter(method, source.width(), source.height(),
311 ResizeMethod method,
316 return Resize(resultPtr, source, method, destWidth, destHeight, destSubset,