Home
last modified time | relevance | path

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

1234567

/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.cpp355 if (auto* opacity = attrs.fOpacity.getMaybeNull()) { in applyPresentationAttributes() local
356 this->applyOpacity(opacity->value(), flags); in applyPresentationAttributes()
364 void SkSVGRenderContext::applyOpacity(SkScalar opacity, uint32_t flags) { in applyOpacity() argument
365 if (opacity >= 1) { in applyOpacity()
380 SkScalarRoundToInt(opacity * pctx->fFillPaint.getAlpha())); in applyOpacity()
383 SkScalarRoundToInt(opacity * pctx->fStrokePaint.getAlpha())); in applyOpacity()
388 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.cpp355 if (auto* opacity = attrs.fOpacity.getMaybeNull()) { in applyPresentationAttributes() local
356 this->applyOpacity(opacity->value(), flags); in applyPresentationAttributes()
364 void SkSVGRenderContext::applyOpacity(SkScalar opacity, uint32_t flags) { in applyOpacity() argument
365 if (opacity >= 1) { in applyOpacity()
380 SkScalarRoundToInt(opacity * pctx->fFillPaint.getAlpha())); in applyOpacity()
383 SkScalarRoundToInt(opacity * pctx->fStrokePaint.getAlpha())); in applyOpacity()
388 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()
/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…
/external/ImageMagick/coders/
Dgif.c395 static MagickBooleanType DecodeImage(Image *image,const ssize_t opacity, in DecodeImage() argument
450 SetPixelAlpha(image,index == opacity ? TransparentAlpha : OpaqueAlpha,q); in DecodeImage()
994 opacity; in ReadGIFImage() local
1050 opacity=(-1); in ReadGIFImage()
1079 opacity=(ssize_t) buffer[3]; in ReadGIFImage()
1273 if (opacity >= (ssize_t) image->colors) in ReadGIFImage()
1276 opacity=(-1); in ReadGIFImage()
1279 image->alpha_trait=opacity >= 0 ? BlendPixelTrait : UndefinedPixelTrait; in ReadGIFImage()
1298 if (i == opacity) in ReadGIFImage()
1301 image->transparent_color=image->colormap[opacity]; in ReadGIFImage()
[all …]
Dxpm.c927 opacity, in WriteXPMImage() local
946 opacity=(-1); in WriteXPMImage()
966 if (opacity < 0) in WriteXPMImage()
968 opacity=i; in WriteXPMImage()
974 image->colormap[opacity].alpha; in WriteXPMImage()
976 opacity=i; in WriteXPMImage()
978 if (opacity == -1) in WriteXPMImage()
984 if (opacity < 0) in WriteXPMImage()
986 opacity=i; in WriteXPMImage()
992 image->colormap[opacity].alpha; in WriteXPMImage()
[all …]
Dsixel.c1231 opacity, in WriteSIXELImage() local
1255 opacity=(-1); in WriteSIXELImage()
1275 if (opacity < 0) in WriteSIXELImage()
1277 opacity=i; in WriteSIXELImage()
1281 beta=image->colormap[opacity].alpha; in WriteSIXELImage()
1283 opacity=i; in WriteSIXELImage()
1285 if (opacity == -1) in WriteSIXELImage()
1291 if (opacity < 0) in WriteSIXELImage()
1293 opacity=i; in WriteSIXELImage()
1297 beta=image->colormap[opacity].alpha; in WriteSIXELImage()
[all …]
/external/skqp/modules/sksg/src/
DSkSGRenderNode.cpp48 RenderNode::ScopedRenderContext::modulateOpacity(float opacity) { in modulateOpacity() argument
49 SkASSERT(opacity >= 0 && opacity <= 1); in modulateOpacity()
50 fCtx.fOpacity *= opacity; in modulateOpacity()
DSkSGOpacityEffect.cpp12 OpacityEffect::OpacityEffect(sk_sp<RenderNode> child, float opacity) in OpacityEffect() argument
14 , fOpacity(opacity) {} in OpacityEffect()
/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/perfetto/ui/src/assets/
Drecord.scss105 opacity: 0;
112 opacity: 1;
131 transition: opacity 0.25s ease;
132 opacity: 0;
141 opacity: 1;
164 opacity: 0;
182 transition: filter 0.2s ease, opacity 0.2s ease;
187 opacity: 0.5;
192 >img { opacity: 1; }
268 opacity: 0;
[all …]
/external/skia/modules/sksg/src/
DSkSGRenderNode.cpp56 RenderNode::ScopedRenderContext::modulateOpacity(float opacity) { in modulateOpacity() argument
57 SkASSERT(opacity >= 0 && opacity <= 1); in modulateOpacity()
58 fCtx.fOpacity *= opacity; in modulateOpacity()
/external/skia/src/gpu/gradients/
DGrClampedGradientEffect.fp34 // preserves opacity is false)
51 // If the layout does not preserve opacity, remove the opaque optimization,
52 // but otherwise respect the provided color opacity state (which should take
53 // into account the opacity of the border colors).
DGrTiledGradientEffect.fp23 // preserves opacity is false)
53 // If the layout does not preserve opacity, remove the opaque optimization,
54 // but otherwise respect the provided color opacity state.
/external/skqp/src/gpu/gradients/
DGrClampedGradientEffect.fp34 // preserves opacity is false)
51 // If the layout does not preserve opacity, remove the opaque optimization,
52 // but otherwise respect the provided color opacity state (which should take
53 // into account the opacity of the border colors).
DGrTiledGradientEffect.fp23 // preserves opacity is false)
53 // If the layout does not preserve opacity, remove the opaque optimization,
54 // but otherwise respect the provided color opacity state.
/external/ImageMagick/Magick++/fuzz/dictionaries/
Dmvg.dict54 "fill-opacity"
87 "opacity"
132 "stroke-opacity"
/external/skqp/modules/sksg/include/
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/skia/modules/sksg/include/
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);
3520 -webkit-opacity:0;
3521 -moz-opacity:0;
3522 -o-opacity:0;
3523 opacity:0;
3530 -webkit-transition-property: -webkit-opacity;
[all …]

1234567