Home
last modified time | relevance | path

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

/development/samples/RenderScript/Levels/src/com/android/rs/levels/
DLevelsRSActivity.java81 float gWeight = 0.587f; in setSaturation() local
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()
DLevelsDalvikActivity.java67 float gWeight = 0.587f; in setSaturation() local
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()