Frameworks: add shortcut action icons

Change-Id: Ib4b70241675e65e9f080f193da4523ca5be670b7
Signed-off-by: scott <scott@ubuntu>

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

Conflicts:
	core/res/res/values/slim_symbols.xml
bootanimation: allow preload the bootanimation

This patch implements one simple performance enhancement, which
might benefit devices. It is completely opt-in by setting
the following variable.

  * TARGET_BOOTANIMATION_PRELOAD: will preload the bootanimation
    zip to memory; this is handy on devices where the storage
    might be slow. By preloading it, we get quick access to the
    zip file, and the animation doesn't stutter.

Conflicts:
        cmds/bootanimation/BootAnimation.cpp

Signed-off-by: Andreas Blaesius <skate4life@gmx.de>
- picked for L, original commit only applyed partially: https://github.com/CyanogenMod/android_frameworks_base/commit/e6b54405aa70d7503a114d9c90ef7518abdd7133 >

Change-Id: Ie92d1b0aa90b43ba39c368a2a33657a60c3a64b5
bootanimation: allow using RGB565

RGB565 uses considerably less memory, and together with texture
cache, it allows us to offer a really smooth bootanimation on
not so powerful devices.

Signed-off-by: Andreas Blaesius <skate4life@gmx.de>
- changes for Android 5.0

Change-Id: Icbd6754cc608693c007ac92428e4aa711c32a59c
Turn off carrier provisioning by default to allow tethering

Whether or not to use carrier provisioning is a setting hidden to the
end user that is currently not set. Unfortunately, on some carriers that
may result in it being set to yes, or effectively set to yes, without
other accompanying changes that must occur, such as setting a tethering
apn and possibly having a carrier provisioning app, resulting in hitting
a paywall when a tethering plan exists, or, worse having nothing happen
at all when you try to tether since the data doesn't have an apn set.

Change-Id: I3b5b3cc86e3325302411f46e3fd5f7a7c1b9f57e
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	packages/SettingsProvider/res/values/defaults.xml

Conflicts:
	packages/SettingsProvider/res/values/defaults.xml
Change SQL to improve performance.

To know the number of images, use "COUNT(*)" instead of "_id" in SQL.
Using "_id" gets all result set. and when getCount() is called, CursorWindow is filled.
But using "COUNT(*)" gets just 1by1 data.
So using "COUNT(*)" is more faster than now.
And this SQL is called everytime per a file during a file transfer in MTP
The better way is by using "EXIST".
But if using "EXIST", modify MediaProvider.call() method.
So i applied just a "COUNT(*)"

Change-Id: Ic5882af0fad2304f836b7b7043a4746359391609
Signed-off-by: muzbit.kim <muzbit.kim@lge.com>
Frameworks: Add ability to control default value of DOZE_ENABLED

Devices can enable the doze feature. Devices without AMODLED screens can use it
but it will use then of course more battery. This devices should disable this feature
by default and let the user decide to turn it on.

to change the default behaviour add into device overlay

config_doze_enabled_by_default and set it to false

Change-Id: I1afbf1d09fa0d7e68aea40f2f165a72ff34d0040
Signed-off-by: scott <scott@ubuntu>

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

Conflicts:
	core/res/res/values-mcc232-mnc12/config.xml
Disable Immersive Messages [2/2]

Ported to L by Deadman96385

Based off Xposed module by GermainZ

https://github.com/GermainZ/ImmersiveModeDontPanic

Change-Id: I4835cac08a9e525ec15aa4d1ee84329970ec6a72

Conflicts:
	policy/src/com/android/internal/policy/impl/ImmersiveModeConfirmation.java
Frameworks: apple can do...we can do as well

incredible apple engineers speeded up the overall UI and reduced per default slightly
the animation scales. Well we do as well and reduce it from 1 to 0.75...smooth, looks well
and does not break anything

Change-Id: I336b95bf198f15edaa4d058db435a2e46c6d8923
XuiMod: Toast Animations [1/2]

Add Xylon, Xperia Z1, TokoROM Transition and more

https://github.com/zst123/XuiMod/commit/8fc1152fb485ed5e007ac8d4ea9ad7b7f1c493d8

https://github.com/zst123/XuiMod/commit/1989a90850e5491799620e1f86fcbc9ae54f5161

https://github.com/zst123/XuiMod/commit/e3383f127244822b9fc61db169b59e4a502d127b

Credit zst123, thanks for GwonHyeok

Conflicts:
	core/java/android/provider/Settings.java
Return: Listanimation Views and Interpolator [1/2]

PatchSet:
    - optimize more:
    - call provider values only when needed and do not fire them permanently.
      so just do it if scroll state changed.
    - as well go out of the setAnimation method as soon as possible. We
      handle here methods which get called 10000 times during scrolling
      so we need to be as fast as possible.

PS:
- initialize the animation modes default to off just to be sure

PS:
- move state change out of OnScrollListener
- reduce the provider value call to only one call

AICPfy lp5.0:
Bring it to Lollipop
Settings menues don't animate and fuck me if I know how to fix it

Change-Id: I5e49d858318420e76101fa6334ff766bd9496c83
Revert "Disable Immersive Messages [2/2]"

This reverts commit 82ac5693de3f1d595a85abe6ea424dd51df661f7.