(float value)
| 55 | } |
| 56 | |
| 57 | public static float dpf2(float value) { |
| 58 | return HostInfo.getApplication().getResources().getDisplayMetrics().density * value; |
| 59 | } |
| 60 | |
| 61 | public static FrameLayout.LayoutParams createFrame(int width, float height, int gravity, float leftMargin, float topMargin, float rightMargin, float bottomMargin) { |
| 62 | FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams(getSize(width), getSize(height), gravity); |
no test coverage detected