am e0a3b19f: am f66c8d36: Merge "Remove usages of FloatMath"

* commit 'e0a3b19ffbd69b4401724477d346dc1494bad04a':
  Remove usages of FloatMath
This commit is contained in:
Neil Fuller
2015-02-12 19:30:31 +00:00
committed by Android Git Automerger

View File

@@ -29,7 +29,6 @@ import android.graphics.PointF;
import android.graphics.RectF;
import android.os.Bundle;
import android.util.AttributeSet;
import android.util.FloatMath;
import android.util.Log;
import android.util.Property;
import android.view.View;
@@ -62,7 +61,7 @@ public class PathAnimations extends Activity implements
};
static {
float inverse_sqrt8 = FloatMath.sqrt(0.125f);
float inverse_sqrt8 = (float) Math.sqrt(0.125);
RectF bounds = new RectF(1, 1, 3, 3);
sTraversalPath.addArc(bounds, 45, 180);
sTraversalPath.addArc(bounds, 225, 180);