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

/frameworks/base/libs/hwui/
H A DGlopBuilder.h61 GlopBuilder& setFillPaint(const SkPaint& paint, float alphaScale, bool shadowInterp = false); // TODO: avoid boolean with default
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,
H A DGlopBuilder.cpp234 void GlopBuilder::setFill(int color, float alphaScale, argument
238 float alpha = (SkColorGetA(color) / 255.0f) * alphaScale;
325 const int textureFillFlags, const SkPaint* paint, float alphaScale) {
343 setFill(color, alphaScale,
347 mOutGlop->fill.color = { alphaScale, alphaScale, alphaScale, alphaScale };
349 if (alphaScale < 1.0f
369 GlopBuilder& GlopBuilder::setFillPaint(const SkPaint& paint, float alphaScale, boo
324 setFillTexturePaint(Texture& texture, const int textureFillFlags, const SkPaint* paint, float alphaScale) argument
407 setFillShadowTexturePaint(ShadowTexture& texture, int shadowColor, const SkPaint& paint, float alphaScale) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DUsageGraph.java196 private int getColor(int color, float alphaScale) { argument
197 return (color & (((int) (0xff * alphaScale) << 24) | 0xffffff));

Completed in 2176 milliseconds