Revert "Fix remove framelayout recents background"

This reverts commit 99d54e2571833fba349f11cccbd9bc71aa0dfd34.
Revert "Fix visual glitch rambar"

This reverts commit d0ff0af8db84297c9d7cfbb3dedd0d144601b369.
Revert "Frameworks: recents rearrangement recents + fixes"

This reverts commit eef73ab26de18e939c557305a0b6ed1eaab1e4a1.
Revert "Framework: Recents RAM bar (1/2)"

This reverts commit e553c260c9e35e1affafcb6d5eae6991495eaceb.
Revert "Framework: Add Recents Ram Bar"

This reverts commit 65c7a662aa4da6fc430661e82e491744497d4498.
Navbar: add spacer to lightsout layout

This will align the lightsout buttons with the normal ones.

Change-Id: I9a3008ae8f16f35efc595d2a2f1d07a3eef47c29
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
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

Conflicts:

	core/java/android/provider/Settings.java
	packages/SystemUI/res/layout/system_bar_recent_panel.xml
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

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>
fix license header

Change-Id: I287ae3d20551ff47fc5be5f721af63913423b30d
Signed-off-by: Roman Birg <romanbirg@gmail.com>
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>
Recents: Fix Recents for MultiUser

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

Change-Id: I081803e77c247fbaa6d8bf75dec889200e618f75
SystemUI: simpler RAM bar implementation

Change-Id: I6b7c74c515b07269fa2ed9a96263fc47e58d5920
Signed-off-by: Roman Birg <romanbirg@gmail.com>
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.

PS2: move instanciating to the SearchPanelView constructor
PS3: more possible memory leaks

Change-Id: Ie9ddf00c698692f418cb8ef473dff2b1aa05135d
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
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>
Merge branch 'jellybean' of https://github.com/UltimatumKang/android_frameworks_base into jellybean
Proper fix to @AirOne70's mistake
HALO bigger update

1. gestures icons without outlines
2. completely re-done speechbubbles
3. empty red batch says M for message
4. speech bubble is animated and moves around
5. new batch animation when gesture is active
6. dead zone buffer fixed
7. empty notification text fixed (with app name for now)

Change-Id: I85cca0240827aabb5f5f773ace24222bf711945d