Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DUtils.java143 float f_r = (float) Math.pow(r / 255.0f, 2.2); in interpolateColor() local
146 float c1fr = f_r; in interpolateColor()
155 f_r = (float) Math.pow(r / 255.0f, 2.2); in interpolateColor()
158 float c2fr = f_r; in interpolateColor()
162 f_r = c1fr + t * (c2fr - c1fr); in interpolateColor()
167 int outr = clamp((int) ((float) Math.pow(f_r, 1.0 / 2.2) * 255.0f)); in interpolateColor()