commit | 557c77fe3340780da3b016b09e691dc18eb71bb4 | [log] [tgz] |
---|---|---|
author | Doris Liu <tianliu@google.com> | Fri Mar 07 20:00:22 2014 -0800 |
committer | Doris Liu <tianliu@google.com> | Mon Mar 10 11:20:22 2014 -0700 |
tree | 6f797daf5a651fe4f396bb03696596a0b6411415 | |
parent | 597c1a093f840af3c42e00af05da01ef124dc846 [diff] |
Fix HDR+ landscape transform Some logic in resetting translation overlooked the fact that HDR+ has rotation baked in the transform matrix because camera2 api requires that surface texture gets rotated by app for device rotation. As a result, simply setting the translation to 0 for transform matrix when there is rotation set on the matrix as well offsets the preview off the screen. Bug: 13367662 Change-Id: I0529fe4913b55aebc058c93a901b6689da1208ba