| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* Hook up available metadata to the new focus manager.
Change-Id: I793df67a2682d8bb2dee994193111227dd8c8d5a
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
Change-Id: I19d8a3d5a12c4be06bced056b80ad1a354c6b761
|
|
|
|
| |
Change-Id: I0ce48da277a532b46fdde15027f636de4d7585b7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: Su Liu <suliu@codeaurora.org>
Date: Wed Sep 4 18:16:50 2013 +0800
Camera: Change volume hard key button to zoom function
Able to capture image through volume hard key
button in camera application, change the function
to zoom function.
Change-Id: Iab9fc2492b2e2ff89cd58c21bac2f147f47b77e2
Author: jt1134 <jt1134@gmail.com>
Date: Sat Jan 4 20:52:27 2014 -0600
Camera2: implement volume key zoom in video mode
Change-Id: I140e8cfb3e39700f60e40c35b38e92c83a3c26de
Author: Lars Greiss <kufikugel@googlemail.com>
Date: Sun Feb 2 03:09:22 2014 +0100
Camera2: tweak volume key zoom and cleanup
- cleanup unused code
- cleanup codestyle
- add more zoom steps for smother zooming
- show zoom circle indicator during zoom
Change-Id: I5214fc2620a0c5167bfdc8e85f7115966c3b8bcf
Change-Id: I99dd2fffc92985156eece67c19435a71d14cd928
|
|
|
|
| |
Change-Id: I83a2675e109dc7924cdd9240b26051ac218f532a
|
|
|
|
|
|
|
|
|
|
| |
Landscape devices have broken preview because PORTRAIT mode is
being abused to check for screen rotation. Use proper rotation
check to fix.
Ported from cm-10.2
Change-Id: I75588cbce9843e180e4be7591f6a43bcec788506
|
|
|
|
|
|
|
|
| |
* initializeControlByIntent() expects mVideoMenu to not be null
and initializeOverlay() initializes mVideoMenu when it isn't null
* Change the order the functions are called to prevent possible NPE
Change-Id: I6d240892f3bd318031983243760d87ab46b25edb
|
|
|
|
|
|
|
|
| |
Ensure all the unuseful icons are hide when
Show the video preivew UI.
Change-Id: Ia59bb9d50a0d4e2cd8892faa74e6074725c4776e
CRs-Fixed: 1099277
|
|
|
|
|
|
|
|
|
| |
In Camera2, SharedPreferences persistes GPS location value by
key(pref_camera2_recordlocation_key), but gets GPS location value by
key(pref_camera_recordlocation_key).
CRs-Fixed: 1088262
Change-Id: I33ddeb8f20fed03449bded2760c0ad1b8e36c91c
|
|
|
|
|
|
|
|
| |
Adding tracking focus jni library loading part
and touch event
Change-Id: Ic570a09a0d93eb4b81e52334ba4a1bee2b67cb12
CRs-Fixed: 1067848
|
|\
| |
| |
| | |
camera.lnx.1.0-dev.1.0
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When camera is in secure mode, it will still listen to the preview
event although the circle is invisible to the user. So disable the
event listener of preview button.
Change-Id: Ic4f1dbf32163a7f210e3f4b87599699f44e8f7b0
CRs-Fixed: 1002685
|
|\ \
| | |
| | |
| | | |
camera.lnx.1.0-dev.1.0
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The layoutParam of FaceView is not the same as prview surface,
and cause the offset.Remove setting layoutParam in the method
onStartFaceDetection() and calculate the screen ratio in the
VideoModule to get the correct layoutParam for FaceView
Change-Id: I9bc2759bcb50514c183628e9d4f31d2f54437dc7
CRs-Fixed: 1064295
|
|/
|
|
|
|
|
|
|
| |
When mMenuLayout was null, invoking sendTouchToMenu in VideoUI
will cause NullPointerException.Add a judgement to avoid
mMenuLayout to be null.
Change-Id: I7278d01fe62928efd93fade919ffd474b7ce6ebc
CRs-Fixed: 1060918
|
|\
| |
| |
| | |
into camera.lnx.1.0-dev.1.0
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
VedioUI don't calculate margins for cameraControls when the screen ratio
isn't 16:9, this will cause abnormal menu in the device, so alway
calculate margins.
Change-Id: If55008bc549c852ee499228094d49d7eb1d80c5d
CRs-Fixed: 1052562
|
|\ \
| | |
| | |
| | | |
camcoder" into camera.lnx.1.0-dev.1.0
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
OnDraw method can't be triggered by invalidate(), so set LayoutParams
of the faceview to request a layout, and then OnDraw method will work when
invalidate() is called.
Change-Id: I7407700befad925e73ca8ce9eaa01fc7d3de1ab0
CRs-Fixed: 1043599
|
|/
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| | |
into camera.lnx.1.0-dev.1.0
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The preview cover is removed before the preview frame is
generated and causes the homescreen shows up for a short
duration. To resolve the issue, show the preview cover by
default until the first preview frame is generated by
camera framework.
Change-Id: I1e193b64689b8b51eaa0e3891974405536869efd
CRs-Fixed: 1003977
|
|\ \
| |/
|/|
| | |
camera.lnx.1.0-dev.1.0
|
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of removing and adding the entire root view, changing only
core surface view on module change.
Change-Id: I5c39cf23b2a58280f4e4e8484865bbed0b12e1cf
CRs-Fixed: 979254
|
|/
|
|
|
|
|
| |
Add zoom support to Camera2
CRs-Fixed: 989750
Change-Id: Id6b558ff5215f04ca7c201b1d1807521d615c353
|
|
|
|
|
|
|
| |
Reset the settings menu when the device is rotated
Change-Id: I6c4fed7207a4d26a9d7c29d18f6a7af17ef3d4f9
CRs-Fixed: 981504
|
|
|
|
|
|
|
| |
Add video face detection to developer option
CRs-Fixed: 978207
Change-Id: I9308573a5a1004fc3803a955bc96f495ecbfc6c7
|
|
|
|
|
|
|
| |
Fix flickering Video preview when pause/resuming
Change-Id: I7e20cfdc06fc940f4fc96f408ce6ab570b0d8e64
CRs-Fixed: 971394
|
|
|
|
|
|
|
|
| |
Let the recording rotate layout to be removed by default
and added when it's needed.
Change-Id: I2b910897956b914c150941276b299160e9147055
CRs-Fixed: 958510
|
|
|
|
|
|
|
|
| |
Keep using modules instead of creating.
Don't remove the view without cleaning it.
Change-Id: I260a660cac3d770f7d02dfdc1881e15490da66a0
CRs-Fixed: 958510
|
|
|
|
|
|
| |
This reverts commit 8fce47a5fb0277b3763b94a1fd23ea499d35e4b1.
Change-Id: I955f7ad42df89d30b39b8c7c26473ceac69a9c9d
|
|
|
|
|
|
|
| |
Introducing audio mute button on video recording
Change-Id: I69ff6fe97c4b8d76a890b5e41667dab534d69ba8
CRs-Fixed: 937239
|
|
|
|
|
|
|
| |
Moving Image Stabilization option to the menu
Change-Id: I7fb025a3d1909af436e7a52ee9d602b2ce2dc68b
CRs-Fixed: 937237
|
|
|
|
|
|
| |
This reverts commit 59b05fd1d75943f037aec41def16cdceb6443ecf.
Change-Id: I807bdbf0fe669a989d58484ab11451c891acaf5b
|
|
|
|
|
|
|
|
| |
During recording, there are only 2 widgets on UI. Directly attaching
them to window manager and making main UI layer fully transparent can
reduce power consumption.
Change-Id: I8c4f4768ab91d50fc72080f0f6d7316ee2e60ef4
|
|
|
|
|
|
|
| |
Time lapse recording now has pause/resume support, so don't hide pause
button.
Change-Id: Ia1b4f1bd2f571cb4a2b9f6f27f07d442eb43be61
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As per new open camera optimization, setContentView is called after init.
But VideoModule has a dependency in initialization on setContentView as
if setContentView is not called before using mFilmStripView then its value
is null. To avoid this changed the location of using mFilmStripView from
initialization to onResume.
Change-Id: I6f0116fa82554b11b06d733b3952e6596daa50d3
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The menu items will make user confused if show them on the captured
preview view.
Hide them in that scene, show them again after restart camera preview.
CRs-Fixed: 851505
Change-Id: I16df39645209621058a644e2da17e22010a7f451
|
|/
|
|
|
|
| |
Set navigation bar according to flag and set it to show by default
Change-Id: I5ddb9d5f8150d7fd1d182bacb25cd02651a2db5b
|
|
|
|
|
|
|
| |
Remove the navigation bar in order to take advantage of full screen.
Change-Id: I25f42af825c4f3b7ad6521c2ee6d62fa4219044a
CRs-Fixed: 865254
|
|
|
|
|
|
|
|
|
|
|
| |
The preview cover was shown when onPause, but didn't hide after
resume. That caused the video preview turned to black screen.
After the camera preview starts, hide the preview cover if it is
still showing.
Change-Id: I79fdcd45d46d7c083a132e864bbf42649b100ae4
CRs-Fixed: 865933
|
|
|
|
|
|
| |
Fix Zoom UI's orientation
Change-Id: I9c14b08729e099c263d612289ccb8b7ed757168b
|
|
|
|
|
|
|
|
|
| |
Coordinate direction is opposite in RTL mode.
Modify Coordinate direction in RTL mode.
Change-Id: I3fcd42fc27d430b486f9cccdde5ecec0d0468d30
CRs-Fixed: 819310
|