summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Import translations. DO NOT MERGEEric Fischer2012-02-088-50/+67
| | | | Change-Id: I0719643bd6d66a3990dbfd2b6eb9e2fc64ab307e
* Merge "Do not allow switching to other activities during panorama capture. ↵Wei Huang2012-01-201-0/+15
|\ | | | | | | (do not merge)" into ics-mr1
| * Do not allow switching to other activities during panorama capture. (do not ↵Wu-cheng Li2012-01-201-0/+15
| | | | | | | | | | | | | | merge) bug:5541182 Change-Id: I1cdbba9a8aec3b5c832f6e58baa26ff6312cf59a
* | Allow saving panorama after the activity is paused. (do not merge)Angus Kong2012-01-123-34/+75
|/ | | | | bug: 5541182 Change-Id: I42237d8dd4f8c39ddc2041ae32b886328a9c45c0
* Use default volume control stream instead of the music stream.Eino-Ville Talvala2012-01-051-2/+0
| | | | | | | | Since the Camera API is moving back to using the system audio stream, do not override the camera app volume control stream any more. Bug: 5778365 Change-Id: I27a6a1769d39cb0b246bce7d721d846f6c1430d1
* Merge "Import revised translations. DO NOT MERGE" into ics-mr1Eric Fischer2011-12-062-3/+3
|\
| * Import revised translations. DO NOT MERGEEric Fischer2011-12-062-3/+3
| | | | | | | | Change-Id: If70739b6fc62ac7acf009355dc4cd5b9fabe8218
* | Fix crash after restoring defaults.Wu-cheng Li2011-12-061-0/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | After restoring defaults in camcorder mode, the indicator control calls onSharedPreferenceChanged if record location is on. onSharedPreferenceChanged is also called in the end of restorePreferences. With two onSharedPreferenceChanged calls in a row, the first call notices effects have been disabled, and begins the effect pipeline teardown in the background thread. Normally, this would conclude in a few hundred milliseconds, and would then restart regular preview. However, with the second call to onSharedPreferenceChanged coming in right after the first, the method no longer sees an effect transition in progress (since current and new effect are equal to none now), and thus just ends up restarting preview. That attempt at restart runs into the crash because the main SurfaceView has not yet been released by the background effects thread. To fix this, InLineSettingSwitch should not invoke the listener when updating UI. bug:5679133 Change-Id: I06aca382105455585b633dc63f014a8f71ccadbe
* Import revised translations. DO NOT MERGEEric Fischer2011-11-293-5/+5
| | | | Change-Id: I3dc168e6ebcec5b133ca21dc8175d959798927b9
* Fix NPE if the camera cannot be connected.Wu-cheng Li2011-11-281-1/+1
| | | | | bug:5673972 Change-Id: I85587bd982e0af5dd7c3630958e105571d8e12d9
* Dismiss open menu if exists.Chung-yih Wang2011-11-223-0/+11
| | | | | bug:5648754 Change-Id: I44be2226e65de76e6240adc7b554e0ee7cda2226
* Merge "Update camera sound API." into ics-mr1Wu-cheng Li2011-11-214-8/+21
|\
| * Update camera sound API.Wu-cheng Li2011-11-184-8/+21
| | | | | | | | | | bug:5640219 Change-Id: Ic3af6527f3025ec04ba4be16b621b462f89953f1
* | Merge "Import revised translations. DO NOT MERGE" into ics-mr1Eric Fischer2011-11-213-18/+18
|\ \
| * | Import revised translations. DO NOT MERGEEric Fischer2011-11-213-18/+18
| |/ | | | | | | Change-Id: Ie3dd7e4f5b1adfd9fb7f5959ebc20416d8a13946
* | Fix share popup is not aligned with viewfinder.Wu-cheng Li2011-11-211-1/+1
|/ | | | | bug:5641001 Change-Id: I0d77a93a9c0ef5b7b661abf36028eb559981dc67
* 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-177-79/+57
|\ \ | |/ |/| | | ics-mr1
| * Rotate priority indicators according to the device orientation.Wu-cheng Li2011-11-177-79/+57
| | | | | | | | | | | | | | | | + 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 "Import revised translations. DO NOT MERGE" into ics-mr1Eric Fischer2011-11-1649-148/+148
|\ \ \
| * | | Import revised translations. DO NOT MERGEEric Fischer2011-11-1649-148/+148
| | | | | | | | | | | | | | | | Change-Id: I9c739c560799166155e1578ce597e174d4304cd6
* | | | 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
* | | | | | am 30f26f91: Reconcile with ics-factoryrom-2-releaseThe Android Open Source Project2011-11-160-0/+0
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | * commit '30f26f912211751b4b28ac2f0e30af0430765214':
| * | | | | Reconcile with ics-factoryrom-2-releaseThe Android Open Source Project2011-11-160-0/+0
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib5a550f4261b0810187d95e9a7844144641b322b
* | \ \ \ \ \ 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
* | | | | | | Reconcile with ics-mr0-releaseThe Android Open Source Project2011-11-160-0/+0
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | Change-Id: I0d5ce944499ccd0802d2385e5ade01f613ccefc5
| * | | | | | merge in ics-mr0-release history after reset to ics-mr0The Android Automerger2011-11-100-0/+0
| |\ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
* | | | | | | 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-156-211/+15
|\ \ \ \ \
| * | | | | Switch sound playing to use Camera.playSound()Eino-Ville Talvala2011-11-086-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-148-9/+74
|\ \ \ \ \
| * | | | | Fix several UI bugs.Chung-yih Wang2011-11-148-9/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-142-5/+10
|\ \ \ \ \ \