Remove dependencies on FloatMath

See frameworks/base commit 33253a4baa6279f81a73425b49dfb6abe5f5416e
for details.

Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: I752c66ae8d5470686780cb55c43ce7da4aa042f1
Merge "Remove dependencies on FloatMath"