Update systemUI ukrainian translation

Change-Id: If07eb87c624cdb01757ed3137bdaf5bbbdeb5f55
Merge Navigation Bar and Pie Controls button config (1/2)

Based on the commit series for pie controls, this commit
makes the Navigation Bar and Pie Controls share
the same button layout. However, there is no button layout
editor for pie controls, which makes the navigation bar
the leading entity when it comes to button layouts.

This commit introduces:
* A common notion of navigation buttons used in CyanogenMod.
  (class NavigationButtons)
* Some setting constants changes to avoid clashes with PA.
* Removal of the pie search key, since it is no longer needed.
* Sophisticated key event injection.
* Virtual key sound effect

Change-Id: Id68f8d0b597d7d89c55c3f66f994e632d014f006
Merge "Update systemUI ukrainian translation" into cm-10.1
Merge "Merge Navigation Bar and Pie Controls button config (1/2)" into cm-10.1
SettingsProvider: Initialize defaults for CM features

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

Change-Id: Ief4b97fcceea7e351a13d59136a2fb1823d97b04
SystemUI: Fix build warnings

Change-Id: I3493428eb5192bf39b31bf8a5c66406660af1aca
Merge "SettingsProvider: Initialize defaults for CM features" into cm-10.1
Revert "Fix spurious ANR occurence when MOTION batch event is not served by the InputTransporter"

This reverts commit d7a85dbeb8826b172920c820753dcc0a191f773c.

Formula84 has done some nice leg work and has traced recent lag to this commit
http://rootzwiki.com/topic/39337-romaokpvanirak47-3-26/page__st__520#entry1127514

Let's try the revert and test!

Change-Id: Iba6e1b687e71e5686cc935ad869fef7b71d664c9
Signed-off-by: DHO <DHO@dho.im>
Pie: fixed all issues

PS2: remove something that tagged along
PS3: bump speed a bit cmore

commit 7a3d1bbc3cabe70d0204277653c7b85d1effd048
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Mon Apr 1 01:58:48 2013 -0400

    fix tablet UI lockscreen -> pie

    Change-Id: Ia9ef02f02f2abdee5d80634c3d4512b5dc7d5457

commit bcbfca8bd865de623be963fa60a8753e0911f026
Author: aaronpoweruser <atlrudeboi1@gmail.com>
Date:   Sun Mar 24 17:56:13 2013 -0700

    Fix touch issue using 0% navbar

    Change-Id: I0d140be9ab455291205fac7c38412b2c60e5b028

    Conflicts:

    	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

commit ab50224e7fd9015a1cd6939b9a7e8dbe69efec51
Author: drcmda <drcmda@gmail.com>
Date:   Sat Mar 23 14:34:14 2013 +0000

    statusbar freeze fix (hopefully)

    Change-Id: Ida304fc281d9fb44f6c69a2c5da29a28c0e56f66

    Conflicts:

    	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

commit ddb9f954fafd153f57bcf69c6e512d17fb559bc1
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Mon Apr 1 00:46:01 2013 -0400

    more pie: dead code genocide

    Change-Id: I73b2ad2a55a2ab0ccb375e52f8fa4bd22576dade

commit 0b06b6f51491dec50e368a6ad535cfaa38ca7506
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Mon Apr 1 00:33:39 2013 -0400

    some pie fixes

    Change-Id: I4adbb8d86f21d35bdb362ad7d327f33d6cbcd564

commit 275157d139e5c393efe1389e66fd8841c48be5b7
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Sun Mar 31 23:03:43 2013 -0400

    fix pie: it wasn't rendering the proper pixel type

    Change-Id: I50b86e64fe3eb785dbab2d1254526dce0d3acf62

commit 4c8130f9997506f75a0fd80596ef8885278d237e
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Sun Mar 31 22:34:11 2013 -0400

    increase PIE speed

    Change-Id: Iea9c1a4663c42f981584c63df6f6109b96cb5b83

Change-Id: I19e4ae9a2d1b40c3e68cc3380a9f3b7c47f613fd
Signed-off-by: scotthartbti <scott.hart.bti@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/PieControlPanel.java
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
Revert "Fix resource leak: When call MediaMetadataRetriever.setDataSource or getFrameAtTime should ensure call release in finally to avoid resource leak"

This reverts commit 31d0ccc21de96335974d46df226dc0103f6fc450.
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
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
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
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>
Merge "LockPatternUtils: isSecure: respect profile settings" into cm-10.1
Merge "Profile: respect DPM when overriding screen lock (1/2)" into cm-10.1
Fix potential deadlock between LockScreen and WindowManagerService

If LockScreen is enhanced using SurfaceView/GLSurfaceView,
deadlock problem between LockScreen and WindowManagerService
can occur because of IWindow.resized() callback.
And it must lead to watchdog and reset.

IWindow.resized() callback is one-way function so calling resized()
callback of a remote IWindow object is never blocked.
However, calling resized() callback of a local IWindow object
(LockScreen is running on the same system_server process)
is always blocked until resized() callback returns.
Because resized() callback of SurfaceView/GLSurfaceView can lead to
WindowManagerService.relayoutWindow() call, deadlock can occur
between relayoutWindow() and performLayoutAndPlaceSurfacesLockedInner().
(Both functions need locking mWindowMap)

So this patch simulate one-way call when calling resized() callback
of a local IWindow object.

Change-Id: I2a6a5c74ed22d8e6b7a3bea3424ff2879d227105
Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>
It helps to catch the right exception.

Bug: 7238149
Change-Id: I7b60ec44d1d1d5ece8a871cb089f811b611f4a4a
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