Remove unused methods from Utils class

Change-Id: I209b75f1cca381610f25cd219f35ea62b9762be2
This commit is contained in:
Tadashi G. Takaoka 2012-08-29 16:10:16 +09:00
parent 78527e4dbb
commit 237f5e4f9b

View file

@ -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 class Stats {
public static void onNonSeparator(final char code, final int x, public static void onNonSeparator(final char code, final int x,
final int y) { final int y) {