| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \ \ |
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The toast "Enable 4k video quality will disable IS" was shown every
time when update the camera parameters, that made user confused.
Move the toast to onSharedPreferenceChanged, show it only when
set video quality as 4K and IS is ON.
CRs-Fixed: 886568
Change-Id: I3246feada6eaf2097278e04b835ad1bc7ff811b8
|
|\ \ \ \ \ |
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In panorama mode preview, the stopPreview and startPreview were
called three times after onResume from lockscreen, that caused the
preview showing delay.
Reduce the unnecessary stopPreview to improve the preview performance.
CRs-Fixed: 876035
Change-Id: Ice5b0c305edb773867fd4803c190c98f5518ecb2
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
By capping the display panel dimensions, effectively limit the preview
size configured to backend. This will help in optimizing power and
bandwidth.
Properties to be configured :
camera.display.umax -> set it to the upper max of display panel size
camera.display.lmax -> set it to the lower max of display panel size
For example if the properties are set as below :
adb shell setprop camera.display.umax 1920x1080
adb shell setprop camera.display.lmax 1280x720
Then, in devices having display panel size >1080p, panel size will be
seen as 1080p. If its 1080p or lesser (but >=720p), limit it to next
allowed max which is 720p. For < 720p, there is no need to do any capping.
By capping the panel size, we are indirectly controlling the preview size
being chosen in getOptimalPreviewSize().
Change-Id: Ia9963467dbda7fb47d96a96a345f26a5e38a95a1
|
|\ \ \ \ |
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allow touch to focus when using opti-zoom
Change-Id: Id8f40a395626eea3973e6b728f1fa581acf64633
CRs-Fixed: 900256
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Close setting/scene mode when setting is selected
Change-Id: I584b7eaea25774ec4906a40ddae2eda89646893e
CRs-Fixed: 898871
|
| |/
|/|
| |
| |
| |
| |
| | |
Add border for "All in Focus" button. Also some tweaks to meet UI
spec.
Change-Id: I56c458a420e503321cc9a3255a7dd4ae0a6d4637
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When scenemode is set to HDR and then Macro+, HDR is not turned off.
This will cause media server crash and app freeze. Turn off HDR when
Macro+ or Optizoom is enabled.
Change-Id: I51d7df55bb2c0dffd94d1ddadababaad62e3fe27
CRs-Fixed: 879081
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
Currently preview cover will be hidden shortly after preview started,
but if the actual first frame comes late, the main screen will flash.
Register a oneshot preview callback to hide preview cover.
Change-Id: I81fabf2d97c32fc2112cf4fceef4edd0872439e2
CRs-Fixed: 889021
|
| |
| |
| |
| |
| |
| | |
This reverts commit "SnapdragonCamera: Improved panorama"
Change-Id: I7aef9427c218d06b78cbc097dd32a1629b5ab9d1
|
| |
| |
| |
| |
| |
| |
| |
| | |
Layout of submenu is not corret in RTL.
Change linear layout to relative layout for this case.
CRs-Fixed: 885928
Change-Id: Iaa7644cc4ccbf436cbd148a485abab2b9155ba5d
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
setContentView(R.layout.camera_filmstrip) call in the app takes ~40 msec
before actual openCamera call is made. This is adding to the total APP
camera open latency. So Opening camera in parallel to the call to
setContentView(R.layout.camera_filmstrip) to save this time.
Change-Id: I8e3797e65d17021853e0e04873178a372f12f195
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
OpenCamera is excecuted on a thread. This thread will
access UI object which was not initialized.
Change-Id: I1cb15036e0b54a38a1d9750856b1eef5aa9dda43
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Set navigation bar according to flag and set it to show by default
Change-Id: I5ddb9d5f8150d7fd1d182bacb25cd02651a2db5b
|
|\ \ \ \ \ |
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently preview cover will be hidden shortly after preview started,
but if the actual first frame comes late, the main screen will flash.
Register a oneshot preview callback to hide preview cover.
CRs-Fixed: 881290
Change-Id: I5d93e57f0b9aa338c6b34461d5e3ee31806b6706
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
CRs-Fixed: 885176
Change-Id: I6b7bfa6e3cb831592615dc5dfc45622f106c99d0
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In Panorama mode, the app wasn't closed directly when connected to
camera failed, that may cause more serious issue.
Finish the activity immediately when open camera failed.
Change-Id: I057611a3baf37ef915b3c182e5c3b5f12413c134
CRs-Fixed: 882041
|
|/
|
|
|
|
| |
Modify paddings and size of menus to display longer menus
Change-Id: I43bd3a8de8178ca2bdd273f4cfb6fafbcb92d82a
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Thumbnail image is usually larger than needed due to the choice of
down-sampling factor. When the decoded bitmap is square, it's width
and height is not correctly set in CircularDrawable, so only the
left-top part of the cropped image is shown. Set the size and only
decode exactly the region for display.
Change-Id: I5f4af66a08f0dc02d84bda605b74c9e2b782fe63
CRs-Fixed: 881895
|
| |
| |
| |
| |
| |
| |
| |
| | |
Improved panorama with faster performance and low memory
consumption. Also displays progress while taking panorama shot.
Change-Id: I88ae1205f056ebe59129e65d69fcc44f46a5ab92
CRs-Fixed: 859274
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
For capture intent, preview stops as soon as first jpeg callback
arrives, but Macro+ has 7 callbacks. Make preview stop after all
jpeg callbacks.
Change-Id: Id29cc745aa2030edb60bc15da10d9123fa95bfd0
|
|/
|
|
|
|
|
| |
Remove the navigation bar in order to take advantage of full screen.
Change-Id: I25f42af825c4f3b7ad6521c2ee6d62fa4219044a
CRs-Fixed: 865254
|
|
|
|
|
|
|
| |
Fix mouth position mismatch due to
change sent due to wrong roll_dir.
Change-Id: I5c3c4c8c74be6f055581656613a0703c596a42e5
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
During Gplayer play, when we press power key to make screen off
the SnapdragonCamera can not stop recording video.
Add a broadcast for SCREEN_OFF to make the SnapdragonCamera stop
when press power key.
Change-Id: I7f06bc651aebd3c23212edfc55696fb93e9e250d
CRs-Fixed: 866025
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
Duration calculated from recording start and end time does not always
match that in video file. Use video metadata instead.
Change-Id: Iab4f6b7030579bb78cc86effe6dd7d6993fa5918
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
The video duration limit read from intent is later overwritten by the
value from preference. Change the order to honor the intent value.
Change-Id: I833b1fbcecbbaeff48ff51144f5e584e91fb1838
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The preview thumbnail size is calculated according to the captured
image size. When capture panorama image with landscape, the height
of the image will be too small to fill the thumbnail view.
Enlarge the bitmap to the thumbnail size if it is not large enough.
Change-Id: I65afcdf2943eed4526639ff418b929e6450711b5
CRs-Fixed: 868550
|
|\ \ |
|