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
Guidelines cleanup for some immersive stuffs.

PS2: Also fix a logic derp when calculating display size.

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

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Update immersive confirmation.

1. Disable panic mechanism for expanded desktop.
2. Separate confirmation for each expanded desktop style.
3. Add new layout for the case when navigation
   bar is hidden but statusbar is visible.

PS1: Adapt to our immersive and fix conflicts.
PS2: ???
PS3: Hopefully restore previous state.
PS4: Spanish translations

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

Conflicts:
	core/res/res/values-es/pa_strings.xml
	core/res/res/values/pa_strings.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Conflicts:
	core/res/res/values/ras_strings.xml
Quicksettings: Sound tile

Dual Ringer & Volume tile.

* Click on front goes to next ringer mode (silent, vibration, sound).
* Click on back goes to volume change.
* Long click goes to sound settings.
* Handles Vibrate when ringing.

Screencast: http://www.youtube.com/watch?v=gqlPhRBruSU

Based on commit: https://gerrit.paranoidandroid.co/#/c/522/ by cristianomatos.

PS2: Removed tabs.
PS3: Clean up
PS4: Remove pie references
PS5: More pie stuffz!
PS6: Not all devices can vibrate

Change-Id: Ida4b0f05e8a886b5249d758f1efb36bb364275cf

Conflicts:
	packages/SystemUI/res/values/ras_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
FB:  Add transparency to Glowpad background [2/3]

Adds the option to make glowpad view background transparent on incoming call so the caller's entire picture can be seen.

Change-Id: I0c6d883b86f05055fbf5865ea98f6cb144da7b27
[1/2] Improve flash availability check.

* Use simple overlay, default false.

PS2: Add header and proper symbol.

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

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/pa_symbols.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
PEEK: Beautify bridging layers code

* Save new instances for Peek and PowerManager:
    Create it only in BaseStatusBar when start() method is called. That one
    will be passed throught the sub layers such like new helper class so another
    feature can check Peek state invocking from NotificationHelper class.
* Move phone listener to new helper class.
* Do not show Peek on sim pin lock screen.
* Process new incoming notifications only if screen is off, keep updating notification array separately.
* General cleanup.

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

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Revert "[1/2] Speed up booting on multicore devices."

This reverts commit 8aea8983b92c957db6dd41a89453b80790983766.
Battery led needs to respect quiet hours
Don't animate the circle battery meter when battery is fully charged

Rotating a full circle is unnecessary, no need to redraw the battery
meter every 50ms

Change-Id: Ibc7232ccd296ddbcf7c920aa6d8f01baa92a06d7
Frameworks: Inaccurate proximity switch (2/2)

Change-Id: I890cc81e548f63c9bd75eaa7e309d15836d13944

Conflicts:
	core/java/android/provider/Settings.java
Progressbar customizations squash

commit 246fac886ef7c952ceade2baaba976c461efd514
Author: hany <hany.alsamman@gmail.com>
Date:   Tue Feb 18 20:18:23 2014 +0000

    Add ContentLoadingProgressBar support

    ContentLoadingProgressBar allows developers to follow the policy for loading content
    laid out in the style guide. The progress view will only show if MIN_DELAY
    passes before the view is hidden. The progress view, if shown, will always
    show for at least MIN_SHOW_TIME ms.

    https://github.com/android/platform_frameworks_support/commit/befff92741b1f0629d9a9389a3889cca56d914a2

    thanks @castorflex

    Signed-off-by: hany <hany.alsamman@gmail.com>

commit c6055f2d92d42a37c29e0f5c3f90266a557b9a12
Author: hany <hany.alsamman@gmail.com>
Date:   Tue Feb 18 19:10:40 2014 +0000

    SmoothProgressBar: Accelerate and Interpolator

    PS1 : reformat the code
    PS2 : use android animation interpolator

    Signed-off-by: hany <hany.alsamman@gmail.com>

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

commit 50a1fb8700ab611dc45a4a31ec0f29e4f386e69b
Author: codex-corp <hany@codexc.com>
Date:   Sat Jan 25 02:44:15 2014 +0900

    Port SmoothProgressBar: User Custom ProgressBar Setting[2/2]

    Sample : https://github.com/castorflex/SmoothProgressBar
    http://antoine-merle.com/images/smoothprogressbar_all.gif

    thanks Dokdo Project

    Change-Id: If476fb2a4fa9a988c73364107555b5e7624dea53
    Signed-off-by: hany <hany.alsamman@gmail.com>

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

commit bf460a3c6c28c8c0dea8b9b9f7e2544834faa4cd
Author: GwonHyeok <kh4975@naver.com>
Date:   Fri Jan 24 14:42:15 2014 +0900

    SmoothProgressBar: Initial Commit

    Change-Id: Ic48f7ff57f76c933808f2ea4a6be49e949ce2c00
    Signed-off-by: hany <hany.alsamman@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	core/java/android/widget/ProgressBar.java
	core/res/res/values/colors.xml
	core/res/res/values/mahdi_symbols.xml

Conflicts:
	core/res/res/values/ras_symbols.xml
Fix Icon size in DocumentsUI

For XXHDPI devices if you go into Settings/Display and Notification light and select a custom value (application) you will see a GIANT icon.

Before - http://i.imgur.com/DRkua3T.png

After - http://i.imgur.com/f7xW4tY.png

Change-Id: Ia355bddc515906134c8b3b4e67d381aaacceec78
reset progressbar defaults to ~ what we had before

Change-Id: I29942eb462bee71299d35f784dfc5b8033d613ea
Quicksettings: Upgrade immersive drawables with more polish ones.

* Thanks to Lo Huot for the drawables.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Quicksettings: Fix immersive icons mismatch.

* Flip hide only navigation bar and status bar.

Signed-off-by: Ricky Salinas <rsalinas1@mail.usf.edu>