summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/camera/unittest/CameraTest.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix focus area in front camera.Chih-yu Huang2011-10-211-16/+0
| | | | | | | | | | Front camera preview is mirrored. Change to use matrix to calculate the focus area. So the focus area will be correct in all orientations in front or back camera. bug:5446617 bug:5461028 Change-Id: I2d39a22cd9f034c5028843ca3d4abe0f9962f18a
* Add hysteresis to orientation rounding.Eino-Ville Talvala2011-10-191-13/+41
| | | | | | | | This prevents fast flickering between two orientation states, which can result in ugly UI issues, especially with the preview thumbnail. Bug: 5477483 Change-Id: I9513547207ae1918066c1a19947c974eaad72e24
* Refactor all focus code to a separate class.Wu-cheng Li2011-08-231-6/+7
| | | | | | | The code about focus is complicated and scattered around. Move the code to a new class, so it is easier to maintain. Change-Id: I0214b405bf1596d967e7d89cdb04328322c6ab95
* Use matrix to transform the location of faces.Wu-cheng Li2011-08-111-0/+39
| | | | | | bug:5141019 Change-Id: Id4bb82cee5fd788689fb18bb199504d963c5d3a2
* Add test for converting touch point to focus area.Wu-cheng Li2011-05-101-0/+33
| | | | | | Also add license for some files. Change-Id: I492799aefad5afe771a082b90bf44f4301480be0
* Fix the wrong rotation on naturally landscape devices.Wu-cheng Li2010-09-151-0/+26
The orientation of on-screen icons and thumbnails are wrong on devices that are naturally landscape in their orientation. Display.getRotation should be used to compensate. Parameters.setRotation should also be compensated by camera's orientation. Change-Id: Ia0684fcd606252c49fa2d701ab07c73f7e29b70b