Fix the thumbnail generation.

bug:11664501
Change-Id: I53ec5a08e801d0300b8ed159158bc46f61c6d3f4
am aa22947b: Fix the thumbnail generation.

* commit 'aa22947b6f0714b73a78a28fb1217f7c5f4f663d':
  Fix the thumbnail generation.
Import translations. DO NOT MERGE

Change-Id: I49f6e3ff0256e4c1649461f919beb7549e3bbe12
Auto-generated-cl: translation import
Import translations. DO NOT MERGE

Change-Id: I821f344b4a1b993dd1626c2f98d049a9f104493c
Auto-generated-cl: translation import
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad
am daac361f: (-s ours) Import translations. DO NOT MERGE

* commit 'daac361f913e0f148c63696020df5a6feb9461f6':
  Import translations. DO NOT MERGE
am 76ad19f1: (-s ours) Merge "Import translations. DO NOT MERGE" into gb-ub-photos-carlsbad

* commit '76ad19f1c70df359d03ec0d2142805c263d39a01':
  Import translations. DO NOT MERGE
Gallery : Filter picasa specific options

Remove menu options that don't serve a purpose due to their dependency
on picasa support being built in.
Removed "Settings" item from menu. (GallerySettings are empty)

https://jira.cyanogenmod.org/browse/CYAN-1329

Change-Id: Ie75b839ec9b30a5a934477e92523803239a238e3
Gallery2: PT-BR Translations

Change-Id: I2d1eb5e47690d7dc4299d2b80d45205bf2c8758c
Import translations. DO NOT MERGE

Change-Id: I7bac9f63cb528615849b859fd1fef56f8a6977c0
Auto-generated-cl: translation import
Import translations. DO NOT MERGE

Change-Id: I7baeb6a135280e6e3d924dbbb88b0bdeab70a158
Auto-generated-cl: translation import
Gallery2: Use correct editor ID for sharpness filter

Change-Id: Ia8d9424fa9e36d58fee69465c4fe3ddd7ad9e750
Merge "Import translations. DO NOT MERGE" into klp-dev
Merge "Gallery : Filter picasa specific options" into cm-11.0
Import translations. DO NOT MERGE

Change-Id: I74fbdf2c0ea3817c249509449ccdf8d45aaa4f13
Auto-generated-cl: translation import
Gallery2 - add wmv, mpgts, mkv, asf mimetypes

 - adds extra mimetypes so they can be used for playback from Music app

Change-Id: I19a986e4c4e36b668f2436ced3441696fa6052e5
CRs-Fixed: 438167
(cherry picked from commit 2bbc6f5274fca08e769db5fecaccc51c61cac43f)
(cherry picked from commit b9c182d90b364576b7ce221644c3af05ab731ce1)
(cherry picked from commit 80453df71503f345309fe71ad4dfd90a444bfb0c)
(cherry picked from commit 63e936188eef3528b0538fd0efb702084d6d91a5)
Gallery2: Fix crash for unsupported format on mute operation. -Mpeg4 Writer does not support formats other thanmp4/h264/h263. -Need to check in app for unsupported format before starting  mute operation. -Fix is to add condition in app to check for unsupported format  and display toast message.  CRs-Fixed: 514347

Change-Id: Ib2ce48d2b8ebaef80936bc7a446e1c97e3a10c31
(cherry picked from commit 91620395d7a744abccf89a6f774a569bcd24ccad)
(cherry picked from commit 7f4a86b898969c1942f85657937f2def7ed8bbd4)
(cherry picked from commit c74d095615f50655159d49732e47a063f6ed83dd)
Gallery2 - add wmv, mpgts, mkv, asf,avi & divx mimetypes  - adds extra mimetypes so they can be used for streaming.

Change-Id: Iec3c5c55b2268e93807d5c09a4335f00eda99f97
(cherry picked from commit ab5ef79d09c45028580faeb5a774e074c0e572b2)
(cherry picked from commit 8900fb2fc70a9bb95b0da372089f545a9d41e9a7)
(cherry picked from commit 0bf060d565264298912ee9170b602ab266657455)
If the decoding fails, change the inSampleSize to 1.

Issue: Decoding an image whose inSampleSize is greater
than image width/height returns a invalid bitmap width,
height and config value
Fix: If decoding fails for an image whose inSampleSize
is greater than image width/height; decode the imagewith
inSampleSize=1

CRs-Fixed: 527315

(cherrypicked from: I578e362563f3c648b0a2427cf824198af31d2915)

Change-Id: I1fda51cc0489dc3821f76f8e2f122db7ca4f0b30
(cherry picked from commit 9dcaeca9c7d7c9b0ba9549beb90a418b74440d8b)
(cherry picked from commit 0a3f4414b215482971eb46046385cd2d674e22a2)
Gallery : TH translations

Patchset4 : fix wrong translation

Change-Id: Id6f4881ad4ec74801324aaee1cf1ca3cafaca112