Update the panorama capturing progress correctly.

Fix an issue that the termination condition on the sweeping angle is broken.
Fix another issue that the panning speed and sweeping angle does not
consider the cases that users hold a device in portrait or panning the
device vertically.

Bug: 5623138

Change-Id: I9d1e2e5ad63a97beb8cfe2404974329c70d46991
1 file changed