Home
last modified time | relevance | path

Searched refs:opacity (Results 1 – 25 of 125) sorted by relevance

12345

/external/skia/experimental/svg/model/
DSkSVGNode.cpp75 void SkSVGNode::setFillOpacity(const SkSVGNumberType& opacity) { in setFillOpacity() argument
77 SkSVGNumberType(SkTPin<SkScalar>(opacity.value(), 0, 1))); in setFillOpacity()
84 void SkSVGNode::setOpacity(const SkSVGNumberType& opacity) { in setOpacity() argument
86 SkSVGNumberType(SkTPin<SkScalar>(opacity.value(), 0, 1))); in setOpacity()
101 void SkSVGNode::setStrokeOpacity(const SkSVGNumberType& opacity) { in setStrokeOpacity() argument
103 SkSVGNumberType(SkTPin<SkScalar>(opacity.value(), 0, 1))); in setStrokeOpacity()
132 if (const SkSVGNumberValue* opacity = v.as<SkSVGNumberValue>()) { in onSetAttribute() local
133 this->setFillOpacity(*opacity); in onSetAttribute()
142 if (const SkSVGNumberValue* opacity = v.as<SkSVGNumberValue>()) { in onSetAttribute() local
143 this->setOpacity(*opacity); in onSetAttribute()
[all …]
DSkSVGStop.cpp22 void SkSVGStop::setStopOpacity(const SkSVGNumberType& opacity) { in setStopOpacity() argument
23 fStopOpacity = SkTPin<SkScalar>(opacity.value(), 0, 1); in setStopOpacity()
39 if (const auto* opacity = v.as<SkSVGNumberValue>()) { in onSetAttribute() local
40 this->setStopOpacity(*opacity); in onSetAttribute()
DSkSVGRenderContext.cpp353 if (auto* opacity = attrs.fOpacity.getMaybeNull()) { in applyPresentationAttributes() local
354 this->applyOpacity(opacity->value(), flags); in applyPresentationAttributes()
362 void SkSVGRenderContext::applyOpacity(SkScalar opacity, uint32_t flags) { in applyOpacity() argument
363 if (opacity >= 1) { in applyOpacity()
378 SkScalarRoundToInt(opacity * pctx->fFillPaint.getAlpha())); in applyOpacity()
381 SkScalarRoundToInt(opacity * pctx->fStrokePaint.getAlpha())); in applyOpacity()
386 opacityPaint.setAlpha(opacity_to_alpha(opacity)); in applyOpacity()
/external/skqp/experimental/svg/model/
DSkSVGNode.cpp75 void SkSVGNode::setFillOpacity(const SkSVGNumberType& opacity) { in setFillOpacity() argument
77 SkSVGNumberType(SkTPin<SkScalar>(opacity.value(), 0, 1))); in setFillOpacity()
84 void SkSVGNode::setOpacity(const SkSVGNumberType& opacity) { in setOpacity() argument
86 SkSVGNumberType(SkTPin<SkScalar>(opacity.value(), 0, 1))); in setOpacity()
101 void SkSVGNode::setStrokeOpacity(const SkSVGNumberType& opacity) { in setStrokeOpacity() argument
103 SkSVGNumberType(SkTPin<SkScalar>(opacity.value(), 0, 1))); in setStrokeOpacity()
132 if (const SkSVGNumberValue* opacity = v.as<SkSVGNumberValue>()) { in onSetAttribute() local
133 this->setFillOpacity(*opacity); in onSetAttribute()
142 if (const SkSVGNumberValue* opacity = v.as<SkSVGNumberValue>()) { in onSetAttribute() local
143 this->setOpacity(*opacity); in onSetAttribute()
[all …]
DSkSVGStop.cpp22 void SkSVGStop::setStopOpacity(const SkSVGNumberType& opacity) { in setStopOpacity() argument
23 fStopOpacity = SkTPin<SkScalar>(opacity.value(), 0, 1); in setStopOpacity()
39 if (const auto* opacity = v.as<SkSVGNumberValue>()) { in onSetAttribute() local
40 this->setStopOpacity(*opacity); in onSetAttribute()
DSkSVGRenderContext.cpp353 if (auto* opacity = attrs.fOpacity.getMaybeNull()) { in applyPresentationAttributes() local
354 this->applyOpacity(opacity->value(), flags); in applyPresentationAttributes()
362 void SkSVGRenderContext::applyOpacity(SkScalar opacity, uint32_t flags) { in applyOpacity() argument
363 if (opacity >= 1) { in applyOpacity()
378 SkScalarRoundToInt(opacity * pctx->fFillPaint.getAlpha())); in applyOpacity()
381 SkScalarRoundToInt(opacity * pctx->fStrokePaint.getAlpha())); in applyOpacity()
386 opacityPaint.setAlpha(opacity_to_alpha(opacity)); in applyOpacity()
/external/replicaisland/src/com/replica/replicaisland/
DDrawableBitmap.java60 public void setOpacity(float opacity) { in setOpacity() argument
61 mOpacity = opacity; in setOpacity()
110 final float opacity = mOpacity; in draw() local
122 || opacity == 0.0f in draw()
134 if (opacity < 1.0f) { in draw()
135 gl.glColor4f(opacity, opacity, opacity, opacity); in draw()
141 if (opacity < 1.0f) { in draw()
DFadeDrawableComponent.java86 float opacity = mInitialOpacity; in update() local
99 opacity = mTargetOpacity; in update()
102 opacity = Lerp.lerp(mInitialOpacity, mTargetOpacity, mDuration, elapsed); in update()
104 opacity = Lerp.ease(mInitialOpacity, mTargetOpacity, mDuration, elapsed); in update()
119 bitmap.setOpacity(opacity); in update()
127 ((DrawableBitmap)drawable).setOpacity(opacity); in update()
DMotionBlurComponent.java101 final float opacity = (STEP_COUNT - x) * OPACITY_STEP; in update()
102 stepImage.setOpacity(opacity); in update()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/tests/yui/
Dopacity-filter.css.min1 …:solid red;opacity:.8;-ms-filter:"alpha(opacity=80)";filter:alpha(opacity=80);zoom:1}code{-ms-filt…
Dopacity-filter.css1 /* example from https://developer.mozilla.org/en/CSS/opacity */
4 opacity: 0.8; /* Firefox, Safari(WebKit), Opera */
/external/ImageMagick/coders/
Dgif.c390 static MagickBooleanType DecodeImage(Image *image,const ssize_t opacity, in DecodeImage() argument
445 SetPixelAlpha(image,index == opacity ? TransparentAlpha : OpaqueAlpha,q); in DecodeImage()
977 opacity; in ReadGIFImage() local
1035 opacity=(-1); in ReadGIFImage()
1069 opacity=(ssize_t) buffer[3]; in ReadGIFImage()
1244 if (opacity >= (ssize_t) image->colors) in ReadGIFImage()
1245 opacity=(-1); in ReadGIFImage()
1254 image->alpha_trait=opacity >= 0 ? BlendPixelTrait : UndefinedPixelTrait; in ReadGIFImage()
1282 if (i == opacity) in ReadGIFImage()
1285 image->transparent_color=image->colormap[opacity]; in ReadGIFImage()
[all …]
Dxpm.c906 opacity, in WriteXPMImage() local
925 opacity=(-1); in WriteXPMImage()
945 if (opacity < 0) in WriteXPMImage()
947 opacity=i; in WriteXPMImage()
953 image->colormap[opacity].alpha; in WriteXPMImage()
955 opacity=i; in WriteXPMImage()
957 if (opacity == -1) in WriteXPMImage()
963 if (opacity < 0) in WriteXPMImage()
965 opacity=i; in WriteXPMImage()
971 image->colormap[opacity].alpha; in WriteXPMImage()
[all …]
Dsixel.c1192 opacity, in WriteSIXELImage() local
1216 opacity=(-1); in WriteSIXELImage()
1236 if (opacity < 0) in WriteSIXELImage()
1238 opacity=i; in WriteSIXELImage()
1242 beta=image->colormap[opacity].alpha; in WriteSIXELImage()
1244 opacity=i; in WriteSIXELImage()
1246 if (opacity == -1) in WriteSIXELImage()
1252 if (opacity < 0) in WriteSIXELImage()
1254 opacity=i; in WriteSIXELImage()
1258 beta=image->colormap[opacity].alpha; in WriteSIXELImage()
[all …]
/external/v8/tools/turbolizer/
Dturbo-visualizer.css18 opacity: 0.7;
25 opacity: 1;
31 opacity: 0.4;
89 opacity: .5;
93 opacity: 0.5;
128 fill-opacity: 0.0;
236 opacity: 1;
316 opacity: 0.7;
/external/autotest/frontend/client/src/autotest/public/
Dstandard.css15 opacity: 0.3;
16 filter: alpha(opacity=30);
110 opacity: .5;
112 filter: alpha(opacity=40);
128 opacity: .5;
130 filter: alpha(opacity=40);
/external/trappy/trappy/plotter/css/
DEventPlot.css49 fill-opacity: 0.5;
52 stroke-opacity: 1;
80 fill-opacity: .125;
/external/skia/experimental/sksg/effects/
DSkSGOpacityEffect.h21 static sk_sp<OpacityEffect> Make(sk_sp<RenderNode> child, float opacity = 1) {
22 return child ? sk_sp<OpacityEffect>(new OpacityEffect(std::move(child), opacity)) : nullptr;
DSkSGOpacityEffect.cpp16 OpacityEffect::OpacityEffect(sk_sp<RenderNode> child, float opacity) in OpacityEffect() argument
18 , fOpacity(opacity) {} in OpacityEffect()
/external/skqp/experimental/sksg/effects/
DSkSGOpacityEffect.cpp16 OpacityEffect::OpacityEffect(sk_sp<RenderNode> child, float opacity) in OpacityEffect() argument
18 , fOpacity(opacity) {} in OpacityEffect()
DSkSGOpacityEffect.h21 static sk_sp<OpacityEffect> Make(sk_sp<RenderNode> child, float opacity = 1) {
22 return child ? sk_sp<OpacityEffect>(new OpacityEffect(std::move(child), opacity)) : nullptr;
/external/doclava/res/assets/templates-sdk/assets/css/
Ddefault.css185 transition: opacity .2s;
189 opacity: .7;
193 opacity: 0;
2043 opacity: .3;
2044 filter: alpha(opacity=30);
3535 -webkit-opacity:0;
3536 -moz-opacity:0;
3537 -o-opacity:0;
3538 opacity:0;
3545 -webkit-transition-property: -webkit-opacity;
[all …]
/external/skqp/experimental/docs/
DsvgBackend.js58 var opacity = svg_opacity(display.paint.color);
59 cache.element.setAttribute("fill-opacity", opacity);
60 cache.element.setAttribute("stroke-opacity", opacity);
/external/skia/experimental/docs/
DsvgBackend.js58 var opacity = svg_opacity(display.paint.color);
59 cache.element.setAttribute("fill-opacity", opacity);
60 cache.element.setAttribute("stroke-opacity", opacity);
/external/ImageMagick/www/source/core/
Dsigmoidal-contrast.c32 pixels[x].opacity=RoundToQuantum(SigmoidalContrast(pixels[x].opacity)); in SigmoidalContrast()

12345