Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.cpp193 const auto fpsScale = float(fps - mLowFps) / (mHighFps - mLowFps); in primeCache() local
195 color.r = HIGH_FPS_COLOR.r * fpsScale + LOW_FPS_COLOR.r * (1 - fpsScale); in primeCache()
196 color.g = HIGH_FPS_COLOR.g * fpsScale + LOW_FPS_COLOR.g * (1 - fpsScale); in primeCache()
197 color.b = HIGH_FPS_COLOR.b * fpsScale + LOW_FPS_COLOR.b * (1 - fpsScale); in primeCache()