Quicksettings: add never sleep option to screen timeout tile (1/2)

Thanks to @kufikugel

Conflicts:
	packages/SystemUI/res/values/mahdi_strings.xml
	packages/SystemUI/src/com/android/systemui/quicksettings/ScreenTimeoutTile.java
fb: restore navbar compatibility with several xposed modules
I am tired of the complains....

Xposed use the emulator overwrite to enable/disable navbar...this results
into showing up navbar on reboot even if the user has set it to off in settings.

This fixes the issue and still keeps for emulator tests the basic overwrite functionallity
alive as long the provider value was not set.

We may should reflect that in settings as well.

Change-Id: I99f04da8110bbcfcdba62604610d1f4330aea4d0
Frameworks: Imagehelper...do a nicer resize with better quality

Change-Id: Ibec4658d46a2c6ef1b6bacf505227949c3bcbfdc

Conflicts:
	core/java/com/android/internal/util/axxion/ImageHelper.java
Base: Allow hiding notification icons

When long pressing a notification, add another menu
item which allows the user to hide the notification icon
(but keep the actual notification in the dropdown).

This is meant for applications which have services running
in the statusbar which the user is aware of, so right now
we hide the icon by the package.

Change-Id: I60c8705e1fd02d7b26dbe90fe39a3b40febdbfcc

Conflicts:
	packages/SystemUI/res/menu/notification_popup_menu.xml
	packages/SystemUI/res/values/cr_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Frameworks: Notification Reminders (1/2)

Click notification header to set a reminder
Long-click to dismiss current

Change-Id: I3ee914b7dd2381632cc3fceca3edc447ac36aaa9

Conflicts:
	packages/SystemUI/res/values/cr_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/Android.mk
	packages/SystemUI/res/values/cr_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
[1/2] SystemUI: Add time-context headers to the notification header

This commit adds image headers to the notification panel header,
based on the date/time. There are pictures for morning, afternoon
and night, as well as special events like Christmas and new
year's eve.
More will be coming, with eventually a way to use an external
(as in, Internet) provider for those pictures.

Change-Id: Ie3321e9a3e0637d6ba8094dd46aee36c41354713

Conflicts:

	core/java/android/provider/Settings.java

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Re-do contextual notification header images

PS2: morning
PS3: night
PS4: new night image
PS5: new morning image
----------------------After Rescue-----------------
PS6/4: Shift morning image
PS7/5: New Years image
PS8/6: New morning image (Credits: Lokesh Chamane)
PS9/7: Revert back to old morning image
PS10/8: new Christmas image

*I cropped these for the different resolutions instead of scaling. Let me know what you think*

Change-Id: I1f713f12b425dd63a98ec85f185606e36411c308
Get this faggot redified
(Dialog_
Frameworks: Notification Reminder Interval && Fixes (1/2)

Calculate actual length acceptable for the
	flipper to flip through per device,
	dpi, shade type, etc. A crespo user
	emailed me and said they were having
	issues in this area... Added benefit
	is we can now have separate
	flippers for landscape on devices
	where landscape shade is longer than
	portrait shade (non-tablets).
	Create second flipper and set
	visibility rather than doing the
	complex string breaking on each rotation.

Change EditText type to capitalize sentences
	by default when setting message.

Notification updated to allow user to stop
	the sound by clicking and dismiss
	with a button.  Allows a user to
	cancel the sound but keep the
	notification around.

Also add Flip Interval option since (device dependant)
	the strings parts can potentially be a
	lot longer with this method.

PS2: Oops forgot to git add and ammend lol
PS3: Update file name so I don't conflict with
	mnazim's upcoming feature lol
PS4: Set title limit as well.  Use marquee
	in the case that user's input is too
	large to fit the view.
PS6: Bad math is bad for layout padding

Change-Id: I6375b7b3ac1ce97a6f628e0f8428a8a329b699e9

Conflicts:
	packages/SystemUI/res/values-pt-rBR/cr_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/cr_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
SystemUI: Notification Reminder New Layout && Fixes

Set mCurrOrientation on init

Reimagine Notification Reminder:
	Set beneath normal header.
	No more need to guess size...
	Needed update since apparently
	many users have issues here.

Change-Id: I184e94784ee68cdc218bc2fd2417fc2d93fadb22

Conflicts:
	packages/SystemUI/res/values/cr_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Framework: Allow All Widgets On Keyguard (1/2)

Change-Id: I2f25d403740a9ee8822c684436bc28283c356f6c
Reredify the faggot
Fix the faggot fo sho
Merge CM
Theme stuff and Equilizer QS Tile
few fixes
services: don't clear wallpaper when SystemUI
disconnects.

When we restart SystemUI (or the user), sometimes
the wallpaper would get cleared. This patch just
captures its originating component and
if that is our SystemUI component, ignore the event.

Change-Id: I3e159dc2c013e7d7e552e3c0cef55e3ab970ca87
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>
SlimRecents: Adress the 50ms touch unsresponsive issue

User reported that if the screen is fully animated in that the touch
detection is not working for about the first 50ms. For user who are working
fast this is indeed an issue. Especially due that the recent screen speeds
up the workflow much already.

Problem is our third loading stage due that after the recent screen animates in
it calls getView on all elements which rebuilds the touch listeners and cause to
the slight timeframe where it is unresponsive.

Well the third loading stage was a left over from the first optimizations when
we started to develop this feature. Other optimizations are into place now so we
do not really need the third loading stage at all. So instead of handling now
the fix in the getView implementation of the arrayadapter we simply just remove the
third loading stage completely.

PS:
- small other optimization

Change-Id: Ibf46fbe393de4f9d6b867e6bdb9c331dff1dd38e
Fix Red Dialogs and fix uncrimson
Power menu into navring targets (1/2)

- This commit use the intent added here: 0efd6981a6c4b299204b8d4f5495bddb5049f30e

The intent added in  core/java/android/content/Intent.java is called when power menu is choosed

Change-Id: Ifcf898ce7e3221fc67c18b2a54806ef344f68e7f
Signed-off-by: siracuervo <fl.siracusa@outlook.com.ar>

Conflicts:
	core/java/com/android/internal/util/cm/NavigationRingConstants.java
	core/res/res/values/cr_symbols.xml
Navring last app toggle (1/2)

Change-Id: I5f744732f39cd33c0ec7dcae23da0295f945c9a1

Conflicts:
	core/java/com/android/internal/util/cm/NavigationRingConstants.java
	core/res/res/values/axxion_symbols.xml