Searched defs:alphaScale (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
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 1005 milliseconds