summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge "SnapdragonCamera: Fix the 4K video relative toast issue"Linux Build Service Account2015-09-091-2/+16
|\ \ \ \ \
| * | | | | SnapdragonCamera: Fix the 4K video relative toast issuelikaid2015-09-011-2/+16
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The toast "Enable 4k video quality will disable IS" was shown every time when update the camera parameters, that made user confused. Move the toast to onSharedPreferenceChanged, show it only when set video quality as 4K and IS is ON. CRs-Fixed: 886568 Change-Id: I3246feada6eaf2097278e04b835ad1bc7ff811b8
* | | | | Merge "SnapdragonCamera: Reduce the latency for panorama preview starting"Linux Build Service Account2015-09-091-6/+8
|\ \ \ \ \
| * | | | | SnapdragonCamera: Reduce the latency for panorama preview startinglikaid2015-09-081-6/+8
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In panorama mode preview, the stopPreview and startPreview were called three times after onResume from lockscreen, that caused the preview showing delay. Reduce the unnecessary stopPreview to improve the preview performance. CRs-Fixed: 876035 Change-Id: Ice5b0c305edb773867fd4803c190c98f5518ecb2
* / | | | SnapdragonCamera: Hide camera controllers when review captured imagelikaid2015-09-082-0/+26
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The camera settings options including scene mode, color effect, switcher for back/front camera, and the beautification make-up should only be shown on camera preview, since they are not used for editing pictures. Hide these camera setting options to avoid making user confused. Change-Id: I26599c4d97043069eee9c1a069325735ba625a94 CRs-Fixed: 895938
* | | | Merge "SnapdragonCamera: Limit preview size by capping display dimensions."Linux Build Service Account2015-09-021-0/+33
|\ \ \ \ | |/ / / |/| | |
| * | | SnapdragonCamera: Limit preview size by capping display dimensions.Sai Kumar Sanagavarapu2015-08-141-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By capping the display panel dimensions, effectively limit the preview size configured to backend. This will help in optimizing power and bandwidth. Properties to be configured : camera.display.umax -> set it to the upper max of display panel size camera.display.lmax -> set it to the lower max of display panel size For example if the properties are set as below : adb shell setprop camera.display.umax 1920x1080 adb shell setprop camera.display.lmax 1280x720 Then, in devices having display panel size >1080p, panel size will be seen as 1080p. If its 1080p or lesser (but >=720p), limit it to next allowed max which is 720p. For < 720p, there is no need to do any capping. By capping the panel size, we are indirectly controlling the preview size being chosen in getOptimalPreviewSize(). Change-Id: Ia9963467dbda7fb47d96a96a345f26a5e38a95a1
* | | | Merge "SnapdragonCamera: Allow touch to focus when using opti-zoom"Linux Build Service Account2015-09-011-1/+4
|\ \ \ \
| * | | | SnapdragonCamera: Allow touch to focus when using opti-zoomByunghun Jeon2015-09-011-1/+4
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Allow touch to focus when using opti-zoom Change-Id: Id8f40a395626eea3973e6b728f1fa581acf64633 CRs-Fixed: 900256
* / | | SnapdragonCamera: Close setting/scene mode when setting is selectedByunghun Jeon2015-08-282-7/+3
|/ / / | | | | | | | | | | | | | | | | | | Close setting/scene mode when setting is selected Change-Id: I584b7eaea25774ec4906a40ddae2eda89646893e CRs-Fixed: 898871
* | / SnapdragonCamera: add button borderLikai Ding2015-08-211-1/+7
| |/ |/| | | | | | | | | | | Add border for "All in Focus" button. Also some tweaks to meet UI spec. Change-Id: I56c458a420e503321cc9a3255a7dd4ae0a6d4637
* | SnapdragonCamera: fix app freeze with HDR and Macro+Likai Ding2015-08-191-18/+16
| | | | | | | | | | | | | | | | | | When scenemode is set to HDR and then Macro+, HDR is not turned off. This will cause media server crash and app freeze. Turn off HDR when Macro+ or Optizoom is enabled. Change-Id: I51d7df55bb2c0dffd94d1ddadababaad62e3fe27 CRs-Fixed: 879081
* | Merge "SnapdragonCamera: Fixing NullPointerException in onCreate of VideoModule"Linux Build Service Account2015-08-172-1/+4
|\ \
| * | SnapdragonCamera: Fixing NullPointerException in onCreate of VideoModuleSanjeev Garg2015-08-132-1/+4
| |/ | | | | | | | | | | | | | | | | | | As per new open camera optimization, setContentView is called after init. But VideoModule has a dependency in initialization on setContentView as if setContentView is not called before using mFilmStripView then its value is null. To avoid this changed the location of using mFilmStripView from initialization to onResume. Change-Id: I6f0116fa82554b11b06d733b3952e6596daa50d3
* | Merge "SnapdragonCamera: Hide the top menu items on captured preview"Linux Build Service Account2015-08-173-1/+19
|\ \
| * | SnapdragonCamera: Hide the top menu items on captured previewlikaid2015-08-043-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The menu items will make user confused if show them on the captured preview view. Hide them in that scene, show them again after restart camera preview. CRs-Fixed: 851505 Change-Id: I16df39645209621058a644e2da17e22010a7f451
* | | SnapdragonCamera: fix screen flash on resumingLikai Ding2015-08-141-1/+7
| |/ |/| | | | | | | | | | | | | | | Currently preview cover will be hidden shortly after preview started, but if the actual first frame comes late, the main screen will flash. Register a oneshot preview callback to hide preview cover. Change-Id: I81fabf2d97c32fc2112cf4fceef4edd0872439e2 CRs-Fixed: 889021
* | Revert "SnapdragonCamera: Improved panorama"Byunghun Jeon2015-08-127-577/+1389
| | | | | | | | | | | | This reverts commit "SnapdragonCamera: Improved panorama" Change-Id: I7aef9427c218d06b78cbc097dd32a1629b5ab9d1
* | SnapdragonCamera: Fix submenu icon not display in RTLlikaid2015-08-121-2/+2
| | | | | | | | | | | | | | | | Layout of submenu is not corret in RTL. Change linear layout to relative layout for this case. CRs-Fixed: 885928 Change-Id: Iaa7644cc4ccbf436cbd148a485abab2b9155ba5d
* | Merge "SnapdragonCamera: Improvement in open camera latency"Linux Build Service Account2015-08-111-34/+36
|\ \
| * | SnapdragonCamera: Improvement in open camera latencySanjeev Garg2015-08-061-34/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | setContentView(R.layout.camera_filmstrip) call in the app takes ~40 msec before actual openCamera call is made. This is adding to the total APP camera open latency. So Opening camera in parallel to the call to setContentView(R.layout.camera_filmstrip) to save this time. Change-Id: I8e3797e65d17021853e0e04873178a372f12f195
* | | Merge "SnapDragon: Changes to create UI object before openCamera."Linux Build Service Account2015-08-101-1/+1
|\ \ \
| * | | SnapDragon: Changes to create UI object before openCamera.Guruprasad Gaonkar2015-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenCamera is excecuted on a thread. This thread will access UI object which was not initialized. Change-Id: I1cb15036e0b54a38a1d9750856b1eef5aa9dda43
* | | | Merge "SnapdragonCamera: Set navigation bar according to flag"Linux Build Service Account2015-08-103-12/+18
|\ \ \ \
| * | | | SnapdragonCamera: Set navigation bar according to flagByunghun Jeon2015-08-073-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set navigation bar according to flag and set it to show by default Change-Id: I5ddb9d5f8150d7fd1d182bacb25cd02651a2db5b
* | | | | Merge "SnapdragonCamera: fix screen flash on resuming"Linux Build Service Account2015-08-083-1/+19
|\ \ \ \ \
| * | | | | SnapdragonCamera: fix screen flash on resumingLikai Ding2015-08-063-1/+19
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently preview cover will be hidden shortly after preview started, but if the actual first frame comes late, the main screen will flash. Register a oneshot preview callback to hide preview cover. CRs-Fixed: 881290 Change-Id: I5d93e57f0b9aa338c6b34461d5e3ee31806b6706
* | | | | Merge "SnapdragonCamera: Make camcorder switcher icon invisible."Linux Build Service Account2015-08-072-1/+9
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | SnapdragonCamera: Make camcorder switcher icon invisible.likaid2015-08-062-1/+9
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When take photo for contact and back from setting ,the camcorder switcher icon will show. When take photo from contact,then set the camcoder switcher icon invisible. Change-Id: If0153650d131c5b1ee78a79c255c637aab410d8e CRs-Fixed: 884351
* | | | Merge "SnapdragonCamera: notify focus manager about surface change"Linux Build Service Account2015-08-061-0/+4
|\ \ \ \ | |_|/ / |/| | |
| * | | SnapdragonCamera: notify focus manager about surface changeLikai Ding2015-08-051-0/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If device and preview have different aspect ratio, preview doesn't occupy full screen. So SurfaceView's dimensions including margins need to be considered for transformation matrix. Otherwise touch focus area set to HAL won't match with actual user touch point on screen. CRs-Fixed: 885176 Change-Id: I6b7bfa6e3cb831592615dc5dfc45622f106c99d0
* | | Merge "SnapdragonCamera: Fix app freeze when connect to camera failed"Linux Build Service Account2015-08-061-0/+1
|\ \ \ | |_|/ |/| |
| * | SnapdragonCamera: Fix app freeze when connect to camera failedlikaid2015-08-061-0/+1
| |/ | | | | | | | | | | | | | | | | | | In Panorama mode, the app wasn't closed directly when connected to camera failed, that may cause more serious issue. Finish the activity immediately when open camera failed. Change-Id: I057611a3baf37ef915b3c182e5c3b5f12413c134 CRs-Fixed: 882041
* / SnapdragonCamera: Modify paddings and size of menusByunghun Jeon2015-08-051-1/+1
|/ | | | | | Modify paddings and size of menus to display longer menus Change-Id: I43bd3a8de8178ca2bdd273f4cfb6fafbcb92d82a
* Merge "SnapdragonCamera: fix thumbnail display"Linux Build Service Account2015-07-301-2/+4
|\
| * SnapdragonCamera: fix thumbnail displayLikai Ding2015-07-301-2/+4
| | | | | | | | | | | | | | | | | | | | | | Thumbnail image is usually larger than needed due to the choice of down-sampling factor. When the decoded bitmap is square, it's width and height is not correctly set in CircularDrawable, so only the left-top part of the cropped image is shown. Set the size and only decode exactly the region for display. Change-Id: I5f4af66a08f0dc02d84bda605b74c9e2b782fe63 CRs-Fixed: 881895
* | SnapdragonCamera: Improved panoramaByunghun Jeon2015-07-307-1389/+577
| | | | | | | | | | | | | | | | Improved panorama with faster performance and low memory consumption. Also displays progress while taking panorama shot. Change-Id: I88ae1205f056ebe59129e65d69fcc44f46a5ab92 CRs-Fixed: 859274
* | Merge "SnapdragonCamera: fix crash taking Macro+ from MMS"Linux Build Service Account2015-07-291-1/+4
|\ \
| * | SnapdragonCamera: fix crash taking Macro+ from MMSLikai Ding2015-07-281-1/+4
| |/ | | | | | | | | | | | | | | For capture intent, preview stops as soon as first jpeg callback arrives, but Macro+ has 7 callbacks. Make preview stop after all jpeg callbacks. Change-Id: Id29cc745aa2030edb60bc15da10d9123fa95bfd0
* / SnapdragonCamera: remove nav bar to enable full screen previewByunghun Jeon2015-07-283-168/+151
|/ | | | | | | Remove the navigation bar in order to take advantage of full screen. Change-Id: I25f42af825c4f3b7ad6521c2ee6d62fa4219044a CRs-Fixed: 865254
* SnapdragonCamera: Fix FD roll_dir issueKrupal Divvela2015-07-221-13/+5
| | | | | | | Fix mouth position mismatch due to change sent due to wrong roll_dir. Change-Id: I5c3c4c8c74be6f055581656613a0703c596a42e5
* Merge "SnapdragonCamera: Stop record when screen off"Linux Build Service Account2015-07-161-13/+33
|\
| * SnapdragonCamera: Stop record when screen offlikaid2015-07-151-13/+33
| | | | | | | | | | | | | | | | | | | | | | During Gplayer play, when we press power key to make screen off the SnapdragonCamera can not stop recording video. Add a broadcast for SCREEN_OFF to make the SnapdragonCamera stop when press power key. Change-Id: I7f06bc651aebd3c23212edfc55696fb93e9e250d CRs-Fixed: 866025
* | Merge "SnapdragonCamera: fix video duration issue"Linux Build Service Account2015-07-151-26/+10
|\ \
| * | SnapdragonCamera: fix video duration issueLikai Ding2015-07-151-26/+10
| |/ | | | | | | | | | | | | Duration calculated from recording start and end time does not always match that in video file. Use video metadata instead. Change-Id: Iab4f6b7030579bb78cc86effe6dd7d6993fa5918
* | Merge "SnapdragonCamera: honor video duration limit in intent"Linux Build Service Account2015-07-151-10/+8
|\ \
| * | SnapdragonCamera: honor video duration limit in intentLikai Ding2015-07-151-10/+8
| |/ | | | | | | | | | | | | The video duration limit read from intent is later overwritten by the value from preference. Change the order to honor the intent value. Change-Id: I833b1fbcecbbaeff48ff51144f5e584e91fb1838
* | Merge "SnapdragonCamera: Fix display smaller thumbnail on panorama preview"Linux Build Service Account2015-07-151-0/+14
|\ \
| * | SnapdragonCamera: Fix display smaller thumbnail on panorama previewlikaid2015-07-141-0/+14
| |/ | | | | | | | | | | | | | | | | | | | | The preview thumbnail size is calculated according to the captured image size. When capture panorama image with landscape, the height of the image will be too small to fill the thumbnail view. Enlarge the bitmap to the thumbnail size if it is not large enough. Change-Id: I65afcdf2943eed4526639ff418b929e6450711b5 CRs-Fixed: 868550
* | Merge "SnapdragonCamera: Fix the advanced features relative toast issue"Linux Build Service Account2015-07-151-2/+30
|\ \