commit | a4c95a6bc3b801bf41ca841440e9124f947e53fe | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Fri Sep 12 17:15:24 2014 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Sat Sep 13 12:36:52 2014 -0700 |
tree | 5f9fc5c467b97da7c7691107607aea04936f3b7b | |
parent | 98d594620365088e05c4e5925bb00bf065b8caa1 [diff] |
Camera: Allow larger preview resolutions in API1 for >= HALv2 devices Limit preview resolutions to a max of 1920x1920 instead of 1920x1080p, so that any aspect ratio with a 1920 as the larger dimension can be used. Also improve the initial preview/video size selection logic, to ensure that the selected size is both a valid preview and video size, and not too large. Bug: 17458832 Change-Id: Iea006fadb5fbf0f03d23c3c5babb5b3611469688