Reduce observers in SystemUI: KeyButtonView

This is based on the work by Jens Doll for the StatusBarIconView

The ContentObserver class will be a singleton, so there is only
one observer for all buttons.

On my Nexus 10 it reduced the observer count from 48 to 4.

Change-Id: I3223a18fcb5d2c9c2e7de655c514ff751dcd345d
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Reduce observers in SystemUI: BatteryBarController

This is based on the work by Jens Doll for the StatusBarIconView

The ContentObserver class will be a singleton, so there is only
one observer for all instances.

On my Nexus 10 it reduced the observer count from 15 to 3

Change-Id: Ibdd6fca75e5f0245b2897c9d5aebb5a0961cc351
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Revert "hwui: This code should only be enabled with QCOM_BSP"

This reverts commit 264091bcfb64e834f09915f504597b9a12dd5ed7

Change-Id: I1682ee8d2aa16a2c9353c4e7542eb3f5a06bf96b
Framework: GlowPad Torch

LongPress GlowPad...Torch.
Release...No Torch.

Magical Unicorn Dust Not Included
With Your Purchase

>>>>>>>>>>>>>>>>
checkTorch required for RARE torches not being released.
>>>>>>>>>>>>>>>>

Change-Id: I1e5178822efb10f205d30d059af78ebeba6f39a7
ClockActions: Dismiss Keyguard

Kanging SteveSpear's Brilliant
    dismissal method here.
    Doesn't require an activity
    as ...OnNextActivity() does.

PS2: TabletStatusBar.java as well

Change-Id: I2e9a3d8e42f2cd2a41f954026d0e38fe40c5da67
Fixing crash in PhoneNumberUtils getNumberFromIntent

Handling intent with no data when trying to retrieve number from
intent.

Change-Id: If7c5930e7048aec732fb7a3fbeb3391e1408b071
Lockscreen Longpress: Unlock Logic

In my opinion, we should unlock after
    user removes their finger.
This matches short-press unlock better
    and allows the user to change their mind
    on a target (I do that a lot).
Added a vibration action on longpress
    being true.

Change-Id: Ife590119dbdf10474b9c62f252e7f5d6dfc87387
Add BAMF theme engine
Revert "Reduce observers in SystemUI: KeyButtonView"

Temporary revert. We will get back to you, observers.

This reverts commit 855f54384d99242bcc25a0de7cfb6c104035b034

Change-Id: If612ee7ca947f5f00bd42d2d45205f50ba2f979d
Reduce observers in SystemUI: KeyButtonView

This is based on the work by Jens Doll for the StatusBarIconView

The ContentObserver class will be a singleton, so there is only
one observer for all buttons.

On my Nexus 10 it reduced the observer count from 48 to 4.

This version fixes the funky glow effect.

Change-Id: Ie242e3771c41f6010ac12246372107a2a3e165cd
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Fix BatteryBar showing on all 3 locations

Change-Id: Idbdd16ea5442b032119ce48d586b2207e8cf0281
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Telephony: Add DCHSPAP to getTcpBufferSizesPropName

Change-Id: I868f0eae2db6032b43e9c1a1bd23860ab7bbebca
GlowPad Torch: No Screen Timeout

Should disable screen timeout if
    glowpad torch is on.

Change-Id: I32a0f7880b738ad9185e795d6cd828a0238d5f24
Pie: Add option to change pie's angle from the attach 2/2
Pie: let Chevron adapt itself from pie's angle.
>
> This make Chevron able to recreate the battery bar when the angle changes.
Pie: set angle default to 12° (1/2)
Pie: Fix and easy recalculation for Chevron and Pie
Pie: set Big as default for item gap (2/2)

Screen: http://goo.gl/aocZ7

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

Change-Id: Ibb6557d2536925927b4219d00f5f2e5abb40175f
Fix some pie derps

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Some pie fixes

Signed-off-by: iceandfire <arhamjamal@gmail.com>