Add CPU boosting hooks

 * Boost CPU to max during scrolling
 * Boost CPU to max on activity start/resume
 * Inspired by a patch from CodeAuora.

Change-Id: I72f2c2851b01fbceabddead03a4c3a7a0526ca61

Conflicts:
	services/java/com/android/server/am/ActivityStack.java
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
Properly handle changes in phone audio focus.

Change-Id: I921651684f4369a47aa83e93010266c40be71a41
Frameworks: Add favorite contact Quick Settings Tile

Patch Set 3: Memory Use Optimization + Allow multiple Fav Contact instances

Patch Set 4 and 5: Some variables clean up

Patch Set 6: Fixed a copy/paste typo in GPS Tile and cleaned white spaces

Conflicts:

	packages/SystemUI/src/com/android/systemui/quicksettings/FavoriteContactTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Change-Id: I590879fffde25794f540740ab1d06f6b3468c37a
Long press notification page switch button to toggle power widgets

Change-Id: I3a100acae96f52f413c3d82270b2598bf3a6d213
Frameworks: Navbar customization (3/3)

This commit is a complete recoded Version of our old one. Implements following feature:

- custom Style
Navbar background color
navbar button color
navbar glow color
navbar button transparency

- custom dimen
navbar height
navbar heidht landscape
navbar width
all have the ability to set to 0 to hide

- custom button
complete system and logic overwork
custom buttons
custom icons
custom applications
longpress actions
complete dynamic
no systemUI restarts

- custom navring
complete system and logic overwork
custom targets
custom icons
custom applications
longpress actions
complete dynamic
no systemUI restarts

- misc
glowpad glow time
show menu location
show menu

TODO: Navbar transparency
and other will be a surprise

PatchSet 2:
- code cleanup
- fix fc without gnow
- shows now up on all devices
- fix custom icon chooser 0 byte issue on some devices

PatchSet3:

- whitespace cleanup

Patchset4:
- fix screenshot navbar
- cleanup code

PatchSet5
- add custim navring icon frameworks part
- fix navring custom application icon size

Patchset 6
- fix not shown navbar on large screen devices landscape

Patchset 7
- fix FC on button qty choose
- fix for mnazim logcat spam

Change-Id: I8e0d25f2379344b068e75dc4d7508c6f8e300a5a

Conflicts:
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/layout-land/status_bar_search_panel.xml
	packages/SystemUI/src/com/android/systemui/SearchPanelView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	policy/src/com/android/internal/policy/impl/keyguard_obsolete/LockScreen.java
Settings for camera and keyguard widgets

Ideas from CM

Change-Id: Ib6627fea809b17e5467f4c5dc791689d1611434b

Conflicts:
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java
Do not show camera widget by default

Change-Id: I157e021fb7a70d76b276c7e17a098f9a16dfc494

Conflicts:
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java
All widgets toggle (1/2)

Change-Id: I1270083ab2cf908519e75208d618938b5d6f4acb

Conflicts:
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java
Frameworks: Enable Lockscreen orientation (1/2)
Framework: Add Fast Charge widget - (1/2)

Change-Id: Iac753914624ce82e0ccd2a89dda66870923fa5f4
Frameworks: Add fast charge QS toggle and other

this commit add
- qs toggle
- interactive reacting with pw toggle
- option stays after reboot
- option is hidden if kernel doesn't support
- code cleanup

Change-Id: I137720a7fe1acb7b36bec0f68ac0e5b6aa3fcbd0
Tiles instantiation optimized and some code clean up

Patch Set 2: removed 4 white spaces and separated Fav contact tile Fix following Lars recommandation

Change-Id: I9ac4853a3c983c7edc8bf5ab79a79cd24a72f2fa

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Add Fav Contact reset in quick settings when removed from tiles

Change-Id: I3a8448145e4edf46a7b456e788c3225fd009b24e
Fix tiles update after removal

This commit fixes tiles update when they are removed and then added back.

Change-Id: I135b61dbb476bc864f99449df89d1ffb91da0e60
Add long press action to Settings Tile (1/2)

long press on Settings tile will open "Tiles and layout" Screen in Settings.apk
long press on Autorotate tile -> ASS Display settings
long press on lockscreen tile -> ASS Lockscreen interface

Patchset 3:
update also other longpress activities

Change-Id: I8726e08169427b6183c39ac5f7e109490650b841
remove quick settings update flicker

Change-Id: I004d956e43c9a2cdd9f8d73870798f4c83631721
QS Longpress action the second (1/2)

add lonpress to brightness tile
change autorotate longpress to ass->display->rotate
Fix Wifi country code persist after reboot
Patch Set 1/2: Add an "Automatically Connect" option for WiFi networks

Allows the ability for a user to determine whether to connect to an SSID automatically.
e.g. At work, there are several SSIDs with long, complex keys.
    I don't want to connect to them all of the time, but would like them to be remebered.
The default behaviour is to allow automatic connection, as it is today.

Change-Id: If6fb33d5aff91688aec73317a9e43c9e210f90fc

Conflicts:
	wifi/java/android/net/wifi/WifiConfigStore.java