From 237f5e4f9b984d58199916396ba68dc9958235de Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Wed, 29 Aug 2012 16:10:16 +0900 Subject: [PATCH] Remove unused methods from Utils class Change-Id: I209b75f1cca381610f25cd219f35ea62b9762be2 --- java/src/com/android/inputmethod/latin/Utils.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/Utils.java b/java/src/com/android/inputmethod/latin/Utils.java index fc7a42100..f3eb2d7af 100644 --- a/java/src/com/android/inputmethod/latin/Utils.java +++ b/java/src/com/android/inputmethod/latin/Utils.java @@ -393,16 +393,6 @@ public class Utils { } } - public static float getDipScale(Context context) { - final float scale = context.getResources().getDisplayMetrics().density; - return scale; - } - - /** Convert pixel to DIP */ - public static int dipToPixel(float scale, int dip) { - return (int) (dip * scale + 0.5); - } - public static class Stats { public static void onNonSeparator(final char code, final int x, final int y) {