| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Reset navigation bar state whenever screen turns on
Change-Id: Ic1021322e33cf116706c533edaac0f28396fa631
CRs-Fixed: 887673
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously, default video recording resolution was largest available.
This has been changed to be 1080p by default.
Change-Id: I29b4d7d8d80af1472315fdacb9c1672403247f7f
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Face detection should always be on when TruePortrait is enabled.
Menu item for FD will show on and disabled (not toggleable) when
TruePortrait is on.
Change-Id: Ibbe8b5aaede2590d2587e9f8094d84f8717a037a
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Limit the number of shots captured during longshot/continuous capture mode.
The limit will be based on sysprop: "persist.camera.longshot.shotnum".
Reset the value to 0 to remove the limit.
Change-Id: Ib8994d2e851fc95feab6b1a3817fc66c75836ccc
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When set the preview thumbnail imageView to visible, it used the
drawable resource in cache which was set since last time. That
caused we still could see the preview thumbnail though the bitmap
was invalid.
Clear the drawable resource in cache when the preview thumbnail
is invalid.
Change-Id: Id37620d32b8dff8dd3cad0f33da678b8709e6ee1
CRs-Fixed: 899905
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
Time lapse recording now has pause/resume support, so don't hide pause
button.
Change-Id: Ia1b4f1bd2f571cb4a2b9f6f27f07d442eb43be61
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In Macro+ mode, it always started the refocus editor view when clicked
the preview thumbnail, that caused user could not view other pictures.
Reset the flag mLastPhotoTakenWithRefocus to false when onResume,start
the refocus editor only one time after take a picture with macro+ mode.
Change-Id: I07772772be0e6227b87c4f58c900a6c024cd2fdc
CRs-Fixed: 896098
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Some color effects has special tone, if do HDR for specific color
effects like Negative, we'll get unreasonable pictures.
Disable the color effect when HDR on and set it as none effect.
Change-Id: I8dca19b081504abaa85728b6d67b85699a184abb
CRs-Fixed: 894360
|
|\ \ \ \ \ |
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The remainingPhotos was decreeased by 1 for each shot, when it came
to 0, the longshot process was not stopped.
When the remaining photos are less than 20, show "<20" for the
remainingPhotos; When the storage is full, Stop the longshot process.
Change-Id: Ifb1fb38f668132e1058f8a937afa9fa0b5afb5a7
CRs-Fixed: 893008
|
|\ \ \ \ \ |
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|