summaryrefslogtreecommitdiffstats
path: root/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
* Dismiss open menu if exists.Chung-yih Wang2011-11-223-0/+11
| | | | | bug:5648754 Change-Id: I44be2226e65de76e6240adc7b554e0ee7cda2226
* Update camera sound API.Wu-cheng Li2011-11-184-8/+21
| | | | | bug:5640219 Change-Id: Ic3af6527f3025ec04ba4be16b621b462f89953f1
* Merge "Fix NPE in panorama when camera failed to connect." into ics-mr1Chih-yu Huang2011-11-181-20/+18
|\
| * Fix NPE in panorama when camera failed to connect.Chih-yu Huang2011-11-181-20/+18
| | | | | | | | | | bug:5637587 Change-Id: Iea275b4e3780a41f4a0c3fe0845acbfdb1e95cd1
* | Merge "Fix OpenGL processing when activity is not active." into ics-mr1Angus Kong2011-11-171-0/+6
|\ \ | |/ |/|
| * Fix OpenGL processing when activity is not active.Angus Kong2011-11-181-0/+6
| | | | | | | | | | bug:5624690 Change-Id: I87af684e165a275adb4b765a86a2df2b62137ca0
* | Merge "Rotate priority indicators according to the device orientation." into ↵Wei Huang2011-11-171-2/+7
|\ \ | |/ |/| | | ics-mr1
| * Rotate priority indicators according to the device orientation.Wu-cheng Li2011-11-171-2/+7
| | | | | | | | | | | | | | | | + Do not show flash indicator if it is off. bug:5039279 Change-Id: I329b63d04f46fbe23f5ade3e4cacf446ce41f98c
* | Merge "Fix EffectsRecorder error path handling when ending recording." into ↵Eino-Ville Talvala2011-11-161-1/+7
|\ \ | | | | | | | | | ics-mr1
| * | Fix EffectsRecorder error path handling when ending recording.Eino-Ville Talvala2011-11-161-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if mRunner had already been set to null, errors sent by mediarecorder would not be propagated to VideoCamera correctly. This resulted in crashes when putting device to sleep right after starting timelapse recording with effects. Bug: 5627242 Change-Id: I3ae3c713a0aaf9a4507442bbbcd3ec89971d5f95
* | | Merge "Update the panorama capturing progress correctly." into ics-mr1Wei-Ta Chen2011-11-161-17/+20
|\ \ \
| * | | Update the panorama capturing progress correctly.Wei-Ta Chen2011-11-151-17/+20
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix an issue that the termination condition on the sweeping angle is broken. Fix another issue that the panning speed and sweeping angle does not consider the cases that users hold a device in portrait or panning the device vertically. Bug: 5623138 Change-Id: I9d1e2e5ad63a97beb8cfe2404974329c70d46991
* | | Merge "Fix crash: camera swap w/ custom Background video" into ics-mr1Pannag Sanketi2011-11-161-4/+13
|\ \ \
| * | | Fix crash: camera swap w/ custom Background videoPannag Sanketi2011-11-151-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The background uri was not getting stored when swapping the camera leading to a crash. Now it is sent via the intent. Related Bug: 5585381 Change-Id: I05aea8321f0d2df96f646119eddd6a8b6a8ac668
* | | | Merge "Fix the ArrayIndexOutOfBound issue." into ics-mr1Wei Huang2011-11-161-13/+17
|\ \ \ \ | |_|_|/ |/| | |
| * | | Fix the ArrayIndexOutOfBound issue.Chung-yih Wang2011-11-161-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5619774 It was caused by the error of the radian computation for rotation of the indicator wheel. Originally we assume the angle of the first and the last indicator in the second-level settings should be the same as predefined angles. In fact, there was some computational error during rotation. Change-Id: I508f42c5224170ac721562e20be8ed638485e023
* | | | Merge "Broadcast for new image added in panorama mode." into ics-mr1Angus Kong2011-11-161-0/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Broadcast for new image added in panorama mode.Angus Kong2011-11-161-0/+1
| | |/ | |/| | | | | | | | | | bug:5624740 Change-Id: I0663b34eb07e28e3f4e8b65b0c2c2befce3ca430
* | | Fix NPE if the device has only one camera.Wu-cheng Li2011-11-161-1/+3
|/ / | | | | | | | | bug:5620872 Change-Id: I4ee2aa85e73c53d6a72f0839ed3bf31bc14c586e
* | Merge "Set the orientation of a panorama image." into ics-mr1Wei-Ta Chen2011-11-153-5/+56
|\ \
| * | Set the orientation of a panorama image.Wei-Ta Chen2011-11-153-5/+56
| |/ | | | | | | | | | | | | | | | | | | | | | | The panorama image returned from the panorama library is oriented based on the natural orientation of the camera. We set an orientation in its EXIF header, so that the image can be displayed correctly. The orientation is calculated by compensating the device orientation and the camera orientation respective to the natural orientation of the device. Bug: 5603313 Change-Id: Id6907cb08a7ff77e44736f3c3cd1503e7a68d783
* | Merge "Start Effects Recording only after preview loads" into ics-mr1Pannag Sanketi2011-11-152-0/+18
|\ \
| * | Start Effects Recording only after preview loadsPannag Sanketi2011-11-152-0/+18
| |/ | | | | | | | | | | | | | | | | | | | | | | Start Effects Recording only after we get SurfaceTexture Callback in EffectsRecorder, and hence preview loaded. Disable the shutter button on creation, and re-enable it on the preview callback. Else, one could potentially start the recording before the preview loads, leading to a wrong state information and an eventual crash. Related Bugs: 5605173, 5605658 Change-Id: I2ed766997294c165ce6c262cf47f124493d0c5ec
* | Merge "Switch sound playing to use Camera.playSound()" into ics-mr1Eino-Ville Talvala2011-11-155-211/+15
|\ \
| * | Switch sound playing to use Camera.playSound()Eino-Ville Talvala2011-11-085-211/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using a few private APIs to properly manage audio output for panorama, effects recording, and focus notification, use the new Camera API for sound playback. Bug: 5447107 Change-Id: I7d5a3d9502f36c199ea75a89e2c6b878185f880f
* | | Add location information in Camcorder mode.Angus Kong2011-11-151-0/+5
| |/ |/| | | | | | | bug:5560253 Change-Id: I090722d6755068fa4a70a900e18af28a1adc9bf1
* | bug #5612744: guard against NPE found by Monkey.Wei Huang2011-11-141-0/+21
| | | | | | | | | | | | | | | | cl https://android-git.corp.google.com/g/#/c/149421/5 removed the null pointer checking. This leads to Monkey crashes. It seems that we either need to call initOnScreenIndicator() in onCreate(), or check for null in the updateXXXIndicator() methods. I thought about moving initOnScreenIndicator() to onCreate(), but didn't want to introduce any latency for starting up the camera app. Change-Id: I8b9fecb5eb77dc1afef9725fd3d3d4dbe5048c9d
* | Merge "Fix several UI bugs." into ics-mr1Wei Huang2011-11-141-2/+2
|\ \
| * | Fix several UI bugs.Chung-yih Wang2011-11-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5575970 1. The cancel button of the background replacer message should be on the bottom. 2. The location of recording timer was too low in the landscape mode. 3. Fix the animation of the setting popup. Change-Id: Ia2345e72efc0118cd0172af4bd6243815c602493
* | | Merge "Fix too small panorama review on phones." into ics-mr1Wei Huang2011-11-141-0/+1
|\ \ \
| * | | Fix too small panorama review on phones.Angus Kong2011-11-141-0/+1
| |/ / | | | | | | | | | | | | bug:5611399 Change-Id: I09c400d0faa7e5753a728f2a8ba9a8bc4fcf5a77
* | | Add a rotatable toast class.Chung-yih Wang2011-11-143-39/+66
|/ / | | | | | | | | | | | | | | | | | | bug:5575970 In order to show the toast in a landscape orientation with portrait layout. The rotatable toast helper class is implementated and is also applied for first-hint toast messages. Change-Id: I942e87df1c1a4509d01cd41e2ecbdc2e2dfec049
* | Mirroring issue in Background ReplacerPannag Sanketi2011-11-111-0/+7
| | | | | | | | | | | | | | | | | | | | The MediaSource is set to rotate so that it adjusts to the rotation of the device, and displays upright. The backdropper does not have to do any rotation except for the mirroring in case of front camera. Bug: 5490654 Change-Id: Iaa3a82dd98f9cf428fb0d0b65e1175b31d37d2b1
* | Merge "Add indicators of settings on the viewfinder." into ics-mr1Wei Huang2011-11-111-27/+74
|\ \
| * | Add indicators of settings on the viewfinder.Chih-yu Huang2011-11-111-27/+74
| | | | | | | | | | | | | | | | | | | | | Add exposure, flash, scene, white balance, and focus indicators. bug:5039279 Change-Id: I7ef87ee35855030dbc8fdc2d4c52fa5d8b6549ba
* | | Merge "Fix 5603781: The pressed state of close icon does not disappear." ↵Wei Huang2011-11-111-13/+21
|\ \ \ | | | | | | | | | | | | into ics-mr1
| * | | Fix 5603781: The pressed state of close icon does not disappear.Chih-Chung Chang2011-11-111-13/+21
| |/ / | | | | | | | | | Change-Id: Ibd52cb5febf3a139d5007b6b2dd6adcb09934f99
* | | Merge "Fix sometimes share icons disappear." into ics-mr1Wei Huang2011-11-112-11/+17
|\ \ \
| * | | Fix sometimes share icons disappear.Wu-cheng Li2011-11-112-11/+17
| | | | | | | | | | | | | | | | | | | | bug:5580133 Change-Id: I4f76ac8d03a54cfd7105e70ca4f1d643e01d3293
* | | | Merge "Adjust share UI to full-width." into ics-mr1Wei Huang2011-11-112-35/+94
|\ \ \ \ | |/ / / |/| | |
| * | | Adjust share UI to full-width.Angus Kong2011-11-112-35/+94
| |/ / | | | | | | | | | | | | bug:5521011 Change-Id: I66aab65763224cbb66aa721d49d3e4ea916d8a58
* | | Merge "Do not reset the focus if next snapshot is pending." into ics-mr1Wu-cheng Li2011-11-102-8/+16
|\ \ \ | |/ / |/| |
| * | Do not reset the focus if next snapshot is pending.Wu-cheng Li2011-11-102-8/+16
| |/ | | | | | | | | | | | | | | | | | | + Suupose autofocus is focusing and a picture will be taken when focus callback arrives. Remeber the next snapshot request if the shutter button is clicked. bug:5589632 Change-Id: Ice8df7145f68996bd307fa5914e1c672bc624239
* | Merge "Reset mCurrentVideoUri to null before starting recording." into ics-mr1Wu-cheng Li2011-11-091-0/+1
|\ \
| * | Reset mCurrentVideoUri to null before starting recording.Heechan Park2011-11-101-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | While running monkey, we encountered a usecase where Video Recording is inProgress and an intent to launch Panorama Activity came in. While switching StopVideoRecording failed and resulted in Camera Exception (observed 3 times in 2 weeks of testing). mCurrentVideoUri is not cleared, so the thumbnail of the last video is re-generated, which can take 3 seconds. bug:5596264 Change-Id: Ie14c426c81c46f2d9a6741b6213cf66b1dbb5612 Signed-off-by: Braganza Sam Roberts<sam.braganza@samsung.com> Signed-off-by: Heechan Park <heech.park@samsung.com>
* | New ZoomControl UI for tablet.Chung-yih Wang2011-11-095-125/+113
|/ | | | | bug:5349676 Change-Id: Ie1f4202d7f1d75978308ece4fbf486635cceead3
* Change highlight pattern in indicatorbar.Chih-yu Huang2011-11-084-26/+19
| | | | | | | | | | Use the blue press state for all the icons in the setting bar, fill the whole bar width with a square instead of blue arc. Also make the share icon touch area larger. bug:5521011 Change-Id: I2db26c41758d230e8455696346a90a33b7e3efb6
* Merge "Change effect settings popup styles." into ics-mr1Wei Huang2011-11-071-0/+2
|\
| * Change effect settings popup styles.Angus Kong2011-11-041-0/+2
| | | | | | | | | | bug:5521011 Change-Id: Ia01bcbd8b1aa916406048b6890ab3439fe2f063a
* | Merge "Make dialog rotatable in Video mode." into ics-mr1Wei Huang2011-11-072-23/+7
|\ \