summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* SnapdragonCamera: Set highest supported video resolution by default.Sai Kumar Sanagavarapu2015-02-272-17/+6
| | | | | | | Instead of defaulting to CIF, set the highest supported video resolution as the default video profile. Change-Id: I6cb1eab905d193cbc03f528d0fbc81f5af49ab89
* Merge "Snapdragon: Fix orientation of Prepare panorama dialog"Linux Build Service Account2015-02-261-7/+7
|\
| * Snapdragon: Fix orientation of Prepare panorama dialogByunghun Jeon2015-02-251-7/+7
| | | | | | | | | | | | | | Put Prepare panorama dialog to proper orientation instead of fixed to portrait Change-Id: I0f3bc9bcd5a5e30566c37b1e7beac9df73af7e61
* | Merge "SnapdragonCamera: Allow edit in Gallery2 if launched from Snapcam"Linux Build Service Account2015-02-251-0/+5
|\ \
| * | SnapdragonCamera: Allow edit in Gallery2 if launched from SnapcamByunghun Jeon2015-02-241-0/+5
| | | | | | | | | | | | Change-Id: I67afa657adfc137a70f0c5d8d831bc2b0cbdaaeb
* | | Merge "SnapdragonCamera: don't hide count down title"Linux Build Service Account2015-02-251-4/+17
|\ \ \ | |_|/ |/| |
| * | SnapdragonCamera: don't hide count down titleLikai Ding2015-02-171-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | Don't hide count down title, instead, rotate and offset it to correct position. Change-Id: I31aca121bc7f8b5e672b6457e049c186ac1179d3 (cherry picked from commit 7023e606647cb5c2b60582a3755309565748f1fd)
* | | Merge 9ea5b17335b70c4357d0838edddb55c1a0f13db8 on remote branchLinux Build Service Account2015-02-241-0/+4
|\ \ \ | |_|/ |/| | | | | Change-Id: Ic9b6983cf7b5111fe97188464b5ed31bfa7f2574
| * | Merge "SnapdragonCamera: fix panorma capture direction issue"Linux Build Service Account2015-02-231-0/+4
| |\ \
| | * | SnapdragonCamera: fix panorma capture direction issuelikaid2015-02-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the orientation is 90 or 180, the indicator direction is opposite to the moving direction. Correct the direction when orientation is 90 or 180. Change-Id: If2cda1da6db2e6ae219cb57567801fed0b4ca012 CRs-Fixed: 792977
| * | | Snapdragon: Fix photo/video preview to match with captured photo/videoByunghun Jeon2015-02-203-63/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Photo and video preview and the captured results are different for some resolutions. Fix them to match the result. Change-Id: Ie5fb1954448fa54ffb968f2882e74bfd98c97548 CRs-Fixed: 791082
| * | | Merge "SnapdragonCamera: Fix play the video directly when goto gallery"bait_dispatcher_monitor_system2015-02-191-2/+14
| |\ \ \
| | * | | SnapdragonCamera: Fix play the video directly when goto gallerylikaid2015-02-121-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When clicked the preview thumbnail of a video, Camera launched Gallery with the action Intent.ACTION_VIEW, it caused Gallery play the video directly after Gallery started. Set the action Intent.ACTION_MAIN when launched Gallery. Change-Id: I74c9fc7b66a8ddb5fd06ceba5a0bd370e97b1154 CRs-Fixed: 794309
| * | | | Merge "SnapdragonCamera: circular thumbnail icon"bait_dispatcher_monitor_system2015-02-198-126/+197
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | SnapdragonCamera: circular thumbnail iconLikai Ding2015-02-108-126/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. change thumbnail icon to circular and its background to transparent 2. speed up loading with optimal sample size and region decoder 3. fix orientation bug regarding panorama photos 4. don't fire load task on fake onDataLoaded() call Change-Id: I7f4eb8dad4c54a01a7ccd98907e06952e470840b
| * | | | Merge "SnapdragonCamera: Wake up screen when invoke camera by gesture"Linux Build Service Account2015-02-121-19/+31
| |\ \ \ \
| | * | | | SnapdragonCamera: Wake up screen when invoke camera by gesturelikaid2015-02-101-19/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The screen didn't wake up when invoked camera by gesture on dark screen, which caused the camera view couldn't be shown successfully. Acquire a wake lock at the beginning of onCreate, to make sure the screen could be lighten up, release the lock in onDestroy. Change-Id: I081c1e8a02d9eee18e6f33b2e6535a777feb1348 CRs-Fixed: 788479
* | | | | | SnapdragonCamera: Set longshot enable after AF done.Sai Kumar Sanagavarapu2015-02-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable longshot to backend only after AF done. This will help in storing 3A related params after AF result based on longshot enable/disable event. Change-Id: Iebdb9b324e758125704959d9a67ba0d0a6772e7a
* | | | | | Snapdragon: Fix photo/video preview to match with captured photo/videoByunghun Jeon2015-02-203-63/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Photo and video preview and the captured results are different for some resolutions. Fix them to match the result. Change-Id: Ie5fb1954448fa54ffb968f2882e74bfd98c97548 CRs-Fixed: 791082
* | | | | | Merge "SnapdragonCamera: Fix play the video directly when goto gallery"bait_dispatcher_monitor_system2015-02-191-2/+14
|\ \ \ \ \ \
| * | | | | | SnapdragonCamera: Fix play the video directly when goto gallerylikaid2015-02-171-2/+14
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When clicked the preview thumbnail of a video, Camera launched Gallery with the action Intent.ACTION_VIEW, it caused Gallery play the video directly after Gallery started. Set the action Intent.ACTION_MAIN when launched Gallery. Change-Id: I74c9fc7b66a8ddb5fd06ceba5a0bd370e97b1154 CRs-Fixed: 794309 (cherry picked from commit 4c0d475c7d3be21487a34491a0072918dbbac230)
* / | | | | SnapdragonCamera: circular thumbnail iconLikai Ding2015-02-178-126/+197
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. change thumbnail icon to circular and its background to transparent 2. speed up loading with optimal sample size and region decoder 3. fix orientation bug regarding panorama photos 4. don't fire load task on fake onDataLoaded() call Change-Id: I7f4eb8dad4c54a01a7ccd98907e06952e470840b (cherry picked from commit ac714ea974b4bd0ef99403def5aa7d8a3deecc5d)
* | | | | SnapdragonCamera: Disable LPM if DIS/Flip are enabled.Sai Kumar Sanagavarapu2015-02-131-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Low power mode has to be disabled if DIS or Flip are enabled, because we need pproc to process these. Change-Id: I00cc015f23f8e16d3acadc995ad2f6839c2d8333
* | | | | SnapdragonCamera: Wake up screen when invoke camera by gesturelikaid2015-02-131-19/+31
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The screen didn't wake up when invoked camera by gesture on dark screen, which caused the camera view couldn't be shown successfully. Acquire a wake lock at the beginning of onCreate, to make sure the screen could be lighten up, release the lock in onDestroy. Change-Id: I081c1e8a02d9eee18e6f33b2e6535a777feb1348 CRs-Fixed: 788479
* | | | Merge "SnapdragonCamera: set histogram orientation"Linux Build Service Account2015-02-111-0/+3
|\ \ \ \ | |_|_|/ |/| | |
| * | | SnapdragonCamera: set histogram orientationLikai Ding2015-02-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Set histogram rotation during orientation change. Change-Id: I6f9a6fb9a1761fc3a7f926f16794f8db8b61c78c
* | | | Merge "SnapdragonCamera: Add FullScreen Preview when in Panoramic shoot"Linux Build Service Account2015-02-108-40/+113
|\ \ \ \
| * | | | SnapdragonCamera: Add FullScreen Preview when in Panoramic shootJay Wang2015-02-098-40/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed the Panoramic preview to full screen Resized the warped preview image to smaller Size and render on top of the full screen preview image Warped preview image can be turned on/off Change-Id: I859839542ce94c5f70d7fe7983e93b5e9534b415
* | | | | Merge "SnapdragonCamera: Cover the preview until the preview really starts"Linux Build Service Account2015-02-102-4/+8
|\ \ \ \ \
| * | | | | SnapdragonCamera: Cover the preview until the preview really startslikaid2015-02-052-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the surface was ready, the preview data may not come yet, that caused the desktop ui flashed in the camera when relaunching camera. Delay the occasion of dismissing preview cover until onPreviewStarted. Change-Id: I80b751bd19889683d784b94827b668efa817ff02 CRs-Fixed: 789076
* | | | | | Merge "SnapdragonCamera: Subtract 50M when calculate the remaining photos"Linux Build Service Account2015-02-101-1/+2
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | SnapdragonCamera: Subtract 50M when calculate the remaining photoslikaid2015-02-091-1/+2
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Camera couldn't take a snapshot when the available storage space is less than 50M. When calculate remaining photos, didn't subtract low storage threshold bytes. Subtract low storage threshold bytes when calculate the remaining photos. Change-Id: I774442e97ef8847a731167f7ef00454642632902 CRs-Fixed: 779420
* | | | | Merge "SnapdragonCamera: Fix null pointer exception during monkey test"Linux Build Service Account2015-02-093-6/+14
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | SnapdragonCamera: Fix null pointer exception during monkey testlikaid2015-02-093-6/+14
| |/ / / | | | | | | | | | | | | | | | | | | | | CRs-Fixed: 788421 788422 788437 788445 Change-Id: Ie77a53a73182b6642ce2e9f7de7c4c127e192f51
* | | | Merge "SnapdragonCamera: fix preview not shown bug"Linux Build Service Account2015-02-091-0/+2
|\ \ \ \
| * | | | SnapdragonCamera: fix preview not shown bugLikai Ding2015-02-061-0/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | resizeForPreviewAspectRatio() might be called before SurfaceView's layout process, which causes SurfaceView being set to 0 width and height. Add check before adjusting SurfaceView's dimensions. Change-Id: I66bf6dfcef74253429b2c6cd1a80031d8e30f95d
* | | | Merge "SnapdragonCamera: Fix NPE in SnapdragonCamera during monkey test"Linux Build Service Account2015-02-091-0/+4
|\ \ \ \
| * | | | SnapdragonCamera: Fix NPE in SnapdragonCamera during monkey testkaiyiz2015-01-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mineType will be null if get it from an invalid uri, this may happen when delete a video very quickly after taken it and back to Camera, the video data has already gone before notifyNewMeida called. Add null pointer check before use mimeType to avoid the NPE. Change-Id: I6021faf2d4016e258153f0a75419f01fdfd7ed6c CRs-Fixed: 784389
* | | | | Merge "SnapdragonCamera: Disable filter mode when HDR is on"Linux Build Service Account2015-02-091-15/+13
|\ \ \ \ \
| * | | | | SnapdragonCamera: Disable filter mode when HDR is onkaiyiz2015-01-231-15/+13
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When HDR was on, filter mode was invalid,it has no effect on preview, besides, scene mode had been changed to auto, but the scene icon didn't change. When HDR is ON, disable filter mode, and change scene mode icon to auto. Change-Id: I1e43021f0441b13549b6511a18252679299beec8 CRs-Fixed: 782599
* | | | | Merge "SnapdragonCamera: Do not show the filter button if not support"Linux Build Service Account2015-02-091-1/+5
|\ \ \ \ \
| * | | | | SnapdragonCamera: Do not show the filter button if not supportlikaid2015-02-051-1/+5
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The filter mode switcher button was always shown after video recording stopped. Check device capability from preference, if the device doesn't support filter mode, do not show the button. Change-Id: I0e3297437e4c22ba9c8ec8b36e0de60d673ce7b1 CRs-Fixed: 790252
* | | | | Merge "Camera2: Change into full screen mode when return to camera preview"Linux Build Service Account2015-02-091-0/+1
|\ \ \ \ \
| * | | | | Camera2: Change into full screen mode when return to camera previewlikaid2015-02-051-0/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The screen size didn't change when return from FilmStripView to camera preview, that caused the camera preview was in mini screen. Go to full screen when the current view is camera preview. Change-Id: Ib7153335670ad8596222e3b340861508767c1fb2 CRs-Fixed: 790334
* | | | | Merge "SnapdragonCamera: Update the remaining number after change save path"Linux Build Service Account2015-02-091-0/+1
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | SnapdragonCamera: Update the remaining number after change save pathkaiyiz2015-02-051-0/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The remaining photo number wasn't update after change the save path from SD card to phone storage, that caused the left number not matched current setting. Update it in onSharedPreferenceChanged, make it matched with the current save path setting. Change-Id: I544c5baca8a30f8c7dbd8d71962300ae320e9de5 CRs-Fixed: 786966
* | | | Merge "SnapdragonCamera: Improve app stop latency"Linux Build Service Account2015-02-062-2/+8
|\ \ \ \ | |_|_|/ |/| | |
| * | | SnapdragonCamera: Improve app stop latencyShalaj Jain2014-12-092-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable shutter button before starting/stopping recording on a shutter button click and enable it after without any delay. Add logs to know when shutter button is disabled/enabled. Change-Id: Ibca1e964d2e2fc1c1bd47c104f87289eb2a507bf
* | | | SnapdragonCamera: Revert copyright year change.Sai Kumar Sanagavarapu2015-02-051-1/+1
| |/ / |/| | | | | | | | | | | | | | Dont change copyright year of photomodule. Change-Id: I6b07b652d8caaa7df6931af0cab9b62d0ab41760
* | | Merge "SnapdragonCamera: fix portrait orientation"Linux Build Service Account2015-02-0421-299/+574
|\ \ \