summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix testExtraSizeLimit test.Wu-cheng Li2011-05-301-1/+2
| | | | | | | | | | If the size limit is too small, sometimes MediaRecorder stop will fail. Change the quality to low and increase the size limit. bug:4495097 Change-Id: I75ef15cc4b7f34d00b16eb4df821b0275d55d972
* Add test for converting touch point to focus area.Wu-cheng Li2011-05-105-0/+97
| | | | | | Also add license for some files. Change-Id: I492799aefad5afe771a082b90bf44f4301480be0
* Add video capture intent tests.Wu-cheng Li2011-03-261-0/+268
| | | | Change-Id: Ic47007dae62e228267a9f4b3a037110cdf8cc52c
* Add more image capture intent tests.Wu-cheng Li2011-03-172-31/+162
| | | | Change-Id: I533c9a2c9101488449331524209a7f202188ec36
* Add image capture intent test.Wu-cheng Li2011-03-151-0/+33
| | | | Change-Id: Iba7ecf9054b630a14f1bf24ba223e0eecb1c3fd4
* Removed the flaky memory checking.Yu Shan Emily Lau2011-01-075-201/+220
| | | | | | Added the image caputre and video recording stress test for the front facing camera. Change-Id: Ie9b3eebde5665f768bb1e950b8bb593feabb55ff
* Cleanup: Remove BitmapManager, ImageManager, and gallery classes.Chia-chi Yeh2010-12-294-261/+1
| | | | | | | There are 1500 lines of code within 12 classes, which are now completely replaced by 250-line Storage class. Hooray! Change-Id: I9d0149cac18185972912f7b7a92f450929060274
* Modified the key event injection to adopt the Camera UI change.Yu Shan Emily Lau2010-12-102-2/+0
| | | | Change-Id: Ic36c73a92ee4f0f54253f69eef5d1489659d58e4
* Log the exception stack so it is easier to debug.Wu-cheng Li2010-11-295-18/+12
| | | | | Also remove unnecessary assertion. Change-Id: If7a51ecf1f884d8cc8804b79b7d6c6242ee626ed
* Remove the hard-coded package name in camera tests.Wu-cheng Li2010-11-296-25/+28
| | | | | bug:3210567 Change-Id: I4bdc012bc39cb15459cdd6e03164be7d88e492d3
* Close the camera application immediately when media server dies.Wu-cheng Li2010-11-131-8/+0
| | | | | | | | | | | Crash the app earlier. Otherwise, the app will crash later in other places and the log is gone. Getting a new Camera object is not good because it's hard for the app to reset the current state. For example, the state can be autofocus, preview, snapshot, recording, saving thumbnail. bug:3178948 Change-Id: Ibb38e6bfe927ed2ab9b87e2ee47044be8b96727b
* Fixed the camera latency image capture test case with the new UI.Yu Shan Emily Lau2010-10-281-1/+2
| | | | Change-Id: I483c89ad9a27b28fc1a5bf85bdabca93c2dc9ac9
* Fixed the camera image stress test with the new UI.Yu Shan Emily Lau2010-10-201-2/+3
| | | | Change-Id: I3c4a5e7233d4dd0f26a92a440c70164c802a3ecc
* Fix the wrong rotation on naturally landscape devices.Wu-cheng Li2010-09-152-2/+28
| | | | | | | | | | | | 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
* Add the test for activity leak.Wu-cheng Li2010-09-031-0/+37
| | | | | bug:2949181 Change-Id: I3a804f360611d8195ff5a9dc5046ad75789329b3
* Turn on the camera unit tests.Yu Shan Emily Lau2010-08-311-0/+4
| | | | Change-Id: Ic8580ed3c047268b3a25a114c512030e01439f6a
* Close the video file descriptor earlier.Wu-cheng Li2010-08-201-0/+31
| | | | | | | | The file descriptor will be closed in finalize() eventually. But it is better to close it as soon when we are done with it. bug:2912676 Change-Id: I04e1abfdc946c2f218cca30d9140627444bce706
* Fixed the NPE issue with the test file output name.Yu Shan Emily Lau2010-07-271-8/+10
| | | | Change-Id: I715772867d84b60d87c1b44ef6588e7b5003019d
* Expose the camera stress test parameters.Yu Shan Emily Lau2010-07-203-10/+83
| | | | Change-Id: Iff20081e8e49da744f4ee36925167bbeb6a2a87c
* am b84acd02: Merge "Fixed the camera test instrumentation target naming ↵Yu Shan Emily Lau2010-06-101-2/+2
|\ | | | | | | | | | | | | | | | | issue." into froyo Merge commit 'b84acd02e46f87dead1fa75abb14427bf29ba8d8' into kraken * commit 'b84acd02e46f87dead1fa75abb14427bf29ba8d8': Fixed the camera test instrumentation target naming issue.
| * Fixed the camera test instrumentation target naming issue.Yu Shan Emily Lau2010-06-091-2/+2
| | | | | | | | Change-Id: Ia98963e7ae38157d96a7fe3b70d37eca9c5f4af2
* | Fix issue 2622023: Clean up all hardcoded '/sdcard' in camera related codesRay Chen2010-04-304-11/+22
|/ | | | | | http://2622023 Change-Id: I10205ab378c863e2ffed460c83b0037311a6d1a1
* Do not register OneShotPreviewCallback to reduce latency.Wu-cheng Li2010-04-081-8/+8
| | | | | bug:2430326 Change-Id: I14f10f1317096966edc094fc4df8691ec20fee11
* Update the camera package name in the camera tests.Yu Shan Emily Lau2010-03-296-11/+11
| | | | Change-Id: I7e82f9c8c3ea2273d24bfd45fedfe7f912d4f430
* Camera should have the com.android.camera package name.Romain Guy2010-03-107-16/+16
| | | | | | Related to bug #2464545 Change-Id: I08f5cce5b0df623fc62683bd9c9d4a1aa0694240
* Merge "Make camera tests use the same key as camera."Chih-Chung Chang2010-03-081-1/+0
|\
| * Make camera tests use the same key as camera.Chih-Chung Chang2010-03-081-1/+0
| | | | | | | | Change-Id: I7fd208bd47bf54ec83a59b1c877930b1dbd3c127
* | Unbundle: change camera package name.Chih-Chung Chang2010-03-087-17/+17
|/ | | | Change-Id: I9b101ea486f06be553104bc4879f5ec66ae014bc
* Revert "Unbundle: change package name to com.google.android.camera"Chih-Chung Chang2010-03-087-17/+17
| | | | This reverts commit 1ace47c7352d65b10361863316b5748b4f3e0689.
* Unbundle: change package name to com.google.android.cameraChih-Chung Chang2010-03-057-17/+17
|
* Remove unused code.Chih-Chung Chang2010-03-051-146/+0
|
* am 3cd9af7e: am 499e3b0a: Modify the camera lantency report tag so that it ↵Yu Shan Emily Lau2010-01-281-11/+10
|\ | | | | | | | | | | | | | | | | is easier to publish to the dashboard. Merge commit '3cd9af7e1a83b15994537e54f45f8453ae5eaa9a' * commit '3cd9af7e1a83b15994537e54f45f8453ae5eaa9a': Modify the camera lantency report tag so that it is easier to publish to the dashboard.
| * Modify the camera lantency report tag so that it is easier to publish to the ↵Yu Shan Emily Lau2010-01-251-11/+10
| | | | | | | | dashboard.
* | am 5e4deaf0: Merge change I94d56d71 into eclairYu Shan Emily Lau2009-12-011-18/+35
|\ \ | |/ | | | | | | | | | | Merge commit '5e4deaf0aaf218d1c6ccf5f86ee7ca38bafa5c45' into eclair-mr2 * commit '5e4deaf0aaf218d1c6ccf5f86ee7ca38bafa5c45': Split the startup measurment into two parts.
| * Split the startup measurment into two parts.Yu Shan Emily Lau2009-11-231-18/+35
| | | | | | | | | | 1) The first startup time 2) The average of the rest of the iterations ( ie. 19)
* | am 56e1db46: Trun on the log to see what causing the failureYu Shan Emily Lau2009-11-161-0/+1
|\ \ | |/ | | | | | | | | | | Merge commit '56e1db465a1726f2dd0e0b4ad0624c14b797d313' into eclair-mr2 * commit '56e1db465a1726f2dd0e0b4ad0624c14b797d313': Trun on the log to see what causing the failure
| * Trun on the log to see what causing the failureYu Shan Emily Lau2009-11-161-0/+1
| |
* | am 154d112a: Increse the wait time for image capture.Yu Shan Emily Lau2009-11-161-2/+3
|\ \ | |/ | | | | | | | | | | Merge commit '154d112a5ac848e986ed9c13f97b195f004bc151' into eclair-mr2 * commit '154d112a5ac848e986ed9c13f97b195f004bc151': Increse the wait time for image capture.
| * Increse the wait time for image capture.Yu Shan Emily Lau2009-11-161-2/+3
| |
* | am 5a717676: Re-submit the change and make sure the test target can pick it up.Yu Shan Emily Lau2009-11-131-1/+2
|\ \ | |/ | | | | | | | | | | Merge commit '5a717676643985dcd40f9fbf29558c2ec99509c2' into eclair-mr2 * commit '5a717676643985dcd40f9fbf29558c2ec99509c2': Re-submit the change and make sure the test target can pick it up.
| * Re-submit the change and make sure the test target can pick it up.Yu Shan Emily Lau2009-11-131-1/+2
| |
* | am 9324f11a: Add postview callback to know when the captured image is shown. ↵Wu-cheng Li2009-11-111-27/+27
|\ \ | |/ | | | | | | | | | | | | | | b2237074 Merge commit '9324f11afe9366cd5479828a214dc8de8696a5ab' into eclair-mr2 * commit '9324f11afe9366cd5479828a214dc8de8696a5ab': Add postview callback to know when the captured image is shown. b2237074
| * Add postview callback to know when the captured image is shown. b2237074Wu-cheng Li2009-11-121-27/+27
| | | | | | | | | | | | | | | | | | | | | | Some platform display the captured image to the screen in postview callback. Some do that in raw picture callback. The camera application wants to make sure the captured image is displayed for at least 1.2 seconds. But orginally the app does not register postview callback and always start the timer in raw picture callback. Currently postview callback always arrives before raw callback. Without this change, the camera app may think the captured image is not displyed long enough and add some delay before starting preview, which will increase the shot-to-shot latency (ex: 0.8s) unexpectedly.
* | am f8fb435d: Changed the tag name.Yu Shan Emily Lau2009-11-091-3/+4
|\ \ | |/ | | | | | | | | | | Merge commit 'f8fb435dc77fbe364013ca8274ce6e84cd44b737' into eclair-mr2 * commit 'f8fb435dc77fbe364013ca8274ce6e84cd44b737': Changed the tag name.
| * Changed the tag name.Yu Shan Emily Lau2009-11-091-3/+4
| |
* | Remove unused code in Camera app.Owen Lin2009-10-291-89/+0
| | | | | | | | Change-Id: I7b25fde19a172b6910d0217581cf61152d494a82
* | am 7c176f50: Insert the wait time before collecting the last memory usage ↵Yu Shan Emily Lau2009-10-191-0/+2
|\ \ | |/ | | | | | | | | | | | | | | for image capture. Merge commit '7c176f507491ec32166417d87caf27e2766df91f' into eclair-mr2 * commit '7c176f507491ec32166417d87caf27e2766df91f': Insert the wait time before collecting the last memory usage for image capture.
| * Insert the wait time before collecting the last memory usage for image capture.Yu Shan Emily Lau2009-10-151-0/+2
| |