Searched refs:alphaScale (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/ |
D | GlopBuilder.h | 61 …GlopBuilder& setFillPaint(const SkPaint& paint, float alphaScale, bool shadowInterp = false); // T… 63 const SkPaint* paint, float alphaScale); 65 const SkPaint& paint, float alphaScale); 67 const SkPaint& paint, float alphaScale); 113 void setFill(int color, float alphaScale,
|
D | GlopBuilder.cpp | 234 void GlopBuilder::setFill(int color, float alphaScale, in setFill() argument 238 float alpha = (SkColorGetA(color) / 255.0f) * alphaScale; in setFill() 325 const int textureFillFlags, const SkPaint* paint, float alphaScale) { in setFillTexturePaint() argument 343 setFill(color, alphaScale, in setFillTexturePaint() 347 mOutGlop->fill.color = { alphaScale, alphaScale, alphaScale, alphaScale }; in setFillTexturePaint() 349 if (alphaScale < 1.0f in setFillTexturePaint() 369 GlopBuilder& GlopBuilder::setFillPaint(const SkPaint& paint, float alphaScale, bool shadowInterp) { in setFillPaint() argument 382 setFill(paint.getColor(), alphaScale, in setFillPaint() 391 const SkPaint& paint, float alphaScale) { in setFillPathTexturePaint() argument 398 setFill(paint.getColor(), alphaScale, in setFillPathTexturePaint() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | UsageGraph.java | 196 private int getColor(int color, float alphaScale) { in getColor() argument 197 return (color & (((int) (0xff * alphaScale) << 24) | 0xffffff)); in getColor()
|