Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp747 mGlobalSaturationFactor = atof(value); in readPersistentProperties()
749 ALOGV("Saturation is set to %.2f", mGlobalSaturationFactor); in readPersistentProperties()
4380 if (mGlobalSaturationFactor != 1.0f) { in updateColorMatrixLocked()
4383 luminance *= 1.0f - mGlobalSaturationFactor; in updateColorMatrixLocked()
4385 vec4{luminance.r + mGlobalSaturationFactor, luminance.r, luminance.r, 0.0f}, in updateColorMatrixLocked()
4386 vec4{luminance.g, luminance.g + mGlobalSaturationFactor, luminance.g, 0.0f}, in updateColorMatrixLocked()
4387 vec4{luminance.b, luminance.b, luminance.b + mGlobalSaturationFactor, 0.0f}, in updateColorMatrixLocked()
4628 mGlobalSaturationFactor = std::max(0.0f, std::min(data.readFloat(), 2.0f)); in onTransact()
DSurfaceFlinger.h773 float mGlobalSaturationFactor = 1.0f; variable