Dismiss IME when floating window is dismissed

Previously the IME would be stuck on screen if the
floating window was dismissed while it was showing.

Original id from PA gerrit -> Change-Id: I8ca61b07ed89bae85eabd8db23f87b6f1f0b179f
Signed-off-by: Evan Anderson <evan@thelinuxman.us>

Change-Id: If38e65f61ba309d22306bf4b37c3c55630c006ed
Fix updating of the status bar header image
revert
Revert "revert"

This reverts commit e4686917cde74d9cadf7cc1e529c6717aaf51fbc.
Framework: All Shake Patches (1/X)

Included:
	Keyguard - Disable Shake if isHidden
	Disabled Shake Apps (1/2)
	Shake Sensitivity (1/2)
	Keyguard Shake Events (1/2)
	Shake To Perform Event (1/2)
	430942 miscellaneous fixes

Change-Id: I47707f51e61ba0d4687e0232d684de7ee6b0eb72

Conflicts:
	core/java/com/android/internal/util/slim/QSConstants.java
	packages/SystemUI/res/values/slim_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
SystemUI: Smart Pull-Down - Any Notification (1/2)

Change-Id: I8656b75550ea0d30d4c620160221ca22ffe1af92
Framework: Custom Tile Double-Tap (1/2)

Change-Id: I50461ddea85cb03e5c04b43e6a6b09411dba9a0d
Framework: Fine SeekBar control

Allow user to move their finger in the Y direction
	to change the speed at which the seekbar will seek
	on moving their finger across the X direction

PS2: increase time constraints by a bit
PS3: decrease distance constraints, lol

Change-Id: I1fc8db16820fd3615436ee0be6ce0bf4394c0808
Framework: Ensure Intent.ACTION_USER_PRESENT Is Sent

If the user set a keyguard delay (AOSP-Secure-Delay)
	and the screen turned off, many processes will
	thus assume the user is no longer present (true).
	If the screen is turned on before the keyguard
	enables itself, the USER_PRESENT broadcast is never
	sent and the app/process will not know the user has
	returned to using their device.

Change-Id: I6301848043fbf2d76513a20ae189d28018473202
AudioService: fix safe volume enforced even when disabled

On onConfigureSafeVolume, the proper API was not used, leading
to the setting not being respected. Sometimes after boot, the
heaadset volume will be set back to the safe volume.

Change-Id: I5ba8bb1a18ce97ed64646663c7e75cb277356778
power: Add CPU boosting interface

 * Boosts CPU using Power HAL for the given duration.
 * Duration is given in microseconds.
 * Power HAL must implement POWER_HINT_CPU_BOOST.

Change-Id: Ic79baf7e3d0f75483c2fe8a242b4c3d93368b68b

Conflicts:
	services/jni/com_android_server_power_PowerManagerService.cpp

Change-Id: Ic79baf7e3d0f75483c2fe8a242b4c3d93368b68b

Conflicts:
	core/java/android/os/IPowerManager.aidl
PowerManagerService: Implement setButtonBrightnessOverrideFromWindowManager method

Differs from Android 4.1 (and earlier) implementation in that the
overridden button light still turns off after BUTTON_ON_DURATION instead of
staying on until screen off.  However, button lights are annoying, and
really the purpose of this is to allow apps (e.g., Screen Filter) to
_disable_ the button lights altogether.

Change-Id: If0639dbe01134b72b05fee7f8cd9368dc9a71e4f
Keyboard light: Fix the physical keyboard not light when it's visiable.

Change-Id: I595afd3cb6b422a17ae0f6ec20aa51979db13810

Conflicts:
	core/java/android/os/IPowerManager.aidl
Add PowerManager integration for button and keyboard backlight.

Allows setting button and keyboard backlight brightness as well as
button timeout.

Change-Id: I550cccafc0a8f90d6347de9261adb26b75955cc4

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/power/PowerManagerService.java

Conflicts:
	core/java/android/os/PowerManager.java

Change-Id: I550cccafc0a8f90d6347de9261adb26b75955cc4

Conflicts:
	services/java/com/android/server/power/PowerManagerService.java
HardKey light:
if using the hardkey lights only, without the keyBoard patches you MUST use this patch or else your build will FAIL

Change-Id: Ic6b11dba73e7b7d1b76434f1c6e0b813c7cb5409
Recents: Launch as Floating App

Ported from JB 4.3
Based on hybrid (Aaron) and Halo (Jesus) implementation

AICP'fied. Strings already defined in res/values/strings_custom.xml

Signed-off-by: Alexis Rico <sferadev@gmail.com>
Change-Id: I84f4d3928af5c6ddd96a9a173a1c24e85ff606dd

Conflicts:
	packages/SystemUI/res/menu/recent_popup_menu.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Conflicts:
	packages/SystemUI/res/menu/recent_popup_menu.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
sidebar fixes
no doubles please
more doubles
Update RecentsPanelView.java