Loading src/com/android/gallery3d/filtershow/editors/EditorGrad.java +1 −2 Original line number Diff line number Diff line Loading @@ -191,13 +191,13 @@ public class EditorGrad extends ParametricEditor public ParamAdapter(int seekId, int textId, LinearLayout layout, int mode) { mSlider = (SeekBar) layout.findViewById(seekId); mTextView = (TextView) layout.findViewById(textId); mSlider.setOnSeekBarChangeListener(this); mSlider.setMax(mMax - mMin); mMode = mode; FilterGradRepresentation rep = getGradRepresentation(); if (rep != null){ updateValues(rep); } mSlider.setOnSeekBarChangeListener(this); } public void updateValues(FilterGradRepresentation rep) { Loading Loading @@ -428,5 +428,4 @@ public class EditorGrad extends ParametricEditor public void copyFrom(Parameter src) { } } src/com/android/gallery3d/filtershow/filters/FilterGradRepresentation.java +1 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ public class FilterGradRepresentation extends FilterRepresentation p.yPos1 = 100; p.xPos2 = -1; p.yPos2 = 100; p.brightness = 40; p.brightness = -50; p.contrast = 0; p.saturation = 0; mBands.add(0, p); Loading Loading
src/com/android/gallery3d/filtershow/editors/EditorGrad.java +1 −2 Original line number Diff line number Diff line Loading @@ -191,13 +191,13 @@ public class EditorGrad extends ParametricEditor public ParamAdapter(int seekId, int textId, LinearLayout layout, int mode) { mSlider = (SeekBar) layout.findViewById(seekId); mTextView = (TextView) layout.findViewById(textId); mSlider.setOnSeekBarChangeListener(this); mSlider.setMax(mMax - mMin); mMode = mode; FilterGradRepresentation rep = getGradRepresentation(); if (rep != null){ updateValues(rep); } mSlider.setOnSeekBarChangeListener(this); } public void updateValues(FilterGradRepresentation rep) { Loading Loading @@ -428,5 +428,4 @@ public class EditorGrad extends ParametricEditor public void copyFrom(Parameter src) { } }
src/com/android/gallery3d/filtershow/filters/FilterGradRepresentation.java +1 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ public class FilterGradRepresentation extends FilterRepresentation p.yPos1 = 100; p.xPos2 = -1; p.yPos2 = 100; p.brightness = 40; p.brightness = -50; p.contrast = 0; p.saturation = 0; mBands.add(0, p); Loading