Merge "Fix wobbly spinners"

This commit is contained in:
Chet Haase
2011-09-12 15:17:32 -07:00
committed by Android (Google) Code Review

View File

@@ -79,7 +79,7 @@ public class AnimatedRotateDrawable extends Drawable implements Drawable.Callbac
float px = st.mPivotXRel ? (w * st.mPivotX) : st.mPivotX;
float py = st.mPivotYRel ? (h * st.mPivotY) : st.mPivotY;
canvas.rotate(mCurrentDegrees, px, py);
canvas.rotate(mCurrentDegrees, px + bounds.left, py + bounds.top);
drawable.draw(canvas);