es_ES: Add spanish translations

- Reorganized strings
- Added Pie controls

Change-Id: I2155cb8c89d13d87ceeaba22ca316c4cd5fd5c26
Added hungarian translation for pie control

Change-Id: I4ae51271baed646da96645162a6080772585a0cd
SystemUI: Update Polish translation

Change-Id: I11b27d9c4709db1a4c30e023345f5e3bdf74a0b6
SystemUI: Danish for pie controls

Change-Id: I51b948e1b0a8e11b2cae8bc363d12ba65cdcc539
Framework_base: Update italian traslation

	Translate a few permission strings regarding FM transmitter/receiver control
	Extract cyanogenmod custom strings in cm_strings.xml

Change-Id: I30497e3d672ee9062623295def509450a0b8568c
SystemUI: Update italian translation

	Add strings for pie controls
	Extract cyanogenmod custom strings in cm_strings.xml

	Patchset 2-4: remove unnecessary spaces, tabs

Change-Id: I1a543a4c7e1b639ff4f4292084349e4aa8bfafbb
PT-BR: Update translation

Change-Id: Ife439eab03f7ced3540186c9721c447bade36c83
Fix pie controls being disabled by launcher gestures.

Some launchers have gestures for expanding/collapsing the status bar
from swipe gestures which call the respective StatusBarService methods
even if the status bar isn't visible due to expanded desktop. Because of
that, the status bar code internally thinks the expansion is carried out
(even if invisible), thus disabling the bottom pie controls in the
process.
Fix that by making PhoneStatusBar aware of it being hidden by expanded
desktop and ignoring the expand call in that case.

Change-Id: If386ca953517d9b5efcb6cb9054f5c5e6a9e0bc4
LockscreenTargets : Dismiss on target select

Only dismiss prior to activity launch for lockscreen shortcuts,
camera and appwidget picker remain untouched.

Change-Id: I2770c628ce0708570aa6ea0eac9e3cd1d82287fb
Remove opaque check in GLRenderer when preparing dirty region.

Since preserved swap is enabled, we need to clear the color buffer
when the scissor rect is prepared for a new process. This prevents
garbage to be present from the previous process in the color buffer.

CRs-Fixed: 391492, 403067, 405916

Change-Id: I1f72a3dee2f5d58a984f4cd367c9f7bf08ab9d6a

Conflicts:

	libs/hwui/OpenGLRenderer.cpp

[PATCH] Remove opaque check in preparing dirty region

Since preserved swap is enabled, we need to clear the color buffer
when the scissor rect is prepared for a new rocess. This prevents
garbage to be present from the previous process in the color buffer.

(cherry picked from commit 2b5e584e2615852b68a69bb529c6926190246b64)

Change-Id: I92a4fa35e0746f12fcd736e21fd30d9c4b644a8a
CRs-Fixed: 391492, 403067, 405916

Conflicts:

	libs/hwui/OpenGLRenderer.cpp

Enable scissor when preparing dirty rect that is opaque

Now enabling scissor before setting it in the opaque case, previously was not doing so.

Change-Id: I1ea904cf01603096e423556090564291ab712d36
CRs-Fixed: 465346
Depends-on: 278453
Afrikaans translations: Added missing items

Change-Id: Idb4c87e375ca0b8e49135245c1f31a1c7e3a2fb6
Update systemUI ukrainian translation

Change-Id: If07eb87c624cdb01757ed3137bdaf5bbbdeb5f55
SystemUI: Fix build warnings

Change-Id: I3493428eb5192bf39b31bf8a5c66406660af1aca
SettingsProvider: Initialize defaults for CM features

Add configuration defaults for:
- status bar notification count
- QuickSettings quick pulldown
- lockscreen targets

Change-Id: Ief4b97fcceea7e351a13d59136a2fb1823d97b04
QS: Add dock battery tile (1/2)

Add a dinamic tile for devices with dock battery

Patchset 2: New icon set
            Rebased

Change-Id: I5e0e84da0b0f248fa9eb568c5d506b00cf3998b0
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
LockPatternUtils: isSecure: respect profile settings

When the lock screen is set to secure and overridden to insecure
by profile settings, isSecure() would return true causing confusion
to some code.

For example, attempting to use a lockscreen shortcut
to launch an activity will cause the device to soft-reboot due to
recursive calling and a stack overflow.

Change-Id: I02984671c2a047765f4da1f6a44bb19dea5bf2d3
Profile: respect DPM when overriding screen lock (1/2)

Profile currently allows the user to override the keyguard set by
device policy, which is undesired.

Change-Id: Id8d80cfdad51ca0a64dc231a77e53b104ecb9825
SystemUI: Add Expanded desktop tile to QuickSettings (2/2)

    * Patch Set 1: initial commit
    * Patch Set 2: change tile title
    * Patch Set 3: change tile title again
    * Patch Set 4: updated to suggested drawable by blunden
    * Patch Set 5: update drawables to fit to the bahavior of
                   the other icons used in QS
    * Patch Set 6: rebase
                   only display tile if feature is enabled
    * Patch Set 7: launch the proper long press activity
    * Patch Set 8: correctly hide tiles if ED or profiles are turned off
		   style fixes

Change-Id: I2273f8f0bdb726ec34f00a6fb205b1bc6e795cfa
Fix race condition in backlight adjustment.

When configuring the automatic backlight levels, there's a race
condition in setting the lux and brightness settings as the settings
provider doesn't allow storing multiple settings atomically. When
deleting rows, there's quite a high chance of DisplayPowerController
picking up a state where the lux values already have the lower number of
rows, but the brightness values do not, effectively leading to an
ArrayIndexOutOfBoundsException.

Fix that by
- waiting a second of cool-down time until applying the settings and
- adding a sanity check for the very unlikely case that the delay
  between writing both values is > 1 second

Change-Id: I44e41530fc5334aaefc4ab7d3a90542f78fabe0c
JIRA:CYAN-755
SystemUI: Update German translation

Patch Set 1:    * add strings for pie controls

Patch Set 2:    * move strings to right place
                * add strings for expanded desktop QS tile

Patch Set 3-5:  * remove comma

Patch Set 6:    * add some more missing strings

Change-Id: I0e37edf57b84b0dd267d9dfcba3b4704af75b0c5