summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/CameraHolder.java
Commit message (Collapse)AuthorAgeFilesLines
* snap: Get rid of static Context memberSteve Kondik2016-11-111-3/+3
| | | | | | | * These are never a good thing. Instead pass the activity thru CameraUtil. Change-Id: I30d73fa329e174b20e0075a49e6d1e059e30aa3e
* option to set manufacturer specific parameters on startupcodeworkx2016-11-021-5/+11
| | | | Change-Id: If734a7f4c25465876e657926700763b9169d786e
* add support for lge-camera parametercodeworkx2016-11-021-0/+16
| | | | Change-Id: Ib31557eb15c37bc928fa259bb098924f72f39da2
* Set original camera parameters while switching between modules.Santhosh Kumar H E2013-12-111-1/+1
| | | | | | | | | | | | | | | | | Camera holder maintains a local variable to get original params and set those params back when user switch between modules. But these parameters were obtained from the instance of camera manager. So object in Camera holder will be a reference to an object in camera manager. Becasue of this all the parameters set in photo module are getting reflected in other modules. This change makes sure the camera holder's parameters object is created separately by getting data from camera device. Also reverted the alternative solution to reset scene mode in video and panorama module. CRs-Fixed: 579747 Change-Id: I02637fb2c215aeb1ba9076629400a339c31178ad
* Adding gcam module to Camera2 app.Ruben Brunk2013-09-181-0/+6
| | | | | | Bug: 10430748 Change-Id: I0c53085553cd8505ba376b1518507d36065894f5
* Show dialog when camera device is not connected.Angus Kong2013-09-171-30/+23
| | | | | | bug:10726516 Change-Id: I3d3433d0b2eced54027b19910473fd55135d0e1c
* Clean up Gallery codes.Angus Kong2013-08-091-1/+1
| | | | | | bug:10263696 Change-Id: I3a16dba3aabe52b8103a2c591cfa39907265a263
* Refactor CameraManager.Angus Kong2013-07-291-1/+2
| | | | | | | | | | | | 1. CameraManager should be the only class accessing android.hardware.Camera. 2. For potential future upgrade in Camera HAL and android.hardward.Camera API upgrade, CameraManager should be just an interface instead of concrete implementation. 3. waitDone() in CameraProxy is removed. 4. ShutterCallback, PreviewCallback, PictureCallback and AF Callbacks are wrapped by our own interfaces. Change-Id: I595da17a1a9c6d476ee805b71c7f45ebb609e465
* Move Camera Java/Native source into Gallery2Michael Kolb2013-01-291-0/+298
Change-Id: I968efe4d656e88a7760d3c0044f65b4adac2ddd1