summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/controller/ParameterStyles.java
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-04-08 19:32:45 -0700
committerJohn Hoford <hoford@google.com>2013-04-08 19:48:35 -0700
commita5e47821f783cc14ba0ec3d3910af79dab3a870c (patch)
tree4ca09a111950c39ec1883d78ae986aec516ab76b /src/com/android/gallery3d/filtershow/controller/ParameterStyles.java
parentd54c1e3d699defd21a581686eda4cdc94baa1fec (diff)
downloadandroid_packages_apps_Snap-a5e47821f783cc14ba0ec3d3910af79dab3a870c.tar.gz
android_packages_apps_Snap-a5e47821f783cc14ba0ec3d3910af79dab3a870c.tar.bz2
android_packages_apps_Snap-a5e47821f783cc14ba0ec3d3910af79dab3a870c.zip
make basic editor based on ParametricEditor
Change-Id: Ie0a799d7e85f4e21fdd86ffbdca9814a3cc40c61
Diffstat (limited to 'src/com/android/gallery3d/filtershow/controller/ParameterStyles.java')
-rw-r--r--src/com/android/gallery3d/filtershow/controller/ParameterStyles.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/controller/ParameterStyles.java b/src/com/android/gallery3d/filtershow/controller/ParameterStyles.java
new file mode 100644
index 000000000..c267d3da3
--- /dev/null
+++ b/src/com/android/gallery3d/filtershow/controller/ParameterStyles.java
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2013 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.gallery3d.filtershow.controller;
+
+import android.content.Context;
+
+import com.android.gallery3d.filtershow.cache.RenderingRequestCaller;
+
+public interface ParameterStyles extends Parameter {
+ public static String sParameterType = "ParameterStyles";
+
+ int getNumberOfStyles();
+
+ int getDefaultSelected();
+
+ int getSelected();
+
+ void setSelected(int value);
+
+ void getIcon(int index, RenderingRequestCaller caller);
+
+ String getStyleTitle(int index, Context context);
+}