| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
Fix picture being saved when save path is set to sdcard but
no sdcard present. In this case, picture should not be saved
Check this before taking a picture
Change-Id: I7313d67f2f5c489c2db230b8ae165b89ecfbc4c6
CRs-Fixed: 1025784
|
|
|
|
|
|
|
|
|
| |
Filter picture resolution with duplicate name.
There can be 2 different picture resolutions with the same name.
Take only the first one.
Change-Id: I9a472d958b829d3dce9559d4fcacb5d0dfd3e598
CRs-Fixed: 1025767
|
|
|
|
|
|
|
|
|
|
| |
Fix picture orientation when device is in landscape.
We need to use mOrientation for calculating proper
orientation for jpeg because this field contains the
right orientation information (portrait/landscape)
Change-Id: I25137265c1037a6121e0e89828b78dd4bc1c35d4
CRs-Fixed: 1018118
|
|
|
|
|
|
|
| |
Add redeye reduction to Camera2
Change-Id: Iae4beb9287a0a927330ba987238fac6a2dae058e
CRs-Fixed: 1018118
|
|
|
|
|
|
|
|
| |
Fix initial camera id to proper value.
Previously it was always using 0 as initial id
Change-Id: Ifc8d63ba2bccb4afcc25445d6713e28732e7deb4
CRs-Fixed: 1018118
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix crash issue when fix savepath is set to SD card and
the app is restarted. This is due to not updating storage
information. When the module starts up, we need to call storage
update so that it will set to proper initial value, not causing
crash.
Also only update focus UI when AF state is not null.
Change-Id: I1a3e444b42eb988ed622d047b1f3dc42bec7a119
CRs-Fixed: 1018118
|
|
|
|
|
|
|
| |
Adding Sharpshooter post process filter
Change-Id: I8f3c1962db437e7dfbe2973f806a3f9a26480eb7
CRs-Fixed: 1023183
|
|
|
|
|
|
|
|
|
|
| |
Change logic to generate common file name to be
used for all dumped frames.
Decouple YUV and JPEG dump set props so that they
can be toggled independently.
CRs-Fixed: 993611
Change-Id: I3e985e2fe55e116529929e36fb26c3760f47a536
|
|
|
|
|
|
|
| |
Introducing Frameprocessor with beautifiation.
Change-Id: Ie6d8f4157a7d0c1a21e6f347457e84685e397286
CRs-Fixed: 1023183
|
|
|
|
|
|
|
| |
Introducing PostProcessor with Optizoom filter
Change-Id: Ib9ac6d4a9526be3a5163d02e298ed783daad48c1
CRs-Fixed: 1023183
|
|
|
|
|
|
|
|
|
|
|
| |
Fix front camera picture taking issues.
Fix scene mode picture taking issues.
For both front camera and scene mode issue, focus state was not
updating properly so it was stuck waiting for focus to finish.
So added another logic to check such case and continue to next step.
Change-Id: I99d2164a77cc2903f3df50c7ff9478e718b112c0
CRs-Fixed: 1018118
|
|
|
|
|
|
|
|
| |
Show popup and close the app when createSession fails.
Also modify camera mode related function names.
Change-Id: I859af7f0a4e9be86fc8599ff0c3778e5f52f6d0b
CRs-Fixed: 1018118
|
|
|
|
|
|
|
|
| |
Fixed flash by waiting for proper AE update result.
Fixed clearsight session creation by reducing preview size.
Change-Id: I17563bb1b8c107696fc7272bdc21796bb6dfddef
CRs-Fixed: 1018118
|
|
|
|
|
|
|
| |
Update settingsManager and add Dual mode to Scene mode
Change-Id: I508430840c3fb8c7d0b56a2a63e09b271754fcb4
CRs-Fixed: 1018118
|
|
|
|
|
|
|
| |
Add continous shot and count down to CaptureModule
Change-Id: I986302201f742d7671a67c26953eecc2a0276294
CRs-Fixed: 1018118
|
|
|
|
|
|
|
| |
Add ISO and exposure to CaptureModule
Change-Id: If6f3c142bcfbbcc049c10d7be2fe5a4c86d31fe6
CRs-Fixed: 1018118
|
|
|
|
|
|
|
|
|
|
|
| |
Add SettingsManager to work as a database for settings.
It will handle all dependencies and populate the values.
Add scene mode and filter.
Restructure UI and menu by combining them and leave the
handling of settings to SettingsManager
Change-Id: I185163fdddbffd29434e6a9c41b33be6d3388f88
CRs-Fixed: 1018118
|
|
|
|
|
|
|
|
|
|
| |
Enable JPEG encoding via reprocess request for
ClearSight routine.
Add support for dumping images in NV21 format using
persist.camera.cs.dumpyuv
CRs-Fixed: 993611
Change-Id: I51ff59ec45bb37059a16197186a9f90bc52554f1
|
|
|
|
|
|
|
|
| |
Use runOnUiThread to ensure that UI element is accessed only by
UI thread.
CRs-Fixed: 993611
Change-Id: Ic2faab0813d273140d07f12c5e12a672ce699e1f
|
|
|
|
|
|
|
|
|
| |
Add support to receive, parse, and send OTP calibration data
from HAL to ClearSight library and add check for AE convergence
state.
CRs-Fixed: 993611
Change-Id: I52d6b71dc7bde4e08342afee7aa9d41bb9a4dde6
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move out core ClearSight logic to ClearSightImageProcessor.java
Move core ClearSight files to new package:
org/codeaurora/snapcam/filter
Add persist flags:
timestamp difference threshold: persist.camera.cs.threshold
burst shot count: persist.camera.cs.burstcount
dump source frames: persist.camera.cs.dumpframes
CRs-Fixed: 993611
Change-Id: Ic8953a72e8697e494c3ae342bebc70f60540474b
|
|
|
|
|
|
|
|
| |
Use the current AF mode for snapshot. For touch-to-focus, use AUTO mode
and reset to CAF after a delay.
CRs-Fixed: 989750
Change-Id: I6318b05d57273c0a2fff5b3366faa471f6faaf85
|
|
|
|
|
|
|
| |
Add support to capture ClearSight images.
CRs-Fixed: 993611
Change-Id: Ifaeafa53ee5d095fe322e48f968cdeec03c64077
|
|
|
|
|
|
|
| |
Replace SurfaceView with AutoFitSurfaceView
Change-Id: Id4bf27e3b16f12ff4cfdce47224ff871b3981838
CRs-Fixed: 989750
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Make switcher button be visible only when it was set to
be visible in first place.
Change-Id: Id0df702b990bbada02ac25eb6981c6bd5e4082b0
CRs-Fixed: 995902
|
|
|
|
|
|
|
| |
Link bayer and mono in Camera2 dual mode
CRs-Fixed: 989750
Change-Id: I16684f31d75296d4e4daa5b892e9bca06c03b5be
|
|
|
|
|
|
|
| |
Add touch to focus to Camera2
CRs-Fixed: 989750
Change-Id: I5c7c85dcc12eefb11e5f1b5e6a823a327b2647e4
|
|
|
|
|
|
|
| |
Add zoom support to Camera2
CRs-Fixed: 989750
Change-Id: Id6b558ff5215f04ca7c201b1d1807521d615c353
|
|
|
|
|
|
|
| |
Add flash, jpeg quality, and white balance setting menus to Camera2
CRs-Fixed: 989750
Change-Id: I288e1d4378c5e9f471b2b48a6c11ef434a9bac47
|
|
|
|
|
|
|
| |
Add Camera2 dual camera support to SnapdragonCamera
CRs-Fixed: 989750
Change-Id: I45a749ad03a531286a39cbfcfdcb65e5cad4759e
|
|
|
|
|
|
|
| |
Use camera2 API to show preview and take snapshot
CRs-Fixed: 989750
Change-Id: I07e2d6743529b3d3d5acecf667e9493465a094c9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Promoting privilege for direct SD card path access.
Change-Id: I10f28606a646a85c0cb23e4cf8e617eafdcaa2b4
CRs-Fixed: 1032564
|
|
|
|
|
|
|
|
|
|
|
| |
As onCreate skips the creation of setting manager when the critical
permissions are not granted, this causes the onDestroy to call
setting manager destroy function with null pointer.
Fix the issue with null check.
In addition, remove unused permissions from manifest file
Change-Id: I99b5f09449aacfb7eb9a5771e446df75956a9827
CRs-Fixed: 1034202
|
|
|
|
| |
Change-Id: I493cac1abc38323a4f91506898d25b4f9aea1c79
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Not all devices have red eye reduction, which made it
impossible to enable advanced options. Move the toggle
to max brightness option which is present in all devices.
* Allow enabling advanced options through camcorder settings.
* Move hardcoded strings to cm_strings for translations.
* Close menus when developer mode is toggled so we can see
the extra options when the menu is reopened.
* Decrease taps to 7, matching Settings tap-to-enable.
* Properly reset tap counter.
Change-Id: Iac39b9309388b92bf75a49a6091b483b13bd9154
|
|
|
|
|
|
|
|
| |
A workaround to remove preview cover when starting recording, if
preview cover is not removed right after preview started.
Change-Id: I0870ddeec9d3f40a1459315e91e5230155be9f13
CRs-Fixed: 1016691
|
|
|
|
|
|
|
|
|
| |
When request permission is cancelled, it returns empty result.
Making change to check the length of result before accessing the
result.
Change-Id: Ic3e35c822e053fac7786d5e924ead8935feb1794
CRs-Fixed: 1041464
|
|
|
|
| |
Change-Id: I0260710461d61d48211fe8a9efdeb5d192f862ff
|
|
|
|
|
|
|
|
| |
When user enables the GPS locaion setting, use Android's run-time
permission request interface to get the permission.
Change-Id: Ib17171aeff5ccf20e2b00da08243dee1a3383611
CRs-Fixed: 1038039
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Creates new activity for permissions handling: both checking
for permissions and handling error condition when critical
permissions are not present. The reason for creating a
new activity is so the app does not attempt to continue
executing OnCreate, OnResume etc, which opens
the camera while the dialogs are showing. This should
not slow the app down because the permissions activity
will only run when a) the first time the app has
insufficient permissions and b) when a critical
permission is missing and the app needs to shut down.
Bug: 21273463
CRs-Fixed: 1019847
Change-Id: I603acfb3057ba26b9cfa7935eb4cb24b5d547cb5
(cherry picked from commit ad44cda82fe6ec5ee090115129223c6314f9e1bb)
Fixes to M permissions.
Previously, we called PermissionsActivity with startActivityForResult().
However, this creates race conditions as we check for permissions
and the CameraActivity continues to operate. Now, we end CameraActivity
and launch a new instance upon successful permissions resolution.
We can also put the preload filmstrip logic back in its original
place in onCreate. The checks for permissions happen in both
onCreate and onResume.
Bug: 22442745, 22478144, 22497152
CRs-Fixed: 1019847
Change-Id: I82e9125a46581db44aa61d4ee94aec5a820e9df0
(cherry picked from commit ac0e2425e77a9b69e76d2f31876798825ea44584)
SnapdragonCamera: Fixed M permission issue
- Resolved NPE while sending permission request
- Made change to request non-critical permissions once only,
but the critical permssions all th time.
- Removed unused contant defines
CRs-Fixed: 1019847
Change-Id: Ib997244cbcc041d86c094c7ee7a902bff56e92ad
snap: Remove platform signature
* We are using runtime permissions now.
Change-Id: I3386214dbbc0915251941ef490e7cbaf27e6ed45
|
|
|
|
|
|
|
|
| |
A workaround to remove preview cover after picture is taken, if
preview cover is not removed right after preview started.
Change-Id: I723d70fde6ecaf7302714daa6648c85d8a40d1b4
CRs-Fixed: 1016691
|
|
|
|
|
|
|
|
| |
Instead of removing and adding the entire root view, changing only
core surface view on module change.
Change-Id: I5c39cf23b2a58280f4e4e8484865bbed0b12e1cf
CRs-Fixed: 979254
|
|
|
|
|
|
|
| |
Turning off LONGSHOT mode to off when ubifocus scene mode
is enabled.
Change-Id: I5a1ce6a2c9fa08715da40a41f4aae694bd7f8654
CRs-Fixed: 984742
|
|
|
|
|
| |
Change-Id: Icde9e62950b8ae18e970956d74f13ef5c812047a
Ticket: -
|
|
|
|
| |
Change-Id: I19f2f857afc848502fded5cc0632e94cf3a65152
|
|
|
|
|
|
| |
This is the highest 16:9 picture resolution supported by Galaxy S4.
Change-Id: I61ce779d7965ec87478ed31f8a1e7595c8eba7b0
|
|
|
|
|
| |
Change-Id: I9807c7f9303f17eb971ff1a82fbd35dfbdbfa529
Signed-off-by: Zdrowy Gosciu <ZdrowyGosciu+GITHUB@gmail.com>
|
|
|
|
|
| |
Change-Id: I617b9f444fcef38ad4a1a0c02923d8c7fa368144
Ticket: -
|