Lines Matching refs:drawPaint
37 static void install_detector_color_filter(SkPaint* drawPaint) { in install_detector_color_filter() argument
38 drawPaint->setColorFilter(make_detector_color_filter()); in install_detector_color_filter()
42 static void install_detector_image_filter(SkPaint* drawPaint) { in install_detector_image_filter() argument
43 drawPaint->setImageFilter(SkColorFilterImageFilter::Make(make_detector_color_filter(), in install_detector_image_filter()
44 drawPaint->refImageFilter())); in install_detector_image_filter()
62 SkPaint drawPaint; in draw_save_layer_draw_rect_restore_sequence() local
63 drawPaint.setColor(shapeColor); in draw_save_layer_draw_rect_restore_sequence()
64 installDetector(&drawPaint); in draw_save_layer_draw_rect_restore_sequence()
65 canvas->drawRect(targetRect, drawPaint); in draw_save_layer_draw_rect_restore_sequence()
89 SkPaint drawPaint; in draw_save_layer_draw_bitmap_restore_sequence() local
90 installDetector(&drawPaint); in draw_save_layer_draw_bitmap_restore_sequence()
91 canvas->drawBitmap(bitmap, SkIntToScalar(0), SkIntToScalar(0), &drawPaint); in draw_save_layer_draw_bitmap_restore_sequence()
117 SkPaint drawPaint; in draw_svg_opacity_and_filter_layer_sequence() local
118 drawPaint.setImageFilter(SkPictureImageFilter::Make(shape)); in draw_svg_opacity_and_filter_layer_sequence()
119 installDetector(&drawPaint); in draw_svg_opacity_and_filter_layer_sequence()
120 canvas->saveLayer(&targetRect, &drawPaint); in draw_svg_opacity_and_filter_layer_sequence()