Forward port Emoji and Strip unicode support

Change-Id: I6adb081d45389adef825d8bb1e431174a4ca416f
Forward port Split SMS functionality

Change-Id: I1091dc2fda319263f6ce32152990eacff3462ff3
Forward port Templates functionality

Change-Id: Ieb9e54249dd512e65f23f32d503d11fba88335ee
Forward port miscellaneous features

Commit includes:
 - Custom notification vibrate patterns
 - Timestamp options
 - Input type selection
 - Add reminder to calendar

Change-Id: I958feb05da8b32613623e95c15aaca921ae8e3c4
Forward port QuickMessage and Reply

Change-Id: I637c5ff0565462564711a3bc260bee4580fd7dc6
Forward port core translations

This only includes the translations for the new features, changes to
original Messaging app strings have not been ported over and will need
to be ported separately

Change-Id: I750e04aea961905e44ca80dec73a217634349304
Whitespace cleanup

Change-Id: Iaf0d147922ce310557d0100b22c81407cec2fbda
Optipng -o7

Change-Id: I4c5f6bac78c32d90055d3efdcbd638e15de4e527
Port "Allow full themeing of mms via theme chooser"

This redirects layouts to @color and replaces the hex that the theme chooser
cannot handle. It allows theme chooser themes the ability to theme the entire
app instead of just parts.

Patchset2  - Fixed QuickMessage themeing support (DvTonder)
Patchset3  - Use the proper colors

This is by @B_boytm I am just submitting it for him.

Change-Id: I4ec79d12788a1d6bfd5bb9b70ccc1276b65d24de
Optimized all images for 646.6 KB savings

Change-Id: Ida91b542c67bb7414ba274f034a3b46e17823f96
Mms: Take into account image rotation.

Care was taken to not introduce additional jpeg-bitmap-jpeg conversions.

- Modify UriImage to track orientation via exif
- UriImage returns properly oriented bitmap via getResizedImageAsPart
(called from sendMmsWorker->resizeMedia)
- ThumbnailManager returns properly oriented bitmap via getBitmap
- attachment_view.xml: height: wraps around content

Change-Id: I104c85e06895c40e9676ad4efae0bec6765d4a09
mark as read and fixes from CM

Squashed commit of the following:

commit b0ca404163152e39ea38ffab27a9f6c12dc2e770
Author: jared waters <kushdeck@gmail.com>
Date:   Mon Dec 10 06:19:09 2012 -0800

    Mms: adds the option to hide sprints vm text messages, but still allows sprints vvm to receive messages.

    This fixes the missing code form the merge.

    Change-Id: I7ffe257ee7df05324183c6985157fef94847bda1

commit bf2e7f67f7e9cdabcae8bfb2b27e0a5fe3b40707
Author: detule <ogjoneski@gmail.com>
Date:   Thu Dec 20 22:34:29 2012 -0500

    Mms: Take into account image rotation.

    Care was taken to not introduce additional jpeg-bitmap-jpeg conversions.

    - Modify UriImage to track orientation via exif
    - UriImage returns properly oriented bitmap via getResizedImageAsPart
    (called from sendMmsWorker->resizeMedia)
    - ThumbnailManager returns properly oriented bitmap via getBitmap
    - attachment_view.xml: height: wraps around content

    Change-Id: I104c85e06895c40e9676ad4efae0bec6765d4a09

commit cf234d990725cd96ba9bfe121e6d1b829c73f2cc
Author: Felix Walter <felixwalter92@googlemail.com>
Date:   Wed Dec 19 17:34:06 2012 +0100

    mms: Use enter for new line if mInputType is TYPE_TEXT_VARIATION_LONG_MESSAGE

    Handle the INPUT_TYPE preference as in cm 10.0:
    If the "show enter key" preference is set, use enter for new line and
    shift + enter for sending like the QuickMessagePopup already does.
    This forward ports the corresponding section in ComposeMessageActivity code.

    Change-Id: I8b9e5e66705bbe1ee2c045b7e67209323ca053bc

commit e89032e6e47b0afa5dc8246361223d86a74ad3e7
Author: DvTonder <david.vantonder@gmail.com>
Date:   Wed Dec 19 10:43:23 2012 -0500

    QuickMessage: Fix the dialog size for the N4

    On the N4, the keyboard seems to be taller and it overlaps the bottom
    of the QuickMessage dialog.  This commit makes the pop-up 5dip shorter
    so that it maintains a small gap between the dialog and the keyboard.

    Change-Id: Idf80d2192d4ef6b0ba0abb1d48908e0d8b7216dc

commit 3805fbfa059633cb93a2bb2fcedf542d85c6efce
Author: Marius Volkhart <Marius@volkhart.com>
Date:   Thu Nov 1 15:21:58 2012 -0500

    Corrected SMS acronym to be capitalized

    Change-Id: I8ed68c1014fc40dc645d5c290ec33e1fb392647d

commit 0c4cf6094d097387f91ff4cf9baef82435b391f0
Author: DvTonder <david.vantonder@gmail.com>
Date:   Mon Dec 10 17:31:27 2012 -0500

    Messaging: Fix the order of the Mark read action

    Change-Id: I7ba5a08f67de57c8b9be2b037c474d517bcc2c4f

commit 16eab4c2baf88e108061817bae077cea93e9c660
Author: DvTonder <david.vantonder@gmail.com>
Date:   Sun Dec 9 14:33:39 2012 -0500

    QuickMessage:  Better 'Mark as read' handling

    Allow for marking messages 'Read' when the pop-up is enabled. When the
    thread a marked read, the matching message pages will be removed from the
    pop-up, leaving any unread messages in place.  If all messages are marked
    read from the notification, the pop-up is dismissed.

    Change-Id: I597ba30e0f2a09626bfdd9257aa7be98623e0d73

commit 262234971ab0b65501d42b53462de26679c781eb
Author: DvTonder <david.vantonder@gmail.com>
Date:   Sat Dec 8 19:58:31 2012 -0500

    Messaging:  Only allow Mark as read when Quick reply is active

    Change-Id: I1d3e803f28d8f7bd52059deb5a48f861ddf01545

commit 8daab78ecc782ae59d9bb47069602681b13fc7b0
Author: DvTonder <david.vantonder@gmail.com>
Date:   Sat Dec 8 12:39:31 2012 -0500

    Messaging: Add the ability to mark a message as read from the notification

    Note: It will only shows on single threads, just like the Call action

    Also tweaks the settings strings a bit

    Change-Id: I4b4ca1eb7c4d211b0d5765f0093263f351776a9a

commit b216112583fa503814db66093bbc844f4f3386c4
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Mon Dec 31 22:12:14 2012 -0500

    MMS app: fix crash when MMSC setting is NULL

    Change-Id: I067d387bb832b8b2f6b89e246cfe62afa6864ccc

commit b5d5e7c4e00d1f6ff5cd870cf37d7c528dc07d74
Author: DvTonder <david.vantonder@gmail.com>
Date:   Sun Dec 2 09:16:34 2012 -0500

    Messaging: Prevent the light from being dismissed when a QM Popup wakes the device

    Change-Id: I6390a7ff0fcef7e32246ee0a75e59aa46941deaf

commit bd58255b12132afafa70d23b6fbb947639aed2ab
Author: blackhand1001 <blackhand1001@gmail.com>
Date:   Thu Oct 18 18:47:56 2012 -0400

    Port "Fix cropping on MMS inline thumbnails"

    The following patch fixes the cropping that was broken in jellybean. This worked
    properly in Ice Cream Sandwich and CM9. It now behaves correctly with this
    patch. Here are before and after pictures of both a regular photo and a
    panorama.

    Photo:
    before
    http://img62.imageshack.us/img62/3783/beforee.png

    after
    http://img24.imageshack.us/img24/231/afterwd.png

    Panorama:
    before
    http://img194.imageshack.us/img194/3882/panobefore.png

    after
    http://img607.imageshack.us/img607/962/panoafter.png

    Change-Id: Ie37d09bf46eca4efb7dc0be02dbd971648abd4ca

Change-Id: If279237d22d6d14fc711e2a3ffb13997e24b2354
Fix SecurityException when adding a captured photo

Change-Id: I3f6e950991a0492b247c52f6be372e6dfd7a5123
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Fix jank while Mms were downloading manually

The download button will be janked while several Mms
were downloading manually in a batch since message
list view will bind view before download state of Mms
were set in retrieve transaction.

Change-Id: Ibf9fbeee17150e2d7c3eba00ba34b56406ef96b5
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Enhance performance by using ViewHolder

Change-Id: I8199b84b6822944383a79ab8ad3eb227f5e31508
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Fix for themable timestamp

Change-Id: Ia4b5a89e439f4bae14fa44652ddb502f3ad0552d
Fixed From and subject fields themable and consistant with the widget

Shaken not stirred, spaces not tabs.

Change-Id: Id9c2e361ecdf4a3e8cfa0f76cf6b9e7bf1d7548e
Optimized images

Same method as before, just making it up to date

Change-Id: I1dde4f80ee524eb25308315a8e525d24c98f9edf
Set source of VideoModel to fullname of video file

Some operator will only send the MT the part I (smil) multipart body of Mms
m-retrieve-conf without part II (the real mutimedia files) if "src", "Content-
Type", "Name", "Content-Id" and "Content-Location" of the Mms m-send-req are
set to the full path in MT.

So MT will retrieve a Mms recognized as a Video Mms, but with no parts in
this case.

Change-Id: I2b70a0dbb45f081a93781a639bcebab87cf2d095
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Use transformend size to get bitmap in slideshow

Change-Id: I0ff77c87147eef0908275649b88f5a6a82c554ab
Signed-off-by: Roger Chen <cxr514033970@gmail.com>