Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8182a38 authored by Jeff Brown's avatar Jeff Brown Committed by Android Git Automerger
Browse files

am 93e3296f: Merge "PointerLocationView: Display orientation correctly." into gingerbread

Merge commit '93e3296f' into gingerbread-plus-aosp

* commit '93e3296f':
  PointerLocationView: Display orientation correctly.
parents cbee6229 93e3296f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@ public class PointerLocationView extends View {
    private void drawOval(Canvas canvas, float x, float y, float major, float minor,
            float angle, Paint paint) {
        canvas.save(Canvas.MATRIX_SAVE_FLAG);
        canvas.rotate((float) (angle * 180 / Math.PI), x, y);
        canvas.rotate((float) (-angle * 180 / Math.PI), x, y);
        mReusableOvalRect.left = x - minor / 2;
        mReusableOvalRect.right = x + minor / 2;
        mReusableOvalRect.top = y - major / 2;