Home
last modified time | relevance | path

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

/development/samples/RenderScript/Levels/src/com/android/rs/levels/
DLevelsRSActivity.java52 private float mSaturation = 1.0f; field in LevelsRSActivity
83 float oneMinusS = 1.0f - mSaturation; in setSaturation()
85 satMatrix.set(0, 0, oneMinusS * rWeight + mSaturation); in setSaturation()
89 satMatrix.set(1, 1, oneMinusS * gWeight + mSaturation); in setSaturation()
93 satMatrix.set(2, 2, oneMinusS * bWeight + mSaturation); in setSaturation()
117 mSaturation = (float)progress / 50.0f; in onProgressChanged()
DLevelsDalvikActivity.java46 private float mSaturation = 1.0f; field in LevelsDalvikActivity
69 float oneMinusS = 1.0f - mSaturation; in setSaturation()
71 satMatrix.set(0, 0, oneMinusS * rWeight + mSaturation); in setSaturation()
75 satMatrix.set(1, 1, oneMinusS * gWeight + mSaturation); in setSaturation()
79 satMatrix.set(2, 2, oneMinusS * bWeight + mSaturation); in setSaturation()
101 mSaturation = (float)progress / 50.0f; in onProgressChanged()