Home
last modified time | relevance | path

Searched refs:alphaScale (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/
DGlopBuilder.h64 …GlopBuilder& setFillPaint(const SkPaint& paint, float alphaScale, bool shadowInterp = false); // T…
66 const SkPaint* paint, float alphaScale);
68 const SkPaint& paint, float alphaScale);
70 const SkPaint& paint, float alphaScale);
115 void setFill(int color, float alphaScale,
DGlopBuilder.cpp223 void GlopBuilder::setFill(int color, float alphaScale, in setFill() argument
230 c.r *= alphaScale; in setFill()
231 c.g *= alphaScale; in setFill()
232 c.b *= alphaScale; in setFill()
233 c.a *= alphaScale; in setFill()
236 float alpha = (SkColorGetA(color) / 255.0f) * alphaScale; in setFill()
306 const int textureFillFlags, const SkPaint* paint, float alphaScale) { in setFillTexturePaint() argument
323 setFill(color, alphaScale, in setFillTexturePaint()
327 mOutGlop->fill.color = { alphaScale, alphaScale, alphaScale, alphaScale }; in setFillTexturePaint()
329 if (alphaScale < 1.0f in setFillTexturePaint()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DUsageGraph.java196 private int getColor(int color, float alphaScale) { in getColor() argument
197 return (color & (((int) (0xff * alphaScale) << 24) | 0xffffff)); in getColor()