Merge branch 'Experiments' into SlimRemix-Exp

Change-Id: I85904f750cf3fc2944f3586863b90d2144ca175e
[1/2] Base:  circle ribbon
-seperated from slim_strings and created candy_strings

add whitelist app to include into circle view
rebased
make standalone patch

PS.15 : rebased
PS.16 : cleanup

Change-Id: I08d2a3a7e0f8df20e801e585d4cac8547a740a3e

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

 Author:    Yanuar Harry <ai.the.smarties.physics@gmail.com>

Conflicts:
	packages/SystemUI/res/values/slim_strings.xml
revert :(1/2) All in one Network usage stats in status bar + Don't update stats when screen is off

Includes Commits:

https://github.com/willl0344/frameworks_base/commit/44652d468e862f35517521b7cc84e4aad5150191
https://github.com/willl0344/frameworks_base/commit/4fbc91a1c2d527c3387491982a38647ffc4d877b (reverted from commit 97fea8c3378b52c68f212a3f926dcaa8bc917a13)

Change-Id: I909c93281d0e94ea59e115f082831b54ff22990e
change default for unknown sources & verify apps

Change-Id: I04467c0c1ef3985b416f6e58013ddc3ce4137712
framework-res: Remove gingerbread scrolls

Change-Id: I05708d8fe3914654d073bf951f92d265171e8229
improve rotation handling

this commit was rewritten/inspired by one made to our jb 4.1 branch by sonicxml.

cheers buddy!

Change-Id: Ib3b46aa54e7bf6602f8c0557ed770624063af529
Another minor speed tweak

Change-Id: Ia5c872e3ccd93da893eb0bbfb72c41f965337079
modify config values in frameworks and systemUI

Change-Id: I32b884b032e0ddeb701103e361840559daea2a2b

Conflicts:
	core/res/res/values/config.xml
Network stats custom colors (1/2)

Change-Id: I28d8a35613c993bb8573fab64f60e588eac2fa18
Network stats: Hide if there's no traffic (1/2)

Change-Id: I3fa66829751160c267170bd5221527ba283e2119
NetStats: Don't update stats when screen is off

Also moved registering of broadcast receiver and settings
observer to onAttachedToWindow() and unregistering to
onDetachedFromWindow() to avoid these being leaked.

Change-Id: Ia131a0db65c4c762b7f28493e812f9fb21358a27
Add network usage stats to status bar (1/2)
PS2:
Get the time delta between updates and use that to show
average bytes per second.

Change-Id: I63771220333a32063f675e6fc38c9aadb6de4274

Conflicts:

	core/java/android/provider/Settings.java
Merge remote-tracking branch 'github/kk4.4-caf' into SlimRemix-Exp
shorter glow animation

Change-Id: I50a4b1ee54c076e4b68e24594ae2223daa784db9
try to fix lock sound

Change-Id: Ie43176a7f6c911e4477f8fe9e4aff4bc0148f206
ZygoteInit: increase GC threshold amount when preloading to postpone GC

todo: instead of hardcoding this number.. make it dependent on the amount
set for heapgrowthlimit in the build.prop. for now we'll just turn it "off".

Change-Id: I7a6e195b82ebe2f4bd5bbb506e19200d452fa3e5
Fix gradient. Credit to UBER.

Change-Id: I566644b91b532314bb4a11f827103323ac7ba6bc
[2/3] frameworks: bring back the status bar activity indicators for mobile data and wifi:
avoid layout passes when updating data activity indicators.

ImageView can optimize out layout passes if old and new drawable have
equal sizes. Take advantage of that by displaying a transparent drawable
with the same size as the in/out drawables when there's no activity
instead of clearing out the drawable in that case.

Needs https://gerrit.slimroms.net/3678

Change-Id: Iaaa556ffab3ed4be1da8016ed40d0a9c2efcde01
[1/3] frameworks: bring back the status bar activity indicators for mobile data and wifi

Google were nice enough to create xxhdpi drawables for us before removing them.

Reverts "Remove signal/wifi activity indicator icon overlays."

This reverts commit fcc901c10bffdfb9c6b31e676dec36b47d949979.

Included NetworkController.java modification from Iaaa556ffab3ed4be1da8016ed40d0a9c2efcde01

Adding preference for arrows

PS14: Fixing errors

PS15: Turning arrows off done via actual removing drawables work, so when arrows are turned off,
they do not redraw statusbar anymore :-[

Change-Id: I7aa85f7c8442c45d17e42cac7823dfe93e3f24c1
Scroll: modified velocitytracker

Velocitytracker and overscroll are called on every touch event to
calculate if there is a scrolling/fling. Move this and the recycling
to static voids so they are pre-optimized at compile time rather than
after evoking the method call during runtime (JIT) to increase responsiveness.

-Vanir

Change-Id: Ic7351da58f29281ca2b6a788386b95b68b552390
Update the color of the expandable volume panel icon

This still retains the old settings icon since it
happens to fit perfectly. Pressing it does indeed
show you a bunch of sliders like the icon indicates.

Also add xhdpi and xxhdpi versions.

Change-Id: I5c99b9da0c879026d8cb3e3abb41fc5acec535d4
Reduce EntropyMixer seed size from 4096 to 512 bytes.

The suggested seed size from Linux drivers/char/random.c is 512 bytes
rather than the 4096 bytes currently used.

Change-Id: I3dd55105f0a95ce9cda34b4cf08987b8a28c4ac9
Make EntropyMixer mix in output of Hardware RNG into Linux RNG.

On devices with Hardware RNG (HW RNG), this makes EntropyMixer
periodically (every three hours) read 512 bytes from HW RNG and mix
them into the Linux RNG.

This is done without increasing Linux RNG's entropy estimates to
avoid having to trust the quality of the HW RNG. This approach cannot
reduce the quality of the Linux RNG output, but may increase it.

Change-Id: Ifde851004301ffd41b2189151a64a0c5989c630f