OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:prealpha
(Results
1 - 2
of
2
) sorted by null
/external/skia/include/gpu/
GrInvariantOutput.h
160
GrColor
preAlpha
= GrColorUnpackA(fColor);
161
if (0 ==
preAlpha
) {
167
SkMulDiv255Round(
preAlpha
, GrColorUnpackR(color)),
168
SkMulDiv255Round(
preAlpha
, GrColorUnpackG(color)),
169
SkMulDiv255Round(
preAlpha
, GrColorUnpackB(color)),
170
SkMulDiv255Round(
preAlpha
, a));
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
GLES11Canvas.java
657
float
prealpha
= (color >>> 24) * alpha * 65535f / 255f / 255f;
local
659
Math.round(((color >> 16) & 0xFF) *
prealpha
),
660
Math.round(((color >> 8) & 0xFF) *
prealpha
),
661
Math.round((color & 0xFF) *
prealpha
),
662
Math.round(255 *
prealpha
));
[
all
...]
Completed in 862 milliseconds