Bring floating window in line with ParanoidAndroid

Let's try to make this work with movable and scalable

Change-Id: Id39b454ce58ff6071d2bb739cca4bb012039b2d5
Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Conflicts:
	core/java/android/app/Activity.java
[1/2] base: Add Haptic Feedback to quicktiles

-Set vibration to 17ms, 30 is a lot

Change-Id: Ia3bbb6ef90a9f7b3cf45c341d3b95eb131a96694
Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/quicksettings/QuickSettingsTile.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/QuickSettingsTile.java

Conflicts:
	core/java/android/provider/Settings.java
SmoothProgressBar: Initial Commit

Change-Id: Ic48f7ff57f76c933808f2ea4a6be49e949ce2c00
Signed-off-by: hany <hany.alsamman@gmail.com>
Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	core/res/res/values/symbols.xml

Conflicts:
	core/res/res/values/colors.xml
	core/res/res/values/pa_symbols.xml

Conflicts:
	core/res/res/values/liquid_symbols.xml

Port SmoothProgressBar: User Custom ProgressBar Setting[2/2]

Sample : https://github.com/castorflex/SmoothProgressBar
http://antoine-merle.com/images/smoothprogressbar_all.gif

thanks Dokdo Project

Change-Id: If476fb2a4fa9a988c73364107555b5e7624dea53
Signed-off-by: hany <hany.alsamman@gmail.com>

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

SmoothProgressBar: Accelerate and Interpolator

PS1 : reformat the code
PS2 : use android animation interpolator

Signed-off-by: hany <hany.alsamman@gmail.com>

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

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

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

Add ContentLoadingProgressBar support

ContentLoadingProgressBar allows developers to follow the policy for loading content
laid out in the style guide. The progress view will only show if MIN_DELAY
passes before the view is hidden. The progress view, if shown, will always
show for at least MIN_SHOW_TIME ms.

https://github.com/android/platform_frameworks_support/commit/befff92741b1f0629d9a9389a3889cca56d914a2

thanks @castorflex

Signed-off-by: hany <hany.alsamman@gmail.com>

PB: enable MirrorMode and Reversed if activated

reset progressbar defaults to ~ what we had before

Change-Id: I29942eb462bee71299d35f784dfc5b8033d613ea

Conflicts:
	core/res/res/values/colors.xml
Add Fast Charge QS Tile [1/2]

Change-Id: I9e28bb14549c176cacfe2a861b1e5f56cd9e242f
Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	core/java/com/android/internal/util/slim/DeviceUtils.java
	core/java/com/android/internal/util/slim/QSConstants.java
	core/res/res/values/config.xml
	packages/SystemUI/res/values/custom_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Conflicts:
	core/java/com/android/internal/util/liquid/DeviceUtils.java
	core/res/res/values/config.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Conflicts:
	core/java/com/android/internal/util/liquid/DeviceUtils.java
	core/java/com/android/internal/util/liquid/QSConstants.java
	packages/SystemUI/res/values/liquid_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Conflicts:
	packages/SystemUI/res/values/liquid_strings.xml

Conflicts:
	core/java/com/android/internal/util/slim/QSConstants.java
	core/res/res/values/config.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Camera button support 2/2

ported from: https://github.com/CyanogenMod/android_frameworks_base/commit/e0749499766be45165b912d0c6400f4c69982fe4

credit: CM
Signed-off-by: anerikg <anerikgames@gmail.com>

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

Conflicts:
	core/res/res/values/config.xml

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/config.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Frameworks: status bar notification count (1/2)

credit: burnsra & rmcc (cm)
Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

Conflicts:
	packages/SystemUI/res/values/dimens.xml

Conflicts:
	core/java/android/provider/Settings.java
PackageManager: Fix concurrent access to shared state

Stop multiple threads from all calling add on the same HashMap.

Cleanup the use of a boolean flag by removing concurrent writes
to it.

Change-Id: I8d61fe7294dcb67ee7d0d7de88d90d2051c310e6
Fix ellipsizing of emoji symbols in StatisLayout.

Change-Id: Ia057053a7dd6e5a256499f6bded99872581de18e
Better Expanded desktop icons

- Thanks PA team for the base of the drawable

Change-Id: Ic10ee07d645130c599d65dbb6b7d91891e605ea1
Remove duplicate notifications

Acrux=Antares and Bellatrix=Betelgeuse.

I'm guessing these are duplicate due to differing
names. I believe Antares and Betelgeuse are the names
in AOSP, so leaving those two.

Change-Id: Ie58b20039bb4343c9907fc5bc31e099fd942bb87

Conflicts:
	data/sounds/AllAudio.mk
Remove duplicate ringtones and notification sounds

Thanks invisiblek :)
Another minor speed tweak
NotificationManagerService: notifications with icon==0 are FINE WITH US

This warning reminds me of that saying about squeaky wheels... "the squeaky wheel gets PUNCHED IN THE HEAD"

Change-Id: I3e1a1e55ce3ce1f70c7b187a237625257bdbd591
Signed-off-by: pcarenza <pcarenza@gmail.com>
Modify alarm tile to show alarms when clicked

Change-Id: I76002b37dfe81c4e8973b3ef3f70fd67c26b1e4e
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
Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	services/jni/com_android_server_power_PowerManagerService.cpp

Conflicts:
	core/java/android/os/IPowerManager.aidl
SlimRecents: development shortcut

https://github.com/CyanogenMod/android_frameworks_base/commit/016664aa129ff00b556a6c56e06f474593d1a04f

Change-Id: Id813e25cbe4c414bf039385a710775e9b30b7162
SlimRecents: add floating window menu

-Rename the string it uses because we already have one for notification long-press
-Delete all transparent stuff, we do not use it

Change-Id: I63894fb8551b881c45c991bc30353b3dc4f3e43c