frameworks/base: Fix aliasing violations

Fix violations of strict aliasing rules

Change-Id: Ia83db6a0be18f52e8f274c581c3b42f031b39247
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

frameworks/base: Fix various aliasing violations

Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

frameworks/base: Fix compile errors

Fix ISO C++11 incompatibility in TextLayoutCache and
aliasing violation in FontRenderer

Change-Id: I19a9560737005e72f706c12c0ccfdcd0c7765b06
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

Conflicts:

	libs/hwui/FontRenderer.cpp
	libs/hwui/ShapeCache.h
	libs/hwui/TextDropShadowCache.h
	voip/jni/rtp/AudioGroup.cpp
Merge remote-tracking branch 'upstream/kitkat' into kitkat
Immersive mode on quick settings

This adds the ability to toggle statusbar / navbar via quicksettings (former expanded desktop), but
using the new 4.4 APIs that allow a swipe-up, swipe-down gesture, to restore bars.

Credits to CM project for the implementation
http://review.cyanogenmod.org/#/c/53468/

Drawables by Arz Bhatia

Patchset 2: Rebase
Patchset 3: No change, was never supposed to happen....

Change-Id: I1f694d87f0364aed7b6951714ea2bfbfd8555064

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/pa_strings.xml

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/pa_strings.xml
Revert "Immersive mode on quick settings"

This reverts commit cd4ea172ec649d2e4cf9a29fc54cab6a64dff53f.
Merge remote-tracking branch 'upstream/kitkat' into HEAD

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsContainerView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsTileView.java
Merge branch 'kitkat' of https://github.com/AOSPA/android_frameworks_base into kitkat
derp

Change-Id: I81c932e981db03a69ddaf62d1cd8969519d81486
Make No Recent Apps WHITE instead of HOLO BLUE

make it white to match KitKat Colors
GCC 4.8+ Build with strict aliasing

Change-Id: I235ee05512ff6cd6e13a667d9cbe07b1ea944a3b
Merge

Change-Id: Ifada967f90b2d3cc828067f6806f7abac5e2aa66
Settings.java: fix derp after merging

Change-Id: Ic634541ceb054926d4e6e7797c1595ad3906a3c9
SystemUI: Remove doubled strings
Merge remote-tracking branch 'PA/kitkat' into kitkat

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
Merge remote-tracking branch 'PA/kitkat' into kitkat
allow forcing HighEndGfx mode

people have already started fipping the lomRam prop to enable
transparent status bar, this will enable it with fewer
repercussions

Change-Id: Ied6de65276425fa1e7db0bf9da35f1932a355172
Remove dead code.

This hasn't been used since at least 2011, and we're no longer
shipping the data supporting it either.

Change-Id: Ibe42057650b49794c65d6f0d54ed7a492f3b594b
Fix to NullPointerException when activity is relaunched

When ChooseTypeAndAccountActivity is relaunched and resumed
by ActivityManager a call is made to onActivityResult without
first triggering onResume. This leads to mAccounts object
still being null.

Fixed by properly setting mAccounts object if it is null prior
to use after function onCreate has been called.

Change-Id: Ife7e1e052c473970d923fa43ee6189eb62a1113b
Custom lockscreen

Accessible via launcher wallpaper selector and
Settings - Display - Wallpaper - Lock screen

Change-Id: I2e4722d1a6d4ba80a3c656306ceb251d630a8e21
SystemUI: Add missing catalan translation

PS2: some corrections

Change-Id: Iee6dcef26aab68796cf22c2b26ccef5616056ff6
Revert "[1/3]Quiet Hours"

This reverts commit d1f9f1c3096df9918472526a89580fb8621b9cb4.

The implementation needs to be reworked

Change-Id: I4caf96e2e8f1bce4759308bd73e2f27da19aa811