| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I00584e113782a0b0478c1bf564736c803e3fcdb9
|
|
|
|
| |
Change-Id: Id543286b1b823adccbab0fabdea1c8df8703f2ad
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* Saving 1 vs saving several can be a different string in other languages
(e.g. German: "1 von 10 Bildern wird gespeichert[...]"
vs "2 von 10 Bildern werden gespeichert[...]")
* Also fixes a missing "be" in the source string ("will _be_ deleted")
Change-Id: I0f0a91fa3cd1abe17c9d3eef453c4ed706a6fb25
|
|
|
|
|
|
| |
* This is a mess
Change-Id: I91b46d2e54c78f55b31fa8b45156d74ca05e8027
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added:
Washed
Vintage warm
Vintage cold
Point green
Point blue
Point red-yellow
Change-Id: Ib5f6781347ad7cf99eb50e4e6be0446624219981
|
|
|
|
|
|
|
|
|
|
| |
* This breaks HDR on every device that has this param, because this
makes the camera HAL return *1* e*x*tra frame at 0 exposure, and
since Snap doesn't know what to do with this extra frame, it
erroneously saves it as a second picture on device storage
* Remove this option entirely to make HDR great again
Change-Id: I8ef4072eb030f4ab6e608a0da268274a3dc58e34
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert "SnapdragonCamera: Add help menu to camera2"
This reverts commit 0dbfdffc9994a17e60c57b17c3cc5743cc75e155.
Change-Id: Icb4e4bbc2b7883fa232483615a18d3197b2577bd
Revert "SnapdragonCamera: Move help menu string to ressource"
This reverts commit 901130273dbfc753ef883941a4e93b50056177e4.
Change-Id: I82815ee7ef80985c88315c40d6b222f688fd6b75
Revert "SnapdragonCamera: Adding help screen on first start"
This reverts commit 666692bf730a1c46210cc74781a56afb4b6fcf28.
Change-Id: I8f2ee58c263537c3a02248aa344516f5321de13f
|
|
|
|
| |
Change-Id: I1518c2d72f54e294a8793a1c151a69049d697c5b
|
|
|
|
| |
Change-Id: I6412a012f8d3739b6002685b87f0e64cedfe952f
|
|
|
|
|
|
| |
Also increase margin a bit.
Change-Id: Id8ddb1137094f03bd26b487575b555bbadd80432
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Panorama mode requires quite some memory, especially after the frame
num bump done with commit aa0733567c30 ("Make panorama able to go 270
degrees in landscape"). Some devices run out of memory while taking a
panorama picture and force close Snap before the picture is complete.
We have a config to reduce the memory requirements that reduces the
size of each frame, but it's applied only if ro.config.low_ram is
true. Bump the default value to 100 and always respect it. Devices
having ro.config.low_ram set to true will have to override this
config from their device tree.
BUGBASH-326
Change-Id: Ic6d24b17b2293adf8d715904c8c1874a4c624e99
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: codeworkx <daniel.hillenbrand@codeworkx.de>
Date: Sat Jan 28 14:56:35 2017 +0100
Snap: detect and use Camera2 if available
Also add overlay option to enable support for Camera2 to retain current behaviour.
Change-Id: I20939e33f4bb687e4abea11bbcdb9bf246b156e4
Author: codeworkx <daniel.hillenbrand@codeworkx.de>
Date: Sun Aug 13 12:22:05 2017 +0200
Snap: Add missing null check on isCamera2Supported
Change-Id: I61c04c7cb8d344573ab7fb11f7114f09aaf24fb7
Change-Id: I339ead08d10ddff5dad491987d94367354a4b3f3
|
|
|
|
| |
Change-Id: I19d8a3d5a12c4be06bced056b80ad1a354c6b761
|
|
|
|
|
| |
Change-Id: Ie34f455460eb205de12c24be10a361e380db761f
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
|
|
|
|
| |
Change-Id: I0ce48da277a532b46fdde15027f636de4d7585b7
|
|
|
|
|
|
| |
* Match the framework toast appearance
Change-Id: I886862f3087bcd5cb1cfa76f72731292b7511d07
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: jrizzoli <joey@cyanogenmoditalia.it>
Date: Thu Jan 7 21:07:51 2016 +0100
Snap: initial materialization
Just for initial ship
Change-Id: I8d6c0d71d1b94e6eb2f43ab962fb92de0e6c7093
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
Author: jrizzoli <joey@cyanogenmoditalia.it>
Date: Mon Jan 11 21:02:08 2016 +0100
Snap: remove captureUI pngdrawables
CM now supports 90/270 degrees rotated vectordrawables
Change-Id: I13b36463c60430564c00bd1e36393fff7ddbfdae
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
Author: jrizzoli <joey@cyanogenmoditalia.it>
Date: Wed Jan 20 20:54:10 2016 +0100
Snap: update shutter button style
Change-Id: Ide5fc0ff1c54e216ac7cd9bea202002d1d4dfa12
Author: Joey Rizzoli <joey@cyanogenmoditalia.it>
Date: Sun Dec 11 21:30:18 2016 +0100
Snap: update caf icons
Change-Id: I1adaf709253637bde037b5aea1f856fc5b9029c7
Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
Author: Arne Coucheron <arco68@gmail.com>
Date: Thu Aug 17 01:19:05 2017 +0200
Snap: Update HDR icons
Current ones are so small, I can hardly see them. These new ones
are bigger and looks more in line with the rest of the icons.
Change-Id: Idaeec67a78d66105a375f09b6701a49dce43fd22
Author: codeworkx <daniel.hillenbrand@codeworkx.de>
Date: Sat Jan 20 12:46:31 2018 +0100
Snap: update shutter buttons on CaptureUI
Change-Id: I674de05dfb46fb714979ac66c16a85825af13c95
Author: Paul Keith <javelinanddart@gmail.com>
Date: Tue Jan 23 23:36:19 2018 +0100
Snap: Update pano and video icons to be more like photo icons
* Put the colored ring on the _outside_ of the shutter
* While we're at it, cleanup naming and usage of color resources
Change-Id: I4f344fa272374d043f2b83dba7248e263fab8bf0
Author: Andreas Blaesius <andi@unlegacy-android.org>
Date: Fri Jun 1 17:47:00 2018 +0200
Snap: remove unused shutter buttons
Change-Id: Id913626bbccc6fd245ed9f46374389ca7eca3c30
Change-Id: I7596f3c887874b4913d87ecbfa5438191fc86249
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For the camera, the user expects a default tap-to-focus duration of 3 seconds
with exposure locking. For the camcorder, however, the user expects a tap-to-focus
duration of 0 seconds with no exposure locking, as the rapid change in exposure
while recording would negatively impact the video.
Separate the tap-to-focus option to reflect the recommended defaults.
[mikeioannina]: Adapted to Snap
Change-Id: I75bc0610f5d301c9728b4bc104b86e0fab5493fb
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: Sultanxda <sultanxda@gmail.com>
Date: Sun Dec 6 10:30:28 2015 -0800
Snap: Add ability to set the tap-to-focus duration to 0 sec
Setting a tap-to-focus duration of 0 seconds allows for a quick, manual
refocus of the subject without interfering with the exposure. This is
particularly useful when recording videos.
Change-Id: Ie3d92e50f755c938e9725438ba5baad0d0985485
Signed-off-by: Sultanxda <sultanxda@gmail.com>
Author: Michael Bestas <mikeioannina@cyanogenmod.org>
Date: Tue Feb 9 18:51:28 2016 +0200
Snap: Fix crash when set infinite touch-focus duration
* java.lang.Integer.valueOf(string) method can't parse
hexadecimal values
Change-Id: I42706db72fc9c1093a7aa16440af449f731e5176
Change-Id: I9ae88f55a452a66af39906d46f1b899130199da2
|
|
|
|
|
|
|
| |
User can now control the focus mode used while recording video.
Change-Id: I340c01a3f88314de67ca024279672276eff453ed
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: Steve Kondik <shade@chemlab.org>
Date: Wed Aug 28 14:21:49 2013 +0800
camera: Touch focus support for camcorder
* Available when video snapshots are not supported.
* Original from CodeAurora Forum.
Change-Id: I232c178430db08e7366aa9f91b4926d07e7c225d
Author: Dheeraj CVR <cvr.dheeraj@gmail.com>
Date: Sat Apr 19 02:33:46 2014 +0530
Camera2: Prevent autofocus when video snapshot is in progress
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
Author: Dheeraj CVR <cvr.dheeraj@gmail.com>
Date: Mon Jun 23 22:00:07 2014 +0530
Camera2: Prevent propogating CancelAutoFocus during Video Recording
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
Author: lion0738 <lion0738@naver.com>
Date: Sun Jan 10 16:55:01 2016 +0900
Snap: Set parameters before starting preview
Old parameters are used when grabbing focus mode.
Camera parameters should be set to FocusOverlayManager before starting preview.
Change-Id: I908559e1c2003be47b486996b0ec016b78107468
Change-Id: I8be16315ccede388e590e81e93f0dd417ae51c4a
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
* On the OP3, we can only use Longshot in a single scene mode without
conflicting with other built-in postprocessing features which cannot
be disabled. Add support for this. When a scene specified in the
longshot-scenemodes list is active, continuous shot will be enabled.
Change-Id: I79878e5ac918e907ddc5b3ca168e49f4e06656c3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
Camera HAL not always return proper values
Change-Id: Id81fe40ac84b0ffb70560e55077d90544139e463
|
|
|
|
|
|
|
|
| |
Antibanding is very important for UX with regard to photographing in
artificial lighting, so don't provide users with an option to turn
antibanding off.
Change-Id: I080a48a88b6faee69a67df8706e0a3acd1c233f0
|
|
|
|
|
|
|
| |
The antibanding setting in camcorder is linked to the setting in camera
mode for better UX (if you change one, the other will change accordingly).
Change-Id: I98c1bc65472cf8eec530f5a7572f46458b0ab3fa
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: Steve Kondik <shade@chemlab.org>
Date: Wed Dec 25 15:10:58 2013 -0800
Snap: Remove touch AF/AEC option
* Drop the use of the touchaf-aec parameter entirely. No camera needs
this anymore.
Change-Id: I83154a75e5375901dc6c0fc93aef23637cfdf425
Author: Steve Kondik <steve@cyngn.com>
Date: Sun Jul 31 19:09:37 2016 -0700
snap: Always turn touch-af-aec on
* Most cameras do this by default, but on at least one device
it starts with the option disabled. This stops AEC from
updating during touch focus.
Change-Id: I4bdb6cdbad86f3798c0288d6a32b7e8062e297f3
Change-Id: Ia3f4a312af1b4b7b6e4c0d3f76c09efe798c730c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: codeworkx <codeworkx@cyanogenmod.org>
Date: Sat Jan 9 11:52:01 2016 +0100
Snap: special handling of hdr-mode parameter for lge devices
Change-Id: Iefee1f15f5649c2f93c59fcbdedcf953e9e0bc54
Author: codeworkx <codeworkx@cyanogenmod.org>
Date: Mon May 9 21:28:40 2016 +0200
Snap: force enable zsl for lge hdr
LGE HDR needs ZSL enabled
Change-Id: I563b7f7cd49fcf8aad35ca4b93f839dc0a591f01
Change-Id: I139a4492ae85b87ca1cc84013f252b510200fffc
|
|
|
|
| |
Change-Id: I6d48105f0407ded104244eb5ace4a3ace76eb402
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: codeworkx <codeworkx@cyanogenmod.org>
Date: Wed Jan 6 12:25:10 2016 +0100
Snap: Add support for mw_continuous-picture focus mode
Change-Id: If165370b52d7454c69e2cdeb9d837d049010b0e8
Author: Michael W <baddaemon87@gmail.com>
Date: Sat Oct 22 14:47:09 2016 +0200
Snap: Fix possible NPE
Seems like getSupportedFocusModes() can return null.
Check for null before using it further
Change-Id: I46860f780b99970cbe9857c8ba73691d69321488
Reference: BugDumps 20161014-20 L#131
Change-Id: I066a26043cc89b3037e457d8da340ed4b005ee1f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: codeworkx <codeworkx@cyanogenmod.org>
Date: Wed Jan 6 11:35:40 2016 +0100
Snap: add support for shutter speed
Change-Id: Id3393280c7c1c2f292d71587ba099e8dbafd1340
Author: codeworkx <codeworkx@cyanogenmod.org>
Date: Fri Jan 8 19:38:15 2016 +0100
Snap: Restart preview when shutter-speed gets disabled
Change-Id: I3884b23f1c855cfffeb20ca6e2a760732370d772
Change-Id: I82144c80d8fc2e7324b3dc8cde44b5b2934bdd50
|
|
|
|
|
| |
Change-Id: Ib2c2c152a52b2616dd0da6f071f572d34fe64065
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using openLegacy on QCamera3 forces it to use QCamera2
and fall back to api v1 which is not what we want on v2 devices.
Author: codeworkx <codeworkx@cyanogenmod.org>
Date: Tue Jan 5 23:02:12 2016 +0100
make openLegacy an option
Change-Id: Ia4142288ef0fafa62fa0ab855dc342b363b640cd
Author: Zhao Wei Liew <zhaoweiliew@gmail.com>
Date: Sun Jul 10 15:11:43 2016 +0800
Snap: Tighten openLegacy() try-catch block
We only have to enclose the openLegacy() call in a try-catch block.
This prevents us from re-calling open() when open() fails and
throws a RuntimeException.
Change-Id: I81396e453f57215338a0c4da41c4116f2b4d42ca
Change-Id: Ic392a4ae9403ebae36940ddf0727237d9cb9e8f0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: codeworkx <codeworkx@cyanogenmod.org>
Date: Mon Jan 16 00:10:40 2006 +0100
Snap: Add options to restart preview onPictureTaken
Change-Id: I7ce9d6f2323e367743e6d4c9662b846d3052f2a4
Author: LuK1337 <priv.luk@gmail.com>
Date: Mon Jan 11 17:40:58 2016 +0100
Move mApplicationContext to init()
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
Author: codeworkx <codeworkx@cyanogenmod.org>
Date: Fri Jan 22 17:17:53 2016 +0100
Snap: Do not restart preview during longshots
Change-Id: I6ad439dc0be7c6e0d13ac7c22aacdc0ad559d051
Author: LuK1337 <priv.luk@gmail.com>
Date: Sun Mar 19 10:43:33 2017 +0100
Snap: Add overlay for restarting camera preview for additional cameras
Change-Id: I95eb7237b101b73d66fe231a11d0c8d5156bfe47
Change-Id: I49312aef5331bf549e38a0534b95f76a0b8bb8da
|
|
|
|
| |
Change-Id: If734a7f4c25465876e657926700763b9169d786e
|
|
|
|
| |
Change-Id: I3a948495cdf84dae3c1734d50ff91b4a5d3d9fc0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: Michael Bestas <mikeioannina@gmail.com>
Date: Wed Oct 8 22:45:05 2014 +0200
Snap: Add ISO values for sony devices
Change-Id: I6d76e2c02ed6222e06aaa59161b3b16e885e6462
Author: codeworkx <codeworkx@cyanogenmod.org>
Date: Tue Jan 5 19:28:40 2016 +0100
add additional ISO values
Change-Id: I373457adfa7c6808a1b0303f2f6b10e0b27a1ecb
Change-Id: I82d11d55b96d8afd90478f08b2a1f0df056924e9
|
|
|
|
|
|
| |
* Set maximum screen brightness while the user is inside the camera app
Change-Id: I8b16ba47a933bc7d6b0c1cd62bfd6ca54875ce1e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ported from cm-10.1
Including cm-10.1 camera commit:
aa4ae80a41fbab763891c5ef6d67a9e5b4bb981b Don't mess around with pref local ID for power shutter initialization.
Includes http://review.cyanogenmod.org/56986
[mikeioannina]: Updates for L
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
Change-Id: I0992baa558eefd306d00fbece59cb5c512d9448b
|
|
|
|
| |
Change-Id: I583e212f3c43a5ddf80fdb16557b3ddd9e3161c2
|
|
|
|
|
|
|
|
|
|
|
| |
The default for antibanding should be "auto", otherwise there will
be banding effect when taking photos in certain lighting.
Normally, the default on most devices is "auto" (depends on Camera
HAL). But the code from CAF changed it so that the Camera app
explicitly change it to "off".
Change-Id: Id0c2ef6e17bac74d22e12213ab2ed26c1c73783d
|
|
|
|
|
|
| |
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
Change-Id: I3db982732d15fb4eb83d5e37bff1a123225d4e8e
|
|
|
|
| |
Change-Id: I255d73b6e221655f9592047ccf848460d985c3b3
|
|
|
|
| |
Change-Id: I3d589945ea31f40890a94b43555268b6b3060e37
|
|
|
|
|
|
| |
This reverts commit e73e717b8be1ba834161914af4debc61c1feb8be.
Change-Id: Iee719f34f6016f89ec0bb1c078bfa25c2f718436
|
|
|
|
| |
Change-Id: I84709f77aaec59752ac78b5ffbb92ab166528c84
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Complete the function of MFNR/MFSR.
CRs-Fixed: 2275738
Change-Id: Icc45de57a2d1febbdb74e57f3e6e0b76d08a51b6
|