| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Add Camera2 dual camera support to SnapdragonCamera
CRs-Fixed: 989750
Change-Id: I45a749ad03a531286a39cbfcfdcb65e5cad4759e
|
|
|
|
|
|
|
|
|
|
|
| |
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: I0260710461d61d48211fe8a9efdeb5d192f862ff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
We rotate our views by ourselves, starting on portrait orientation, thus
make the SecureCameraActivity manifest entry consistent to the
CameraActivity one.
Change-Id: I6421795a6c26bac1653eeb2eb1e545f4886b4641
|
|
|
|
|
| |
Change-Id: I94ed12ddd33729a4fb486f7fb68f1bbab788b239
TICKET: FEIJ-522
|
|
|
|
| |
Change-Id: I0ce48da277a532b46fdde15027f636de4d7585b7
|
|
|
|
|
|
|
| |
Just for initial ship
Change-Id: I8d6c0d71d1b94e6eb2f43ab962fb92de0e6c7093
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
|
|
|
|
|
|
| |
Add permission to access RotationPolicy
Change-Id: Ib64b2119b04f6470d12ba469db1aba0762f73062
|
|
|
|
| |
Change-Id: I279e764987fea743aa78575748a831e31ba28c0c
|
|
|
|
| |
Change-Id: I07da25f50e52b4085deec1d520806afc6da5e1da
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: I3d589945ea31f40890a94b43555268b6b3060e37
|
|
|
|
|
|
|
|
| |
Add broadcast receiver to monitor SDcard status, update the storage
space and hint when the SDcard was mounted or unmounted.
Change-Id: I4b114d42d26091588d745fee874c04d595d5cfa1
CRs-Fixed: 790983
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix camera activity to portrait, so there is no delay when rotation
occurs. Main changes are:
1. RotateLayout now supports padding and dynamically added child.
2. Camera controls and gesture detetion are now orientation-aware.
3. Toasts are replaced with RotateTextToast.
4. Obselete layout files are removed.
Change-Id: I338849bd7fb84b847eb357f771a24a5cc09bf6fa
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add a scene mode for refocus. If the latest photo is taken with
refocus, user can click on the preview thumbnail, then refocus it
by tapping on the photo.
Change-Id: I2fd69439467f5a1e33d23d8d239aa3472d88b585
|
|/
|
|
|
|
|
|
| |
activity-alias has to be put after the target activity.
CRs-Fixed: 777770
Change-Id: I25d5af2311d8e0d1a575f69ffd9f2d1d7e1e6721
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The window flag FLAG_SHOW_WHEN_LOCKED is workding even if press power
key, so camera activity will not be close still run above locked screen
UI.
The CameraGestureActivity is start from screen off, so it will be a
SecureCameraActivity. Finish activity as same as the secure camera
activity.
Change-Id: I76d8ff3d2f037b81140b35255b52b4c4f4de95d3
CRs-Fixed: 777770
|
|
|
|
|
|
|
| |
Make the activity could show above lock screen and turn on screen
when it is started by gesture operation.
Change-Id: I2099154f2325de83597b4262203c58a84b91f2d9
|
|
|
|
|
|
|
|
|
|
| |
Set 'launchMode' to 'singleTop' instead
of the default 'standard'. This will avoid
the multiple activity instances that could
be triggered during some robustness test
scripts.
Change-Id: I0948301be4dcb62b7ae962b655447e06c3ee555b
|
|
|
|
|
|
|
|
| |
Rename package from com.android.camera2 to org.codeaurora.snapcam,
module name from Camera2 to SnapdragonCamera and app name from
"Camera" to "Snapdragon Camera"
Change-Id: I2800070e72631e119a15fe0132424d1047be9f0c
|
|
|
|
|
|
| |
Enhance KK cameraapp for L.
Change-Id: If708b253f34a131d7842f8921e54c008283e0056
|
|
|
|
|
|
|
|
|
|
|
| |
As targetSDK is JB, all jelly bean specific codes are getting
executed. As a result, two callbacks are getting registed
for autofocus and that caused incorrect FD circle colour behaviour.
Changed the targetSDK to kitkat(19) as per Build.java file.
Change-Id: I748c79591abcbd1c2b25ad7969457cdb38e08204
CRs-Fixed: 647208
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a feature to choose use SDcard or phone to store picture
and video captured by camera and camcorder.
Some of the changes are taken from:
I987a691c93edc4250fe0366d0623c85ea0152117
CRs-Fixed: 619806
Change-Id: I009df4c70f0a1b49b20750f806c799f025bb6197
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Delay onResume tasks to speed up lockscreen onResume->onPause->onResume launch sequence.
Import translations. DO NOT MERGE
gcam: Clean up placeholders, and add deletion robustness.
Fix issue of focus indicator staying on without being hidden
Ensure view size gets updated after phone decors change.
Show the 100% state of the progress at least one frame.
Add parameters and deduplicate parameter changes
Revert parallel opening camera in photo mode.
Differentiate the InProgressData from the normal PhotoData.
Close mode menus if another control is touched
Start gcam module directly when handling capture intent.
Import translations. DO NOT MERGE
Add a null check to fix NPE
Add logging to various actions
Ensure mOpenCameraThread has been setup before dereferencing.
Add logging to various actions
Ensure mOpenCameraThread has been setup before dereferencing.
Add GCam progress indicator.
hide preview cover on arrival of new preview data if hidden
Fix photo mode is getting stuck in a single CameraState.
...
Conflicts:
res/layout/photo_module.xml
res/values/arrays.xml
src/com/android/camera/CameraActivity.java
src/com/android/camera/PhotoUI.java
src/com/android/camera/Storage.java
src/com/android/camera/WideAnglePanoramaModule.java
src/com/android/camera/ui/FilmStripView.java
Change-Id: Ic41b4e7e07b2b0ed7936b78a6c5f05270d05985f
|
| |
| |
| |
| |
| |
| |
| | |
At the same time, make sure the bottom controls are following RTL rules.
bug:11481090
Change-Id: I52262aece7c16c194b6419150c1d4c13abff4f2d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
CameraUtil.launchGallery incorrectly describes a mechanism to call an APP_GALLERY
category intent. Since we're using Gallery icon we should go direct to Gallery,
which IntentHelper already does. Simply removed the util class and call the
helper direct from the activity. Also noticed during testing that the SecureCamera
was not correctly showing the Gallery icon, though its behavior would take user
to Gallery. Finally, removing restriction that the video player intent should
go to Gallery, instead it should route to system preferred intent.
Bug: 11065256
Change-Id: I941f9469de169919c4bac6c91dde7e577921f737
|
|/
|
|
|
|
|
|
|
|
| |
Camera button broadcast receiver registration was missing in manifest
file of Camera application. So camera hardware button long click was
not launching camera application. This change registers the broadcast
receiver in Android manifest file.
Change-Id: I53e6f7029fbe24c303b500487a54edb10e2b8ac9
CRs-Fixed: 574354
|
|\
| |
| |
| | |
gb-ub-photos-carlsbad
|
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 10951073
Excluding the Gallery3d and gservices permissions.
Change-Id: If6508114a47e1a793a2b4caab81437242907f8d2
|
|/
|
|
|
|
| |
Bug: 11033304
Change-Id: I9fc4d3b02b1dd041988fb9d0f313693b5ae1b865
|
|
|
|
|
|
| |
Bug: 11006006
Change-Id: Ie6bb4cecc58f25947998f1faa4da6b3b84dc5df3
|
|
|
|
|
| |
Bug: 10932790
Change-Id: If8847e06049e63116381904382db7dfcebb55010
|
|
|
|
|
|
| |
Bug: 10912467
Change-Id: I2f03b7e7c84d76add7a43c30f097f902f1e25e56
|
|
|
|
|
|
| |
bug:10367125
Change-Id: I8dce6d799e7469ff048d419598d87b0c04bef2a0
|
|
|
|
|
| |
Bug: 10748904
Change-Id: If80f3354071893dc4f8bd60e4ca605d3626ecdf9
|
|
|
|
|
|
| |
Bug: 10509882
Change-Id: I58e7d26afb5636fa156ec22b7c1cfa21262dd9f7
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 10461009
This is the scheme copied from GMS Core and modified by Babel, which
allows us to generate version number more easily and also incorporate
build numbers into it.
Change-Id: I6ed4bf03e545a22423cb9936a5fcb67a50133490
|
|/
|
|
|
|
| |
Bug: 10509953
Change-Id: Ia5522fce1892e521c12fcc2f152afe7009026ac5
|
|\
| |
| |
| | |
gb-ub-photos-carlsbad
|
| |
| |
| |
| |
| | |
Bug: 10349073
Change-Id: I06c24cebc50fe555ec150813117955da09814fb4
|
|/
|
|
|
| |
Bug: 10314435
Change-Id: Ic8ba05e6bfecfff365b2fd759d7669c1015a3845
|
|
|
|
|
|
|
| |
Similar to the one in Gallery2 manifest.
Bug: 10312966
Change-Id: I5325f8cfeba2a3825cd5604d4fee7c209067aba1
|
|
|
|
|
|
| |
Bug: 10296343
Change-Id: I55fb6c71b59a1559ebb58c65e71d510379367435
|
|
|
|
| |
Change-Id: Icbd776f5e2b07464de94b41081358996920eafcf
|
|
|
|
|
|
| |
bug:10263696
Change-Id: I3a16dba3aabe52b8103a2c591cfa39907265a263
|