Remove reboot as default from power menu.
Lockscreen: See through (1/2)

Add the ability to see through lockscreen.
Adapted to kitkat from jellybean by @BigBrother1984

Signed-off-by: D4rKn3sSyS <jesdga95@gmail.com>
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS2:

* Adding missing sem-colon.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: I9057a6e302a5a824799844f27e8f64ff677a520a

PS3:

* Replace and remove undefined mContext.
* Define the boolean enableScreenRotation inside new method.
* Whitespaces clean up.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS4:

* Restore mContext in setKeyguardParams().

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS5:

* Fixes for setKeyguardParams() and maybeCreateKeyguardLocked() methods, kitkat changed some things.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS6:

* Missing sem-colon.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS7: Fix all the things.

* Effects doesn't vanish after first unlock.
* Created condition in updateShowWallpaper() method that just return if see through is activated, he was restoring the wallpaper at second lock.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS8: Cosmetic changes.

* Correct java style name to seeThrough() and place it above updateShowWallpaper().

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS9: Other cosmetic changes.

* Better name to the see through boolean.
* Removed a space nitpick.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS10:

* We had two booleans for the same thing, ditch the one defined in one class only and take the global.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: I06d952f85baf284961a24c8c9f90b29f4aef719a

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

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
Lockscreen Blur (1/2)

Revert "Revert "Lockscreen Blur""

We want to keep this.
This reverts commit dc82b58247e4946acd8ae497a65fd79b0b61ebb9.

Change-Id: I125d911e9e868e2b568876882b252e3375d66e78

Revert "Revert: Lockscreen blur": fix derp

Change-Id: I1dde45b623d8ed13168e68c666d3e0c7fef293ce

Lockscreen Blur: fix old nav/status bar shining through on lockscreen

Fix lockscreen blur on xxhdpi devices (thanks @Curtis Mayers)

All credits to Curtis Mayers: https://gerrit.paranoidandroid.co/#/c/382/

Fix lockscreen blur not working on flo

Fix: Correct possible null pointer when enabling see through lockscreen

PS2: Remove unused variable

Change-Id: I28884cb18964b273539261b8c0f72cedf2e60666

Fix coverflow problem caused by lockscreen blur

KeyguardViewManager: use cached see through setting

When merging PA remote repo, please keep in mind not to use "isSeeThroughEnabled()" but "mSeeThrough".

Merge PA's lockscreen blur without loosing our configurability

Change-Id: Id400b797804bea0fd63bb4fe6135f0966e813a05

Conflicts:
	core/java/android/provider/Settings.java
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardServiceWrapper.java
	services/java/com/android/server/power/DisplayPowerController.java
Lockscreen Notifications [1/2]

My try on making notifications easily accessable from lockscreen.
Credits to ChameleonOS, I got the notification listener permission and some small other stuff from their ActiveDisplay implementation.

Lockscreen Notifications allow you to manage all your notifications directly on the lockscreen.

Features:
- Pocket mode turn screen on when phone is pulled out of pocket and turn it off when phone gets back in pocket
- Hide low priority notifications
- Hide non-clearable notifications
- Allow dismissing even non-clearable notifications from lockscreen
- Just turn screen on when there's currently a notification pending
- Toggle between expanded and normal notification view by longpressing

This should still be considered as beta, even if it seems to work very well for me.

Change-Id: I98efd3cab0dd66126954b475c0d093c79ca3f766

Lockscreen Notifications: Make "wake on notifications" user configurable

and some other small changes that hopefully will improve battery live

Change-Id: I56209750fe36f564602c91dc70e28fb774c9dd40

Lockscreen notifications: make height user configurable [1/2]

Change-Id: Ia8ea8a5fa8338494037fc19edab0ab91b417d4a1

Lockscreen Notifications: fix possible NPE

Lockscreen Notifications: try on fixing notifications sometimes not responding

Lockscreen Notifications: always scroll to bottom so one sees the newest notification first

Lockscreen Notificaitons: Fix NPE while on setup wizard on clean flash

Lockscreen Notifications: several fixes

- fix notification not responding when removed and added in a short period of time (e.g. gravity screen start/stop)
- just unlock screen on notification click when there's an activity to start
- fix notification hide animation
- just wake screen on reposted notifications when it's not ongoing (wake on notification before made the device stay awake for ever when a download/countdown or something similiar was running)

Lockscreen Notifications: just scroll down in "showAllNotifications"

Lockscreen Notifications: Copyright

Lockscreen Notifications: make offset top user configurable & add privacy mode [1/2]

Lockscreen Notifications: Fix possible NPE

Lockscreen Notifications: make width dynamic (WRAP_CONTENT)

Change-Id: I98efd3cab0dd66126954b475c0d093c79ca3f766

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

Conflicts:
	core/res/res/values/oct_strings.xml
Fix the notification drawer that not closing after removing the notifications
Signed-off-by: nico <ndhouailly@gmail.com>

Change-Id: Ib49caaaa42667359c79c6439123bee61d2665f85

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Add Tentacles tile(1/2)
[1/2] Add battery level around unlock ring

PS2:
added missing change in KeyguardSelectorView.java

Change-Id: Ia4dbc2335657c096c34349ec67c4adfec0aeb91b

Conflicts:
	core/java/com/android/internal/widget/multiwaveview/GlowPadView.java
	packages/Keyguard/src/com/android/keyguard/KeyguardSelectorView.java

Conflicts:
	core/java/com/android/internal/widget/multiwaveview/GlowPadView.java
	packages/Keyguard/src/com/android/keyguard/KeyguardSelectorView.java
Frameworks: Statusbar clock and date customizations(1/3)
Some things changed on kitkat + our old code needed in general a bit
rework. All done with this patchset.

This commit add support for:

- Clock and date enable/disable
- Clock and date position
- AM/PM styles multilang support
- color
- Date format
- Date style

Author: kufikugel
Change-Id: I73d854ed5cfb57fa19e4b5554bb10cb2e1ce9b65

Conflicts:
	core/java/android/provider/Settings.java
Statusbar clock font style (1/2)
PS1: Initial
PS2: Int settings

Change-Id: Iafb811b9f819a100940fdeeaa2c657483c039950

Clock Font: Adding more styles
Change-Id: I7ff863fba0c33409f6cad28df5bf3003db2aae0f
Thanks CarbonDev

Conflicts:
	core/java/android/provider/Settings.java
Frameworks: Port all carrier label options (1/2)

Also included commit: a14f63ed90820e362923635d4496a27b483449ed
UI not updated correctly in expanded statusbar
Sometimes when getting status changes in expanded statusbar the
text disappear. Both NetworkController and PhoneStatusBar handles
UI updates and they are not in sync. This fix allows PhoneStatusBar
to update UI when NetworkController is updating the UI.

Author: Kent Persson
Conflicts:
	packages/Keyguard/src/com/android/keyguard/CarrierText.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Change-Id: I00776b2df61eb20ce20fbf9e81d29b13cf2f174a

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Configurable up to user (LTE or 4G)

Credit Daxx for the original implementation

Change-Id: I80711a547851ec94c2391169ca9c2a1da877fac7

Conflicts:
	core/java/android/provider/Settings.java
System bar color WIP

Both status and navigation

Ps3: fixes for 4.4.1

Change-Id: Iea59a7550925bcaf85e4faf86811562d039668cc

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

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/BarTransitions.java
Frameworks: notification drawer background (1/2)

so after keyguard is mostly done let us start notification drawer
and QS. First one custom background.....either color or picture
with custom alpha and ability to set a landscape picture seperatly
(landscape phone only)

Compared to the 4.3 included version completly recoded and better
integrated. No idea what I thought 1 year ago on the old implementation

cheeers

Change-Id: Id7d0f718acd05d34fab57bb250c29ed944bdcd58

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Change-Id: Id7d0f718acd05d34fab57bb250c29ed944bdcd58

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fb: notification transparency (1/2)

this add back notification transparency...compared to 4.3
it controlls as well the notification icon backgound transparency
which felt in the past dissplaced. As well codecleanup of the old
implementation.

largeIcon support I did not add due that google does not support it
as well at current status...it is only a placeholder in
NotificationData

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Change-Id: Ic5bb8998f64cac573d70005fad909104accc9e96

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Statusbar Brightness Control (AOKP impl) (1/2)

Find it more effective than CM...

re-implement statusbar brightness slider

TODO: allow it to be disabled by adding a System.Setting?

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

SystemUI: add statusbar slider preference

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

Conflicts:
	core/java/android/provider/Settings.java
Add people lookup settings keys

Change-Id: I2ff9bb7684d04f4f9b640939c7db269873aa3308

Conflicts:
	core/java/android/provider/Settings.java
base: quicksettings: allow flip animation on clicking a tile (1/2)

ported from https://github.com/BeerGang/android_frameworks_base/commit/ba144b2defd209c2c020366316c65b288bf68880

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/LteTile.java

Change-Id: Ic5e3b6c1eee902fd59c1d54ac6c5efb8cffad4ba

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/quicksettings/PerformanceProfileTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/ProfileTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/QuietHoursTile.java
base: Fix derp

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Change-Id: I79e0e44738ad1b32b5f30f2f1223e20711c9b3e4

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/AirplaneModeTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/PerformanceProfileTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/ProfileTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/QuietHoursTile.java
Default Lockscreen Notifications to off