CM11 Themes: Common overlay for sharing resources. [2/2]

Change-Id: Ied21ede2f36ba16dd190bc1e6cec44fd8560ca90
Merge "CM11 Themes: Common overlay for sharing resources. [2/2]" into cm-11.0
SF: Reduce size of DisplayFrame according to "transparent region"

Calculating SourceCrop according to "transparent region" is taken care but
not DisplayFrame. DisplayFrame also need to be calculated according to
"transparent region" to avoid mismatch in SourceCrop and DisplayFrame.
This will avoid unwanted Scaling introduced because of mismatch.

CRs-Fixed: 651365
Change-Id: I33733c084702d46de1c9eb6663533fb083f9788a
Revert "SF: Reduce size of DisplayFrame according to "transparent region""

This reverts commit 3fda6efcd830dab28cd3c8a2d0a5cf8aa1dd1829.

Change-Id: I0b2e7b88c01e06b6e4e4a93094b39e0a0f0f7579
Themes: Fix -110 install error [1/2]

aapt was being called from PM with a ' ' at the end of the cmd. This would
cause installd to read unexpected parts of memory which sometimes
causes it to parse the command incorrectly.

Change-Id: Id9f1170db05b40f030d6ea5009bed38bc9fc3b5f
Avoid calling idmap w/ trailing whitespace [2/2]

installd performs a buffer over-read if trailing ws is sent to it.
No observable effect found yet for idmap, but until installd is
fixed upstream, best to play it safe.

Change-Id: I002de7a9d177df16f91b47e7f87af59457c1f421
Merge remote-tracking branch 'cm/cm-11.0' into cm11mod-linaro
Mira Cast Part 6/7

This series of patches is from s107ken's xda post here:
http://forum.xda-developers.com/galaxy-nexus/development/rom-maguro-meets-kitkat-miracast-t2540694/post52562917
The Tuna community, states it is working as intented

Mira4u is the work of kensuke
https://github.com/kensuke/How-to-Miracast-on-AOSP

Parts:
Build 1/7 (This will likely be abandoned in favor of building from device and/or vendor)
Device/samy/tuna 2/7
external/wpa 3/7
fw_av 4/7
fw_base  5/7
fw_native 6/7
packages/apps/mira4u 7/7

WTF is Miracast?... basically, the open source chromecast
http://en.wikipedia.org/wiki/Miracast

Please note,... the way this was patches has a great possibly to step on other commits, I will attempt to ensure this does not happen

Change-Id: I901d3227e0f7d4251c1c6cffa2cfb53fa9e1c2da
Change xhdpi-1024-dalvik to legacy values to support legacy devices in the modern world

This should improve compatibilty with legacy devices with new features like theme engine

Change-Id: I3f155b456073a9a8d9cd522746288f6aef409587
Signed-off-by: DHOMD <DHO@dho.im>