Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/graphics/
DBlendComposite.java147 int[] dstPixel = new int[4]; in compose() local
166 dstPixel[0] = (pixel >> 16) & 0xFF; in compose()
167 dstPixel[1] = (pixel >> 8) & 0xFF; in compose()
168 dstPixel[2] = (pixel ) & 0xFF; in compose()
169 dstPixel[3] = (pixel >> 24) & 0xFF; in compose()
173 srcPixel[3] *= dstPixel[3] / 0xFF; in compose()
176 result = blender.blend(srcPixel, dstPixel, result); in compose()
186 … ((int) (dstPixel[3] + (result[3] - dstPixel[3]) * alpha) & 0xFF) << 24 | in compose()
187 … ((int) (dstPixel[0] + (result[0] - dstPixel[0]) * alpha) & 0xFF) << 16 | in compose()
188 … ((int) (dstPixel[1] + (result[1] - dstPixel[1]) * alpha) & 0xFF) << 8 | in compose()
[all …]