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.java82 float oneMinusS = 1.0f - mSaturation; in setSaturation() local
84 satMatrix.set(0, 0, oneMinusS * rWeight + mSaturation); in setSaturation()
85 satMatrix.set(0, 1, oneMinusS * rWeight); in setSaturation()
86 satMatrix.set(0, 2, oneMinusS * rWeight); in setSaturation()
87 satMatrix.set(1, 0, oneMinusS * gWeight); in setSaturation()
88 satMatrix.set(1, 1, oneMinusS * gWeight + mSaturation); in setSaturation()
89 satMatrix.set(1, 2, oneMinusS * gWeight); in setSaturation()
90 satMatrix.set(2, 0, oneMinusS * bWeight); in setSaturation()
91 satMatrix.set(2, 1, oneMinusS * bWeight); in setSaturation()
92 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()