summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEmilian Peev <epeev@google.com>2021-10-08 13:30:42 -0700
committerEmilian Peev <epeev@google.com>2021-10-19 13:21:29 -0700
commitbb799a86dc8651832618ec2bd15278a108db28c7 (patch)
tree6ead802bb59cdf376c993c81234da5334687939d /tools/aapt2/java/JavaClassGenerator_test.cpp
parentfed7243e569ef17582b44400bd705f4823cd9ba2 (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 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions