History log of /pdk/apps/TestingCamera/src/com/android/testingcamera/TestingCamera.java
Revision Date Author Comments
96a962a981772466e9d7b3fd8d0227693dbc38ec 09-Sep-2014 Eino-Ville Talvala <etalvala@google.com> TestingCamera: Fix orientation setting.

It's not actually possible to skip this call, even for an app that's forced landscape.

Bug: 17393631

Change-Id: Icf992117e5d45f1a1737f6b20dff73c7f36201a9
c6663ceecda29e07a602674544fc94fe1c376dca 08-Aug-2014 Igor Murashkin <iam@google.com> TestingCamera: Add a button to lock/unlock the camera

Bug: 16695955
Change-Id: Id6b754dcf00e92f0a0cad488f24ec3ebfe92e837
ac8f8167776b093f89eeb428c4f3c641788553d4 10-Jul-2014 Zhijun He <zhijunhe@google.com> TestingCamera: Add 4K video CamcorderProfile

Change-Id: I75bb4629ffcf7573519c1e35786a159aa424da7e
7608c20fef0bbbdcfdb0cc491d38e92435688bed 25-Nov-2013 Alex Ray <aray@google.com> TestingCamera: Add zoom control

Change-Id: I1849902d5a33e9cfd91e575fede2858aa3d28cb1
186ba3ae105b2b9439c512df252a44179666f650 30-Oct-2013 Alex Ray <aray@google.com> TestingCamera: Add color effect parameter control

Change-Id: I0c21aab969991c67fb4d0aa291c0ae495eb8df23
bb7a24ed70f95736c40b442e1fd7a088eb009ef5 09-Oct-2013 Alex Ray <aray@google.com> TestingCamera: Add recording hint toggle

Change-Id: I979fb00791896f08e3c5f461fbd4a26147ea20e3
1aa04b539399a69710d6b98877655e3bd87920ae 13-Sep-2013 Lajos Molnar <lajos@google.com> Fix app-crash when stopping recording immediately after start

Handle the exception thrown by MediaRecorder for this case.

Change-Id: I5bf9060cf0610aa8dc7ce6ac9520848ac63ebd94
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 9743129
17c9966aeb7dd3bd472e7e9bc70735dee1fc72c8 09-May-2013 Eino-Ville Talvala <etalvala@google.com> TestingCamera: Set preview format correctly

If preview isn't already running, the preview format isn't actually
changed when the user tries to change it. Fix that.

Bug: 8891258
Change-Id: I617f3c1c47879d3aed936cd4645e47ce8b38616e
753ac7952bbb16004e5dd149dfdbfb70042827ff 20-Feb-2013 Eino-Ville Talvala <etalvala@google.com> TestingCamera: Add error handling, recording options

- Add new 'none' camera state to go to on errors
- Handle failure to open camera
- Register Camera.ErrorCallback and handle reported errors
- Add checkbox to keep camera open when app goes to the background
- Add checkbox to prevent camera handoff to MediaRecorder, to test
media recorder's camera setup path.

Bug: 8181262
Change-Id: I1766a69bd5ab841451e85aa4a4ad8104aa1bc8c1
b2409d280567130723fde8bc2922a43e2976b074 08-Feb-2013 David Braun <dabraun@google.com> Add preview frame rate settings to camera test app.

Also fixed crash when trying to configure camera with no flash (Nexus 7 main
camera, most if not all front facing cameras)

Change-Id: Iefffbd79a58f37d33555c94b80204e66d2163743
59c639e1919e7f7b39758cfbafb1e12b78e7b2d4 25-Aug-2012 Eino-Ville Talvala <etalvala@google.com> TestingCamera: Add preview callbacks

- Support for NV21, YV12, YUY2 preview formats
- Switch to API level 17 for certain Renderscript features
- Fix assorted SDK warnings/lint issues.

Change-Id: I3a5063065e239308df74c1077c4120429f431ab7
b95f05fb03d0e9192926f8d46c02602a8035b721 11-Jan-2013 Alex Ray <aray@google.com> TestingCamera: Add Auto-Exposure Lock Control

Change-Id: Ib0984a00162ebccac3ab0ab8a89f50ac971405c7
faf0dca8fcd28b16cf984ba26587acbfb915b37f 23-Oct-2012 Alex Ray <aray@google.com> TestingCamera: Add Video Stabilization Toggle

Add a button to select video stabilization. Only enabled if the camera
supports it.

Change-Id: I97018e2b5f1384594f75567fdfa08154aa098e8c
35b1da53ad8a06a062f605b6be83a99df0c3af87 02-Nov-2012 Alex Ray <aray@google.com> TestingCamera: Video Record Size starts correct

Instead of "Default", Video Record Size now reflects actual record
resolution before any other selections are made.

Change-Id: Iacc3d1bd5cf69e30c76f270778d14b045f25df70
410aac04ee752c7f3506afb64b4a1e8ab9785cef 23-Oct-2012 Alex Ray <aray@google.com> TestingCamera: Add Video Frame Rate Selection

Add selectable frame rates for video recording. Chosen based on the
list of preview frame rates available.

Change-Id: I11e93061f214646ae44a5e4f649b86405caefd06
8bf3e54287366cf790c25577568334b92f67d178 05-Sep-2012 Alex Ray <aray@google.com> TestingCamera: Add video recording resolutions

Select camcorder profile and resolution to record at; enables testing
various video recording resolutions that do not have explicit profiles.

Change-Id: I03666f8f0348cc6993a54f0bbcbd9647a5734a40
b18600b1d8df55637a97679f13c26439c35b9efd 25-Oct-2012 Alex Ray <aray@google.com> TestingCamera: Flash Mode Support

Adds flash mode selection.

Change-Id: Iae3895d9e153173a32f838d0f3c6e1d06c11ab00
4c9d0b3b746700dd5398edd65510af1f6db4b752 25-Aug-2012 Eino-Ville Talvala <etalvala@google.com> TestingCamera: Only enable focus move callbacks in some AF modes.

Fixes TestingCamera on Nakasi.

Change-Id: I1039ae69e312c053b62af39e791681ff6ae328f4
b8dc64f657e9b8aac496379b460c584d958e6919 07-Aug-2012 Eino-Ville Talvala <etalvala@google.com> TestingCamera: Improve snapshot dialog, notify MediaScanner

- Fix bug with large snapshots not appearing
- Show extracted EXIF information
- Allow saving/viewing snapshots
- Notify MediaScanner about new videos and still images
- Clean up imports

Change-Id: Iea569da97b073a6a384f2d75439d49facf944b9a
abe36163445fb3fe458252fd8d21c3e1ac14ed6d 07-Aug-2012 Eino-Ville Talvala <etalvala@google.com> TestingCamera: Autofocus, recording, logging, code cleanup

- Add logging into onscreen textview
- Clean up code (whitespace, refactor some long methods)
- Add AF mode selection, AF trigger, AF cancel
- Add recording support

Bug: 6243944
Change-Id: I799a99e24009677b558875a2d980bb980dd8d004
bc88c6ed6508927ad72eefba3f6f63c6436f06d3 05-Aug-2012 Eino-Ville Talvala <talvala@google.com> TestingCamera: Add camera info, camcorder profiles, improve UI

Bug: 6243944

Change-Id: I75c8b5f7baf792f017231ff16a7f045391fba478
b28605e5d09a08c915183772819cb1c7c53cdb34 03-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Revert "TestingCamera: Add camera info, camcorder profiles, improve UI"

This reverts commit 4ae1a87883045d820ffd6e1b8a95c13b1919e00a

Change-Id: Iabbf18b84b331bc9679b2000058f62ff062ffbb4
4ae1a87883045d820ffd6e1b8a95c13b1919e00a 31-Jul-2012 Eino-Ville Talvala <etalvala@google.com> TestingCamera: Add camera info, camcorder profiles, improve UI

Bug: 6243944
Change-Id: I9e5412271afa9c8b759c21044097cf41d34eba44
94d24977868e0713cf03f7cec4d6de051f411dca 19-Jul-2012 Eino-Ville Talvala <etalvala@google.com> Enable SDK/Eclipse building for TestingCamera

Also switch control bar on right edge to use ScrollView for space.

Change-Id: Id47cf36a6a84aab7f586237702f813ad3615eb98
48f2556e12eeaa8932947fe6c8083e64bb5eb804 12-Jul-2012 Eino-Ville Talvala <etalvala@google.com> TestingCamera: Add camera testing application for PDK users

TestingCamera is an app for testing all the features of the Android
camera API, targeted at platform engineers. Unlike the standard camera
app, it is not meant to be an end-user application, and focuses more
on exposing all features and options in the API, instead of on ease of
use.

This initial checking supports camera selection, preview and still
image capture only.

Change-Id: I303e74ba3f33f3b41ba5219e1747e8fae3a2cd56