summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/util/GalleryUtils.java
diff options
context:
space:
mode:
authorYour Name <jreck@google.com>2012-12-11 17:11:52 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-12-11 17:11:52 -0800
commit97d9a7cdf25c39b5a4cb92a99ec9fb21d7da1509 (patch)
treeae9fd882d2a87eca729ca7dcddab90ca15d250bc /src/com/android/gallery3d/util/GalleryUtils.java
parent8e8cc05541f6c8c34c6c37aa5622e146064a1793 (diff)
parent6c6e2d4edeb0113376b66ac4491ce7ec023e3437 (diff)
downloadandroid_packages_apps_Snap-97d9a7cdf25c39b5a4cb92a99ec9fb21d7da1509.tar.gz
android_packages_apps_Snap-97d9a7cdf25c39b5a4cb92a99ec9fb21d7da1509.tar.bz2
android_packages_apps_Snap-97d9a7cdf25c39b5a4cb92a99ec9fb21d7da1509.zip
Merge "Remove LongSpareArray + some cleanups" into gb-ub-photos-bryce
Diffstat (limited to 'src/com/android/gallery3d/util/GalleryUtils.java')
-rw-r--r--src/com/android/gallery3d/util/GalleryUtils.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/android/gallery3d/util/GalleryUtils.java b/src/com/android/gallery3d/util/GalleryUtils.java
index 547e2dda0..a4b6bfdc7 100644
--- a/src/com/android/gallery3d/util/GalleryUtils.java
+++ b/src/com/android/gallery3d/util/GalleryUtils.java
@@ -94,14 +94,6 @@ public class GalleryUtils {
TiledScreenNail.setMaxSide(maxPixels / 2);
}
- public static boolean isHighResolution(Context context) {
- DisplayMetrics metrics = new DisplayMetrics();
- WindowManager wm = (WindowManager)
- context.getSystemService(Context.WINDOW_SERVICE);
- wm.getDefaultDisplay().getMetrics(metrics);
- return metrics.heightPixels > 2048 || metrics.widthPixels > 2048;
- }
-
public static float[] intColorToFloatARGBArray(int from) {
return new float[] {
Color.alpha(from) / 255f,