summaryrefslogtreecommitdiffstats
path: root/src/com
Commit message (Collapse)AuthorAgeFilesLines
* Merge "SnapdragonCamera: request audio focus before starting video ↵Linux Build Service Account2016-05-031-7/+11
|\ | | | | | | recording" into camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: request audio focus before starting video recordingJay Wang2016-04-221-7/+11
| | | | | | | | | | | | | | | | Use audio focus API to stop other music streams when starting video recording. Change-Id: I0097d0c2bd7157bc1936b9120bbe7c917b9707ee CRs-Fixed: 1005855
* | Merge "SnapdragonCamera: Replace SurfaceView with AutoFitSurfaceView" into ↵Linux Build Service Account2016-05-031-7/+7
|\ \ | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Replace SurfaceView with AutoFitSurfaceViewByunghun Jeon2016-04-121-7/+7
| | | | | | | | | | | | | | | | | | | | | Replace SurfaceView with AutoFitSurfaceView Change-Id: Id4bf27e3b16f12ff4cfdce47224ff871b3981838 CRs-Fixed: 989750
* | | Merge "SnapdragonCamera: Add logic to calculate preview surface ratio" into ↵Linux Build Service Account2016-05-031-0/+76
|\| | | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Add logic to calculate preview surface ratioJay Wang2016-04-061-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new file is copied from the commit : 51c65e100d6221c8e19d1345e40db2e7d1c5a190 src/com/android/camera/ui/AutoFitSurfaceView.java copied from media/Camera2Basic/Application/src/main/java/com/example/android/ camera2basic/AutoFitTextureView.java CRs-Fixed: 989750 Change-Id: I29a6fd2219991bda9aaa64f174a61b0aa5b71e87
* | | SnapdragonCamera: Temp fix to make both M and N compileLida Wang2016-04-302-2/+2
| | | | | | | | | | | | | | | | | | Temp fix to make app compile on both Android M and N CRs-fixed: 1007835 Change-Id: Ia3abac6d157b8e52d0998733e0a2dfbe194e0e94
* | | Merge "SnapdragonCamera: Add support for ClearSight capture" into ↵Linux Build Service Account2016-04-295-100/+1200
|\ \ \ | | | | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | | SnapdragonCamera: Add support for ClearSight captureCullum Baldwin2016-04-125-100/+1200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support to capture ClearSight images. CRs-Fixed: 993611 Change-Id: Ifaeafa53ee5d095fe322e48f968cdeec03c64077
* | | | Merge "SnapdragonCamera: Add support for outputting MPO format files" into ↵Linux Build Service Account2016-04-299-12/+1210
|\| | | | | | | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | | SnapdragonCamera: Add support for outputting MPO format filesJay Wang2016-04-129-12/+1210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for generating MPO formatted files from the application layer. CRs-Fixed: 993611 Change-Id: I9a78d33e1d80b7da748f9bc75446f49172342078
* | | | Merge "SnapdragonCamera: Removing unnecessary orientation check" into ↵Linux Build Service Account2016-04-261-15/+0
|\ \ \ \ | | | | | | | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | | | SnapdragonCamera: Removing unnecessary orientation checkJack Yoo2016-04-181-15/+0
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing unnecessary code of checking the orientation. Swapping width and height causes redundant shrinking resulting to the wrong size calculation. Change-Id: I64badc2bd3198e409fe5673198e864d5025364e9 CRs-Fixed: 979254
* | | | Merge "SnapdragonCamera: Fix viewfinder flashing issue in camcorder mode" ↵Linux Build Service Account2016-04-261-2/+0
|\ \ \ \ | | | | | | | | | | | | | | | into camera.lnx.1.0-dev.1.0
| * | | | SnapdragonCamera: Fix viewfinder flashing issue in camcorder modeJay Wang2016-04-151-2/+0
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The preview cover is removed before the preview frame is generated and causes the homescreen shows up for a short duration. To resolve the issue, show the preview cover by default until the first preview frame is generated by camera framework. Change-Id: I1e193b64689b8b51eaa0e3891974405536869efd CRs-Fixed: 1003977
* | | | Merge "SnapdragonCamera: Changes to enable TNR processing by default." into ↵Linux Build Service Account2016-04-261-2/+1
|\ \ \ \ | |_|/ / |/| | | | | | | camera.lnx.1.0-dev.1.0
| * | | SnapdragonCamera: Changes to enable TNR processing by default.Guruprasad Gaonkar2016-04-141-2/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | TNR was disabled by default from UI. Change configures TNR for camera stream to improve image quality. CDS is disabled as TNR is enabled by default from now. Change-Id: I7c1bf9533c52b8642fb15f79625cec57cc85b6cf Crs-fixed: 890243
* | | Merge "SnapdragonCamera: Fix the issue that IS is not disabled" into ↵Linux Build Service Account2016-04-171-1/+2
|\ \ \ | | | | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | | SnapdragonCamera: Fix the issue that IS is not disabledJay Wang2016-04-071-1/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | IS needs to be disabled when 4K video is captured. However, 4K video checking logic doesn't include the time lapse 4K profile and reports the incorrect state. This causes the video module fails to disable the IS. Change-Id: I15bfb2e9e6022e367a68819a436e3296d085d33b CRs-Fixed: 997368
* | | Merge "SnapdragonCamera: Fix auto HDR indication issue" into ↵Linux Build Service Account2016-04-171-18/+21
|\ \ \ | | | | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | | SnapdragonCamera: Fix auto HDR indication issueJay Wang2016-04-071-18/+21
| |/ / | | | | | | | | | | | | | | | | | | | | | 1. Fix the logic on validating the auto HDR detection. 2. Move teh HDR indicator to more visible area CRs-Fixed: 999660 Change-Id: I797f69edc847b94f60c637373b80278783c3dac8
* | | Merge "SnapdragonCamera: Adjusting view initialization" into ↵Linux Build Service Account2016-04-175-35/+40
|\ \ \ | | | | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | | SnapdragonCamera: Adjusting view initializationJack Yoo2016-04-065-35/+40
| |/ / | | | | | | | | | | | | | | | | | | | | | Instead of removing and adding the entire root view, changing only core surface view on module change. Change-Id: I5c39cf23b2a58280f4e4e8484865bbed0b12e1cf CRs-Fixed: 979254
* | | Merge "SnapdragonCamera: fix instant capture setting issue" into ↵Linux Build Service Account2016-04-171-6/+6
|\ \ \ | | | | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | | SnapdragonCamera: fix instant capture setting issueJay Wang2016-03-301-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The instant capture flag is set in a delayed runnable and causes a race condition that the flag is not set before camera thread configures the camera parameters. To resolve the issue, sets the instant capture flag in the main thread. Change-Id: Ic44a5df4d10fb2c641835e94cd4ec6790c759b36 CRs-Fixed: 994361
* | | | Merge "SnapdragonCamera: handle IllegalArgumentException while saving video" ↵Linux Build Service Account2016-04-171-3/+4
|\ \ \ \ | | | | | | | | | | | | | | | into camera.lnx.1.0-dev.1.0
| * | | | SnapdragonCamera: handle IllegalArgumentException while saving videoJay Wang2016-04-121-3/+4
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handles the IllegalArgumentException caused by setDataSource() while saving video. This exception indicates that the file path is invalid. CRs-Fixed: 993646 Change-Id: I0cbd496793246bfbbeac556203c0d43f122b4942
* | | | Merge changes I2139274e,I1d18d936 into camera.lnx.1.0-dev.1.0Linux Build Service Account2016-04-174-14/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | * changes: SnapdragonCamera: Fix occasional touch AF/AEC detection failure. SnapdragonCamera: Hide remaining photo counter
| * | | | SnapdragonCamera: Fix occasional touch AF/AEC detection failure.Jay Wang2016-04-013-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Fix the issue that during pause/resume, the preview region was not set properly and focus manager ignore bottom part of preview region. 2. On device with sensitive touch screen, single tap can be detected as scroll gesture. Make change to consider scroll gesture as single tap gesture if it is not the left swipe gesture. Change-Id: I2139274e60799eac866b8bb70ea66144548b5845 CRs-Fixed: 997843
| * | | | SnapdragonCamera: Hide remaining photo counterJay Wang2016-04-012-4/+12
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the application that issues image capturing intent can specify own photo storage location, it doesn't make sense for SnapdragonCamera application showing the remaining photo counter based on its storage location. Therefore, make change to hide remaining photo counter when photo capturing requests is from an intent. Change-Id: I1d18d9365db8d4dc0060bc09b32e45a9370706b4 CRs-Fixed: 994963
* | | | Merge "SnapdragonCamera: Make switcher visible only when it was" into ↵Linux Build Service Account2016-04-171-1/+13
|\ \ \ \ | |_|/ / |/| | | | | | | camera.lnx.1.0-dev.1.0
| * | | SnapdragonCamera: Make switcher visible only when it wasJack Yoo2016-03-311-1/+13
| | |/ | |/| | | | | | | | | | | | | | | | | | | Make switcher button be visible only when it was set to be visible in first place. Change-Id: Id0df702b990bbada02ac25eb6981c6bd5e4082b0 CRs-Fixed: 995902
* | | SnapdragonCamera: hide the preview surface during suspendJay Wang2016-04-112-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Occasionally, the previous preview frame is presented and caused the screen flashing, when continuously triggering suspend/resume. To resolve the issue, hide the preview surface during suspend and make it visible during resume. This helps to clear the remaining preview frames in the buffer. CRs-Fixed: 991416 Change-Id: I96fff0fdae6bd14263f33b1a9032604596cf49c1
* | | SnapdragonCamera: Camera2 link bayer monoByunghun Jeon2016-03-301-0/+53
| | | | | | | | | | | | | | | | | | | | | Link bayer and mono in Camera2 dual mode CRs-Fixed: 989750 Change-Id: I16684f31d75296d4e4daa5b892e9bca06c03b5be
* | | SnapdragonCamera: Camera2 add touch to focusByunghun Jeon2016-03-304-7/+232
| | | | | | | | | | | | | | | | | | | | | Add touch to focus to Camera2 CRs-Fixed: 989750 Change-Id: I5c7c85dcc12eefb11e5f1b5e6a823a327b2647e4
* | | SnapdragonCamera: Camera2 add zoom supportByunghun Jeon2016-03-308-28/+150
| | | | | | | | | | | | | | | | | | | | | Add zoom support to Camera2 CRs-Fixed: 989750 Change-Id: Id6b558ff5215f04ca7c201b1d1807521d615c353
* | | SnapdragonCamera: Camera2 add flash, jpeg quality, white balanceByunghun Jeon2016-03-303-123/+391
| | | | | | | | | | | | | | | | | | | | | Add flash, jpeg quality, and white balance setting menus to Camera2 CRs-Fixed: 989750 Change-Id: I288e1d4378c5e9f471b2b48a6c11ef434a9bac47
* | | SnapdragonCamera: Camera2 add dual cameraByunghun Jeon2016-03-305-97/+258
| |/ |/| | | | | | | | | | | Add Camera2 dual camera support to SnapdragonCamera CRs-Fixed: 989750 Change-Id: I45a749ad03a531286a39cbfcfdcb65e5cad4759e
* | SnapdragonCamera: Add Camera2 modeByunghun Jeon2016-03-3010-6426/+901
| | | | | | | | | | | | | | Use camera2 API to show preview and take snapshot CRs-Fixed: 989750 Change-Id: I07e2d6743529b3d3d5acecf667e9493465a094c9
* | SnapdragonCamera: create base files for camera2 APIJay Wang2016-03-303-0/+7879
|/ | | | | | | | | | | | | | | | All the new files are copied from the commit : f3448373ef3c92b492ac65a9b4008d45a51f88ee res/layout/capture_module.xml copied from res/layout/photo_module.xml src/com/android/camera/CaptureMenu.java copied from src/com/android/camera/PhotoMenu.java src/com/android/camera/CaptureModule.java copied from src/com/android/camera/PhotoModule.java src/com/android/camera/CaptureUI.java copied from src/com/android/camera/PhotoUI.java CRs-Fixed: 989750 Change-Id: I4a97975ed5847d9025f9ff8e8fcbcbeaedd49e16
* SnapdragonCamera: Put off filter mode to none on scene modeJack Yoo2016-03-291-0/+1
| | | | | | | When scene mode is selected, turning off filter mode icon Change-Id: Ic31fb98ccf6b66a80e573f3bd6b1329ee86340ab CRs-Fixed: 991225
* SnapdragonCamera: Remove accessing to dialog stringsJay Wang2016-03-293-13/+11
| | | | | | | | | | Accessing to translatable strings can lead to unexpected behavior when non-English is selected as system language. Making change to remove any accessing to translatable strings. Change-Id: I687abdff984bf0e5680c34861fac8c1271b88ead CRs-Fixed: 993382
* Merge "SnapdragonCamera: Resolve camera control overlapping issue" into ↵Linux Build Service Account2016-03-291-0/+4
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Resolve camera control overlapping issueJay Wang2016-03-281-0/+4
| | | | | | | | | | | | | | | | | | | | Clicking beautification icon right after clicking camera switching icon can cause overlapping of camera controls and beautification controls. To resolve issue, hide the UI controls during camera switching. Change-Id: I5c4b96ce10c0d44e8c63c41207a4ec3d09312b51 CRs-Fixed: 977967
* | SnapdragonCamera: Turn on face detection for beautificationJack Yoo2016-03-281-0/+10
|/ | | | | | | Keep turning on face detection while beautification is on. Change-Id: I6039b6fecf8cc8d11dea925eff18af6ddc9a0da7 CRs-Fixed: 986633
* Merge "SnapdragonCamera: Hiding optizoom and ubifocus on lowmemory device" ↵Linux Build Service Account2016-03-222-5/+18
|\ | | | | | | into camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Hiding optizoom and ubifocus on lowmemory deviceJack Yoo2016-03-222-5/+18
| | | | | | | | | | | | | | Hiding optizoom and ubifocus scene mode menu on low memory device Change-Id: Ieb11f780e18479caca7ca788ca32fa949bd1a212 CRs-Fixed: 986681
* | Merge "SnapdragonCamera: Fix shutter sound issue" into camera.lnx.1.0-dev.1.0Linux Build Service Account2016-03-221-0/+1
|\|
| * SnapdragonCamera: Fix shutter sound issueJay Wang2016-03-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | There is an issue that shutter sound is disabled when taking continuous shot, right after starting the application. This is due to a missing “break” keyword in SET_ONESHOT_PREVIEW_CALLBACK case statement and causes program to continue to the next case statement which disables the shutter sound. Change-Id: I00fda74a362191591a9cdaa266271a96bba7f66d CRs-Fixed: 989918
* | Merge "SnapdragonCamera: Turn off LONGSHOT on ubifocus scene mode" into ↵Linux Build Service Account2016-03-221-1/+3
|\| | | | | | | camera.lnx.1.0-dev.1.0