Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPropertyValuesHolder.cpp33 inline constexpr float linearize(U8CPU component) { in linearize() function
41 float r = lerp(linearize(SkColorGetR(fromColor)), linearize(SkColorGetR(toColor)), fraction); in evaluate()
42 float g = lerp(linearize(SkColorGetG(fromColor)), linearize(SkColorGetG(toColor)), fraction); in evaluate()
43 float b = lerp(linearize(SkColorGetB(fromColor)), linearize(SkColorGetB(toColor)), fraction); in evaluate()