summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-08-14 14:21:31 -0700
committerJohn Hoford <hoford@google.com>2013-08-14 14:21:31 -0700
commit58e2f6effa634e853d521f57d284c248adc69057 (patch)
tree026406f5547df74abee2e6c1cd50f58b5f787a06 /src
parentf4d211d89a3a054dbabc5d5d6c636013ba063e26 (diff)
downloadandroid_packages_apps_Gallery2-58e2f6effa634e853d521f57d284c248adc69057.tar.gz
android_packages_apps_Gallery2-58e2f6effa634e853d521f57d284c248adc69057.tar.bz2
android_packages_apps_Gallery2-58e2f6effa634e853d521f57d284c248adc69057.zip
fix RGB text
bug:9471079 Change-Id: Ifaf893e7ed518a9efc81b2f968fd411b9d35f7a8
Diffstat (limited to 'src')
-rw-r--r--src/com/android/gallery3d/filtershow/editors/Editor.java8
-rw-r--r--src/com/android/gallery3d/filtershow/editors/EditorCurves.java6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/com/android/gallery3d/filtershow/editors/Editor.java b/src/com/android/gallery3d/filtershow/editors/Editor.java
index 5651970af..c0d499c65 100644
--- a/src/com/android/gallery3d/filtershow/editors/Editor.java
+++ b/src/com/android/gallery3d/filtershow/editors/Editor.java
@@ -117,13 +117,7 @@ public class Editor implements OnSeekBarChangeListener, SwapButton.SwapButtonLis
R.layout.filtershow_seekbar, (ViewGroup) editControl, true);
mSeekBar = (SeekBar) lp.findViewById(R.id.primarySeekBar);
mSeekBar.setOnSeekBarChangeListener(this);
-
- if (showsSeekBar()) {
- mSeekBar.setOnSeekBarChangeListener(this);
- mSeekBar.setVisibility(View.VISIBLE);
- } else {
- mSeekBar.setVisibility(View.INVISIBLE);
- }
+ mSeekBar.setVisibility(View.GONE);
if (mButton != null) {
if (showsPopupIndicator()) {
diff --git a/src/com/android/gallery3d/filtershow/editors/EditorCurves.java b/src/com/android/gallery3d/filtershow/editors/EditorCurves.java
index 83fbced79..c9f57f418 100644
--- a/src/com/android/gallery3d/filtershow/editors/EditorCurves.java
+++ b/src/com/android/gallery3d/filtershow/editors/EditorCurves.java
@@ -30,6 +30,12 @@ public class EditorCurves extends Editor {
public EditorCurves() {
super(ID);
+ int k =R.menu.filtershow_menu_curves;
+ }
+
+ @Override
+ protected void updateText() {
+
}
@Override