Keyguard: Set WIDGET_CATEGORY_KEYGUARD when AppWidgetHostView is created

Allows the default lockscreen widget to inherit the keyguard widget
host category.  Without this, only widgets added through
KeyguardActivityLauncher are assigned the correct
OPTION_APPWIDGET_HOST_CATEGORY.

Change-Id: Ic97818d85ca5f00da0ce43bb36006d66a6935363
Revert "PowerManager: Don't wake up device when charger is plugged/unplugged (1/2)"

This reverts commit 59a7f88c5aacfdbcffa71194d5f7bc5cc8ffd055.

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: Id6b04288d53a2055d01589a72190ba9c5aae737f
FW: AOKP Ribbon

This creates a series of options for shortcuts in a few places

The AOKP Swipe ribbon
Lockscreen ribbon
Notifications ribbon
Quick Settings ribbon

Options for Long Press, Icons size, Custom Icons,
  Text on and off, Text color, and options for
  Swipe ribbon color and Opacity.

Change-Id: I6bfb541801bd428b5eee06ef1c3f7d23ef7eeede

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/util/aokp/AwesomeConstants.java
	packages/SystemUI/res/layout/status_bar_expanded.xml
	packages/SystemUI/src/com/android/systemui/aokp/AwesomeAction.java
	packages/SystemUI/src/com/android/systemui/statusbar/WidgetView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardSelectorView.java

FW: Ribbons Padding, Click options, autohide updates 1/2

Adjustable padding
vibrate on click optional
if no short action set use long action icon and
  dont set short click listener - long press only mode...
Autohide flakiness fixed
Don't unlock on torch

Change-Id: I45c9f29453220e80249300b66bb61d5a7afc784f

Conflicts:
	core/java/com/android/internal/util/aokp/AokpRibbonHelper.java
	core/java/com/android/internal/util/aokp/RibbonTarget.java
	packages/SystemUI/src/com/android/systemui/aokp/AokpSwipeRibbon.java

FW Ribbons Swipe ribbons seperated && logic adjust for navbar

If you have an enabled navbar weither by default or user seleted
the bottom ribbon has not been available. If the user manually
hides the navbar I will allwo them to use the bottom ribbon.
They can also long press the hidden navbar handle to get the
bottom ribbon.

This also makes the left right and bottom their own ribbons.

Change-Id: Icba9c4ec510149bef74382a3bf59fd79b3ef87c4

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/util/aokp/AokpRibbonHelper.java
	packages/SystemUI/src/com/android/systemui/aokp/AokpSwipeRibbon.java

xFW: Ribbons Colorize action icons, unlockmethod

Unlock method for if action should be unlock or not.

now torch, notification, and power shouldnt unlock.

Change-Id: Ic0978f145c8ad4f6f944cd603bfe744415d44561

Conflicts:
	core/java/com/android/internal/util/aokp/AokpRibbonHelper.java
	core/java/com/android/internal/util/aokp/RibbonTarget.java
	packages/SystemUI/src/com/android/systemui/aokp/AokpSwipeRibbon.java

FW: Ribbons - Long swipe App window.

Window similar to recents with all the users apps.
Options to control app color, background color, and
background opacity.

On touch listeners for targets and close button
Make dividers colorize with text.

Fixed animations make columns spacing work automagiclly

Change-Id: I6147dee1e97436f252a7dae349d1eff1d6e5dbf9

Conflicts:
	core/java/com/android/internal/util/aokp/AokpRibbonHelper.java
	core/java/com/android/internal/util/aokp/AwesomeConstants.java
	core/java/com/android/internal/util/aokp/RibbonTarget.java
	packages/SystemUI/src/com/android/systemui/aokp/AokpSwipeRibbon.java
	packages/SystemUI/src/com/android/systemui/aokp/AwesomeAction.java
	packages/SystemUI/src/com/android/systemui/aokp/RibbonGestureCatcherView.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

FW: Ribbon - Toggles

Fix for some toggles not getting set properly
fix user toggle fc
fix some toggles hieght being HUGE

respect users click vib setting.

respect ribbon padding

sync custom toggle if in multiple places

fix theme issues.

Fixed Icon from Nitroz

Change-Id: Ia225e822485b715e6daddeb7b62e232e72db5e36

Conflicts:
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/src/com/android/systemui/aokp/AokpSwipeRibbon.java
	packages/SystemUI/src/com/android/systemui/aokp/StatusbarToggleShortcut.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/CustomToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/RebootToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/SwaggerToggle.java

FW: Ribbon v1.0 overhaul

Thickness Increase max && decrease min
Configurable long swipe and long press swipe areas

consolidate and cache views for smoother animations
User adjustable animantion duration

Add dismiss options for swipe ribbon
 - Always dismiss on click
 - never dismiss on click
 - Don't dismiss for navbar action

fix app window crash if user has fast fingers and to much time
  on their hands...

Swipe ribbon drag handles now get their own location, height,
   width, and opacity.

Hide apps from app window
Hooks to dismiss app window if softkeys or navbar buttons pressed

Fix app window to pull all components also IE camera and messenger.

Rub some unicorn polish on the on touch glow. The giant boxes were
a bit ridiculous.

If ribbon is empty but toogles are not, just show toggles no flipper.

add adb wireless to toggle map

Phase 1 of the Animation chooser. Simple helpers to let users
choose the animation for the swipe ribbon and app window.
ill be adding some fancier animations for now just some of
the stock AOSP one.

Add lots o animation options. Also preload animations instead
of creating them at run time, should smooth things out a bit.

Keyboard IME hide, Vertical spacing App window, Cache resources.

Fix IME hide when navbar hidden.

Longpress on app window now takes you to app info.

Change-Id: I7c59fc915473fe320639eda446a735dee8500efa

Conflicts:
	core/java/com/android/internal/util/aokp/AokpRibbonHelper.java
	core/java/com/android/internal/util/aokp/RibbonTarget.java
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/aokp/AokpSwipeRibbon.java
	packages/SystemUI/src/com/android/systemui/aokp/AppWindow.java
	packages/SystemUI/src/com/android/systemui/aokp/RibbonGestureCatcherView.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

FW: Fix AwesomeAction constants

Fixes 3 'Blank' entries in NavBar/Custom Toggle actions.
This was due to someone (SteveSpear!! :))  Adding actions
to the AwesomeActions variables without putting appropriate
string & drawable returns.

Change-Id: I8d12808337152b6010be6deb9a7d8984e6980a05
Signed-off-by: Zaphod <mwilson@acesappraisal.com>

Conflicts:
	core/java/com/android/internal/util/aokp/AwesomeConstants.java