Lockscreen: reworked layout of the Music controls

preview: http://db.tt/Nl05de2p

Change-Id: I74141b54c60cdb72426cbe838c36a8d2ce4b3df7
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
SurfaceFlinger: Let HWC handle an alpha blending
                when either C2D or DYN is set

Before we only use GPU to blend an alpha value.
However C2D can also handle the alpha blending,
when the composition type is set to either C2D or DYN,
use HWC to handle this.
And set the alpha value of C2D to HWC_BLENDING_PREMULT,
so later C2D can set alpha blending parameter.

Change-Id: I53be1d4219fbf2467a6391276d59213858a50058
surfaceflinger: call perform function with custom events to HAL

- SF will call perform with event and value to inform HALS about
  custom events(external display, orientation change etc.,)
- remove actionsafe related functions.

CRs-Fixed: 341947
(cherry picked from commit ca1e7b9ee353bc4d2fdc2234d8860e84bbff74f1)

Change-Id: Icfe5f2f8ce56561c6959e206771b2850a3597e70
Fix restoring network mode preference on reboot.

When a user sets the option to use only 2G networks (for GSM networks) or its
equivalent for CDMA networks, each reboot erases that setting. That forces
the user to re-select the same option after each boot.
This (very simple) patch fixes it.

Change-Id: Ib9e4bba6da705c127ce1f3aa3c242b9262541cee
Revert "SystemUI: add some padding to tablet nav buttons"

Don't think this looks all that great to be honest

This reverts commit c2e10f3064af745827190b61e3d1c7829d70e705
fix build, by adding @hide to android.provider.Settings.System.SAFE_HEADSET_VOLUME_RESTORE

broken by : http://review.cyanogenmod.com/#/c/16445/

Change-Id: I8cc948084e8e92e7052508d5de322ca5bb08b03b
Merge "Fix restoring network mode preference on reboot." into ics
telephony: SamsungRIL cleanup

== RIL ==
* remove unused "found" boolean in processSolicited
* make requestToString/repsonseToString append the request
  ID on unknown requests.

== Samsung RIL ==
* add CM copyright header to file
* SAMSUNG_UNKNOWN_MAGIC_REQUEST_3 is actually UNSOL_AM
* add DIAL_EMERGENCY to a SamsungRIL::requestToString
* add DIAL_EMERGENCY response to processSolicited
* move emergency dialing into dialEmergencyCall()
* dialEmergencyCall() also ditches UUS info like on stock.
* cleanup and improve readibility of responseCallList()
* move isVideo before isVoicePrivacy, as it is in stock:
    ref "stock" code: http://pastebin.com/WePMyXDi
    ref "stock" order: isMpty then isMT then als then isVoice then isVideo
                       then isVoicePrivacy
    ref cm code: http://pastebin.com/UU105gNr
    ref cm order: isMpty then isMT then als then isVoice then
                  isVoicePrivacy then "videoMagic"
* general cleanup

Change-Id: Ic4ada0a3d6ac1bf580b3930a2599a91e822540ef
telephony: CDMA: fix ERI display when device is in airplane mode

currently when a CDMA device is in airplane mode, the ERI display
shows "Searching for Service"
the radio is OFF, and not searching for anything, so fix it to
actually display the radio status correctly

Change-Id: I3acfb509291867e1a8e35163a89d86719aa40479
smdk4210: fix setPreferedNetworkType when mobile data is connected

Change-Id: I42997c13a8582a401d4d80cfe98227a1ecb446eb
telephony: fix Network Operators list on Samsung Qualcomm devices

setNetworkSelectionModeManual() and responseOperatorInfos() are overridden
in QualcommSharedRIL with code that breaks Samsung Qualcomm RIL's.
Override them, again, to put back the original functionality found in
RIL.java.

Change-Id: I7ac663a60edf62c80cdac831443ca6cddbe3702c
Disable the IllegalStateException on route del

The frameworks often try to remove routes after deleting interfaces
Ignore this exception to reduce log errors.

Change-Id: I8d11598a83708b7689f1d29014f18784ad8c93f9
Merge "Lockscreen: reworked layout of the Music controls" into ics
Merge remote-tracking branch 'upstream/ics' into v880