| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
A workaround to remove preview cover after picture is taken, if
preview cover is not removed right after preview started.
Change-Id: I723d70fde6ecaf7302714daa6648c85d8a40d1b4
CRs-Fixed: 1016691
|
|
|
|
|
|
|
|
| |
Instead of removing and adding the entire root view, changing only
core surface view on module change.
Change-Id: I5c39cf23b2a58280f4e4e8484865bbed0b12e1cf
CRs-Fixed: 979254
|
|
|
|
|
|
|
|
|
| |
Removing unnecessary code of checking the orientation.
Swapping width and height causes redundant shrinking
resulting to the wrong size calculation.
Change-Id: I64badc2bd3198e409fe5673198e864d5025364e9
CRs-Fixed: 979254
|
|
|
|
|
|
|
|
|
|
|
|
| |
Occasionally, the previous preview frame is presented and
caused the screen flashing, when continuously triggering
suspend/resume.
To resolve the issue, hide the preview surface during
suspend and make it visible during resume. This helps
to clear the remaining preview frames in the buffer.
CRs-Fixed: 991416
Change-Id: I96fff0fdae6bd14263f33b1a9032604596cf49c1
|
|
|
|
|
|
|
| |
Reset the settings menu when the device is rotated
Change-Id: I6c4fed7207a4d26a9d7c29d18f6a7af17ef3d4f9
CRs-Fixed: 981504
|
|
|
|
|
|
|
|
|
|
| |
During layout change, it is possible camera preview is not
configured, yet and Camera.Parameters.getPreviewSize()
returns null pointer. Adding a null check to skip the layout
change if the pointer is null
Change-Id: Icb3ecf60c261e68cc5f2b05eba4df020857022eb
CRs-Fixed: 945969
|
|
|
|
|
|
|
|
| |
Keep using modules instead of creating.
Don't remove the view without cleaning it.
Change-Id: I260a660cac3d770f7d02dfdc1881e15490da66a0
CRs-Fixed: 958510
|
|
|
|
|
|
|
|
|
|
| |
- Swap top menu items order in RTL
- Swipe in menu from the right in RTL
- Make it possible to select scene/filter items in RTL
- Remove/clean up some nonsense code
Change-Id: I884a06f5cc6e72a1d2ee19dbdf32ce511c8466ec
JIRA:NIGHTLIES-2849
|
|
|
|
|
|
| |
* Hook up available metadata to the new focus manager.
Change-Id: I793df67a2682d8bb2dee994193111227dd8c8d5a
|
|
|
|
|
|
| |
This reverts commit 57799db3c1757618e00d331fe659ac4058624352.
Change-Id: I6027d853c9791a1b14c0dffcce038b450019735a
|
|
|
|
|
|
|
| |
* Don't needlessly break touch-to-focus during various modes
* Set focus parameters immediately for better UX
Change-Id: I39b287562c3d2b62a1d5c8953577e366b11b8e15
|
|
|
|
|
|
|
|
| |
For top level menus, add padding so all menu items can be scrolled to
not be covered by the navigation bar. For sub menus, place them to not
be covered by the navigation bar.
Change-Id: I22961c19b7bf80a26eec03b5feabfda10e910669
|
|
|
|
|
|
| |
If height is smaller than width it means that orientation sets to horizontal
and we should decrease width instead height to get normal preview size.
Change-Id: Ifa211ad2604fb730fb85b01ae1d7c93c9b7aa2ce
|
|
|
|
|
|
|
| |
Introducing SelfieFlash feature.
Change-Id: I7b73d9db585038640b715092b01e037538ef68aa
CRs-Fixed: 937232
|
|
|
|
|
|
|
|
| |
Subtract top and bottom margin from the max height of the preview
Let it be aligned correctly to the top and center horizontally.
Change-Id: I6c5b3fde57c1a514725a6316dbe8e0c799a928d0
CRs-Fixed: 965033
|
|
|
|
|
|
|
| |
Adjust top and bottom margin on every ratio.
Change-Id: I755c15039e355d13bcc08e6463f38deba668a234
CRs-Fixed: 951525
|
|
|
|
|
|
|
|
| |
On layout change, need to call preview size change again
as it's not guaranteed it's called first always.
Change-Id: I8a687fbf162924f36f2ff7be2a3ba1c6304b27f6
CRs-Fixed: 893423
|
|
|
|
| |
Change-Id: I19d8a3d5a12c4be06bced056b80ad1a354c6b761
|
|
|
|
| |
Change-Id: I61f93c68b52d81c5e19919a5b0b894cf51dd35c4
|
|
|
|
| |
Change-Id: I0ce48da277a532b46fdde15027f636de4d7585b7
|
|
|
|
| |
Change-Id: I3758bb219552d22768afa0af83c69c6a5460693b
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
Camera setting including module switcher scene mode filter mode and
front/back camera switcher should not be used during countdown timer,
since it may cause unexpected concurrent errors.
Hide all the camera settings when countdown timer starts, show them
again after countdown.
Change-Id: I79c2add63c61d304fe0948e1c9fefe3a8c1a6fee
CRs-Fixed: 900086
|
|
|
|
|
|
|
|
|
|
|
|
| |
The camera settings options including scene mode, color effect,
switcher for back/front camera, and the beautification make-up
should only be shown on camera preview, since they are not used
for editing pictures.
Hide these camera setting options to avoid making user confused.
Change-Id: I26599c4d97043069eee9c1a069325735ba625a94
CRs-Fixed: 895938
|
|
|
|
|
|
|
| |
Just for initial ship
Change-Id: I8d6c0d71d1b94e6eb2f43ab962fb92de0e6c7093
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
|
|
|
|
|
|
|
|
|
|
| |
If device and preview have different aspect ratio, preview doesn't
occupy full screen. So SurfaceView's dimensions including margins
need to be considered for transformation matrix. Otherwise touch
focus area set to HAL won't match with actual user touch point on
screen.
Change-Id: I6b7bfa6e3cb831592615dc5dfc45622f106c99d0
|
|
|
|
|
|
|
| |
Need to ensure calling layoutPreview on max size change
Change-Id: I8c49397c85c592879c38585ff66d1d24bde72d86
CRs-Fixed: 927240
|
|
|
|
|
|
|
|
|
|
|
| |
When take photo for contact and back from setting ,the camcorder
switcher icon will show.
When take photo from contact,then set the camcoder switcher icon
invisible.
Change-Id: If0153650d131c5b1ee78a79c255c637aab410d8e
CRs-Fixed: 884351
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert "SnapdragonCamera: Move the files to the correct location"
This reverts commit c25b2d510285512dbb60547353190433f1dbb984.
Revert "SnapdragonCamera: Add beautification feature to SnapdragonCamera."
This reverts commit c1cea7c15b2e463f37c17f2a4ce61ce689ec7088.
Change-Id: If01e4f438a58e4210a3eddf090d426895ecbae87
|
|
|
|
|
|
|
|
|
| |
- cleanup unused code
- cleanup codestyle
- add more zoom steps for smother zooming
- show zoom circle indicator during zoom
Change-Id: I5214fc2620a0c5167bfdc8e85f7115966c3b8bcf
|
|
|
|
|
|
|
|
| |
Able to capture image through volume hard key
button in camera application, change the function
to zoom function.
Change-Id: Iab9fc2492b2e2ff89cd58c21bac2f147f47b77e2
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| | |
Change-Id: Ib0ecc314a7bd0b76c8e955402d9adfe0a4989223
|
| |
| |
| |
| |
| |
| |
| | |
Remove the navigation bar in order to take advantage of full screen.
Change-Id: I25f42af825c4f3b7ad6521c2ee6d62fa4219044a
CRs-Fixed: 865254
|
|/
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When enter gallery quickly after taking snap,the onPictureTaken
in framework will not response which cause the picture can not
be saved and make this bug happen.
When judge the camera state is in the snap progress,not enter to
gallery so that the picture can be saved.
Change-Id: I79f74cdaf4c90ad71eb3f9b10a46027939fbffa7
CRs-Fixed: 811686
|
|/
|
|
| |
Change-Id: Ie585527fc0b8679359753b3ff6245add3d1e5530
|
|\
| |
| |
| | |
left in RTL mode."
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
right to left in RTL mode.
Use gravity of RIGHT instead of LEFT in RTL mode.
Change-Id: I879fd0351c447b35a5dac7fe14e1698b08883583
CRs-Fixed: 801704
|
|/
|
|
|
|
|
|
|
|
| |
The mouth position on FaceView wasn't right in landscape mode because
the orientation didn't change when rotated device.
Re-correct the position of mouth when the device orientation changed.
Change-Id: I81115bda8636e24484f2bda55415ebc0fa0a1f9a
CRs-Fixed: 792980
|
|
|
|
|
|
|
|
| |
Photo and video preview and the captured results are different for
some resolutions. Fix them to match the result.
Change-Id: Ie5fb1954448fa54ffb968f2882e74bfd98c97548
CRs-Fixed: 791082
|
|
|
|
|
|
|
|
|
|
| |
1. change thumbnail icon to circular and its background to transparent
2. speed up loading with optimal sample size and region decoder
3. fix orientation bug regarding panorama photos
4. don't fire load task on fake onDataLoaded() call
Change-Id: I7f4eb8dad4c54a01a7ccd98907e06952e470840b
(cherry picked from commit ac714ea974b4bd0ef99403def5aa7d8a3deecc5d)
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changed the Panoramic preview to full screen
Resized the warped preview image to smaller Size
and render on top of the full screen preview image
Warped preview image can be turned on/off
Change-Id: I859839542ce94c5f70d7fe7983e93b5e9534b415
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When the surface was ready, the preview data may not come yet, that
caused the desktop ui flashed in the camera when relaunching camera.
Delay the occasion of dismissing preview cover until onPreviewStarted.
Change-Id: I80b751bd19889683d784b94827b668efa817ff02
CRs-Fixed: 789076
|
|/
|
|
|
|
|
|
| |
resizeForPreviewAspectRatio() might be called before SurfaceView's
layout process, which causes SurfaceView being set to 0 width and
height. Add check before adjusting SurfaceView's dimensions.
Change-Id: I66bf6dfcef74253429b2c6cd1a80031d8e30f95d
|