From 6dc3866ac10cc6bf38e73f098fe1988d1a6eecd4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 4 Dec 2012 10:01:41 -0800 Subject: Remove LongSpareArray + some cleanups Change-Id: If5bb44ebca70bd735e426aeb3d9aac2d4bac646e --- src/com/android/gallery3d/util/GalleryUtils.java | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/com/android/gallery3d/util') 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, -- cgit v1.2.3