Searched refs:OECF (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
H A DGradientCache.cpp192 *dst++ = uint8_t(OECF(start.r * oppAmount + end.r * amount) * 255.0f);
193 *dst++ = uint8_t(OECF(start.g * oppAmount + end.g * amount) * 255.0f);
194 *dst++ = uint8_t(OECF(start.b * oppAmount + end.b * amount) * 255.0f);
209 *d++ = OECF(start.r * oppAmount + end.r * amount);
210 *d++ = OECF(start.g * oppAmount + end.g * amount);
211 *d++ = OECF(start.b * oppAmount + end.b * amount);
/frameworks/base/libs/hwui/utils/
H A DColor.h104 static constexpr float OECF(float linear) { function in namespace:android::uirenderer

Completed in 41 milliseconds