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/java/android/provider/Settings.java
	core/java/android/widget/ProgressBar.java
	core/res/res/values/colors.xml
	core/res/res/values/ras_symbols.xml
reset progressbar defaults to ~ what we had before

Change-Id: I29942eb462bee71299d35f784dfc5b8033d613ea
Themes: Add icon previews to ThemesContract

Credit to @BigBrother1984 for the original cherry pick

Change-Id: Icbfbee3404702a29881ad4933721d8beb39bef30
BatteryMeter: Isolate QS resources too, specify label as for status bar

- This way we can theme PA separately, will not reflect with CM
  so we don't end theming both CM statusbar and QS indicators while
  we want to do just QS and testing base is PA.

PS2: Use status bar color in style, is about the status bar icon so no need to keep using qs one.
PS3: Fix new array name

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I104f4b435470745e8b4bcb7fb2413148b24766c9
Statusbar clock and date customizations

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

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
Re-add auto brightness configuration UI (1/2)

- Add a button into the new brightness dialog that allows opening the
  auto brightness setup
- Enable auto-brightness adjustment (setting for general brighter/darker
  adjustment) and twilight adjustment

- this commit adds as well the complete auto brightness ehancements we had
  on 4.3

Change-Id: I7fd11ddaa112396dcb7508692aacb93bfe3da256

Conflicts:

	services/java/com/android/server/power/DisplayPowerController.java

Conflicts:
	services/java/com/android/server/power/DisplayPowerRequest.java
	services/java/com/android/server/power/PowerManagerService.java
Status bar brightness control

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Status bar brightness control improvements

- Fix status bar brightness control when on secure lock screen.
- Prevent brightness changes after notifications panel has been opened.
- Don't adjust brightness for swipes <45° from vertical.
- Stop using a VelocityTracker

reference:
https://github.com/CyanogenMod/android_frameworks_base/commit/71c97740b5404b3c0be89454e55a69c1ca8655ec
https://github.com/CyanogenMod/android_frameworks_base/commit/212c63a250b81676a89f9de145cf4f1b378b43fb

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Quick Settings Pulldown: Left or Right side option
Quick pulldown sometimes flips when it should not

The new code simply checks to see that the Event was a pull down event and that the event started in the top status bar.
If this is the case, then the quick panel is swapped to (without flip)

Special Thanks to my daughter Jenny fo painstakingly reproducing this bug.
Fix the flipping animation sometimes being played when pulling the quick
settings with two fingers
Finally fix incorrect flipping to quick settings
Quick Settings: Swipe to switch
[1/2] base: expandable volume panel and tweaks

* Ditch aosp volume panel and use expandable as default, hardcode it.
* Add VOLUME_LINK_NOTIFICATION option to allow adjusting notification
  and ringer separately (default=1).
* Add VOLUME_ADJUST_SOUNDS_ENABLED option to allow disabling
  the volume adjust sound (default=1).
* Replace old Settings slider icon with new KitKat cog icon

Signed-off-by: Ricky Salinas <rsalinas1@mail.usf.edu>
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: I94e0f944f76ee9751663de8ac40d99a342884259
Fix: Linked volumes

Check for linked volumes a little earlier than we previously did.
This ensures the correct value is set after boot.

Change-Id: I207680bed1b849351d6cbb283ae415621fab58b4
Update API
Move volume adjust sound option to more native place (1/2).

Our new UX concept includes saving more settings headers possible.
Move this into Volumes settings fragment. Also update description string.

Change-Id: Icee918dc35a4248e4dcdb4c9aa6af9d2ff68f220
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Audio: make safe headset volume user configurable

Conflicts:
	media/java/android/media/AudioService.java
Option to use volume keys to control media volume any time
Original commit pawitp (https://github.com/pawitp)

Conflicts:
	media/java/android/media/AudioService.java