DocumentsUI: Workaround for aapt warnings

* Now we should be completely free of aapt warnings

Change-Id: I8e6886f9ac93adb19c80887a1b7329ae9b942125
Bypass the lockscreen when the hardware keyboard is slid out and security mode is 'none'

Change-Id: Ie40bb33ea46b7e68bad9916a0073cdf07a42ff93
Support NoGapps style package signature faking

Unfortunately due to GMSCore libraries for clients carrying out signature checks on the GMS app,
users are not able to use open source equivalents, and are being strong-armed (by apps) into using
non-free libraries for these functions. NoGapps is an open source implementation of these libraries.

Unfortunately, a patch like this is necessary in order to permit apps to be convinced they are talking
to the closed-source GMSCore. As this "DRM" is implemented at app-level, it's possible to do this,
without the Android OS itself being "fooled" by the faked signatures.

This commit is from the NoGapps project, I am just submitting it on their behalf.
Originates from https://github.com/microg/android_packages_apps_GmsCore

Change-Id: Ic8aaa0728a43936cd4c62382734342ba8f0fbf5b
Base: Fix crash of SystemUI

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

This reverts commit 1bf315e3d233d878066e4d5308434251a7d264c8.

Change-Id: Ia40dab77038ebbdf8407a591579d6a32fffe1af3
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: If4a4452efb491d3fddfc2da607b9fc7ae13bf631
Signed-off-by: kui.zheng <kui.zheng@arm.com>
base: Fix margin layouts params of MobileNetworkTile

MobileNetworkTile use an internal frame, so we need to restrict frame margins instead of image margin

Change-Id: I1861866c814eece7911f6fc4a5671575173c12e0
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Revert "NavigationBar : Customization"

This reverts commit 61941dd7b5d04af790cbaa4f902bb352a4725783.

Change-Id: I37a22b8a523c03e5e89c3eb6dd3e315edff8aefc
SystemUI: add customizable navigation bar

Change-Id: Ibad1ecf52c7db0ac352892aed7529de68476c092
Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: Fix NavBar FC

Change-Id: I5cfa3110e0239023801c5233164c6cafae5f8498
SystemUI: fix alt back icon; navbar button fc

Change-Id: I61cb2a3d5ad024922016a1ff03564bc114bd0f0b
Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: add legacy menu button back

Change-Id: I32d687c2dd2682036ceee1032b777b9b10987ffd
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Fix navbar layout

Before: http://owain.nl/before.png
After:  http://owain.nl/after.png

Change-Id: Ie3e3c54a9644d232b1d9b74cbc9fa0eeed072b98
SystemUI: update navigation bar layouts

For tablets, mimic stock button paddings.
Except for when 5 buttons are used, then
distribute them equally across the navbar.

Change-Id: I99ccc07d31bc7b719c44be74f164d88d7dc542d5
Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: align lights out mode properly in nav bar

We need a little spacer for lights out mode to offset
the menu button!

Change-Id: I322acaea927470c09337823839249953e7558391
Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: fix nav bar alignment with 4+ buttons

The menu button at the end is now a constant size,
so the separator in the front needs to also be constant now.

Change-Id: I83c33942509e6cf76750b806e828462f3df9c8a8
Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: fix custom back button image not restoring

Change-Id: I4f564662da21860ab03d10300f52b70590c0f8fc
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Fix cherry-picks

Change-Id: I719eb2462f0be39f5bf6a1af004872e34df068ad
SystemUI: update custom nav bar icons

Give them a drop shadow like the new buttons

Change-Id: Iff7d0b1230e824925c98faba99f1a0daa07f0dd4
Signed-off-by: Roman Birg <romanbirg@gmail.com>
More fixes

Change-Id: Idd1388bf414177555144b788742a27b44ef7443f