fix longpress on home btn firing off from a single press.
QuickSettings : Filter tiles from default

Filter unsupported tiles from default.
Fixes re-arrange issue found on tablets post reset

Note : Please reset quicksettings after this commit to fix issues.

Change-Id: I0f10377523dffd6678eacbc796a387c91604792c
QuickSettings : Fix regression

Fix regression caused by I044f8c0914c725af5894ffb70e8ac54b6e19dc43

Change-Id: I229e9d4f38a2f65226045050c460559549e09994
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
Quick Settings: Swipe to switch

Adds the ability to switch to/from Quick Settings, using a sideways
swipe gesture.

Video demonstration: http://www.youtube.com/watch?v=jZaDVBIFAuA
(Video for the initial Patch Set only)

Patch Set 2: Flip animation follows your finger
Patch Set 3: Fix commit message
Patch Set 4: Fix commit message (again)
Patch Set 5: Pin down the statusbar during swipe
Patch Set 6: Smooth out animation after releasing swipe
Patch Set 7: Swipe in any direction to switch views
Patch Set 8: Ensure the statusbar is properly pinned down
Patch Set 9: Fix logic and event handling issues
Patch Set 10: Refactor for readability
Patch Set 11: Limit swipe detection to the bottom bar

Change-Id: I3cab45f72fe3c5fa40d4631fc6a84ea7bfe51bd1
PowerWidget: Soundbutton bugfix

PatchSet1: Initial commit

PatchSet2: fix whitespace errors

PatchSet3: DERB!!!!!

PatchSet4: Buttons are working correctly now.

PatchSet5: whitspace errors --> I HATE VIM; need to set up Eclipse

Change-Id: Ic0d9714c82734e9afac843995bd16d09736f85cf
revert 'SystemUI: fix long pressing notifications'

Stops the intent from firing off when long pressing
for the menu.

Signed-off-by: Roman Birg <romanbirg@gmail.com> (reverse-merged from commit 9f78d1dfeb364f6f8231e81f0b78add17e24ade3)

This was preventing back btn from closing the notification pulldown when expanded.
App Resolver: add in zaphods app resolver as the alt app resovler (which is our default)

Keep it optional with the stock resolver cause thats what we do.
Added hardware key backlight timeout settings (1/2).

Signed-off-by: Chuck Haines <chaines@codemonkeyjava.com>

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Signed-off-by: Chuck Haines <chaines@codemonkeyjava.com>
Remove debugging from PhoneWindowManager.

Signed-off-by: Chuck Haines <chaines@codemonkeyjava.com>
Squashed 2 commits to GlobalActions:

GlobalActions: Fix possible race condition when showing dialog.
Depending on the presence of a previous dialog, the newly generated one
gets either immediately displayed (no old dialog) or shortly delayed
(after dismissal of the existing one).
If a new show event happens (by rapid fire of the power key, for instance,
using a keyboard with fast-repeating events) during that delay, a new
dialog will be immediately displayed, and when the delayed show triggers
it'll conflict with it (and bring everything down).

This moves the creation of the new Dialog object to _before_ showing
it (delayed or not), instead of the show method itself, to ensure the
object isn't clobbered by competing/sequential calls to handleShow()

Change-Id: Ie4d9a8507ebaf59da31869c38b98c3c98a74468e1

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

committed by rmcc to cm/cm10.1

Signed-off-by: travp624 <travp624@gmail.com>
policy: update(fix?) lockscreen rotation logic

Change-Id: Ided3c8cd4f52ebd4805189168e13506f74f3443a
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Merge remote-tracking branch 'origin/jb-4.2' into jb-4.2