| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* We should avoid putting arrays in crowdin
Change-Id: I599c939f06a1dabb5d39921a0ecd2deecb3a49fe
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added:
Washed
Vintage warm
Vintage cold
Point green
Point blue
Point red-yellow
Change-Id: Ib5f6781347ad7cf99eb50e4e6be0446624219981
|
|
|
|
| |
Change-Id: I429cae7c6c77a5c555abcfc3a6c4f2c629253e30
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
Change-Id: I7cc33c7ebc6de35d19979a9a70f198029e46d88f
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
|
|
|
|
|
|
|
| |
libs from me.dm7.barcodescanner:zxing:1.9.0 maven cache
Change-Id: Ib97b7e54d8e28cd6f637e452eb41045052cae3dc
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
|
|
|
|
| |
Change-Id: Ic9d5a7b98fffbb153ffc84b79a1698e44b79b683
|
|
|
|
| |
Change-Id: I0bce8fd9528294d7485a87f00283a12976857b0a
|
|
|
|
| |
Change-Id: I64c230b6a9e004d0ba788d4d0d2c11cff687575d
|
|
|
|
|
|
| |
* values-be-rBY is used now
Change-Id: Icc22774388f0f9d924b055de41cb373328c28613
|
|
|
|
| |
Change-Id: I0295a8d8b9e752532dfaae6fc5093e8c3b6e20c2
|
|
|
|
|
|
|
|
|
| |
* Fix the issue where the camera mode switcher
is disabled after rendering a panorama photo
BUGBASH-1004
Change-Id: Iba653870c02d5791ec09dc414dfd63a3aeb50866
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds parts of the following commits:
From: Jay Wang <jaywang@codeaurora.org>
Date: Fri, 28 Oct 2016 14:42:04 -0700
Subject: [PATCH] SnapdragonCamera: Adjust video encoder bit rate and add 60fps
support
- Configure the video encoder bit rate to the recommended value
- Add 60fps video frame rate support
Change-Id: I477487c4c4fab5479534896d90e08c3eadddc54f
CRs-Fixed: 1074187
From: Sai Kumar Sanagavarapu <ssanagav@codeaurora.org>
Date: Tue, 11 Aug 2015 15:23:15 +0530
Subject: [PATCH] SnapdragonCamera: Query encoder capabilities for unsupported
profiles.
Query encoder capabilities like max fps, width, height ,etc and
based on this result enable/disable certain profiles/hfr modes.
Change-Id: Ib5adf74eaa8d50f9ed8337a88932527624727cd4
|
|
|
|
| |
Change-Id: I23b0bdb2f637cc6cc78677dfaf2b6a23eebeb6cf
|
|
|
|
| |
Change-Id: Ic2ae369c1c05ff09eb45fdf6c6004aa1e712ace5
|
|
|
|
| |
Change-Id: Ic1437db15763cf342088b8911298433d9ccd26ae
|
|
|
|
| |
Change-Id: I7c2a1f3c7ff0b4767d5ca1211965813e7e35574e
|
|
|
|
| |
Change-Id: I97e537aba1ac490391ca0acc0c539d03c7da36fa
|
|
|
|
| |
Change-Id: I90a45efaa145e070a0680b550f4936eca54d706e
|
|
|
|
|
|
|
|
| |
Breaks external storage access.
This reverts commit bbb6ee12f99d32e4ce04670f1edf3fa484c0d401.
Change-Id: I5b3c47a5b189fcb1592964c5eddafb49365c1571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 382e2cb9c930a129aca9e83315660e8172786fb4.
* The original commit was a quick way to get the needed permissions
without adding the support for runtime permissions, which are now
handled.
* this kind of app is not expected to be a privileged app and as
consequence it ends up running in the wrong SElinux context
-> Fixes taking and cropping user images
Change-Id: Ic585d232ada6dcba208fcb49634e46806e4b954f
|
|
|
|
| |
Change-Id: I66f08baf3ac80196ad15608f9135be03cca77f08
|
|
|
|
| |
Change-Id: Icdce2bea8b9c08750080cae6265f7fda4fa25750
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These permissions are not required, so remove them.
Since we no longer declare their use, go back to the default signing
key. This will allow to disable the Snap from the settings.
This reverts the following commits:
53e8b4a71dd0515d922964 ("SnapdragonCamera: Add missing permissions")
bd1d6ea46043e54feca758 ("Snap: Sign with platform key")
Change-Id: I54add5781555f1672918817825ea97c8b51e8ded
|
|
|
|
| |
Change-Id: I95eb7237b101b73d66fe231a11d0c8d5156bfe47
|
|
|
|
| |
Change-Id: Ic79a8add4c98da08a78fc096682d8fc6617f5760
|
|
|
|
| |
Change-Id: Iae1d2c6d377b203ec8905d52815510c616f2f1d9
|
|
|
|
|
|
|
|
|
|
| |
(1) Increase the size of the preivewSize according to the ratio of
the pictureSize.
(2) Change the mVideoSnapshotSize from the mPictureSize to mVideoSize.
(3) Reconstruction the getMaxPictureSizeLessThan4K method.
CRs-Fixed: 1116242
Change-Id: Ic7dbab23fd0ee083cd38818fa39f4893de7c1d24
|
|
|
|
|
|
|
|
|
| |
When the video is seted 4K UHD, the mVideoSnapshotSize should
be setted the similar aspect ratio to ensure the picture which live
shotted is not stretched.
CRs-Fixed: 2012167
Change-Id: I15d139c6d558923d6b4a32ee3613c44c7a974129
|
|
|
|
|
|
|
|
|
|
|
| |
When camera is opened with front camera, enable SelfieMirror in
horizontal screen. When jpegData`s exif `s orientation is enabled,
set the image rotation angle of 180 degrees to ensure the picture
is right direction. SDM660 installed front camera is 270 degree.
MSM8998 installed front camera is 90 degree.
CRs-Fixed: 1112749
Change-Id: I350f588142215e7b0793d1aa6dc573bad239baac
|
|
|
|
|
|
|
|
|
| |
When camera is open front camer, and is in horizontal screen mode
enable Selfie Mirror, set the image rotation angle of 180 degrees,
to ensure the picture is right direction.
CRs-Fixed: 1112749
Change-Id: I9b53804b7897f174c537693ff59db96df858e71d
|
|
|
|
|
|
|
|
|
| |
After setPreviewSize() is called, the size of
the preview is not changed, need to invoke
showSurfaceView to make it update.
Change-Id: I67215bcce77c1016a0dfd66d100dcd251597af78
CRs-Fixed: 1105422
|
|
|
|
|
|
|
|
| |
Modidfy render script to implement new flip way
according to the front camera mounting position.
Change-Id: I5681447aa17c0499bcb7dc47eef6d4793ee68818
CRs-Fixed: 1097179
|
|
|
|
|
|
|
|
| |
Modidfy render script to implement flip another way
not 90 according to the camera mounting position.
Change-Id: Id6b305fd2b00bc4193f1ba73d4253794e04ee3a6
CRs-Fixed: 1087483
|
|
|
|
|
|
|
| |
Checking the case that front facing camera is 90 instead of 270.
Change-Id: I75319db771057d64d1a21a1de825edd54af83982
CRs-Fixed: 1072060
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the screen is PORTRAIT mode, we get the screen always height < width.
But we get the image always height < width.Under this circumstance,
the inSampleSize maybe incorrect , which will cause OOM when create bitmap.
Need to check the screen's orientation,and choose the correct width and
height to calculate the inSampleSize.
Change-Id: I11743c862ebdb9d35c4fc5de7bf40003c69b7219
CRs-Fixed: 2013250
|
|
|
|
|
|
|
|
| |
Remove auto video snapshot size menu and use picture size
setting instead. In case of 4k, use one that is smaller than 4k.
Change-Id: Ic8ab193055afa0f571c73a074d346c2a9f8dbacd
CRs-Fixed: 1066519
|
|
|
|
|
|
| |
When it's focusing, don't cancel auto foucus.
Change-Id: Ib1d660ac6a99da56d70cf437dad3126a641956d1
|
|
|
|
|
|
|
|
|
|
|
|
| |
CaptureModule and CaptureUI have register listeners in
SettingsManager, but forget unregiseter when UI destroy.
This makes the too many RenderNode objects exist and never GC.
At last, the weak reference of RenderNode at native layer exceed
the 51200 limitation and crash.
Unregister the listener of SettingsManager will fix it.
Change-Id: I2aca795c813177fd34ed18e88f5c9b929a749bff
CRs-Fixed: 1103907
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In monkey test, set defaultValue operation in xml file, parsing
XML in framework code, pref.getValue() return null when
defaultValue not ready. When findIndexOfValue() failed to get
the index of the value, it will return -1, but -1 can`t be the
index of the array, it will cause exception. So if can`t find
the index of the value, just go back and don`t execute the
following code.
Change-Id: I2b5595d7d558e3ab3863287e3d1424df141c5d59
CRs-Fixed: 1063228
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Permission without the case of granted, through the mms
to add attachments to enter the Camera, it will lead to
call two times PermissionActivity, which led to FC and
the wrong interface.
Add a logical judgment to call one time
PermissionActivity
Change-Id: I8b3f287eecb1dfc8f8c5a26a9f0b9dbe187d8ce6
CRs-Fixed: 1069373
|
|
|
|
|
|
| |
When pause/resuming, reset zoom value to default value
Change-Id: Ib1313009cfd8c44daa2032d20da863fe10eeddf0
|
|
|
|
|
|
| |
Remove CONTROL_AF_STATE_PASSIVE_FOCUSED to make sure AF is ready
Change-Id: I581480e5a3f1a40062140eeed0c26d769c60e4db
|
|
|
|
|
|
|
|
|
|
| |
When clearSight is failed, handleTimeout() is invoked to
reset clearsight Engine, but ClearsightProcessHandler is still
working and try to access null pointer object.
By adding protect of null pointer can fix this issue.
Change-Id: I4722721f3715077ec8303c4d14693ae4c1484420
|
|
|
|
|
|
|
|
| |
Make a copy of saved location object before altering timestamp
since we may end up re-using the same location object down the line.
CRs-Fixed: 1007285
Change-Id: Ifa8b7cd3ecfe2dede5cfa155818f48f51f4405f1
|
|
|
|
|
|
|
| |
PackageManager: Not granting permission android.permission.INTERACT_ACROSS_USERS_FULL to package org.cyanogenmod.snap (protectionLevel=258 flags=0x3858bc45)
PackageManager: Not granting permission android.permission.SET_ORIENTATION to package org.cyanogenmod.snap (protectionLevel=2 flags=0x3858bc45)
Change-Id: I088ea4ee72c82732f372b1d698c9c046076cd499
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Snap does not correctly handle devices with a landscape screen as rotation
is 0 when device is in landscape while Snap assume that 0 is portrait.
This lead to a rotated gui and a deformed preview.
This commit:
- Solve the gui rotation for Photo, Video and Panorama modules
- Solve the deformed preview for Photo and Video (Panorama preview was ok with gui fix)
- Solve the PhotoMenu rotation (all devices, it was also broken on portrait devices)
Change-Id: Ic0b95904da6e13946c7e46e2e571b26da498db02
|
|
|
|
|
|
|
|
|
|
|
|
| |
Launching Gallery when the home button (shown as back button) is
pressed makes no sense, especially because it's only shown in Snap's
own gallery. In addition to that, if Gallery is disabled, Snap closes
itself. Fix both the issues by simply simulating a back button press
when the menu back button is pressed.
REGRESSION-607
Change-Id: I0b2b6ee074715e2866bcebb009118b8271b1efdf
|
|
|
|
| |
Change-Id: Icc291d4391d0b784b5876a6037c970f292066bae
|