| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I57b656e13d115112bbb579a50db9878ad3fb9636
|
|
|
|
|
|
|
|
|
|
| |
When the pref can't be found, index "-1" is returned, causing an NPE
resulting in an RTE. Add check for a positive index before accessing the
array
Change-Id: Ifa80077c2090a9df449be608feaf4390c875ff0f
Reference: BugDumps 13-20161014-20 L#40
(cherry picked from commit beec60c940e6a50046d4c7c469b9381492f8b77a)
|
|
|
|
|
|
|
|
|
| |
Seems like getSupportedFocusModes() can return null.
Check for null before using it further
Change-Id: I46860f780b99970cbe9857c8ba73691d69321488
Reference: BugDumps 20161014-20 L#131
(cherry picked from commit 537e5226c4f392c6ce0531882822b04db621d071)
|
|
|
|
|
|
|
|
|
|
| |
Instead of depending on a large matching table, generated the list
of picture sizes to show to the user directly from the supported
list returned by the camera. The list is filtered to remove
uselessly small resolutions on modern devices, to group resolutions
by aspect ratio, and to filter out fairly similar sizes.
Change-Id: I47a67a89786543baec133cf7e71df9819793ebac
|
|
|
|
| |
Change-Id: I0bc6d665f4b538a17025be704a4bbc9293aef2f3
|
|
|
|
|
|
|
|
| |
* Until Snap is updated with Camera2 support, it needs to get out
of the way in a few cases. Allow a device to name it's preferred
camera app which will remove the override from the makefile.
Change-Id: I2ead4c092fbbe259501f856081e1e98be04c6fbd
|
|
|
|
|
|
| |
* Change jni_imageutil to jni_snapimageutil
Change-Id: I61eef66a439d1f7f3ef252a9e505789af80a2ace
|
|
|
|
| |
Change-Id: Ibcea6008e354ffcc9eac5db11edede99ef5f20db
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Continuous pause & resume operation by pressing the power button
can cause the blank preview. The application close the camera when
there is onPause or screen off intent. Sometimes the resume comes
after screen off intent when user resumes the device quickly after
pausing the device. Because of this race-condition, the camera is
closed unintentionally.
To resolve the issue, re-structure the code to receive screen-off
intent only during video recording and stop the recording when
intent is received.
Change-Id: Ic993b83527b41dbbf53f63ef8ca25fa3a12fb77e
CRs-Fixed: 970172
|
|
|
|
| |
Change-Id: Ia6a1ca122a04d3d8291aa588277237a6a45d11b3
|
|
|
|
|
| |
Change-Id: Id4e94e926cfb5a5185227789762269b594537e85
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
|
|
|
|
|
| |
Change-Id: If3e3a9851490c929c39109d96781cd97dabbe597
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
|
|
|
|
|
|
|
|
|
| |
When the other apps want to invoke camera by intent, if the permission
needed by camera is not granted, camera will restart and the intent will
be lost, so check the permission first before invoke camera with intents
Change-Id: I2c403d2cd78453cc8afcda374969dac87a6becf6
CRs-Fixed: 1047924
|
|
|
|
| |
Change-Id: Ic367b36a48d9738ca16b193a1576235b1115df19
|
|
|
|
|
|
|
|
|
|
|
| |
When rotating orientation priview view configuration changed and
re-layout. Not only cause screen display abnormal, but also make
latency in UI.
Add "portrait only" property on camera activity can avoid these
problems. And Camera UI can deal rotating orientation by its own
way which is more stabe and effective.
Change-Id: Id84a50de271c511c8c4b2a46a1de27b8eeabd037
|
|
|
|
|
|
|
|
|
|
| |
Gallery app package name has been changed. so Camera cannot find the
its name, and start with a common action "Intent.ACTION_VIEW" instead
which is only to play the current video.
Use a package name check for original Gallery and our new Gallery can
be better compatible, and can fix this issue.
Change-Id: I42863c00769093fab7629898298842fbf5b4ce9d
|
|
|
|
|
|
|
|
| |
Read orientation from exif and provide to content provider
when adding image.
CRs-Fixed: 993611
Change-Id: Ic2079dd1b5e6bdb93f73b4084749b3cbc68b3f86
|
|
|
|
|
|
|
| |
Force edge mode to high quality
CRs-Fixed: 993611
Change-Id: I51bf69b681dbf58eb04412abad4ba9d067f40aa8
|
|
|
|
|
|
|
| |
Saving MPO and DDM without CS
CRs-Fixed: 993611
Change-Id: Ie04bce460c57454b4cf57c88b47ef2a495b6e078
|
|
|
|
|
|
|
|
| |
By default, EIS is enabled with FPS <= 30. The maximum FPS
can be changed by setting persist.camcorder.eis.maxfps
Change-Id: I46ee1eee8121de0b5e5b1125b45d3a5f1a036461
CRs-Fixed: 1043548
|
|
|
|
|
|
|
| |
Update processImage API call to coincide with lib upgrade.
CRs-Fixed: 993611
Change-Id: Ie3be9b1a586dcc1e50da626f49349cab617ce27e
|
|
|
|
|
|
|
|
|
|
| |
When in dual camera mode, synchronize AF and AE states between
the two cameras before issuing capture requests. This allows capture
requests to be issued simultaneously and achieves better temporal
matching.
CRs-Fixed: 993611
Change-Id: I097eae6b95153eefebeed3b22e02d4f4e56d565e
|
|
|
|
|
|
|
|
| |
Don't set a repeating request for mono preview when mono preview option
is set to off in dual camera mode.
CRs-Fixed: 993611
Change-Id: I615483a8ed24689692136e9e2007f19898db5a24
|
|
|
|
|
|
|
|
|
|
|
| |
Camera app hold SDCard state(SDCard ID). in some case, such as format
SDCard, will caues SDCard remounted and SDCard ID changed in system.
But camera app does not sync the ID with System, so can not access SDCard.
By adding observer and sync SDCard state with system, can fix this issue.
CRs-Fixed: 1006496
Change-Id: Id35564ae77944546a26332a412744e9735780560
|
|
|
|
|
|
|
| |
Promoting privilege for direct SD card path access.
Change-Id: I10f28606a646a85c0cb23e4cf8e617eafdcaa2b4
CRs-Fixed: 1032564
|
|
|
|
|
|
|
|
| |
Fix race condition between surface ready and camera opened
that was causing createSession to be called twice for same device.
CRs-Fixed: 1019361
Change-Id: Ieb62b394f1cf83cc83e2b9e290ce6758e2ade377
|
|
|
|
|
|
|
|
| |
For camcorder to resume after pause use mediarecorder's resume()
API in N and later versions and for the rest of older versions
call start() API
Change-Id: I01e761215c31e03c87b98149f13cd5c3f2482d05
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ic1d125657efc96d71b5d7bd9e4e29c362fb600f8
|
|
|
|
|
|
|
|
| |
Added 24MP resolution(5656x4242) to the UI
CRs-Fixed: 982283
Change-Id: I18628d84d76cd5c77a7b96d9074381548800fe4b
|
|
|
|
| |
Change-Id: I1a69682fa0e1beb393d3e6d64812bab0bf7b68ad
|
|
|
|
|
|
|
| |
Add video face detection to developer option
CRs-Fixed: 978207
Change-Id: I9308573a5a1004fc3803a955bc96f495ecbfc6c7
|
|
|
|
|
|
|
| |
Fix flickering Video preview when pause/resuming
Change-Id: I7e20cfdc06fc940f4fc96f408ce6ab570b0d8e64
CRs-Fixed: 971394
|
|
|
|
|
|
|
|
|
| |
Change launch mode to singleInstance when it's launched from
the lock screen. This allows the camera to start fresh when
gallery is stacked on top.
Change-Id: I1a9fdb0e6b1c8e9382001c7a2c257b9209d23b62
CRs-Fixed: 961044
|
|
|
|
|
|
|
|
| |
The layout of setting menu is not placed properly in RTL. To fix
the problem, replace 'left/right' layout properties with 'start/end'.
Change-Id: Ib8d03ffa40712f1845fe7ab148b1a6f35fcc1124
CRs-fixed: 949931
|
|
|
|
| |
Change-Id: I9b55bcaaa03e598e57325f45e80ee8493029edf1
|
|
|
|
| |
Change-Id: I42c7e6ba08b4214a28e74fb7cd63a43bf5de724f
|
|
|
|
| |
Change-Id: I691813c94412b80b6d3648c01e0122e21fcddf72
|
|
|
|
|
|
| |
- Add menu for noise reduction modes
Change-Id: Ie5cd6590e08938fb8fbb668ac1b48aac5fe801c3
|
|
|
|
| |
Change-Id: I7139b3885e4ff9c4d94ed86f521bce661e60cec5
|
|
|
|
|
|
|
| |
Moving Image Stabilization option to the menu
Change-Id: I7fb025a3d1909af436e7a52ee9d602b2ce2dc68b
CRs-Fixed: 937237
|
|
|
|
|
|
| |
Json marking was not proper. Fix it with proper marking
Change-Id: Ic57757f165bd19fc34d33344c6b9b66b891f30a6
|
|
|
|
|
|
|
|
| |
Allow take snapshot while recording video by showing shutter button.
Directly call capture when shutter button is pressed.
Change-Id: Iae4d42d8878ea82b459ec67709b0ad8e340c8226
CRs-Fixed: 1028463
|
|
|
|
|
|
|
|
|
| |
When pause/resuming initialize to proper state so that
when paused/resumed while taking picture, it would not
result in a bad state
Change-Id: I597aa96b930cdb855c83d2f433470c23ab9cfa37
CRs-Fixed: 1025804
|
|
|
|
|
|
|
|
| |
Add face detection to camera2.
Receive face data from camera2 and use faceView UI to draw it
Change-Id: Id9c49ab6dd73de316398c57981cc0b9df0400b45
CRs-Fixed: 1025797
|
|
|
|
|
|
|
| |
Instead of writing the dependency in java, read the
dependency from json file
Change-Id: I5a46d35b66a289e2a3ee8b72d0059fd9929891f2
|
|
|
|
|
|
| |
Add video to Camera2 module and combine the UI
Change-Id: I0bcd86eb6b95fe2180856780ddd794682259e799
|
|
|
|
|
|
|
| |
Add support for crop data when sending JPEG encode requests.
CRs-Fixed: 993611
Change-Id: Icbd960160d651a3422c2b8530608fcd5dba97735
|
|
|
|
|
|
|
|
| |
Make sure to apply up to date jpeg quality value from SettingsManager
before applying to capture request.
CRs-Fixed: 993611
Change-Id: Ia335ba346f433f3b05a62676e742ab5a72b8389a
|
|
|
|
|
|
|
|
| |
Re-order calls to unlink all cameras and close sessions
before closing any devices.
CRs-Fixed: 993611
Change-Id: I0e753a5286799ff59637333cc00231c96709a3e7
|