Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DLevelsV4.java34 private float mSaturation = 1.0f; field in LevelsV4
71 float oneMinusS = 1.0f - mSaturation; in setSaturation()
73 satMatrix.set(0, 0, oneMinusS * rWeight + mSaturation); in setSaturation()
77 satMatrix.set(1, 1, oneMinusS * gWeight + mSaturation); in setSaturation()
81 satMatrix.set(2, 2, oneMinusS * bWeight + mSaturation); in setSaturation()
117 mSaturation = (float)progress / 50.0f; in onBar1Changed()
138 mSaturation = time % 2.f; in animateBars()
DBlur25.java39 private float mSaturation = 1.0f; field in Blur25
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DLevelsV4.java34 private float mSaturation = 1.0f; field in LevelsV4
71 float oneMinusS = 1.0f - mSaturation; in setSaturation()
73 satMatrix.set(0, 0, oneMinusS * rWeight + mSaturation); in setSaturation()
77 satMatrix.set(1, 1, oneMinusS * gWeight + mSaturation); in setSaturation()
81 satMatrix.set(2, 2, oneMinusS * bWeight + mSaturation); in setSaturation()
117 mSaturation = (float)progress / 50.0f; in onBar1Changed()
138 mSaturation = time % 2.f; in animateBars()
DBlur25.java33 private float mSaturation = 1.0f; field in Blur25
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DLevelsV4.java40 private float mSaturation = 1.0f; field in LevelsV4
77 float oneMinusS = 1.0f - mSaturation; in setSaturation()
79 satMatrix.set(0, 0, oneMinusS * rWeight + mSaturation); in setSaturation()
83 satMatrix.set(1, 1, oneMinusS * gWeight + mSaturation); in setSaturation()
87 satMatrix.set(2, 2, oneMinusS * bWeight + mSaturation); in setSaturation()
123 mSaturation = (float)progress / 50.0f; in onBar1Changed()
DBlur25.java37 private float mSaturation = 1.0f; field in Blur25
/frameworks/av/media/libstagefright/filters/
DSaturationFilter.h29 SaturationFilter() : mSaturation(1.f) {}; in SaturationFilter()
47 float mSaturation; member
DSaturationFilter.cpp66 mScript->set_gSaturation(mSaturation); in start()
84 mSaturation = saturation; in setParameters()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DColorFiltersMutateActivity.java51 private float mSaturation = 0.0f; field in ColorFiltersMutateActivity.BitmapsView
138 mSaturation = saturation; in setSaturation()
148 return mSaturation; in getSaturation()
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DTonal.java452 private Range<Float> mSaturation; field in Tonal.ColorRange
457 mSaturation = saturation; in ColorRange()
464 } else if (!mSaturation.contains(s)) { in containsColor()
475 mSaturation.getLower() + (mSaturation.getUpper() - mSaturation.getLower()) / 2f, in getCenter()
482 return String.format("H: %s, S: %s, L %s", mHue, mSaturation, mLightness); in toString()
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
DFilters.java159 private final float mSaturation = 1.0f; field in Filters.LevelsFilter
182 float oneMinusS = 1.0f - mSaturation; in setSaturation()
184 satMatrix.set(0, 0, oneMinusS * rWeight + mSaturation); in setSaturation()
188 satMatrix.set(1, 1, oneMinusS * gWeight + mSaturation); in setSaturation()
192 satMatrix.set(2, 2, oneMinusS * bWeight + mSaturation); in setSaturation()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp659 mSaturation = atof(value); in readPersistentProperties()
660 ALOGV("Saturation is set to %.2f", mSaturation); in readPersistentProperties()
1769 if (mSaturation == 1.0f) { in computeSaturationMatrix()
1775 luminance *= 1.0f - mSaturation; in computeSaturationMatrix()
1777 vec4{luminance.r + mSaturation, luminance.r, luminance.r, 0.0f}, in computeSaturationMatrix()
1778 vec4{luminance.g, luminance.g + mSaturation, luminance.g, 0.0f}, in computeSaturationMatrix()
1779 vec4{luminance.b, luminance.b, luminance.b + mSaturation, 0.0f}, in computeSaturationMatrix()
4119 mSaturation = std::max(0.0f, std::min(data.readFloat(), 2.0f)); in onTransact()
DSurfaceFlinger.h819 float mSaturation = 1.0f; variable