summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/data/LocalData.java
diff options
context:
space:
mode:
authorMangesh Ghiware <mghiware@google.com>2013-08-23 13:28:21 -0700
committerMangesh Ghiware <mghiware@google.com>2013-08-26 16:49:45 -0700
commitcd2eeb0efc4370f20e9836e20eb11cb974e3b00d (patch)
treee8bf0edb59838a99041b1003981977a7a0512400 /src/com/android/camera/data/LocalData.java
parent3be7f94c1029728a8e236cfcde9c8bce68244095 (diff)
downloadandroid_packages_apps_Snap-cd2eeb0efc4370f20e9836e20eb11cb974e3b00d.tar.gz
android_packages_apps_Snap-cd2eeb0efc4370f20e9836e20eb11cb974e3b00d.tar.bz2
android_packages_apps_Snap-cd2eeb0efc4370f20e9836e20eb11cb974e3b00d.zip
Bring back Share to filmstrip
Bug: 10367406 Change-Id: I37834442e3af209fb00b98e6da524263ac8c70f0
Diffstat (limited to 'src/com/android/camera/data/LocalData.java')
-rw-r--r--src/com/android/camera/data/LocalData.java36
1 files changed, 25 insertions, 11 deletions
diff --git a/src/com/android/camera/data/LocalData.java b/src/com/android/camera/data/LocalData.java
index 82567120e..11d36da82 100644
--- a/src/com/android/camera/data/LocalData.java
+++ b/src/com/android/camera/data/LocalData.java
@@ -38,16 +38,30 @@ public interface LocalData extends FilmStripView.ImageData {
public static final int ACTION_DELETE = (1 << 1);
// Local data types. Returned by getLocalDataType().
- // Camera preview.
- public static final int LOCAL_CAMERA_PREVIEW = 1;
- // A data for showing an arbitrary view.
- public static final int LOCAL_VIEW = 2;
- // A still image.
- public static final int LOCAL_IMAGE = 3;
- // A video.
- public static final int LOCAL_VIDEO = 4;
- // A still image but with valid PhotoSphere metadata.
- public static final int LOCAL_PHOTO_SPHERE = 5;
+ /**
+ * Constant for denoting a camera preview.
+ */
+ public static final int LOCAL_CAMERA_PREVIEW = 1;
+ /**
+ * Constant for denoting an arbitrary view.
+ */
+ public static final int LOCAL_VIEW = 2;
+ /**
+ * Constant for denoting a still image.
+ */
+ public static final int LOCAL_IMAGE = 3;
+ /**
+ * Constant for denoting a video.
+ */
+ public static final int LOCAL_VIDEO = 4;
+ /**
+ * Constant for denoting a still image, with valid PhotoSphere metadata.
+ */
+ public static final int LOCAL_PHOTO_SPHERE = 5;
+ /**
+ * Constant for denoting a still image, with valid 360 PhotoSphere metadata.
+ */
+ public static final int LOCAL_360_PHOTO_SPHERE = 6;
View getView(Context c, int width, int height, Drawable placeHolder);
@@ -118,7 +132,7 @@ public interface LocalData extends FilmStripView.ImageData {
*
* @return The local data type. Could be one of the following:
* {@code LOCAL_CAMERA_PREVIEW}, {@code LOCAL_VIEW}, {@code LOCAL_IMAGE},
- * {@code LOCAL_VIDEO}, and {@code LOCAL_PHOTO_SPHERE},
+ * {@code LOCAL_VIDEO}, {@code LOCAL_PHOTO_SPHERE}, and {@code LOCAL_360_PHOTO_SPHERE}
*/
int getLocalDataType();