Quick Settings: Better handling for panels

When notification panel is pulled down, the first flip to quick settings when pressing the qs button is broken (this was introduced by swipe to switch feature, swipe way works btw). The issue is present only if notification panel (and not quick settings' one) is pulled down and then we switch to qs one. Switching from QS panel to notification's one does not show the broken flip. The issue is now fixed.
Introduced a better way to recalculate flip animation delay for swipe and cleaned up a bit too (not needed lines).
A big thanks to SlimRoms for their great source.
Merge branch 'jellybean' of github.com:ParanoidAndroid/android_frameworks_base into jellybean-legacy
DateView: Use Intent.ACTION_LOCALE_CHANGED to refresh notification bar clock

Add the Intent.ACTION_LOCALE_CHANGED to DateView BroadcastReceiver for detect when the
user change the locale. Otherwise, the notification bar clock is not refreshed until
the next tick or time changed occurs.
Merge branch 'jellybean' of github.com:ParanoidAndroid/android_frameworks_base into jellybean-legacy
Fix Home-press on screen off bug.

As soon as the screen goes off while using an app, pressing the Home button
should now simply screen-on & resume the running app, instead of screen-on &
jumping back to Launcher Home Screen.

-Credits to CM/Hacksung. Original Author lost under thousands of commits.
(If you find it, let me know)

Change-Id: I6f51702bd0047e3182c9640e8fd3f5b912c391a4
Derp
Telephony: Add DCHSPAP to getTcpBufferSizesPropName

Change-Id: I868f0eae2db6032b43e9c1a1bd23860ab7bbebca
Pie: remove unused variable
implement noise suppression for phone calls (1/2)

Change-Id: If51532bd8220fab8722bbb594f70515f9d74b49b
Phone: Sprint MWI Quirk: Phantom message wait indicator workaround (2/2)

Part (1/2) http://review.cyanogenmod.com/#/c/13706/

Change-Id: Iec65915475e6b8224b82feec5571f7bbded0545a
samsung: add support for tvout and yamahaplayer services

Change-Id: I653f9876b7fb83734abf3a0b9b9b5af1920b8112

Conflicts:
	cmds/servicemanager/service_manager.c
Merge pull request #22 from slickrick/jellybean-legacy

Jellybean legacy
Quick Settings: Revert swipe to switch feature.
Revert "Quick Settings: Revert swipe to switch feature."

This reverts commit b5cf02585a020685de250b9e58097b734f8f753b.
Revert "Derp"

This reverts commit 560762804a9498dd6ae32bc3e92c12d656d692af.
Revert "Quick Settings: Better handling for panels"

This reverts commit 148289208696ca028d230c4a3207e0367ca22f36.
Revert "Add a comment to avoid errors without Halo source."

This reverts commit 12962d8aac356fe1302998a01cd09da0b81582f2.
Revert "Quick Settings: Swipe to switch"

This reverts commit 49337dd4cff2c604b1d878b1590f38bb671f5ac0.
Merge branch 'jellybean' of github.com:ParanoidAndroid/android_frameworks_base into jellybean-legacy
Merge branch 'jellybean-legacy' of github.com:ParanoidAndroid/android_frameworks_base into jellybean-legacy