Home
last modified time | relevance | path

Searched refs:mSaturation (Results 1 – 11 of 11) 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/core/java/com/android/internal/colorextraction/types/
DTonal.java440 private Range<Float> mSaturation; field in Tonal.ColorRange
445 mSaturation = saturation; in ColorRange()
452 } else if (!mSaturation.contains(s)) { in containsColor()
463 mSaturation.getLower() + (mSaturation.getUpper() - mSaturation.getLower()) / 2f, in getCenter()
470 return String.format("H: %s, S: %s, L %s", mHue, mSaturation, mLightness); in toString()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DColorFiltersMutateActivity.java56 private float mSaturation = 0.0f; field in ColorFiltersMutateActivity.BitmapsView
165 mSaturation = saturation; in setSaturation()
175 return mSaturation; in getSaturation()
/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()