Lines Matching refs:drawPaint
36 static void install_detector_color_filter(SkPaint* drawPaint) { in install_detector_color_filter() argument
37 drawPaint->setColorFilter(make_detector_color_filter()); in install_detector_color_filter()
41 static void install_detector_image_filter(SkPaint* drawPaint) { in install_detector_image_filter() argument
42 drawPaint->setImageFilter(SkColorFilterImageFilter::Make(make_detector_color_filter(), in install_detector_image_filter()
43 drawPaint->refImageFilter())); in install_detector_image_filter()
61 SkPaint drawPaint; in draw_save_layer_draw_rect_restore_sequence() local
62 drawPaint.setColor(shapeColor); in draw_save_layer_draw_rect_restore_sequence()
63 installDetector(&drawPaint); in draw_save_layer_draw_rect_restore_sequence()
64 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()