partial revert HEADsup fix
Do not show Pie Search button by default
PA PIE : add gesture panel (1/2)
PA PIE : missed
PA PIE : Omniswitch as alternative (1/2)
Add ability to play audio to Boot Animation

Just add an audio file named audio.mp3 to system/media to play during the bootanimation

Credit to Team Bamf

Change-Id: I94ef8020870578f7d6f255467076f778467dccbd
AppOps: Add nfc enable control into AppOps

Check user permission before enabling nfc.

Change-Id: Ia84e33c299e4fdecfd66ee933d9e7d37ed29c340
AppOps: add permission check when enabing nfc

Add appops permission check for enable function.

Change-Id: Ie98be3e7b3cd9e72b0ad12cc1634d9cd1869a66c

Conflicts:
	core/res/res/values-zh-rCN/cm_strings.xml
	core/res/res/values/cm_arrays.xml
Fix API check derpage

Change-Id: Ib2086febae4c4f3c2caec77d8a78dcb1d0dfc978
SlimRecents Background : inline with slim
Fix recent panel defaulting to white on clean flash

Previously, recent panel would default to a solid
    white background on clean flash, until the user
    changed/reset the colors.  This fixes that issue,
    and the recent panel background now defaults to
    the proper semi-transparent white drawable (or
    semi-transparent black drawable if the TRDS
    state is switched).

Change-Id: Iea9d292596e8f4f51b55940e97e6597215ca58c2
Revert "SlimRecents : Custom header text color (1/2)"

This reverts commit 194683339b162f3c44b74f6503ca68d7513820a7.

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
FB: Slimrecents card/text color [2/2]

Allows user to set custom colors for Slimrecents card
    header text and background.

PS: fixed expanded card (thumbnail) background
Change-Id: I896a4db4ce235dc53858381347379d5fd7f7e796

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
SystemUI/Added ADB over network QuickSettings Tile

Change-Id: I340846a171571a7b61d2c68f2a6875794be5d5b2
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Touchwake toggle for gnex (1/2)
watermark: Place watermark in the bottom-right when both deltax and deltaty are 0

The default behavior is to replicate the watermark all over the screen but this can
be too intrusive. The repetition is controlled by deltax and deltay and if they are
both 0 the watermark will actually be drawn off-screen and thus not shown.

We take advantage of this to add a special behavior when they are both 0 that simply
places them in the bottom right. This patch doesn't take UI elements into account and
may actually overlay soft-buttons and other chrome.

Change-Id: I4cff1326b8aaecdbc471eaf48e95bc2865181366
Revert "Optimize drawBitmapMesh using TRIANGLE_STRIP"

This reverts commit 1c3af98b723ebbcf94589e83d700e3946c260301.
Revert "Don't rely on gcc extensions"

This reverts commit d903178b9e0053191ce635fd89b09415913da5e6.
Optimize drawBitmapMesh using TRIANGLE_STRIP

Draw BitmapMesh using STRIP instead of TRIANGLES.
Depending on where the bottleneck is located in the pipeline,
there is a potential for saving two-thirds of the time spent rendering.
The speedup is due to avoiding redundant operations,
i.e., mapping each vertex four times to texture and color attribute,
sending each vertex twice to the GPU, vertex processing of GPU ...

In this patch:
1. Refactoring mesh using Strip.
2. Batch triangles by adding degenerate triangles.
3. Optimize computing positions of texture and color attribute.

Benchmark: Drawing Bitmap(1152x768 px) with 200x200 meshes
Performance is doubled (from 26.4 fps to 53 fps, Nexus10).
Memory footprint: only 17% of original method.
(from 240000 to 40401 vertices with xy, uv, rgba data.)

Change-Id: I08c5c20d981d88528ce7b02012feefae468d6ec4
Signed-off-by: kui.zheng <kui.zheng@arm.com>
DocumentsUI: Workaround for aapt warnings

* Now we should be completely free of aapt warnings

Change-Id: I8e6886f9ac93adb19c80887a1b7329ae9b942125