summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Camera: Add indicator icon for burst modecm-10.2.1stable/cm-10.2Ethan Chen2013-12-1815-1/+46
| | | | | | | * Patchset places burst mode indicator next to auto-scene detect if active. Change-Id: Iba3f89490221b16dcce2531962f84752c00b1eef
* Camera: Smart scene icons w. original artworkhenry j. mason2013-12-1821-0/+0
| | | | | | | | | | | These are functional replacements for the smart scene indicators created from scratch for CM, and fully owned by the project. I'm sure the size, border weight may need some adjustment, but they're currently identical to the burst mode indicators in: http://review.cyanogenmod.org/#/c/55716/ Change-Id: Ia9e18aa2cd1f78b8ef3674e71cb151e522f2e139
* Merge "Gallery2: PL translations" into cm-10.2Marco Brohet2013-12-181-11/+134
|\
| * Gallery2: PL translationsTomasz Popielarczyk2013-12-161-11/+134
| | | | | | | | | | | | PS1:Fixes Change-Id: I40e62faeff1dd92bb3c92b4b8a574e34364ddc96
* | Revert "Camera: disable camera controls while burst mode is enabled"Ethan Chen2013-12-161-13/+4
| | | | | | | | | | | | | | | | | | | | | | * Burst mode state detection is difficult, this triggers a lot of edge cases where the camera will be in burst mode but be interrupted part way through, including the case where the camera HAL fails to finish a set of burst mode pictures. This reverts commit a15045397950d07fa60b8342463ae336f8e98866. Change-Id: I2201a20e4ebb58533ea9dfd1a7362f71dfc318c0
* | Camera: disable timelapse if HFR is enabledEthan Chen2013-12-154-5/+21
| | | | | | | | Change-Id: I9f2cb254981e38bdfd191036d5b2a1593bcb6ef2
* | Camera: disable camera controls while burst mode is enabledEthan Chen2013-12-151-4/+13
| | | | | | | | | | | | | | * Fix burst mode state detection * Prevent swiping, hide camera controls during burst Change-Id: Ia901091693b16d84a34a2faf880c8316d039cf50
* | Merge "Gallery2: SK translations" into cm-10.2Marco Brohet2013-12-151-1/+3
|\ \
| * | Gallery2: SK translationsMatoDroid2013-12-051-1/+3
| |/ | | | | | | Change-Id: I6fd77376bc5148a8e92652afaea5fc7cb1e99dba
* | Merge "Gallery2: HU translation" into cm-10.2Marco Brohet2013-12-151-0/+1
|\ \
| * | Gallery2: HU translationTamas Toth2013-12-141-0/+1
| | | | | | | | | | | | | | | | | | PS2: Triggering Cid Change-Id: I43643b36d64c84f7fe9ecdb4089bc4e5f4741e4e
* | | Gallery2: LT translationsFrant1c2013-12-152-30/+30
|/ / | | | | | | | | | | Simplified translations, other small fixes Change-Id: Icd70c8e0e9963a269e1b64e3c3da906d7a386b38
* | Gallery2: fix display abnormal when tap sharpness in filtershowkaiyiz2013-12-121-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In Android4.3 version, it using stride to pad row layouts in script, and can't do 1D indexing of 2D objects, this make the resulting pixel values are not the corresponding coordinates' pixel value. We change to use rsGetElementAt() not gPixels() to get the correct pixel values. CRs-Fixed: 539928 Change-Id: Ifc0e516014c9fd974f3e7df163b06f732499f7c0
* | camera: Synchronize parameter useSteve Kondik2013-12-101-23/+27
| | | | | | | | Change-Id: Iaf783c0232b480a8db78f7c6c18d2c0e6c40a8e0
* | camera: Move smartscene indicator to the leftSteve Kondik2013-12-101-1/+1
| | | | | | | | | | | | * It overlaps on the preview thumbnail, fixit! Change-Id: I041c88c8a4f4948995936e5ea595322dfa217354
* | Camera: Dont reset camera state while capture is in progress.Sai Kumar Sanagavarapu2013-12-101-1/+4
| | | | | | | | | | | | | | | | | | While capture is in progress and if we get autofocus event, currently we reset the camera state to IDLE blindly. This is resulting in app exception because it will trigger another takepicture and lower layers will return error. Change-Id: I947e471cfc1f5cf5055f1d85550d4534b147d7f0
* | camera: Override color effect when scene mode is activeSteve Kondik2013-12-101-4/+7
| | | | | | | | Change-Id: Ia27ed59f3f27e9c867cbb4c8823abb78b0035047
* | camera: Fix various issues with HFRSteve Kondik2013-12-101-10/+22
| | | | | | | | Change-Id: Icca780589a8245219566c29f2cf3d3a1d4d8b3f7
* | Don't record audio for HFR or timelapse modesSteve Kondik2013-12-101-1/+4
| | | | | | | | | | | | * This just doesn't make sense and causes issues with the HAL. Change-Id: I8c608e5c9428adb5a709373547166045770b1850
* | Camera: Fix camcorder pause/resume issueYu Yang2013-12-102-0/+18
| | | | | | | | | | | | | | Keep the pause button disabled when it's clicked, It'll be re-enabled delay PAUSE_BUTTON_TIMEOUT. Change-Id: Ib0f3f69632cfd22e671c79732d6b03fd44bbe5c4
* | Revert "Camera: Fix camcorder crash during pause and resume"Steve Kondik2013-12-102-55/+14
| | | | | | | | | | | | | | | | | | | | * Fixes OPPO-131. I am not able to reproduce the original issue that this was fixing, let's just revert it to fix the freeze when in the filmstrip view. This reverts commit 593f1735c0d380b7be237fe468ad8f343d767935. Change-Id: Icf18d7aaafaa1de85621b088d62c2e853675945e
* | Gallery2: fix FC when try to open video folder as MMS attachmentkaiyiz2013-12-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | If there are too many videos in the folder, it will takes some time to check if all the items are videos, then the application may not responding. If it is get content from other apps, it do not display option menu, no need to check all items. CRs-Fixed: 581769 Change-Id: Ie59830c8756e3a2ece7fcaa526d8f09212b20d6f
* | Gallery2: Remove slideshow option if all files of the folder are videoyanglv2013-12-101-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | Enter Gallery and open folder whose files are all video, press menu key should no slideshow option. Add condition to remove slideshow if the folder are all video files. Change-Id: Ib1603f1609b6490e44039ab64abefb44f14bd477 CRs-Fixed: 574984
* | Camera: fix memory leak when switch and snapshot in front/backFei Zhang2013-12-101-0/+2
| | | | | | | | | | | | | | Memory leak is found in com.android.gallery3d when do fornt/back switch and snapshot. Need clear the mOverrides Map when init. Change-Id: Iaca466f91fb7dc6273b03c2f148439fb1795b1d6
* | Camera: Refresh parameters to avoid change on saved settings.Fei Zhang2013-12-101-0/+3
| | | | | | | | | | | | | | | | | | We do not want the parameters that set in one Module used by another Module. So after open Camera, we need refresh paramters in CameraHolder, in order to grantee new copy in the next getParameters call. Change-Id: I11f7d47028be6bda0cc98e09b50ca47d520b3814
* | Gallery2: fix screen flashing after rotating pictureskayiz2013-12-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | After rotating a picture, it needs to redraw the bitmap, but the bitmap can not be available immediately, and it will draw a rectange of placeholder color (gray) first, then it redraw the bitmap, this make it seems like the screen flashing. We draw the placeholder color only if the texture is null. CRs-Fixed: 570056 Change-Id: I28bc65ba674906f39eae3d872988fe96511a3ecb
* | Gallery2: fix FC when view the details of some pictureskayiz2013-12-101-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Pictures captured by some devices seems didn't comply with the standards, it will get null when set details, then it will throw out an exception. If it can not get a detail value, do not display it, and print error log. CRs-Fixed: 583463 Change-Id: I69be48cb25a4413ae7ddbe301891c94e88671c0f
* | Gallery2: fix issue in readTag when parse Exifqqzhou2013-12-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When read some Tag of jpeg images,the offset is less than the IFD0 offset position,then try to copy data above IFD0 as Tag value no matter whether data exists above IFD0,so null exception occurs in System.arraycopy.This issue can effect user in two aspects: 1.black thumbnail for some jpeg images in ALbumSetPage and ALbumPage. 2.force close happens when get details of some jpeg images. We set offset for this Tag not value on above situation. Change-Id: Icd368afcbed80556de0940e562dbcca42c53c849 CRs-Fixed: 525081
* | Gallery2: fix NPE when tap home key in FilterShowActivitykaiyiz2013-12-101-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If tap home key when it just enter filtershow activity, renderscript context will be destoryed when pause activity, then loadBitmap task call onPostExecute to handle the load result, a NPE will happen. If activity is paused, do not set FilteringPipeline, it will be set when resume. CRs-Fixed: 527277 Change-Id: Ib97f328acccfa35cab36a2bb7c8efea4d359844a
* | Gallery2: Fix screen freeze when switch language several timeskaiyiz2013-12-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of thread pool is 4, when change language, the activity will be recreate. All of activitystate in state stack also be recreate. But it only call oncreate, don't call onresume and onpause. All of threads is submmited at onresume except TileImageView. TileDecoder of TileImageView will submmited at oncreate. and it will not be release as it didn't call onpause. So it will submmit a new thread every time change language. The thread pool will full after switch several times language. It will lead other thread can't be submmited, such as slideshow load thread, it will block the slideshow. When user touch screen or click back key, it will exit slideshow it will release the thread, but the thread is not running, so it will wait the thread complete. So the UI will be block and the screen is freeze. Remove TileImageView submit thread at constructor. Only submit in prepareTextures(). CRs-Fixed: 529641 Change-Id: I5e22f43747460f7f796d96bf6fd3f6f66103adb4
* | Gallery2: Can't slide to left and "Force Close" alert box pops upkaiyiz2013-12-101-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When press Camcorder's shutter button, VideoModule's onShutterButtonFocus() will be called twice(down and up) and there is a time interval between this two events. When slide right from Camcorder, VideoModule's onFullScreenChanged() will be called. The root cause is when press the shutter button to stop the recording and slide to right nearly at the same time, onFullScreenChanged() may be called between these two onShutterButtonFocus() calling(The correct order should be onShutterButtonFocus(true)->onShutterButtonFocus(false)-> onFullScreenChanged()). Then the first onShutterButtonFocus(true) calling makes the flag mEnabled to be true, and after that onFullScreenChanged(false) makes it false, and finally the second onShutterButtonFocus(false) calling makes it true. Thus, dispatchTouch() in PreviewGestures will dispatch user's touch events to VideoModule instead of the CameraActicity. Add a flag mIsFullScreen to VideoModule.java. when onShutterButtonFocus(false) is called after onFullScreenChanged(false) and mIsFullScreen is set to false, we should call mUI.setShutterPressed(true) to disable the PreviewGestures. CRs-Fixed: 539360 Change-Id: Ib7bc38dfdd2a9033ba83c2c89133eae909f6c276
* | Merge "Gallery : Check if image has orientation" into cm-10.2Danesh Mondegarian2013-12-061-1/+1
|\ \ | |/ |/|
| * Gallery : Check if image has orientationDanesh Mondegarian2013-12-051-1/+1
| | | | | | | | | | | | Check if item being cropped has orientation Change-Id: Ib9170967bc071a65e5a5cd44d0a2e95e8dd57365
* | Gallery2: LT translationsFrant1c2013-12-041-1/+14
| | | | | | | | | | | | Missing strings have been translated Change-Id: I8cd96da0340e112198c653c1b277724fd0ef5276
* | Merge "Gallery2: DE translation for ASD" into cm-10.2Danny Baumann2013-11-301-0/+1
|\ \
| * | Gallery2: DE translation for ASDelektroschmock2013-11-261-0/+1
| | | | | | | | | | | | Change-Id: I26265de6882d59c0ce944c8c062ffc21baeb6578
* | | Merge "Update Lithuanian translations" into cm-10.2Marco Brohet2013-11-302-8/+159
|\ \ \
| * | | Update Lithuanian translationsFrant1c2013-11-252-8/+159
| | | | | | | | | | | | | | | | Change-Id: Iccd149ccbe14f31ecb13a4feaa47a42f2f23c1b9
* | | | Merge "Gallery2: RU translation" into cm-10.2Marco Brohet2013-11-302-7/+7
|\ \ \ \
| * | | | Gallery2: RU translationVladislav Koldobskiy2013-11-262-7/+7
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PS2: redefines won't fly here. I'll have to change strings.xml. Either way, it won't be updated from AOSP anymore. PS3: trigged Cid again. PS4: hey Cid, are you going to verify this? PS5: some strings updates. Used Sony NEX-5 UI for inspiration :) Change-Id: I49d5a7d861f43a866f08e832ed1427bd4e632570
* | | | Merge "Gallery2: Af Translations" into cm-10.2Marco Brohet2013-11-301-0/+116
|\ \ \ \
| * | | | Gallery2: Af Translationsisimobile2013-11-271-0/+116
| |/ / / | | | | | | | | | | | | Change-Id: Ia9134cc1fcc766afbc22b8acc3a86a11c11e2384
* | | | Merge "Gallery2: PT-BR update translations" into cm-10.2Marco Brohet2013-11-302-0/+1
|\ \ \ \
| * | | | Gallery2: PT-BR update translationsGustavo2013-11-062-0/+1
| |/ / / | | | | | | | | | | | | Change-Id: I7fd29746c0621b658b24b785da38ba52ec51ee76
* | | | Merge "Gallery2: DA translation" into cm-10.2Marco Brohet2013-11-301-0/+1
|\ \ \ \
| * | | | Gallery2: DA translationMorten Jørgensen2013-11-271-0/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I76c871ef49719eb91d8c26b19d7e0d309a370475
* | | | | Merge "Gallery2: CS translation" into cm-10.2Marco Brohet2013-11-301-0/+1
|\ \ \ \ \
| * | | | | Gallery2: CS translationOndrej Zima2013-11-241-0/+1
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | - added smart scene Change-Id: Iccd3562c020c18f0eed667a32d532e42195e19cc
* | | | | Add missing smart_scene_*.png MDPI assetsConn O'Griofa2013-11-297-0/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: If65b63a1c79bfeb95ebeae24d4a97f8598519293
* | | | | Merge "Gallery2: ES translations" into cm-10.2Marco Brohet2013-11-281-0/+1
|\ \ \ \ \