Home
last modified time | relevance | path

Searched refs:setAlphaf (Results 1 – 25 of 41) sorted by relevance

12

/external/skia/docs/examples/
DCanvas_saveLayer_4.cpp15 pThirtyBlue.setAlphaf(0.3); in draw()
18 alpha.setAlphaf(0.3); in draw()
/external/skia/gm/
Dbeziers.cpp40 paint->setAlphaf(1.0f); in rnd_quad()
63 paint->setAlphaf(1.0f); in rnd_cubic()
Drsxtext.cpp78 p.setAlphaf(0.75f); in draw_one()
81 p.setAlphaf(1); in draw_one()
Dimageblurrepeatmode.cpp46 paint.setAlphaf(0.5f); in make_image()
56 paint.setAlphaf(0.5f); in make_image()
Dshapes.cpp110 paint.setAlphaf(0.5f); // Use alpha to detect double blends. in drawShapes()
175 paint.setAlphaf(0.5f); // Use alpha to detect double blends. in drawShapes()
Dmixedtextblobs.cpp37 paint.setAlphaf(0.125f); in draw_blob()
40 paint.setAlphaf(1.0f); in draw_blob()
Dtinybitmap.cpp31 paint.setAlphaf(0.5f); in onDraw()
Dstrokes.cpp47 paint->setAlphaf(1.0f); in rnd_rect()
134 fillPaint.setAlphaf(1.0f); in onDraw()
135 strokePaint.setAlphaf(1.0f); in onDraw()
153 strokePaint.setAlphaf(0.5f); in onDraw()
159 fillPaint.setAlphaf(0.5f); in onDraw()
Dsavelayer.cpp145 p.setAlphaf(0.25f); in draw_cell()
197 paint.setAlphaf(1.0f/n);
Dcoloremoji.cpp140 shaderPaint.setAlphaf(0.5f); in onDraw()
187 paint.setAlphaf(1.0f); in onDraw()
Dpictureimagegenerator.cpp169 p.setAlphaf(configs[i].opacity); in onDraw()
193 p.setAlphaf(1.0f); in onDraw()
Dpicture.cpp79 paint.setAlphaf(0.5f); in onDraw()
Dbackdrop_imagefilter_croprect.cpp116 p.setAlphaf(0.5f);
Dshadertext3.cpp86 bmpPaint.setAlphaf(0.5f); in onDraw()
Dpostercircle.cpp133 fillPaint.setAlphaf(0.7f); in onDraw()
Dbitmapfilters.cpp71 paint.setAlphaf(0.5f); in draw_row()
Dhsl.cpp249 p.setAlphaf(src_a);
Ddrawbitmaprect.cpp189 paint.setAlphaf(0.125f); in onDraw()
/external/skia/samplecode/
DSampleTiming.cpp61 p.setAlphaf( (cost[y][x] - min) / (max - min) ); in onDrawContent()
90 p.setAlphaf( (cost[y][x] - min) / (max - min) ); in onDrawContent()
/external/skia/include/core/
DSkPaint.h297 void setAlphaf(float a);
301 this->setAlphaf(a * (1.0f / 255)); in setAlpha()
/external/skia/experimental/skrive/src/
DComponent.cpp72 layer_paint.setAlphaf(node->getOpacity()); in ScopedTransformContext()
/external/skia/src/core/
DSkPaintPriv.cpp98 p->setAlphaf(1.0f); in RemoveColorFilter()
/external/skia/modules/canvaskit/tests/
Dcanvas.spec.js415 thirtyBluePaint.setAlphaf(0.3);
418 alpha.setAlphaf(0.3);
476 thirtyBluePaint.setAlphaf(0.3);
479 alpha.setAlphaf(0.3);
/external/skia/modules/svg/src/
DSkSVGRenderContext.cpp289 opacityPaint.setAlphaf(SkTPin(opacity, 0.0f, 1.0f)); in applyOpacity()
428 p->setAlphaf(SkTPin(p->getAlphaf() * paint_opacity * fDeferredPaintOpacity, 0.0f, 1.0f)); in commonPaint()
/external/skia/modules/skottie/src/effects/
DMotionBlurEffect.cpp227 frame_paint.setAlphaf(frame_alpha); in onRender()

12