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

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

am b8182a38: am 93e3296f: Merge "PointerLocationView: Display orientation...

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

Merge commit 'b8182a38'

* commit 'b8182a38':
  PointerLocationView: Display orientation correctly.
parents a77c9541 b8182a38
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;