summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/imageshow/Line.java
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-07-19 17:11:31 -0700
committerJohn Hoford <hoford@google.com>2013-07-29 17:21:34 -0700
commit52e9277b6774bc938a9e55694640c20e4ba90365 (patch)
treeda8abe57ccc4c2040b9989739b926ccf0544c8c9 /src/com/android/gallery3d/filtershow/imageshow/Line.java
parenta5c138bdac37dddf53acd37807a364aac753acb6 (diff)
downloadandroid_packages_apps_Snap-52e9277b6774bc938a9e55694640c20e4ba90365.tar.gz
android_packages_apps_Snap-52e9277b6774bc938a9e55694640c20e4ba90365.tar.bz2
android_packages_apps_Snap-52e9277b6774bc938a9e55694640c20e4ba90365.zip
add Grad filter
Change-Id: I30fc0810c54f3daa31726188a4c3762df33953a7
Diffstat (limited to 'src/com/android/gallery3d/filtershow/imageshow/Line.java')
-rw-r--r--src/com/android/gallery3d/filtershow/imageshow/Line.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/imageshow/Line.java b/src/com/android/gallery3d/filtershow/imageshow/Line.java
new file mode 100644
index 000000000..a767bd809
--- /dev/null
+++ b/src/com/android/gallery3d/filtershow/imageshow/Line.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2012 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.imageshow;
+
+public interface Line {
+ void setPoint1(float x, float y);
+ void setPoint2(float x, float y);
+ float getPoint1X();
+ float getPoint1Y();
+ float getPoint2X();
+ float getPoint2Y();
+}