summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | SnapdragonCamera: Reduce number of countdown timer optionJay Wang2015-05-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Reduce countdown timer option to "off, 2 secs, 5 secs and 10 secs" Change-Id: I7ee49c0b7b7e8649b6d128d58de3562549ec2644
* | | | Merge 9a0d0cbc63632d50c03bbd18597a3b8db1d83303 on remote branchLinux Build Service Account2015-06-111-0/+3
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| | Change-Id: I7c9a290836bb0892d81f7cb329c1d70d298661d5
| * | Camera: Avoid state switch during preview startEmilian Peev2015-06-031-0/+3
| |/ | | | | | | | | | | | | | | | | If snapshot is running avoid changing the camera application state during handling of 'ON_PREVIEW_STARTED' messages. Change-Id: I1654752d431d41d3219f235a08f77e1d7dd10c27 CRs-Fixed: 747816
* | Merge "SnapdragonCamera: Longshot with Burst Functionality."Linux Build Service Account2015-05-143-19/+60
|\|
| * SnapdragonCamera: Longshot with Burst Functionality.Vijay kumar Tumati2015-04-243-19/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a new Longshot feature where in the snapshot frames captured at ISP is @ 3fps and output JPEG encoded rate is @ 1.2 fps. This can be enabled by setting following setprop with the maximum number of snapshots. adb shell setprop persist.camera.longshot.max <max_number> e.g.:adb shell setprop persist.camera.longshot.max 10 If the number is -1, then the existing Longshot will be used. Main changes: 1) The number of Snapshot/Preview/Metadata buffers are increased to make sure no frames will be dropped @ ISP and to maintain burst fps. e.g.: For max number of 10 snapshots, Snapshot buffers are increased to 9 from existing 6. This buffer numbers are derived considering snapshot YUV frames @ 3 fps and JPEG encoding @ 1.2 fps. 2) Shutter will be played after receiving YUV frame instead of reprocess frame. 3) New Longshot stop command is sent after receiving all the required YUV callbacks or releasing the shutter before reaching Max number. 4) Existing Longshot off command is sent after receiving all JPEG CB.s for the issued TakePictures() and also shutter button will be disabled until all the JPEG callbacks are received. Change-Id: Id0c21aeb67245530768bf3ab859d39dea7e2bc40
* | SnapdragonCamera: Fix AEC lock issue after non-zsl snapshot.Sai Kumar Sanagavarapu2015-05-081-1/+4
|/ | | | | | | | | In non-zsl snapshot, focus manager is set to unlock AEC after setting camera parameters in startpreview(). Due to this, AEC gets unlocked only after next touch focus or any set param call. Fixed this by changing the order during startpreview(). Change-Id: I320d7b37c7107ce2242a52979505ff04029a83fa
* Merge "SnapdragonCamera: Customize camera video quality"Linux Build Service Account2015-04-151-1/+7
|\
| * SnapdragonCamera: Customize camera video qualitylikaid2015-04-151-1/+7
| | | | | | | | | | | | | | | | | | | | | | SnapdragonCamera's default video quality value was set to highest supported video resolution whitch was "720P" Add the default video quality value string "pref_video_quality_default" and overlay it to "VGA" CRs-Fixed: 815638 Change-Id: I5013880a42028e0663a3d22ffa3cddf87990146b
* | Merge "Merge commit 'bfdb90d53112474a71c9a39c259d9d9676224f94'"Linux Build Service Account2015-04-151-7/+5
|\ \
| * \ Merge commit 'bfdb90d53112474a71c9a39c259d9d9676224f94'Abhishek Ranjan2015-04-141-7/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/com/android/camera/PhotoModule.java Change-Id: Ic27022cce6728704aeabcbb6bbcdf75850e45eaa
| | * | SnapdragonCamera: fix crash during module switchLikai Ding2015-04-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When module is switched from camcorder to camera, on UI thread, it calls setFlipValue and then setParameters in onOrientationChanged. Meanwhile, background OpenCameraThread is modifying mParameters in startPreview(). This leads to a ConcurrentModificationException. Check camera state in onOrientationChanged. If it's not IDLE, skip setFlipValue and setParameter since these will be done in startPreview. This change also fixes camera UI orientation during a landscape launch. Change-Id: I15ed1e2bbbfc95f1b53b7309b72942d98350c564 CRs-Fixed: 815034
| | * | Merge "SnapdragonCamera: Fix setting icons display abnormal."Linux Build Service Account2015-03-181-2/+1
| | |\ \
| | | * | SnapdragonCamera: Fix setting icons display abnormal.likaid2015-03-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When switch to camera in landscape, the UI is not to set to landscape which make the setting icon display abnormal. When switch to camera in landscape, make the UI to reset the orientation. Change-Id: I7c49cf7ac2bebfc2debd5b6e90449931ca6d6d74 CRs-Fixed: 803557
| | * | | SnapdragonCamera: Fix preview broken when coming back from galleryByunghun Jeon2015-03-061-3/+4
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix preview broken when user goes to gallery using thumbnail in portrait, rotates to landscape in gallery and back key to come back to camera Change-Id: Ib9a8ce69bfbb85573cae55da79901705f726cc22 CRs-Fixed: 802169
* | | | Merge "SnapdragonCamera: customize camera picture quality"Linux Build Service Account2015-04-154-8/+8
|\ \ \ \ | |_|_|/ |/| | |
| * | | SnapdragonCamera: customize camera picture qualitylikaid2015-04-094-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | regional feature Change-Id: I4c80b4970ff4f628080cad20980aa545add6fdcf CRs-Fixed: 815630
* | | | Merge "SnapdragonCamera: Popup menu doesn't support RTL mode"Linux Build Service Account2015-04-144-74/+181
|\ \ \ \
| * | | | SnapdragonCamera: Popup menu doesn't support RTL modelikaid2015-04-114-74/+181
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Coordinate direction is opposite in RTL mode. Modify Coordinate direction in RTL mode. Change-Id: I3fcd42fc27d430b486f9cccdde5ecec0d0468d30 CRs-Fixed: 819310
* / | | SnapdragonCamera: longshot memory check fixLikai Ding2015-04-131-18/+20
|/ / / | | | | | | | | | | | | | | | | | | | | | getCachedSize() has been changed recently resulting in an increased failure rate. Restore old behavior in longshot memory check. Also, remove some class members to save a little memory. Change-Id: Ib5c22201be04387ffecb4052a8bbc92b2e924deb
* | | Merge "SnapdragonCamera: Gallery2 Can't show the newest picture"Linux Build Service Account2015-04-101-0/+2
|\ \ \ | |/ / |/| |
| * | SnapdragonCamera: Gallery2 Can't show the newest picturelikaid2015-04-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Camera give Gallery2 the newest picture's index is wrong in RTL mode. Give Gallery2 the correct index. Change-Id: Ie0f3835f0a9ab46b408ffe0b4ea5dd60906267e0 CRs-Fixed: 816284
* | | Merge "SnapdragonCamera: Fix camera parameters concurrent modification."Linux Build Service Account2015-04-091-17/+30
|\ \ \
| * | | SnapdragonCamera: Fix camera parameters concurrent modification.Sai Kumar Sanagavarapu2015-04-081-17/+30
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Parameters if updated from different threads will lead to concurrent modification exception in frameworks. To avoid this, use synchronize block whereever the parameters are being updated. Change-Id: I51dd27e1b4836ddef910224331551806ff66b24d
* / / SnapdragonCamera: [Smartfren] The Storage position should be SD card.likaid2015-04-081-0/+25
|/ / | | | | | | | | | | | | | | | | | | | | | | The app doesn't not eanble this funtion for setting SD card as the default storage postion in Smartfren. Check persist.env.camera.saveinsd overlay flag at Smartfren mode, when sdCard is writeable, set sdCard as default storage for the first time. Change-Id: Ia71e5d97a78da121a8bccfcd0032928a17566023 CRs-Fixed: 815639
* | Merge "SnapdragonCamera: Stop panorama capture when move to opposite direction"Linux Build Service Account2015-04-022-0/+23
|\ \
| * | SnapdragonCamera: Stop panorama capture when move to opposite directionlikaid2015-03-212-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | In panorama capture mode, when user moved to the opposite from the original direction, stop the capture and save current picture. Change-Id: I716a08f2fc497301fb8a6c6a124211b855cd9a77 CRs-Fixed: 801022
* | | Merge "SnapdragonCamera: Update the storage space status after remount SDcard"Linux Build Service Account2015-04-021-0/+20
|\ \ \
| * | | SnapdragonCamera: Update the storage space status after remount SDcardlikaid2015-03-201-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add broadcast receiver to monitor SDcard status, update the storage space and hint when the SDcard was mounted or unmounted. Change-Id: I4b114d42d26091588d745fee874c04d595d5cfa1 CRs-Fixed: 790983
* | | | Merge "SnapdragonCamera: Fix capture picture not to store"Linux Build Service Account2015-04-021-1/+2
|\ \ \ \
| * | | | SnapdragonCamera: Fix capture picture not to storelikaid2015-03-241-1/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When enter gallery quickly after taking snap,the onPictureTaken in framework will not response which cause the picture can not be saved and make this bug happen. When judge the camera state is in the snap progress,not enter to gallery so that the picture can be saved. Change-Id: I79f74cdaf4c90ad71eb3f9b10a46027939fbffa7 CRs-Fixed: 811686
* | | | Merge "SnapdragonCamera: Avoid shutter button double clicked in short time"Linux Build Service Account2015-03-261-2/+8
|\ \ \ \
| * | | | SnapdragonCamera: Avoid shutter button double clicked in short timelikaid2015-03-231-2/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The camera shutter button may be double clicked very quickly during monkey test, which caused take_pic was dispatched twice. Add flag to avoid multi thread invoke in onShutterButtonClick. Change-Id: I7fb1f266f1c557327f0e5578f2c25e20092f0cf4 CRs-Fixed: 791045
* | | | Merge "SnapdragonCamera: The alert dialog's rotation is not right"Linux Build Service Account2015-03-261-15/+16
|\ \ \ \
| * | | | SnapdragonCamera: The alert dialog's rotation is not rightlikaid2015-03-111-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It will pop up a alert dialog if something goes wrong while generating mosaic. The alert dialog's rotation is not right, as a result, the alert dialog's UI will gose wrong. Use RotateLayout to set the rotation before we show the alert. Change-Id: Iaa91e811393a90c9f28f98404d782d2cc2ad9fe9 CRs-Fixed: 805471
* | | | | Merge "SnapdragonCamera: Fix setting icons display abnormal."Linux Build Service Account2015-03-261-2/+1
|\ \ \ \ \
| * | | | | SnapdragonCamera: Fix setting icons display abnormal.likaid2015-03-201-2/+1
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When switch to camera in landscape, the UI is not to set to landscape which make the setting icon display abnormal. When switch to camera in landscape, make the UI to reset the orientation. Change-Id: I7c49cf7ac2bebfc2debd5b6e90449931ca6d6d74 CRs-Fixed: 803557
* | | | | Merge "SnapdragonCamera: Move the files to the correct location"Linux Build Service Account2015-03-231-0/+476
|\ \ \ \ \
| * | | | | SnapdragonCamera: Move the files to the correct locationJay Wang2015-03-231-0/+476
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id2d94a3be141a068f8a5e8ba461901b07700b7cb
* | | | | | Merge "SnapdragonCamera: Add beautification feature to SnapdragonCamera."Linux Build Service Account2015-03-236-41/+423
|\| | | | |
| * | | | | SnapdragonCamera: Add beautification feature to SnapdragonCamera.Zhang Zhenzhen2015-03-236-41/+423
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie585527fc0b8679359753b3ff6245add3d1e5530
* | | | | | Merge "SnapdragonCamera: fix camera preview broken when resume from gallery"Linux Build Service Account2015-03-231-6/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | SnapdragonCamera: fix camera preview broken when resume from gallerylikaid2015-03-021-6/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The postion of preview view wasn't centered after rotated device with camera in background. Adjust the view position when camera draws preview layout each time. Change-Id: I488c25cda23f101cf1f1a10c54ca3d537474e53c CRs-Fixed: 795482
* | | | | SnapdragonCamera: Handle CAMERA_ERROR_SERVER_DIED message gracefully.Sai Kumar Sanagavarapu2015-03-204-3/+13
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle CAMERA_ERROR_SERVER_DIED message from lower layers by finishing the activity and there by closing camera session and app gracefully. In all other error cases, raise exception and kill app as exists already. Change-Id: I86c4caf174356148bd4725329ea13ec82e944b94
* | | | Merge "SnapdragonCamera: Fix app FC when time lapse and HFR is set to ON"Linux Build Service Account2015-03-202-5/+31
|\ \ \ \ | |_|/ / |/| | |
| * | | SnapdragonCamera: Fix app FC when time lapse and HFR is set to ONlikaid2015-03-112-5/+31
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After HFR and time lapse both are on, the ListMenu is initialize again and mListMenu is set null which lead to NullPointerException happened. Don't initialize listmenu when it's showing, move toast to VideoMenu reference similar code in PhotoModule. Change-Id: I9eaa308cc1b5eccb7bc86a3da6ae99f09b280be9 CRs-Fixed: 796135
* | | Merge "SnapdragonCamera: Set Flash to be the first menu in settings"Linux Build Service Account2015-03-192-5/+5
|\ \ \
| * | | SnapdragonCamera: Set Flash to be the first menu in settingsByunghun Jeon2015-03-172-5/+5
| | | | | | | | | | | | | | | | Change-Id: Ia451a2fff983f3bfc850f066d7346d90d0a91dab
* | | | Merge "Snapdragon: Add HDR to scene mode menu"Linux Build Service Account2015-03-191-14/+29
|\ \ \ \
| * | | | Snapdragon: Add HDR to scene mode menuByunghun Jeon2015-03-171-14/+29
| |/ / / | | | | | | | | | | | | | | | | | | | | Add HDR as a scene mode to scene mode menu Change-Id: I0d6d9c87d09e72dd24f6d1a2e26fab91f7cb700e
* | | | Merge "SnapdragonCamera: Fix preview window race condition."Linux Build Service Account2015-03-181-13/+16
|\ \ \ \