Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp757 mGlobalSaturationFactor = atof(value); in readPersistentProperties()
759 ALOGV("Saturation is set to %.2f", mGlobalSaturationFactor); in readPersistentProperties()
4852 if (mGlobalSaturationFactor != 1.0f) { in updateColorMatrixLocked()
4855 luminance *= 1.0f - mGlobalSaturationFactor; in updateColorMatrixLocked()
4857 vec4{luminance.r + mGlobalSaturationFactor, luminance.r, luminance.r, 0.0f}, in updateColorMatrixLocked()
4858 vec4{luminance.g, luminance.g + mGlobalSaturationFactor, luminance.g, 0.0f}, in updateColorMatrixLocked()
4859 vec4{luminance.b, luminance.b, luminance.b + mGlobalSaturationFactor, 0.0f}, in updateColorMatrixLocked()
5162 mGlobalSaturationFactor = std::max(0.0f, std::min(data.readFloat(), 2.0f)); in onTransact()
DSurfaceFlinger.h1014 float mGlobalSaturationFactor = 1.0f; variable