Remove unused methods from Utils class
Change-Id: I209b75f1cca381610f25cd219f35ea62b9762be2
This commit is contained in:
parent
78527e4dbb
commit
237f5e4f9b
1 changed files with 0 additions and 10 deletions
|
@ -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 a new issue