Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBlitter.cpp48 inline static SkAlpha ScalarToAlpha(SkScalar a) { in ScalarToAlpha() function
87 alphas[0] = ScalarToAlpha(partialL * partialT); in blitFatAntiRect()
88 alphas[1] = ScalarToAlpha(partialT); in blitFatAntiRect()
89 alphas[bounds.width() - 1] = ScalarToAlpha(partialR * partialT); in blitFatAntiRect()
94 ScalarToAlpha(partialL), ScalarToAlpha(partialR)); in blitFatAntiRect()
98 alphas[0] = ScalarToAlpha(partialL * partialB); in blitFatAntiRect()
99 alphas[1] = ScalarToAlpha(partialB); in blitFatAntiRect()
100 alphas[bounds.width() - 1] = ScalarToAlpha(partialR * partialB); in blitFatAntiRect()
/external/skqp/src/core/
DSkBlitter.cpp47 inline static SkAlpha ScalarToAlpha(SkScalar a) { in ScalarToAlpha() function
86 alphas[0] = ScalarToAlpha(partialL * partialT); in blitFatAntiRect()
87 alphas[1] = ScalarToAlpha(partialT); in blitFatAntiRect()
88 alphas[bounds.width() - 1] = ScalarToAlpha(partialR * partialT); in blitFatAntiRect()
93 ScalarToAlpha(partialL), ScalarToAlpha(partialR)); in blitFatAntiRect()
97 alphas[0] = ScalarToAlpha(partialL * partialB); in blitFatAntiRect()
98 alphas[1] = ScalarToAlpha(partialB); in blitFatAntiRect()
99 alphas[bounds.width() - 1] = ScalarToAlpha(partialR * partialB); in blitFatAntiRect()