Searched defs:opacity (Results 1 - 25 of 28) sorted by relevance

12

/external/skia/experimental/svg/model/
H A DSkSVGStop.cpp22 void SkSVGStop::setStopOpacity(const SkSVGNumberType& opacity) { argument
23 fStopOpacity = SkTPin<SkScalar>(opacity.value(), 0, 1);
39 if (const auto* opacity = v.as<SkSVGNumberValue>()) {
40 this->setStopOpacity(*opacity);
H A DSkSVGNode.cpp68 void SkSVGNode::setFillOpacity(const SkSVGNumberType& opacity) { argument
70 SkSVGNumberType(SkTPin<SkScalar>(opacity.value(), 0, 1)));
77 void SkSVGNode::setOpacity(const SkSVGNumberType& opacity) { argument
79 SkSVGNumberType(SkTPin<SkScalar>(opacity.value(), 0, 1)));
86 void SkSVGNode::setStrokeOpacity(const SkSVGNumberType& opacity) { argument
88 SkSVGNumberType(SkTPin<SkScalar>(opacity.value(), 0, 1)));
108 if (const SkSVGNumberValue* opacity = v.as<SkSVGNumberValue>()) {
109 this->setFillOpacity(*opacity);
118 if (const SkSVGNumberValue* opacity = v.as<SkSVGNumberValue>()) {
119 this->setOpacity(*opacity);
[all...]
H A DSkSVGRenderContext.cpp280 if (auto* opacity = attrs.fOpacity.getMaybeNull()) {
281 this->applyOpacity(opacity->value(), flags);
289 void SkSVGRenderContext::applyOpacity(SkScalar opacity, uint32_t flags) { argument
290 if (opacity >= 1) {
297 // We can apply the opacity as paint alpha iif it only affects one atomic draw.
305 SkScalarRoundToInt(opacity * pctx->fFillPaint.getAlpha()));
308 SkScalarRoundToInt(opacity * pctx->fStrokePaint.getAlpha()));
313 opacityPaint.setAlpha(opacity_to_alpha(opacity));
/external/replicaisland/src/com/replica/replicaisland/
H A DDrawableBitmap.java60 public void setOpacity(float opacity) { argument
61 mOpacity = opacity;
110 final float opacity = mOpacity;
122 || opacity == 0.0f
134 if (opacity < 1.0f) {
135 gl.glColor4f(opacity, opacity, opacity, opacity);
141 if (opacity < 1.
[all...]
H A DSpriteComponent.java210 public final void setOpacity(float opacity) { argument
211 mOpacity = opacity;
/external/skia/gm/
H A Dpictureimagegenerator.cpp119 SkScalar opacity; member in struct:PictureGeneratorGM::__anon16802
148 p.setAlpha(SkScalarRoundToInt(255 * configs[i].opacity));
/external/ImageMagick/MagickCore/
H A Dpaint.c1016 % TransparentPaintImage() changes the opacity value associated with any pixel
1017 % that matches color to the value defined by opacity.
1028 % const PixelInfo *target,const Quantum opacity,
1037 % o opacity: the replacement opacity value.
1045 const PixelInfo *target,const Quantum opacity,const MagickBooleanType invert,
1109 SetPixelAlpha(image,opacity,q);
1144 % TransparentPaintImageChroma() changes the opacity value associated with any
1145 % pixel that matches color to the value defined by opacity.
1157 % const PixelInfo *low,const PixelInfo *high,const Quantum opacity,
1038 TransparentPaintImage(Image *image, const PixelInfo *target,const Quantum opacity,const MagickBooleanType invert, ExceptionInfo *exception) argument
1168 TransparentPaintImageChroma(Image *image, const PixelInfo *low,const PixelInfo *high,const Quantum opacity, const MagickBooleanType invert,ExceptionInfo *exception) argument
[all...]
H A Dquantize.c1291 opacity;
1293 opacity=(double) (alpha*QuantumRange*node_info->total_color.alpha);
1294 q->alpha=(double) ClampToQuantum(opacity);
1280 opacity; local
H A Ddisplay.c1058 "value. The value you select is assigned as the opacity value of the",
4326 opacity;
4338 opacity=(Quantum) (ScaleQuantumToChar(QuantumRange)-
4352 SetPixelAlpha(image,opacity,q);
4311 opacity; local
/external/ImageMagick/coders/
H A Dxpm.c914 opacity,
933 opacity=(-1);
953 if (opacity < 0)
955 opacity=i;
961 image->colormap[opacity].alpha;
963 opacity=i;
965 if (opacity == -1)
971 if (opacity < 0)
973 opacity=i;
979 image->colormap[opacity]
906 opacity, local
[all...]
H A Dpict.c1984 *opacity,
1990 opacity=scanline+3*image->columns;
2001 opacity=scanline;
2012 *opacity++=ScaleQuantumToChar((Quantum) (GetPixelAlpha(image,p)));
1975 *opacity, local
H A Dgif.c163 % MagickBooleanType DecodeImage(Image *image,const ssize_t opacity)
169 % o opacity: The colormap index associated with the transparent color.
395 static MagickBooleanType DecodeImage(Image *image,const ssize_t opacity,
450 SetPixelAlpha(image,index == opacity ? TransparentAlpha : OpaqueAlpha,q);
986 opacity;
1044 opacity=(-1);
1078 opacity=(ssize_t) buffer[3];
1253 if (opacity >= (ssize_t) image->colors)
1254 opacity=(-1);
1263 image->alpha_trait=opacity >
390 DecodeImage(Image *image,const ssize_t opacity, ExceptionInfo *exception) argument
977 opacity; local
1505 opacity; local
[all...]
H A Dsixel.c1199 opacity,
1223 opacity=(-1);
1243 if (opacity < 0)
1245 opacity=i;
1249 beta=image->colormap[opacity].alpha;
1251 opacity=i;
1253 if (opacity == -1)
1259 if (opacity < 0)
1261 opacity=i;
1265 beta=image->colormap[opacity]
1192 opacity, local
[all...]
H A Dmsl.c1937 if (LocaleCompare(keyword,"opacity") == 0)
1940 opacity,
1952 opacity=StringToLong(value);
1956 opacity,exception);
1973 ClampToQuantum(opacity),q);
3682 opacity;
3693 opacity=0.0;
3760 if (LocaleCompare(keyword,"opacity") == 0)
3762 opacity=StringToDouble(value,(char **) NULL);
3809 draw_info->fill.alpha=ClampToQuantum(opacity);
1934 opacity, local
3676 opacity; local
[all...]
H A Dpsd.c154 opacity;
371 if (layer_info->opacity == OpaqueAlpha)
400 layer_info->image,q))*layer_info->opacity),q);
1303 layer_info->opacity);
1304 (void) SetImageArtifact(layer_info->image,"psd:layer.opacity",message);
1488 layer_info[i].opacity=(Quantum) ScaleCharToQuantum((unsigned char)
1495 " blend=%.4s, opacity=%.20g, clipping=%s, flags=%d, visible=%s",
1496 layer_info[i].blendkey,(double) layer_info[i].opacity,
2937 (void) WriteBlobByte(image,255); /* layer opacity */
151 opacity; member in struct:_LayerInfo
H A Dsvg.c1514 if (LocaleCompare(keyword,"opacity") == 0)
1516 (void) FormatLocaleFile(svg_info->file,"opacity '%s'\n",value);
1636 if (LocaleCompare(keyword,"stroke-opacity") == 0)
1638 (void) FormatLocaleFile(svg_info->file,"stroke-opacity '%s'\n",
1769 if (LocaleCompare(keyword,"opacity") == 0)
1772 "opacity '%s'\n",value);
1838 if (LocaleCompare(keyword,"stroke-opacity") == 0)
1841 "stroke-opacity '%s'\n",value);
2862 opacity[MagickPathExtent],
2886 (void) FormatLocaleString(opacity,MagickPathExten
2858 opacity[MagickPathExtent], local
[all...]
/external/ImageMagick/Magick++/lib/Magick++/
H A DDrawable.h1052 void opacity(double opacity_) function in class:Magick::DrawableFillOpacity
1057 double opacity(void) const function in class:Magick::DrawableFillOpacity
1913 // Stroke opacity
1931 void opacity(double opacity_) function in class:Magick::DrawableStrokeOpacity
1936 double opacity(void) const function in class:Magick::DrawableStrokeOpacity
/external/ImageMagick/MagickWand/
H A Ddrawing-wand.c2566 child=AddChildToXMLTree(xml_info,"fill-opacity",0);
2690 child=AddChildToXMLTree(xml_info,"stroke-opacity",0);
4857 % o fill_opacity: fill opacity
4874 (void) MVGPrintf(wand,"fill-opacity %.20g\n",fill_opacity);
4945 % o opacity: fill and stroke opacity. The value 1.0 is opaque.
4948 WandExport void DrawSetOpacity(DrawingWand *wand,const double opacity)
4957 quantum_alpha=ClampToQuantum(QuantumRange*opacity);
4962 (void) MVGPrintf(wand,"opacity %.20g\n",opacity);
4848 DrawSetOpacity(DrawingWand *wand,const double opacity) argument
5734 DrawSetStrokeOpacity(DrawingWand *wand, const double opacity) argument
[all...]
/external/libmojo/mojo/gpu/
H A Dmojo_gles2_impl_autogen.cc1647 GLfloat opacity,
1657 glScheduleCALayerCHROMIUM(contents_texture_id, contents_rect, opacity,
1645 ScheduleCALayerCHROMIUM(GLuint contents_texture_id, const GLfloat* contents_rect, GLfloat opacity, GLuint background_color, GLuint edge_aa_mask, const GLfloat* bounds_rect, GLboolean is_clipped, const GLfloat* clip_rect, GLint sorting_context_id, const GLfloat* transform, GLuint filter) argument
/external/owasp/sanitizer/distrib/lib/
H A Dowasp-java-html-sanitizer.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/owasp/ org/owasp/html/ org/owasp/html/AbstractTokenStream ...
/external/robolectric/v1/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/robolectric/v3/runtime/
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 2637 milliseconds

12