| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
User can now control the focus mode used while recording video.
Change-Id: I340c01a3f88314de67ca024279672276eff453ed
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
|
|
|
| |
Change-Id: Ibf6570431f34e33bdcec72bcae2a93aa3aabba80
|
|
|
|
|
|
|
| |
* startActivity may also throw IllegalArgumentException in addition to
ActivityNotFoundException when the component can't be found.
Change-Id: Ia3124591c625f4c249f3c6f76a226e8178df6e9d
|
|
|
|
| |
Change-Id: I8a5ba161884f24c304c4ed250f1a68f3177a5f68
|
|
|
|
|
| |
Change-Id: I0a06b550ae4137d0e665947d8a8574c3b26fcb95
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
|
|
|
|
| |
Change-Id: Ide5fc0ff1c54e216ac7cd9bea202002d1d4dfa12
|
|
|
|
| |
Change-Id: I6ad439dc0be7c6e0d13ac7c22aacdc0ad559d051
|
|
|
|
| |
Change-Id: I3758bb219552d22768afa0af83c69c6a5460693b
|
|
|
|
|
|
| |
Got broken in commit a4a443b4e2e393d3b0d0e201075a95b02fe0c377
Change-Id: I56d09ebcf762e51c98bd979541a65dad3037e1c0
|
|
|
|
|
|
|
|
|
| |
Snapdragon Camera is immersive (i.e. fullscreen), so we expect to receive the
actual size of the display here, not the modified size when the nav-bar is
enabled.
Change-Id: I942829f77dda0dbb9dd65a60e66a540eecf708e7
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
|
|
|
|
|
|
| |
Instead, restore the default value. This prevents issues on devices
that don't support ZSL.
Change-Id: I9c456cd6503df29800e2bc7ccaa691cb3fb42681
|
|
|
|
| |
Change-Id: I534c0e36ac826b1d46befe99182bfbfb3b0f22da
|
|
|
|
|
|
|
| |
* Create a new custom focus view that interacts with physical lens diopter changes.
* Replace all occurances of the old focus indicator with the new one.
Change-Id: Ia02646ce4d1eb059ecb8a1dfccc15dfc9c167e1b
|
|
|
|
|
|
|
|
|
|
|
| |
Prior to this commit Snap assumes that the HAL returns the
list of supported video sizes in descending order of quality and
simply picks the first one from the list as the default quality.
Instead, find the first matching entry of pref_video_quality_entryvalues
that the HAL indicated was supported.
Change-Id: Ifea79e0e16a9015557539e098317536a32b9ff1f
|
|
|
|
|
|
|
|
|
|
| |
* HDR was never actually working on CM because we did not instruct the
camera to take all exposures. The HAL tells us that we'll get one
JPEG, but we should snap 3 times. We handle this behavior in the
framework now, but we should honor the num-jpegs-per-shutter value in
the JPEG callback.
Change-Id: I7124bf08985ae23b21ac4e294fb889ac4106946b
|
|
|
|
|
|
|
| |
CM now supports 90/270 degrees rotated vectordrawables
Change-Id: I13b36463c60430564c00bd1e36393fff7ddbfdae
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
|
|
|
|
| |
Change-Id: Iefee1f15f5649c2f93c59fcbdedcf953e9e0bc54
|
|
|
|
|
|
|
|
|
|
| |
Issue was twofold:
- Preview size was updated from the root view instead of the preview
surface view. As the preview rect is already correctly updated from
the surface view, remove the redundant size update code.
- Touches outside of the preview rect weren't discarded properly.
Change-Id: I1c9a4398aa51a828b5362fcd7bcd5a7a7e4691db
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes following NPE:
01-11 17:36:42.607 4329 4391 E AndroidRuntime: FATAL EXCEPTION: Thread-235
01-11 17:36:42.607 4329 4391 E AndroidRuntime: Process: org.cyanogenmod.snap, PID: 4329
01-11 17:36:42.607 4329 4391 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
01-11 17:36:42.607 4329 4391 E AndroidRuntime: at com.android.camera.PhotoModule.updateCameraParametersPreference(PhotoModule.java:3492)
01-11 17:36:42.607 4329 4391 E AndroidRuntime: at com.android.camera.PhotoModule.setCameraParameters(PhotoModule.java:3714)
01-11 17:36:42.607 4329 4391 E AndroidRuntime: at com.android.camera.PhotoModule.startPreview(PhotoModule.java:2715)
01-11 17:36:42.607 4329 4391 E AndroidRuntime: at com.android.camera.PhotoModule.-wrap14(PhotoModule.java)
01-11 17:36:42.607 4329 4391 E AndroidRuntime: at com.android.camera.PhotoModule$OpenCameraThread.run(PhotoModule.java:265)
Change-Id: I6ca0dfe402cab46dd7b6f102921062f3c7ec8d43
|
|
|
|
| |
Change-Id: I14c17aec6e5d582cc1f884eba40868a58cab1d03
|
|
|
|
|
|
| |
* Not all devices support this resolution
Change-Id: I42d2037b4e32c7f5c88a60b5da1895dcb761d176
|
|
|
|
| |
Change-Id: I6d48105f0407ded104244eb5ace4a3ace76eb402
|
|
|
|
| |
Change-Id: I52b0f7aab55d0a001fc1149fbd82c8188f57be9d
|
|
|
|
|
|
|
| |
Old parameters are used when grabbing focus mode.
Camera parameters should be set to FocusOverlayManager before starting preview.
Change-Id: I908559e1c2003be47b486996b0ec016b78107468
|
|
|
|
| |
Change-Id: Icb15ed42b62a8a85a7691c5cfc606307689cbcae
|
|
|
|
| |
Change-Id: I091a8928a9a0674c54759ff8b384259d8f16793e
|
|
|
|
| |
Change-Id: I0de4ec0f2cb4653822249ea97e8a07c890fc7231
|
|
|
|
|
|
|
| |
Just for initial ship
Change-Id: I8d6c0d71d1b94e6eb2f43ab962fb92de0e6c7093
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ied37999553d04dcc970da23ccce4dd7c9abf3b48
|
|
|
|
| |
Change-Id: Ia48f48fcd8b8546ca68969198a60f568bae805d6
|
|
|
|
| |
Change-Id: I3884b23f1c855cfffeb20ca6e2a760732370d772
|
|
|
|
|
|
| |
* fixes compile, we are not camera2
Change-Id: Ia7c463745e91ee02aa12f77c9e9d06b602692c4c
|
|
|
|
|
|
| |
Set the aspect tolerance to 0.02 to compensate for 13.1MP (4208x3120) shots. 13.1MP will now be properly registered as a 4/3 resolution when the viewfinder ratio is calculated.
Change-Id: I41540a0d5fbe11f59d776a6e70e82baa463fff59
|
|
|
|
|
|
| |
If device does not support AE bracketing.
Change-Id: I6ec89518addbc786a01291e9f7dd3be3d83cb588
|
|
|
|
|
|
| |
Might happen when updating from previous versions of Snap
Change-Id: Ib52a2daff5a45c33ede1effd7cb7bed2fe61e5cc
|
|
|
|
|
|
|
|
|
| |
Focus overlay should be cleared only when focus scan
is started without face present.
Currently is cleared every time on lens movement
and face flickering during scan is present.
Change-Id: I7f4fb1b6032b9b65e13d902b8348ba07333d67f9
|
|
|
|
| |
Change-Id: If165370b52d7454c69e2cdeb9d837d049010b0e8
|
|
|
|
| |
Change-Id: Id3393280c7c1c2f292d71587ba099e8dbafd1340
|
|
|
|
| |
Change-Id: I7f350882e828a4e4829ecd794c75f05e8a80f627
|
|
|
|
| |
Change-Id: I7ce9d6f2323e367743e6d4c9662b846d3052f2a4
|
|
|
|
| |
Change-Id: Idf845a5f55abf9b72f61ac4bac59ee2258043482
|
|
|
|
| |
Change-Id: If734a7f4c25465876e657926700763b9169d786e
|
|
|
|
| |
Change-Id: I3a948495cdf84dae3c1734d50ff91b4a5d3d9fc0
|
|
|
|
| |
Change-Id: Ib31557eb15c37bc928fa259bb098924f72f39da2
|
|
|
|
|
|
|
|
|
|
| |
When AutoFocus is started during Video Recording, CancelAutoFocus
is called after KEY_FOCUS_TIME seconds. CancelAutoFocus has the
side effect of resetting the sensor AF position and will result in
instant loss of focus which is not a desired event when AF is
manually triggered in case of Video Recording.
Change-Id: Icee7f6dfd4ad083c9b383ee2a4df6a34e4668de6
|
|
|
|
|
|
|
|
|
| |
During video recording if screen is tapped repeatedly, autofocus is
started while the snapshot is taken. This would either result in an
out of focus snapshot which would also disturb the focus in the recorded
video or crash the sensors that can't handle autofocus during snapshot.
Change-Id: If2763094f5ab7536e4409469276de54580e803c8
|
|
|
|
|
|
|
|
|
| |
* Available when video snapshots are not supported.
* Original from CodeAurora Forum.
Sultanxda: Adapted to Snapdragon Camera
Change-Id: I232c178430db08e7366aa9f91b4926d07e7c225d
|
|
|
|
| |
Change-Id: I365deeb17995175db873f6799cf0cde43ee61e96
|
|
|
|
|
|
| |
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
Change-Id: Ib2c2c152a52b2616dd0da6f071f572d34fe64065
|