summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src/com/android/gallery3d/common
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@google.com>2012-07-03 18:55:25 +0800
committerHung-ying Tyan <tyanh@google.com>2012-07-03 18:59:29 +0800
commit36d9adcad2a0e74c796737d6521ac2d29afe944c (patch)
tree71e5203c45f4fe2f675637792df4bb2ec11ff2d0 /gallerycommon/src/com/android/gallery3d/common
parent7aac26484af3d40df81e1d08c673bd925856a7fa (diff)
downloadandroid_packages_apps_Snap-36d9adcad2a0e74c796737d6521ac2d29afe944c.tar.gz
android_packages_apps_Snap-36d9adcad2a0e74c796737d6521ac2d29afe944c.tar.bz2
android_packages_apps_Snap-36d9adcad2a0e74c796737d6521ac2d29afe944c.zip
Add ExifTags to hold tag names that are not available in ExifInterface
prior to API level 11. Bug: 6775786 Change-Id: Iab564f577d9a0b87c8fb7b91eda6cabc12b5a11a
Diffstat (limited to 'gallerycommon/src/com/android/gallery3d/common')
-rw-r--r--gallerycommon/src/com/android/gallery3d/common/ExifTags.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/gallerycommon/src/com/android/gallery3d/common/ExifTags.java b/gallerycommon/src/com/android/gallery3d/common/ExifTags.java
new file mode 100644
index 000000000..9b11fe416
--- /dev/null
+++ b/gallerycommon/src/com/android/gallery3d/common/ExifTags.java
@@ -0,0 +1,27 @@
+/*
+ * 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.common;
+
+/**
+ * The class holds the EXIF tag names that are not available in
+ * {@link android.media.ExifInterface} prior to API level 11.
+ */
+public interface ExifTags {
+ static final String TAG_ISO = "ISOSpeedRatings";
+ static final String TAG_EXPOSURE_TIME = "ExposureTime";
+ static final String TAG_APERTURE = "FNumber";
+}