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
Gallery2: ES translations

Change-Id: Idc1f45f72a9995ea1789b62478899506cd605749
Gallery2: PT-BR Translations

Change-Id: I3d3980427282db47feef83976ee5d99186d33325
Gallery2: IT translations

Change-Id: Ia2257676e551f7b4612c67f9b2f8fad0f6b25f2f
Gallery2: NL translation

Change-Id: I5152e86053ab5934ff8889eaf7baef6f3e0c3934
Gallery2: LT translations

Change-Id: Ia877767038ae9e59b9beb5081684b4605753d689
Merge "Gallery2: NL translation" into cm-11.0
Merge "Gallery2: IT translations" into cm-11.0
Optimized images

Change-Id: Ic4766618d4b5dd24b20e8761a1f9c56440844e15
Optipng -nc -nb -o7

Change-Id: I1df1f2fbb25d0835ba942e8dfdf4415bb2b83c0d
TRDS: Darker Gallery

Change-Id: I632b252280118f61f356f4a6dae1039e02b82241