HALO: Fix memory leaks

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/halo/HaloProperties.java
Fix recents FC
Hardware key custom rebinding (1/2)

Framework changes to allow rebinding of the actions performed on the following
key press events: Home long-press, menu press, menu long-press, search press,
search long-press, app-switch press and app-switch long-press.

The available actions are: Nothing, open/close menu, recent apps switcher,
search assistant, voice search and in-app search.

Patch Set 1: Initial port from ICS [done by Konstantin Koslowski]
Patch Set 2: Added 'assist' (search) key customisation
             Option for ICS-style in-app search, in addition to jellybean-style
             search assistant.
             Fixed double haptic feedback on virtual key press.
Patch Set 3: Checkbox to enable/disable all custom bindings.
             Home long-press defaults to no action on devices with
             an app-switch key.
Patch Set 4: The recent apps list will be preloaded on the initial down press
             of whichever key to which it is bound.
Patch Set 5: Fixed menu virtual key press sometimes performing the custom
             action bound to the menu key instead of just opening or closing
             the menu as it should.

Conflicts:
	core/res/res/values/public.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: I72c0d220a09d79230bfa299e0521ed693e5c25f1

Conflicts:
	core/java/android/view/ViewConfiguration.java
	core/res/res/values/symbols.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
More options added to hardware key rebinding (1/2)

In the same vein as the available Navbar actions, this adds the following new hardware key rebind options:
 * Last app: Switches to the last app
 * Power button: Turns off the screen
 * Custom app: Launches an application/activity of your choice

Change-Id: I1ca98b1c615e4336c644d0247b4277b9421a96ff

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Fix issue with hardware keys KEY ACTION comparisons.

Menu unlock now works properly.

Patchset 2: Switched detection of onscreen keyboard input to KeyCharacterMap.VIRTUAL_KEYBOARD

Change-Id: I092258fc20789a12123e319ed2dca25c55bb9f0c
Framework: Add Home/Back buttons available for rebinding (1/2)

Finally, we can disable or rebind all hardware buttons!
Also adds Expanded desktop toggle and Notification shade toggle

Change-Id: I0ca51c25e8434696a514fd1ef1e1e33543bf066a

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/symbols.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Fix for navbar back/menu firing for longpress actions

Change-Id: I9661b8faa001e69b3a44c91d53f0e858031d08dd

derp

fix build
Kill App on Long-Press Back Key (framework)

Change-Id: Ib78fff9e32d95a0a112ddd9274b79b3a3aa626b9

Conflicts:

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

Long press to kill

Bring changes done in cm7 to ics.
- Vibrate on press
- Show message
- http://review.cyanogenmod.com/#change,5191,patchset=2

Change-Id: Ib1e5eba50cef5d72d81b733f87ac39c09d4212de

Long-press back kill app cleanup

Change-Id: Ida791dca1fbfdc2beccf6ff727b67df56f1956a4

framework: customizable kill app via back key timeout

Allows the time it takes for the back key to kill an app
to be customized via overlay.

Change-Id: Iaa43f81ee448ae7a7663254a830011a0bca5e60f

Conflicts:

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

Change-Id: Ida791dca1fbfdc2beccf6ff727b67df56f1956a4

Framework : Long press kill fixes

Jellybean introduced changes to systemui's privelege level.
This patch hardcodes a check to avoid killing it.

Patchset 2 : Minor fix
Patchset 3 : Check length of pkgList rather than apps
Patchset 4 : Vibrate on kill

Change-Id: I24af510a62cae9acc29504912fb133825bb67bb6

Framework : Long press back to kill fixes

- Only show message / vibrate if an app was actually killed.
- Escape out of the outter loop as well upon killing an app

Change-Id: I8c1ea2070e8b4b51caab0f6e2b7d31475d1f4601

Kill app back-button : Don't kill default launcher

Avoid killing currently set default launcher.

Change-Id: Iaa2de02cfa1b94faabbb1ca86a01f185a55c5e93

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/config.xml
	core/res/res/values/public.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/config.xml
	core/res/res/values/public.xml
	core/res/res/values/strings.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

fix build + derp
android.policy: Fix launching home when waking the device with the home button again

Was removed in b055725d0b1df2f23ecfa95bff940aa8b57f97df

Change-Id: I19b5db8e64d7e547f4013ab8df7ff879d1a51167

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

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

Fix build error

fix derp

FW: small code cleanup

Remove tabs and no more work in process :)

@jkl5616

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

Fix bugs.Add some new animations

Add listview interpolators

Fix build error

GridView:?

Fix ! Fix !

Fix

ListViewAnimation: Fix NPE and more bugs

Conflicts:
	core/java/android/widget/AbsListView.java

More accurate
Merge branch 'jellybean' of https://github.com/ThinkingBridge/platform_frameworks_base into jellybean

Conflicts:
	core/java/android/widget/AbsListView.java

Fix derp

derp

Fix GridView

fix derp

Fix maybe

ListViewAnimation: Fix small bug
ListViewAnimation: Change default value (1/2)

need to fix bounce bug
Merge branch 'jb-mr1' of https://github.com/Team-Kang-Droid/frameworks_base into jb-mr1