Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DUtils.java145 float f_b = (float) Math.pow(b / 255.0f, 2.2); in interpolateColor() local
148 float c1fb = f_b; in interpolateColor()
157 f_b = (float) Math.pow(b / 255.0f, 2.2); in interpolateColor()
160 float c2fb = f_b; in interpolateColor()
164 f_b = c1fb + t * (c2fb - c1fb); in interpolateColor()
169 int outb = clamp((int) ((float) Math.pow(f_b, 1.0 / 2.2) * 255.0f)); in interpolateColor()