Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/surfaceflinger/
H A DRefreshRateOverlay.cpp224 const auto fpsScale = static_cast<float>(fps - mLowFps) / rangeLength; in getOrCreateBuffers() local
226 color.r = HIGH_FPS_COLOR.r * fpsScale + LOW_FPS_COLOR.r * (1 - fpsScale); in getOrCreateBuffers()
227 color.g = HIGH_FPS_COLOR.g * fpsScale + LOW_FPS_COLOR.g * (1 - fpsScale); in getOrCreateBuffers()
228 color.b = HIGH_FPS_COLOR.b * fpsScale + LOW_FPS_COLOR.b * (1 - fpsScale); in getOrCreateBuffers()