Fix portrait-orientation assumptions

Not all devices are native portrait, so account for other sensor
orientations in drawing gyro output and saving JPEGs.

With this, Pixel C gyro overlay looks reasonable

Bug: 27543253
Change-Id: I03f48a84f2dd206c468d00cca9ba09a46c1432a6
6 files changed
tree: ba24fe1845559ba629832dc38787ed98f5b3a415
  1. res/
  2. src/
  3. Android.mk
  4. AndroidManifest.xml