diff options
author | John Hoford <hoford@google.com> | 2013-03-12 16:30:10 -0700 |
---|---|---|
committer | John Hoford <hoford@google.com> | 2013-03-29 12:11:16 -0700 |
commit | 06016438139fba0511dcd1e12646b53287b3bb3f (patch) | |
tree | 136abeb52c107c5e07318368cc35e5faa3708164 /src/com/android/gallery3d/filtershow/controller/ParameterInteger.java | |
parent | 2e45fd060ca623a3f28858eabd17be891b4fba89 (diff) | |
download | android_packages_apps_Snap-06016438139fba0511dcd1e12646b53287b3bb3f.tar.gz android_packages_apps_Snap-06016438139fba0511dcd1e12646b53287b3bb3f.tar.bz2 android_packages_apps_Snap-06016438139fba0511dcd1e12646b53287b3bb3f.zip |
add flexable ui for parameters
Change-Id: Ifa9862ceb7f9a12b1b9b985fdc737dc1bb679921
Diffstat (limited to 'src/com/android/gallery3d/filtershow/controller/ParameterInteger.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/controller/ParameterInteger.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/controller/ParameterInteger.java b/src/com/android/gallery3d/filtershow/controller/ParameterInteger.java new file mode 100644 index 000000000..0bfd20135 --- /dev/null +++ b/src/com/android/gallery3d/filtershow/controller/ParameterInteger.java @@ -0,0 +1,31 @@ +/* + * 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; + +public interface ParameterInteger extends Parameter { + static String sParameterType = "ParameterInteger"; + + int getMaximum(); + + int getMinimum(); + + int getDefaultValue(); + + int getValue(); + + void setValue(int value); +} |