| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix camera activity to portrait, so there is no delay when rotation
occurs. Main changes are:
1. RotateLayout now supports padding and dynamically added child.
2. Camera controls and gesture detetion are now orientation-aware.
3. Toasts are replaced with RotateTextToast.
4. Obselete layout files are removed.
Change-Id: I338849bd7fb84b847eb357f771a24a5cc09bf6fa
|
|
|
|
|
|
|
|
|
|
| |
If surface gets destroyed while Camera open thread is still trying
to start preview, camera app state machine will go into toss. Next
time when surface gets created again, it might try to set preview
surface again while previewing leading to app exception. So, sync
surface destruction and camera open threads.
Change-Id: I6ba4103559766c327d2bc55887a0f7df1b4b0d40
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add a scene mode for refocus. If the latest photo is taken with
refocus, user can click on the preview thumbnail, then refocus it
by tapping on the photo.
Change-Id: I2fd69439467f5a1e33d23d8d239aa3472d88b585
|
|/
|
|
|
|
|
|
|
|
| |
Null Pointer exception occurred in Camera during monkey test.
Add null pointer check before use them.
Change-Id: I992f6b8f8dc6b91947ec3e4d703b4e9b72996f67
CRs-Fixed: 780252
|
|
|
|
|
|
|
|
| |
When preview is set to 4:3 on a 16:9 screen, resize SurfaceView to 4:3
and cover other parts of the screen. Otherwise camera controls have
a semi-transparent background.
Change-Id: Icfbe6318b6a9de9a988468078b474e842f6ddd8c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Camera app crash when switch to camcorder during continuously shooting.
Prohibition click event when continuously shooting.
CRs-Fixed: 744811
Change-Id: Ia51ca53d46e060c2a4f4e877c37f795526532be7
|
|/
|
|
|
|
|
| |
Prompt to user an estimation of how many more pictures can be taken,
calculated based on available storage.
Change-Id: Iabc8268d548d3f6d86a6d065b511641b837a1de5
|
|
|
|
|
|
| |
Adding back missing setting menus
Change-Id: I803d3f694b1953aa6a8932cbba6bb55c0d0e6352
|
|
|
|
|
|
| |
Add preview thumbnail button and touch it to go to gallery
Change-Id: Ib80ef94c677c204d7f0826356792aba2aa11d4d1
|
|
|
|
|
|
| |
Use MDP composition instead of GPU
Change-Id: I4f47d26365bd611242a21e66b232d7521b502b04
|
|
|
|
|
|
| |
Modified SnapdragonCamera setting menus with new icons
Change-Id: I726296dfb100ac81ad6f1cd84420ae27c0ae1201
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The autofocus maybe called before onCameraOpened, and mPieRender is
not initialize which lead to camera crash.
Check null when show focus ui.
CRs-Fixed: 712850
Change-Id: If3d51c8ea31f4a755e26fe4730e85428373e6446
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Under certain combination of preview/screen resolution, sawtooth is
seen on preview image. In setTransformMatrix(),
scaledTextureWidth/Height is unnecessarily rounded to integers,
losing precision. Removing the rounding fixes the problem.
CRs-Fixed: 705322
Change-Id: Ia78b012cf530528b3677a8684279862a81b145ed
|
|/
|
|
|
|
|
|
| |
Start openCamera and start preview in a separate thread so that
UI initialization and preview can run parallely. This is to
improve camera cold start latency.
Change-Id: I57af45bc90a4db1630c73449d543c3ff0992e55c
|
|
|
|
|
|
|
|
| |
Rename package from com.android.camera2 to org.codeaurora.snapcam,
module name from Camera2 to SnapdragonCamera and app name from
"Camera" to "Snapdragon Camera"
Change-Id: I2800070e72631e119a15fe0132424d1047be9f0c
|
|
|
|
|
|
|
|
|
|
|
| |
After unmark the face detect option, the value mFace in FaceView maybe
reset value and draw all the time.
The faces should not be draw after stopFaceDetection, so block draw the
faces after stopFaceDetection and unblock after startFaceDetection.
Change-Id: I2f8316e12ad8c7b157bc732800d9247c66a17572
CRs-Fixed: 692057
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tested on target : 8916
Tested on Branch : kk
Tested on AU \ tip : AU_LINUX_ANDROID_LNX.LA.3.7.1.04.04.03.031.203
Test case Verified : Yes
CR Moved to Fix : Yes
R notes filled : Yes
DC set : Yes
LOST approved (if new file \ feature added): Yes
Voted on required Trunk : NA
App need clear the whitebalance effect when set scene mode not auto, but
the value getWhiteBalance still is not auto when change scene mode.
So set white balance auto value forcely when scene mode is not auto.
CRs-Fixed: 685240
Change-Id: Ib94b9cb1f3cc0c8ef63412ef75d65359ba797f37
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Android 4.4.3 release 1
* tag 'android-4.4.3_r1':
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Remove TRIM support
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Fix samsung video recording
Fix WB indicator override
Revert fixed focus area in CAF mode
Add another HTC picture resolution
Always set focus mode first before applying scene mode
Reduce logging of flattened Preferences
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Delay onResume tasks to speed up lockscreen onResume->onPause->onResume launch sequence.
Conflicts:
res/values/arrays.xml
src/com/android/camera/FocusOverlayManager.java
src/com/android/camera/PhotoModule.java
src/com/android/camera/VideoModule.java
Change-Id: I4be00366e24933c6504639776c711e1a874d1f2e
|
| |
| |
| |
| |
| |
| |
| |
| | |
Patching into Carlsbad from Bryce.
Bug: 9372794
Change-Id: I4f23f05ca1acaef84a24034237e82001aac09f78
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Query camera parameters to check if longshot and ZSL+HDR are
supported or not.
Also, add generic way of enabling/disabling preferences to
facilitate features which are mutually exclusive.
Change-Id: I4332e3d5050f56b1953e4c0d767eb87f7e932c49
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After image capture, animation takes place with a downsampled
image (by factor 4). Due to downsampling smaller resolution
(QCIF and others) image size for animated thumbnail is going
below the allocated size and it appeared very small.
Fix: For image size of resolution CIF downwards, use downsampling
factor as 2 without affecting performance for other resolution.
Change-Id: I1098fc1a8f6fb880d5c36ebd2eaeec4415c75fe1
CRs-Fixed: 662891
|
| |
| |
| |
| |
| |
| |
| |
| | |
If home key is pressed when UI is showing second level popup menu,
it should dismiss all popup menu, instead of back to top level menu.
Change-Id: I4678ebf875833e577d610c0aba856da5eaade982
CRs-fixed: 622519
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- This reverts change If4047860.
- Simply using preview size instead of picture size
at all to calculate the UI aspect ratio,
avoiding tricky overwriting aspect ratio.
- Will fix issues when surface texture transform
is calculated based sometimes on preview size
ratio and sometimes on picture size ratio.
CRs-Fixed: 601495
Change-Id: I8e054c9eaafc9fb54dac2bff2c67e39f0a1fe64c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In previous android versions camera application was restricted to
one mode(landscape). So aspect ratio was always calculated by just
dividing height by width. In recent versions camera application is
not restricted to landscape mode, so application needs to calcuate
aspect ratio based on mode. This change makes sure aspect ratio
calculation involves preview mode.
CRs-Fixed: 579079
Change-Id: Ic980e6f6a66fcf85b72d4d249844a98e66fe85ee
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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: 11598901
Bug: 11635865
Change-Id: I9c6237bacef9a28de1fa238e1e7378a57abfc573
|
| |
| |
| |
| |
| | |
Bug: 11433257
Change-Id: I7225ebf1d84bbefd2f952cfa524720a7e76e7181
|
| |
| |
| |
| |
| | |
Bug: 11255097
Change-Id: I8da16a97ee46555267ae8cfee0e7940d3f53f98f
|
| |
| |
| |
| |
| |
| | |
Bug: 11420737
Change-Id: I55b90137b362d0b3b98aba34114537e0f6107b8c
|
| |\
| | |
| | |
| | | |
gb-ub-photos-carlsbad
|
| | |
| | |
| | |
| | |
| | | |
Bug: 11409659
Change-Id: I46ae3d7797590d59befbdc394d5304f14a212a80
|
| |/
| |
| |
| |
| | |
Bug: 11250125
Change-Id: If4047860f056cd81bf7d74045a68f5c0b85ad067
|
| |\
| | |
| | |
| | | |
gb-ub-photos-carlsbad
|
| | |
| | |
| | |
| | |
| | | |
Bug: 11211650
Change-Id: Ic4b26ef0f03eac0682e7be0d4bcb1c4632d85f39
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We dont get bitmap data when image is captured in raw format.
So downsample of the captured image, which is bitmap will be null.
Added null check for bitmap before calling createBitmap function.
Change-Id: I9261218bbb27a9a7671f62fec72885eed1376912
CRs-Fixed: 573544
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
After inflating count down timer UI it was not visible on top of
the preview. This fix will bring it to forground.
Change-Id: I3fd5cf75fdd9dc63776fa68668f3b6fddf2db1f7
(cherry picked from commit 48226bb2faf6377a5af91db82ffb86848a7600bf)
(cherry picked from commit c88dcd24d06a3af1de4ec18914fbb03a5678bff2)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Stretched preview is observed in front camera due to sensor's
mount angle. So resizing the preview by considering aspect ratio
of the preview.
(cherry picked from commit Ie8a9e062782aa6caaa80ddab705c937da6b0761e)
Change-Id: I0bca9076a6dffa4c4972e6d5d0939c57569615bd
Conflicts:
src/com/android/camera/PhotoMenu.java
src/com/android/camera/PhotoModule.java
Conflicts:
src/com/android/camera/PhotoMenu.java
src/com/android/camera/PhotoModule.java
(cherry picked from commit 2960ef94825458dc07a497d4414155b57ae620d7)
(cherry picked from commit d2fbed622a486151a656261d0dd56c896f0cc700)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When switching from Panorama mode to Camera mode, the CameraActivity
invokes two functions openModule and onOrientationChanged.
openModule initializes PhotoModule. As part of the PhotoModule
initialization, the PhotoUI and PhotoMenu are initialized.
But this is acheived by posting a message to the handler. When the
message is read by the Handler, the PhotoUI's onCameraOpen is invoked
which initializes the PhotoMenu. But sometimes before this message
is read by the Handler, the onOrientationChanged is invoked, which
invokes couple of functions from PhotoUI class acting on the PhotoMenu.
But since the PhotoMenu is still not initialized, it throws up error in
the form of NullPointerExceptions.
Fix this by checking if the PhotoUI and PhotoMenu have been initialized.
If they have not yet been initialized, send a message to the Handler to
invoke these PhotoUI functionalities after the PhotoUI has been
initialized completely.
(cherrypicked from commit 774659c9f580b90a15a896881376075bb1506a05 )
Change-Id: Idb55e4f5ba29523c273ff66f11149ff271c490a4
(cherry picked from commit 42f1ffca2e43c4561f5bc3534a966c4bbe6cbef8)
(cherry picked from commit 8df298b693932da2c06dbfd40ad5bbe57dc96308)
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When user presses the menuoptions the popup is displayed and UI will
have the controll over it, again when zoom is triggered the zoom
renderer was not hiding the menu popup. This change will synchronise
both listeners mentioned above.
(cherrypicked from commit 713847197c35409f0f198903f6b3dd3c39296848 )
Change-Id: Ic4509fe4473070c73dba377c5fdc3f224af71ee0
(cherry picked from commit 6c464f1402110b1f0f9790d5a9479dc3031d04eb)
(cherry picked from commit 4fe74b8ad31a6d43c179e0181813ba3bf4c58feb)
(cherry picked from commit e525f04730668369f76afb41870199eaad0b9375)
|
|\ \ |
|
| |/
| |
| |
| |
| | |
Bug: 11247988
Change-Id: I2018075a0b8adf7cacb302774ed64df92fc2fa7c
|