Loading src/com/android/deskclock/widget/sgv/OverScrollerSGV.java +1 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ package com.android.deskclock.widget.sgv; import android.content.Context; import android.hardware.SensorManager; import android.util.FloatMath; import android.util.Log; import android.view.ViewConfiguration; import android.view.animation.AnimationUtils; Loading Loading @@ -179,7 +178,7 @@ public class OverScrollerSGV { public float getCurrVelocity() { float squaredNorm = mScrollerX.mCurrVelocity * mScrollerX.mCurrVelocity; squaredNorm += mScrollerY.mCurrVelocity * mScrollerY.mCurrVelocity; return FloatMath.sqrt(squaredNorm); return (float) Math.sqrt(squaredNorm); } /** Loading Loading
src/com/android/deskclock/widget/sgv/OverScrollerSGV.java +1 −2 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ package com.android.deskclock.widget.sgv; import android.content.Context; import android.hardware.SensorManager; import android.util.FloatMath; import android.util.Log; import android.view.ViewConfiguration; import android.view.animation.AnimationUtils; Loading Loading @@ -179,7 +178,7 @@ public class OverScrollerSGV { public float getCurrVelocity() { float squaredNorm = mScrollerX.mCurrVelocity * mScrollerX.mCurrVelocity; squaredNorm += mScrollerY.mCurrVelocity * mScrollerY.mCurrVelocity; return FloatMath.sqrt(squaredNorm); return (float) Math.sqrt(squaredNorm); } /** Loading