Fast rounding doesn't work for negative values, so use Math.round() where we might encounter negative values. Use Math.floor() and ceil() for rounding down and up, respectively. Bug: 25695621 Change-Id: I94831b8eb7552fc24cbe5808e923de1674d8ba6d
4636770f0d
3b6f9f78cf
d8407271ff
37e78cf8f1
0e57a4d021
7a062ed396
9c3982f75d
a26cafc2b2
376d5f350c
7a38be6112
b324fb18d9
8f45b48757