commit | ebbb0bc56355abbeff26fa6ef1305d8e4d6957a8 | [log] [tgz] |
---|---|---|
author | Johnson Lu <johnsonlu@google.com> | Sat Dec 15 11:50:46 2018 +0800 |
committer | Johnson Lu <johnsonlu@google.com> | Sat Dec 15 16:07:02 2018 +0800 |
tree | 8a3c2bb393f5b3c95bdb9f0326945a5158b058d9 | |
parent | c748b6eeefb4cf676a4b5c07291759a2e8ce7b49 [diff] |
Adjust camera preview area to square 1.Choose the smaller size of both dimensions as its size. 2.Set transform matrix to crop and center the preview picture. Bug: 118797380 Test: make RunSettingsRoboTests Change-Id: Ic65fb1fe0c5082995d6903f50dda48eec16c3fb1