diff options
author | Emilian Peev <epeev@google.com> | 2021-10-08 13:30:42 -0700 |
---|---|---|
committer | Emilian Peev <epeev@google.com> | 2021-10-19 13:21:29 -0700 |
commit | bb799a86dc8651832618ec2bd15278a108db28c7 (patch) | |
tree | 6ead802bb59cdf376c993c81234da5334687939d /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | fed7243e569ef17582b44400bd705f4823cd9ba2 (diff) |
CameraServiceProxy: Estimate rotate&crop override value
Try to estimate the necessary rotate&crop compensation
for:
1) All device orientations
2) Front cameras
3) Cameras with landscape sensor orientation
Additionally check the resizeable flag of the top activity
using the 'topActivityInfo.resizeMode'.
Move the heuristics outside of the camera proxy stub inner
class and declare them static. This should make unit tests
of the logic inside easier.
Bug: 202567080
Test: Manual using camera applications,
Camera CTS,
atest FrameworksServicesTests:com.android.server.camera.CameraServiceProxyTest
Change-Id: Iba9b1b26958a373c481a1af0601c08012b5a61e7
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions