Refactoring the scale and pan detection in the ScreenMagnifier.

Change-Id: I8560f53f88ef0c9244e2b48d40119574cacb544f
1 file changed