QS: RSSITile: Finally fix the data indicator

The X for data off now changes based on the mobile data enabled setting.
If mobile data is enabled, the rssi tile behaves like stock.
If mobile data is disabled, the X shows to indicate that the user disabled data.

PS1: Inital commit
PS2: Nothin to see here...
PS3: Remove uneccesary wifi check.
     The overlay should be nulled any time the other conditions aren't met
PS4: Remove unused import

Change-Id: I76e63c606f2651a8463f9cd0b3665543b420d72c
Signed-off-by: Evan Anderson <evan1124@gmail.com>
Quicksettings: Rework behavior on edit mode for temporary tiles.

* Animation:
  - Make them disappear when edit mode is enabled.
  - Put them back when edit mode is disabled.
* Fix broken touch listeners after toggling edit mode after boot.
  Adressing JIRA AOSPA-4 issue.

PS2: Simplify logic and code.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I4da623ec5fffad4ddf414c70a18f3ee547d83fc5
QS: Use AnimatorListenerAdapter

No need to implement all the unused methods

PS2: Underp and better commit name

Change-Id: I12116e06950e5162fdfb5b63e22531a5df1ad691
Quicksettings: Remove edit mode button flip animation.

Make things less fancy.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Quicksettings: Few misc adjustements and fixes.

* Fix sleep time tile label on clean flash boot, was showing unknown till you set it in settings.
  Initialize screen timeout with default 30 seconds (wrongly initialized with 0 that is never compared).
* Use switch statement (better performance wise).
* Bit cleanup for wifi ap tile, useless resources reload.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Quicksettings: Fix derp in QuickSettingsTouchListener.

Change-Id: I08b6019fcdfeed042f8f7c532a52289e2417b7c7
Quicksettings: Immersive: Make last active state a system variable.

Will persist after reboot.

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

Conflicts:
	core/java/android/provider/Settings.java
Switch quick settings drag to long click

PS2: Remove unused variables
PS3: Fix build

Change-Id: I441b7467127990f387d976132bffc8f881a55095

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsTileView.java
Fix derp on imports

Change-Id: I3ea2b1767d8788e7ab1ce3972d38b8d1a96477ff
Quicksettings: Bump dual switch icon(s).

* Replace with less intrusive ones one more time, these looks beautiful.
  Drawables by Arz Bathia.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Quicksettings: New transition animation.

Also new moron effect :D

Signed-off-by: Jesus David <jesdga95@gmail.com>
Change-Id: I7838bced9568c30237a2839e4ef68b24f884d8a5
Quicksettings: Better switch effect.

* Take switch outside tile animation.
* Change a bit new X axis animation.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Signed-off-by: Jesus David <jesdga95@gmail.com>
Change-Id: Iad3ff92dddea4bf86650c7269a859ac577063432
Fix QS FC

Change-Id: I80d48dbe5d8e4618bb7df2cb5859694ded4a5358