Lines Matching defs:count
89 FilterReturn filterRectsToNine(const SkRect[], int count, const SkMatrix&,
216 static bool draw_rects_into_mask(const SkRect rects[], int count, SkMask* mask) {
235 if (1 == count) {
281 const SkRect rects[], int count) {
282 return SkMaskCache::FindAndRef(sigma, style, rects, count, mask);
286 const SkRect rects[], int count) {
289 SkMaskCache::Add(sigma, style, rects, count, *mask, cache);
433 SkBlurMaskFilterImpl::filterRectsToNine(const SkRect rects[], int count,
437 if (count < 1 || count > 2) {
460 if (count == 1 && c_analyticBlurNinepatch) {
495 if (1 == count) {
499 SkASSERT(2 == count);
524 if (2 == count) {
531 SkCachedData* cache = find_cached_rects(&patch->fMask, sigma, fBlurStyle, smallR, count);
533 if (count > 1 || !c_analyticBlurNinepatch) {
534 if (!draw_rects_into_mask(smallR, count, &srcM)) {
549 cache = add_cached_rects(&patch->fMask, sigma, fBlurStyle, smallR, count);