389390391392393394395396397398399
f = -Float.parseFloat(h); f *= ref.height; n = Math.round(f); } rt.bottom(rt.top()); rt.top(rt.bottom() - n); } else { try { n = Integer.parseInt(h); } catch (NumberFormatException ex) {
390391392393394395396397398399400
f *= ref.height; n = Math.round(f); } rt.bottom(rt.top()); rt.top(rt.bottom() - n); } else { try { n = Integer.parseInt(h); } catch (NumberFormatException ex) { f = Float.parseFloat(h);
400401402403404405406407408409410
f = Float.parseFloat(h); f *= ref.height; n = Math.round(f); } rt.bottom(rt.top() + n); } return rt; }