| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
For 8x26MTP device, panorama preview is coming as inverted.
In present android version flippreview is itself taking care of
rotation. This additional rotation is causing the inverted preview
for the device where mount angle for sensor is more than 180degree.
The logic related to mPanoAngle is not needed which had been
added for previous android version.
Change-Id: I6c5ed526382e0971e555a70946adb63a2acdf180
CRs-Fixed: 591767
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Camera holder maintains a local variable to get original params
and set those params back when user switch between modules. But
these parameters were obtained from the instance of camera manager.
So object in Camera holder will be a reference to an object in
camera manager. Becasue of this all the parameters set in photo
module are getting reflected in other modules.
This change makes sure the camera holder's parameters object is
created separately by getting data from camera device.
Also reverted the alternative solution to reset scene mode in
video and panorama module.
CRs-Fixed: 579747
Change-Id: I02637fb2c215aeb1ba9076629400a339c31178ad
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
SD card screen hint is directly added to activity window. In the
error case its trying to add the screen hint dialog even before the
activity window is available. This change check for the availability
through window focus. In photo module update hint is called through
handler to make sure it adds the dialog in UI thread, which was
missing in panorama modo. This change as photomodule kind of UI
updation calls in Panorama mode.
Change-Id: I5cad2e86a23aceff290ef8d4ef89dbfdaaeb683d
CRs-Fixed: 573549
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
Bug: 11514148
Change-Id: Ib31a74a6badc4dcdeaa316e032f4aef17edd06b2
|
| |
| |
| |
| |
| |
| | |
Bug: 11050749
Change-Id: I374c5919d6da0609fccd21c09775fa91894d5a24
|
| |
| |
| |
| |
| |
| | |
Bug: 11338381
Change-Id: I39c9541638f3e8c2a2f96ae4b1be7692a6db0e1c
|
| |
| |
| |
| |
| |
| |
| |
| | |
Every time when we enter the wide angel (SRI) module, the preview should be
in focus.
bug:11234723
Change-Id: I218573946609f1e0e4415621a71b96a20775237d
|
| |
| |
| |
| |
| | |
Bug: 11292213
Change-Id: I7977de4c5bb906eec5431e706e28118837a682e7
|
| |
| |
| |
| |
| | |
Bug: 11211650
Change-Id: Ic4b26ef0f03eac0682e7be0d4bcb1c4632d85f39
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If user is not in full screen camera preview mode, pressing back
key will take user to full screen preview mode. During this all
views on filstrip are reloaded and shifted to full screen preview.
While reloading preview aspect ratio was not considered so user
could see stretch preview in case of front camera. This change
calls resize of preview as per aspect ratio after reload.
Change-Id: I3dc8db3cc9917f9db33f5101f6c39cf38b950264
CRs-Fixed: 568855
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Camcoder and panorama does not support scene modes. In the error case
user has set scene mode to a value other than Auto in image camera
mode. During initialization of video module camera parameters are
obtained from AndroidCameraManagerImpl. Which maintains the local
camera parameters object to avoid calling framework each time. The
local parameter variable was set with a scene mode in image camera
and hence it gets reflected in video module as well. This change will
reset the scene mode to auto each time video or panorama modules are
initialized.
Change-Id: I3d620a9d163d4042cf8c09ed3c6ae8ee8ef2dc93
CRs-Fixed: 573573
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In reverse landscape and reverse portrait panorama modes, layout
change callback is received when shutter key is pressed for the
first time. It looks like the layout change call is because of
navigation panel getting rendered on top of the screen. Due to
this camera application resets the preview window dimensions and
changes the status from capture to view finder.
This change restart the start picture call after layout changes.
Its done through hanlder because reset configMosaicPreview() posts
a message to reset on a handler.
Change-Id: Ic42a6929198eff52d659468f1df7170bdbdf6a38
CRs-Fixed: 573570
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously picture format only have option for jpeg and raw,
but detailed raw image format is misssing from menu to choose.
Also, changes to save raw image to coorect path
are included.
(cherrypicked from commit c0028f9dbe178c3fed1bcb4af96eb0db4d2e2973)
Change-Id: Ifab7fd80e4a83370b2dc6932340005a06cc3552f
(cherry picked from commit 27f9245f35d0284c17d8d2fdf5576ea3879e7d33)
(cherry picked from commit 3c66703af119c06697f16303fadadbe956646cb3)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove earlier hardcode and use unified solution to solve Panorama
preview and snapshot rotation issue by using sensor mount angle and
angle compensation in panorama postprocessing.
(cherrypicked from commit a585a576a3259477a460e367fe4af69a448a2d25 )
Change-Id: Ie7130a0670174d5957b871b76b05a0bfdd9d4d27
(cherry picked from commit 21a26f3ffe023ee550a51a547e46c75c3dd914a6)
(cherry picked from commit 50aebc4f3fbdf6f07a4b87cc87eef7e30257a05b)
(cherry picked from commit e5fb76066ab7b5d1f82beb16a3fb8c4e5c031671)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
preview and snapshot are rotated unexpectedly.
Need to change rotation angles in panorama based on
sensor mount angle.
(cherrypicked from commit e80845863aa453eb85cbf7f01af32b9c0c0b874a)
Change-Id: I09d3111c3513141bffc649349a55d36a79818124
(cherry picked from commit 85ce7ba402fe354784505a8d6939700706e4401b)
(cherry picked from commit be1768dfed2acedb34a3f393304999df3d4cabfb)
(cherry picked from commit 790aeae0ed544e10ede5ccd7636eb4cf08a1d979)
|
| |
| |
| |
| |
| |
| |
| |
| | |
Every time when we enter the wide angel (SRI) module, the preview should be
in focus.
bug:11234723
Change-Id: I218573946609f1e0e4415621a71b96a20775237d
|
|/
|
|
|
| |
Bug: 11292213
Change-Id: I7977de4c5bb906eec5431e706e28118837a682e7
|
|\
| |
| |
| | |
centered." into gb-ub-photos-carlsbad
|
| |
| |
| |
| |
| | |
Bug: 10861015
Change-Id: Ib0c4945e35cee16b73a4bba913e11d0f79a26176
|
|/
|
|
|
|
|
|
|
| |
Also make sure preview is not upside down after device flip, and
fix camera controls jiggering during rotation
Bug: 11216647
Bug: 11174540
Change-Id: I764e5b86549fa87c2224d8e85ff06f57f0a315d1
|
|
|
|
|
|
|
|
|
| |
PopupManager had been previously refactored out
but vestiges remained. They were causing a memory
leak of Activities in its hash map.
Bug: 10728773
Change-Id: Ia6d98db1f0d30b4e879984033b471e8c802bc1c1
|
|
|
|
|
|
|
|
|
|
| |
1. Storage.LOW_STORAGE_THRESHOLD -> Storage.LOW_STORAGE_THRESHOLD_BYTE.
2. Checks for low storage before start preview in wide-angle pano mode.
3. Add low storage warning message for debugging when in wide-angle pano mode.
bug:10691367
Change-Id: Iffd96d322b33591c8f235fcf5680e86cf0f06571
|
|
|
|
|
|
| |
bug:10726516
Change-Id: I3d3433d0b2eced54027b19910473fd55135d0e1c
|
|
|
|
|
|
|
|
|
|
| |
onSwitchMode is wrongly overloaded, now is fixed.
Basically, onCurrentDataChanged will handle the switching in and out of Camera.
onDataFullScreenChange will handle full screen change on non-preview data.
bug:10610967
Change-Id: I199a20d40d66b78302e90e0f96826d03076b0e39
|
|
|
|
|
|
| |
bug:10623244
Change-Id: I66757e50daf487680ac4f49d854c0f49d672b6ff
|
|
bug:10293937
Change-Id: I23a977e87b7416f07ecac20025b6c142ae61be05
|