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

Commit e0f4589f authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

PointerLocationView: Reformat file

Bug: 283195699
Test: Build
Flag: EXEMPT refactor
Change-Id: Id2e7745191af483e1f4b01373d355e656259ca8e
parent e8bc536b
Loading
Loading
Loading
Loading
+33 −31
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ public class PointerLocationView extends View implements InputDeviceListener,
        private boolean mCurDown;

        // Most recent coordinates.
        private PointerCoords mCoords = new PointerCoords();
        private final PointerCoords mCoords = new PointerCoords();
        private int mToolType;

        // Most recent velocity.
@@ -268,7 +268,8 @@ public class PointerLocationView extends View implements InputDeviceListener,

    // Draw an oval.  When angle is 0 radians, orients the major axis vertically,
    // angles less than or greater than 0 radians rotate the major axis left or right.
    private RectF mReusableOvalRect = new RectF();
    private final RectF mReusableOvalRect = new RectF();

    private void drawOval(Canvas canvas, float x, float y, float major, float minor,
            float angle, Paint paint) {
        canvas.save(Canvas.MATRIX_SAVE_FLAG);
@@ -971,10 +972,11 @@ public class PointerLocationView extends View implements InputDeviceListener,
        }
    }

    private ISystemGestureExclusionListener mSystemGestureExclusionListener =
    private final ISystemGestureExclusionListener mSystemGestureExclusionListener =
            new ISystemGestureExclusionListener.Stub() {
                @Override
        public void onSystemGestureExclusionChanged(int displayId, Region systemGestureExclusion,
                public void onSystemGestureExclusionChanged(int displayId,
                        Region systemGestureExclusion,
                        Region systemGestureExclusionUnrestricted) {
                    Region exclusion = Region.obtain(systemGestureExclusion);
                    Region rejected = Region.obtain();