Revision e3eab072
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/examples/flag/FlagActivity.java | ||
---|---|---|
83 | 83 |
barNoiseAngleA.setOnSeekBarChangeListener(this); |
84 | 84 |
barNoiseAngleB.setOnSeekBarChangeListener(this); |
85 | 85 |
|
86 |
barNoiseAmplitude.setProgress( (int)mNoise.getX() );
|
|
87 |
barNoiseLength.setProgress ( (int)mNoise.getY() );
|
|
88 |
barNoiseAngleA.setProgress ( (int)mNoise.getW() );
|
|
89 |
barNoiseAngleB.setProgress ( (int)mNoise.getV() );
|
|
86 |
barNoiseAmplitude.setProgress( (int)mNoise.get1() );
|
|
87 |
barNoiseLength.setProgress ( (int)mNoise.get2() );
|
|
88 |
barNoiseAngleA.setProgress ( (int)mNoise.get4() );
|
|
89 |
barNoiseAngleB.setProgress ( (int)mNoise.get5() );
|
|
90 | 90 |
|
91 | 91 |
textNoiseAmplitude.setText(getString(R.string.noise_placeholder,"0.00")); |
92 | 92 |
textNoiseLength.setText(getString(R.string.noise_placeholder,"0.00")); |
Also available in: Unified diff
Simplify Statics.