(float value)
| 38 | } |
| 39 | |
| 40 | public static float scale(float value) { |
| 41 | //use height ratio to prioritize making fonts look good |
| 42 | //fonts can always auto-scale down if container not wide enough |
| 43 | return Math.round(value * HEIGHT_RATIO); |
| 44 | } |
| 45 | |
| 46 | public static long secondsToTimeSpan(float seconds) { |
| 47 | return (long)(seconds * 1000000000l); |
no outgoing calls
no test coverage detected