summaryrefslogtreecommitdiff
path: root/samples/ApiDemos/src/com/example/android/apis/graphics/CameraPreview.java
Commit message (Collapse)AuthorAgeFilesLines
* Extended camera preview to switch between multiple available device camerasAnirudh Dewani2010-11-261-0/+91
| | | | Change-Id: I8e97d6182bf02cba29ae3bc9f1a7ef21a277117e
* Update ApiDemos CameraPreview activity to properly center the preview in ↵Roman Nurik2010-10-221-19/+104
| | | | | | cases where the camera hardware doesn't support a preview size with the same aspect ratio as the device display. Change-Id: Ic7ccc324dfe4d46f3aeb5c7edafc7cc97a6fdc49
* Fix the camera preview demo.Owen Lin2009-11-161-7/+48
| | | | | | The preview size will be checked now in Camera HAL. So, we change the code to get the supported preview sizes and find one of the size that match the surface's width and height.
* Release the camera in surfaceDestroyed().Wu-cheng Li2009-08-111-0/+1
| | | | If the camera is not released, the new client will fail to connect to camera next time. b2042350
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+93
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-93/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-2/+8
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+87