diff options
author | Wu-cheng Li <wuchengli@google.com> | 2012-08-22 00:43:56 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-08-22 00:43:56 -0700 |
commit | 5b75f104029c8e89f73a062a194637fc3e281e63 (patch) | |
tree | 8a17f4664c9ccce192bcbd5221eaa1725e4d9e60 /gallerycommon/src/com/android | |
parent | 455088b7721487df60bd9362d83f8d8e8c5eb686 (diff) | |
parent | 157f891aa9ff56c047a7f4a3809958bbe7e6e58b (diff) | |
download | android_packages_apps_Snap-5b75f104029c8e89f73a062a194637fc3e281e63.tar.gz android_packages_apps_Snap-5b75f104029c8e89f73a062a194637fc3e281e63.tar.bz2 android_packages_apps_Snap-5b75f104029c8e89f73a062a194637fc3e281e63.zip |
Merge "Add API check for view transformation properties." into gb-ub-photos-arches
Diffstat (limited to 'gallerycommon/src/com/android')
-rw-r--r-- | gallerycommon/src/com/android/gallery3d/common/ApiHelper.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java index 05f5b9141..819b56af7 100644 --- a/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java +++ b/gallerycommon/src/com/android/gallery3d/common/ApiHelper.java @@ -160,6 +160,10 @@ public class ApiHelper { public static final boolean HAS_ACTION_BAR = Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB; + // Ex: View.setTranslationX. + public static final boolean HAS_VIEW_TRANSFORM_PROPERTIES = + Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB; + public static final boolean CAN_START_PREVIEW_IN_JPEG_CALLBACK = Build.VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH; |