Increase lock screen widget limit from 5 to 9

Agreement seems to have landed on 9 as a sane value for the lock screen widgets
limit, and since there is no drawback for those with fewer, configuration is
unneeded.

Change-Id: I432c90113e31d953b2450770bfceb5f6e2e0e173
Framwork: Add support for variable size pattern lockscreen (Part 1/2)

Part 2: http://review.cyanogenmod.org/#/c/28534/2

Forward port of: http://review.cyanogenmod.org/#/c/20613/

The default size has been replaced with a constant PATTERN_SIZE_DEFAULT=3
It now parses the longInt as a byte, no longer requiring a get/set Int function.
Negative numbers and sizes over 127 do not make sense, so a byte works well.
In addition the logging has been removed.

Patch Set 1-2: Initial port

Patch Set 3-5: New implementation using seperate file for non standard sizes

Patch Set 6: Use AOSP code style

Patch Set 7-9: Remove static code

Patch Set 10: Correct a comment

Change-Id: Ia06fc5a7dc2819f78843fddcf1470d85ebe2ad13
Screenshot : Pass current user

Needed to complete the snapshot procedure

Change-Id: I40f63e261e213136cd739c06da6f005173427ae0
GlobalActions: Fix dialog dismissal

The themeability of the global actions dialog introduced by
change I644e2e8d7d4abf07bae639b606197d691f16adac broke the
hook that prevented multiple instances of that dialog, and
multiple instances of it will cause framework crashes due to
mismatches variable references (besides looking weird).

Fix it by restoring the original dismissal condition and forcing
a recreation of the theme context if necessary.

Change-Id: Ic6e06bef18fa9e09c84c774fa273f1b7e3bf9630
 Add option to start widgets maximized
GLSurfaceView: add property to default to RGB565

Some legacy devices (like the Xoom) are not capable of handling
RGB888 surfaces, which is now the default. This results in some
OpenGL apps crashing with "No config chosen" errors.

Set ro.opengles.surface.rgb565=true to go back to the old default
of RGB565 surfaces.

Credit to dreamcwli for the original patch.

Change-Id: I5ad9aa8e98eb6fd554b01022439141fe4a55bd70
Fix lockscreen timeouts
Re-implement magnetic targets

This reverts commit 8d037a2ded2edafc2ecafad2a8d799cb3f82f629.

Change-Id: I26da0ab2c9d65828bf9cd16a82dad7d1c50dc891
Keyguard: remove duplicated code

Patchset 2: fixed whitespace error
Patchset 3: a few more tiny changes
Patchset 4: some code moving, removing an unnecessary member
Patchset 5: make toggleSilentMode() a bit easier to read
Patchset 6: revert most of the cleanup
Patchset 7: fix syntax error
Patchset 8: fixes pointed out by Danny Baumann

Change-Id: I4e5f8c92b223c1260891472dbf807d5ff53e5721

Conflicts:

	policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java
framework: Custom lock screen background [1/2]

Patch Set 1:    * port the custom lock screen feature from
                  ics (http://review.cyanogenmod.org/#/c/16915)

                * thanks to Danny Baumann, who reworked the
                  framework part to work after Jelly Bean 4.2
                  lockscreen changes

Patch Set 2-3:  * remove obsolete files

Patch Set 4-7:  * revert XML changes

Patch Set 8,9:  * rebased

Patch Set 10:   * fix minor code style

Change-Id: I800506a9f9e001f659ee29b8b2dbe3464e5198f9
SystemUI: Remove the dark pixel artifacts from the back arrow drawable

The arrow had some mostly transparent pixels that made it look
kind of like the device had defective pixels. Found by Cyril Mottier.

Change-Id: Ia78453868ebe7e3291d01c96b9beafc78ea3cdcc
LockscreenTargets : Dismiss on target select

Dismiss the lockscreen on target select, rather than when the application
is fully loaded. This gets rid of th perceived lag that a lot of users experience.
This is how we had it in previous versions of cm as well.

Change-Id: I4f125ad5a13a95b6eb72734a0fbdc44505d665ff
Revert "LockscreenTargets : Dismiss on target select"

This reverts commit e7b95397b9742f8d384bd8db17020b13101c5967.
SystemUi: Navigation bar Quick launch shortcuts (2 of 2)

This allows up to 3 targets on the Navigation bar ring
or Home buttons with custom Quick launch shortcut actions.

Patchset 1 - 21 - Initial commits and edits
Patchset 22 - Update commit message

Change-Id: Ic5bc6021d55b9c266527463bb916283feb00ad06

Conflicts:

	core/java/android/provider/Settings.java
	core/res/res/values/symbols.xml
Reflect current state of torch in navigation ring button.

JIRA: CYAN-574

Patch Set 1  -  Initial release
Patch Set 2  -  Show the current state

Change-Id: I82594726df1c0b4b34efdb6e58a0300f99cb1cde
ServiceState: add support for DCHSPAP

Change-Id: Ib0a328652c14580718400b00146b770481be5458
Swap volume buttons when the screen is rotated (1/2)

See: http://review.cyanogenmod.org/#/c/14530/

Patch Set 8: Invert the orientation interpretations on tablets

Change-Id: I201febc2827e6fbd347cb0e3f8d3347ad1bc487b

Conflicts:

	core/java/android/provider/Settings.java
Fix resource leak: When call MediaMetadataRetriever.setDataSource or getFrameAtTime should ensure call release in finally to avoid resource leak
                   Patch set 2: Remove unnecessary white spaces

Change-Id: I49a7f2fb99dc8b9560e7c17421125356e45a87ac
[HTML5] Implementation of WebSockets (framework).

Added binding to android port for Html5 WebSockets.
Added external API for enabling\disabling from browser.
SSL Web Sockets are not implemented in the current version.

Change-Id: I8b7a42780410cb9f043e1f16570ea50db68e00ea
Revert "makefile changes for gcm javadocs"

We don't build it, nor do we have these sources.

This reverts commit 5f9922d7c3bce158e4c7a58929d4075e7c91e32e.

Change-Id: I877e617f90de1b832e26c98adbafc6238b98882f