Add GoogleDialer Drawables

Signed-off-by: Andre Saddler <dresadd09691@gmail.com>
Keyguard: don't refresh ui when screen off KeyguardStatusView is doing refresh all the time, which cause high power when screen off.

Original commit: https://android-review.googlesource.com/#/c/78853/

Change-Id: Iaca0c01947bb372f1c5a18c78a50ff788f89a53d
Fix a variety of small publicly-reported bugs.

Possible NULL dereference in cmds/bootanimation/BootAnimation.cpp.
https://code.google.com/p/android/issues/detail?id=61556

Missing fclose in core/jni/android_os_Debug.cpp.
https://code.google.com/p/android/issues/detail?id=61546

Bad loop guards in core/jni/android_util_Process.cpp.
https://code.google.com/p/android/issues/detail?id=61557

Assignment to wrong variable in libs/androidfw/AssetManager.cpp.
https://code.google.com/p/android/issues/detail?id=61560

Missing delete[]s in libs/androidfw/ObbFile.cpp.
https://code.google.com/p/android/issues/detail?id=61549

Leaks on error in tools/aapt/Images.cpp.
https://code.google.com/p/android/issues/detail?id=61552

Two missing fclose calls in tools/aapt/Resource.cpp.
https://code.google.com/p/android/issues/detail?id=61553

Missing fclose in tools/aidl/aidl.cpp.
https://code.google.com/p/android/issues/detail?id=61554

Change-Id: I5820f3824e72d07a9acb776cf0af3e7443f5694a
Don't pseudolocalize untranslatable strings.

bug: https://code.google.com/p/android/issues/detail?id=63004
Change-Id: I8e47a53d887144dc867111e42313d0e113b83ea1
Don't try to set service.bootanim.exit

init has never allowed the bootanimation code to
set service.bootanim.exit, and has always generated the
dmesg error message

  <3>[   17.644615] init: sys_prop: permission denied uid:1003  name:service.bootanim.exit

Since setting this property has no effect and never worked, delete
the code which tries to do it.

Change-Id: Idacc5467d85479a8cf974702af8895011be585ea
Fix one and hide the other warnings from core/jni

Most of the warnings are unused parameter from skia functions.

Change-Id: I9df57718d117c26b96163f751ccb056ca86ac072
Memory leak in IInputMethodSessionWrapper executeMessage

In some cases the executeMessage is called with
mInputMethodSession == null. For the messages

DO_UPDATE_SELECTION, DO_APP_PRIVATE_COMMAND

memory is leaked. This commit recycles the args freeing
the allocated memory.
[1/2] Clock mode

Center, right, hidden clock.
AM/PM and weekday mods.

PS3: Fix memory leak

Change-Id: I5b62e2e3e0909f15f1a7edb8fa8ad50b0ed7c1f8
Signed-off-by: kecinzer <kecinzer@gmail.com>
[1/2] Add network stats to status bar

Also includes
http://gerrit.aokp.co/#/c/13356/
http://gerrit.aokp.co/#/c/13360/

PS2:
Get the time delta between updates and use that to show
average bytes per second.

Change-Id: Ib06a713e6d93649ae8c8e5be5fd62c4f44a48416

PS3:
Code cleanup, change default text color and size to fit
AOKP and add ability to change text color.

PS4:
Fix up layout for cleaner spacing and add for tablets

PS8: Moved indicator before status icons

Change-Id: Ie3cdb038fecfe8cbb9b7a670c50dc7ebd22690e1

Conflicts:

	packages/SystemUI/res/values/dimens_custom.xml
Revert "base: show notification count overlay"

This reverts commit 25e593e9dc96a601fa022276c098c1e471cde5f7.
[1/2] Notifictation counter

PS2: Try to fix memory leak
PS12: Catch line 143 for debugging track down which instance of
      StatusBarIcon is causing NPE
PS13: Removing apply() from onAttachedToWindow to test a theory
PS14: Remove logging and check if icon is null before setting vars
PS15: == -> =
Change-Id: I95d06df346c77f0089abb749f2ee16a3d4678041
Signed-off-by: kecinzer <kecinzer@gmail.com>
Switch to revolt settings table
Add torch back

Change-Id: I01a2958106538e8023006af87a0bb1be39bf1f9b
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
framework: fix screenshot and rotation animation for devices with abnormal hw rotation

This solves above issues faced in Tab 2 7" and Tab 2 10"

port forward from cm10.1:
https://github.com/CyanogenMod/android_frameworks_base/commit/ac555b9ca9a76d13a26fc9ea40980fe57258761b#diff-d6f7bba268a742c91252cc9e64e2381a

Change-Id: I14b6e2403b9be345a1a591138f8a3a12ca8e4f89
Squashed recents/rambar (1/5)

SystemUI: Recents Ram Bar

Add Ram Bar to recents

Notes.
1) You'll notice the Rambar gets updated frequently in the recents panel
for a few reasons to keep the data as up to date as possible, to update
after swiping away tasks, and also becuase this is now where we pick up
Boolean changes for if the bar is shown and if the all all button is
show. If you think an update is not needed let me know and we can try
to reduce how often we check it.

B) You'll notice the data here does not match the data in
Settings->Apps-> Running. I used the same Math and got values from
the same place as settings but for some reason the data is still different
Mike has me convinced it because the running process here is SystemUI and
it has a larger foot print then Settings. So if you see a mistake again
let me know and we can fix it.

3rd) I'm open for options on theming, at this point both letting the themers
handle it and using a color picker are reasonable ideas. Let the voting begin.

In conclusion I changed kill all to boolean and made it update on the fly
so no systemui kill is needed anymore, removed in my RC commit.

Change-Id: I9e0582b600e1f6a4057d90474dd150db7db5a982

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Make RamBAr Moar Dynamicer...

The listener code was already in running state just implementing it
here as practice for the ram tile im gonna make.

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Recents: Fix Recents for MultiUser

Its actually the rambar thats causing the crash, running state needed
to be updated

Change-Id: I081803e77c247fbaa6d8bf75dec889200e618f75

Conflicts:

	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
Squashed recents/rambar (2/5)

SystemUI: ram bar and recents performance improvements

PS2: add SettingsObserver to eliminate the need for SysUI restart
PS3: tab derp
PS4: stop jumpy behavior when clicking recents fast!
PS5: more reasonable timeout
PS7: restore :)

Change-Id: Iee304142285757656129ab92542013196615a404
Signed-off-by: Roman Birg <romanbirg@gmail.com>

SystemUI: simpler RAM bar implementation

Signed-off-by: Roman Birg <romanbirg@gmail.com>

Change-Id: I6b7c74c515b07269fa2ed9a96263fc47e58d5920
Squashed recents/rambar (3/5)

RAMBar - show available memory in the old way

Old way means handle cached memory like it was free, subtract it from total.
Also use the internal MemoryInfo class instad of reading from /proc/meminfo.

Change-Id: I96462ed5f1b6923ec8fc4405b225d57691dd1aa0
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>

RecentsBoost++

Change-Id: I4dbaaa31d620ced287df12a0f861467ed2bd8a5b
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>

SystemUI: unregister ContentObserver

We were leaking memory.

Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

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

Change-Id: Ie9ddf00c698692f418cb8ef473dff2b1aa05135d
Squashed recents/rambar (4/5)

SystemUI: RAM bar view optimizations

findViewById() was being called every time updateSettings()
was being called. Instead, let's instantiate them once, and
remove calls to updateSettings() since it will be called
on its own when the setting values change.

Change-Id: Iaa02343caccb615921219be2a56b3bac4f3263b9
Signed-off-by: Roman Birg <romanbirg@gmail.com>

SystemUI: Recents window visual updates

* Changed the KillAll button to not have a border/be transparent
* Stretched out the RAM bar across the top, and add a small shadow underneath

PS4: Drop landscape related changes down
     from GNow commit (wrong patch)

Change-Id: Iabdab0a083b00ee51834415f0454f8298efe5591

recents: turn Kill All into normal button

Change-Id: Ie7783449e593ceab81039133fcee2f1561954ef3
Signed-off-by: Arnav Gupta <championswimmer@aokp.co>

Recents: resolve duplicate method

Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>

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

Change-Id: I8511d8741e7f319e4ecc68e5d76cc324dd38c1d9
Squashed recents/rambar (5/5)

*set up for Settings.AOKP
*move strings to strings_custom
* fix build

Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/res/values/strings_custom.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Change-Id: I2dac71eeb39205f823fe5e9c4530b26ee0d10000
RAMBar: add padding to layout to add space between statusbar

Change-Id: I469feb993e0180be096a7cddb45a8f12f276a755
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>