am b4605a3e: am 237f5e4f: Remove unused methods from Utils class
* commit 'b4605a3ee47f202b92ed28bd2f3b4d2d48a075fd': Remove unused methods from Utils classmain
commit
90be82400b
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue