Home
last modified time | relevance | path

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

/development/samples/RenderScript/Levels/src/com/android/rs/levels/
DLevelsRSActivity.java83 float oneMinusS = 1.0f - mSaturation; in setSaturation() local
85 satMatrix.set(0, 0, oneMinusS * rWeight + mSaturation); in setSaturation()
86 satMatrix.set(0, 1, oneMinusS * rWeight); in setSaturation()
87 satMatrix.set(0, 2, oneMinusS * rWeight); in setSaturation()
88 satMatrix.set(1, 0, oneMinusS * gWeight); in setSaturation()
89 satMatrix.set(1, 1, oneMinusS * gWeight + mSaturation); in setSaturation()
90 satMatrix.set(1, 2, oneMinusS * gWeight); in setSaturation()
91 satMatrix.set(2, 0, oneMinusS * bWeight); in setSaturation()
92 satMatrix.set(2, 1, oneMinusS * bWeight); in setSaturation()
93 satMatrix.set(2, 2, oneMinusS * bWeight + mSaturation); in setSaturation()
DLevelsDalvikActivity.java69 float oneMinusS = 1.0f - mSaturation; in setSaturation() local
71 satMatrix.set(0, 0, oneMinusS * rWeight + mSaturation); in setSaturation()
72 satMatrix.set(0, 1, oneMinusS * rWeight); in setSaturation()
73 satMatrix.set(0, 2, oneMinusS * rWeight); in setSaturation()
74 satMatrix.set(1, 0, oneMinusS * gWeight); in setSaturation()
75 satMatrix.set(1, 1, oneMinusS * gWeight + mSaturation); in setSaturation()
76 satMatrix.set(1, 2, oneMinusS * gWeight); in setSaturation()
77 satMatrix.set(2, 0, oneMinusS * bWeight); in setSaturation()
78 satMatrix.set(2, 1, oneMinusS * bWeight); in setSaturation()
79 satMatrix.set(2, 2, oneMinusS * bWeight + mSaturation); in setSaturation()