framework-res: Remove gingerbread scrolls
policy: always use hardware acceleration for keyguard

Without hardware acceleration, keyguard widget will appear aliased
and choppy (especially at the end of the scroll).

Change-Id: I1bfb6fbcba6306edf366e8ea752d6919936c3ab6

Conflicts:
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewManager.java
MediaScanner behavior on boot (1/3)

Lets you enable/disable/ask (with a notification) media scanning on boot.
Can speed up boot and reduce initial boot lag from MediaScanner

Change-Id: I634ae96b1dcb493b966b4653589cd97523b63da7

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

Conflicts:
	core/java/android/provider/Settings.java
Halo (1/2)

Change-Id: Ib623ea74e9cf308dd8e7cbfe79c81b90c789fc01
Signed-off-by: iceandfire <arhamjamal@gmail.com>

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

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	services/java/com/android/server/NotificationManagerService.java

Conflicts:
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Halo full with 4.3 commits

Inside:
- HALO: cleanup: 4f4dd8dceaeafa182d75606f7c3adf59b37d973d
- HALO: new drawables for hdpi and mdpi: d76f23efbc101e14d3423b8dd0645d64f7425555
- HALO: unregister settings obeservers: 2048e663d2205ac304c8e5bc6da51b8cc442a12b
- HALO: halo can save last position now: 05f4f5c55f5e8639ec03c4d3c701cfe9904b7e9c
- HALO: Style revamp: f0ce74b71835e5912e52576bb503e88176f02883
- HALO: hiddenstate-fix + smaller numberbatch: 7fae5c9df0f71194a2a59fcafd3610176fbc4623
- HALO: cleanup & better drawables: 6ed0d9a613d0bf14ceeff141bc0650094b4323b5
- HALO: hide bugfix, smaller numberbatch still: 1eaed47beb6286d37c78a95c841ba71d2ee02f8c
- HALO: new vertical gestures (NOT READY FOR RELEASE): d54725ab41e239b6a6f096dcb19c69770749c7bd
- HALO: clearall/silence (STILL NOT READY FOR RELEASE): 212b639759826fd53503534ee52add96ec367868
- HALO: clearall-fix + dismiss icon (READY, BUT NEW STYLE IS XHDPI ONLY!): 6af90d1aca25fda9351ddea9caf5e4cd0df73e7a
- HALO: cleanup & clearall-nap: 019cf36e9bee15c0b3701d8fa00509ad6dc1848f
- HALO: Fix vertical gesture touch calculations: 8cf0d5c62d5fa6c5e8fa51b8273893d32c5b787e
- HALO: bugfixes: 4a8c02330602a56d58f790165af0379ad2b1cbd9
- HALO: Revert "Fix vertical gesture touch calculations": a4c65e878fbc3c37d6b18c1a9e07308de04c8311
- HALO: Gesture Fix v2: 135d937eb2848c2ea2fe327165d255a1d8025d6e
- HALO: Size (1/2): c3c4706f290fc96ac817337612a4f5605be55371
- HALO: Avoid showing Halo))) icons in status bar while added to Halo: a404d6eaf9206fc658f050ccc2d974a589edfe3b
- HALO: Completely hide Halo))) icons while tasking: 086962098bf1e966232dbdbf7f25759904274d3f
- HALO: new transitions for number batch: fa86cc276e99b2679bcb310f8ca1ccb1b8aa4235
- HALO: first_start tutorial & gesture dead-zone: 82ccafb7c53238742a8c70d9cffa3e586c93de47
- HALO: NEW ICON SET (XHDPI ONLY!): f0bfc45e77b1b72e4ffd9d6e4f1f2e8235259cf1
- HALO: dismiss/flip fix, clearall/last-notif-empty fix: 7106b09364bb250a532251cad1403da9b652f6de
- HALO: first-run turorial less choppy + overlay: 7b995b44e1b4d5e2c8219de0831c1c257152e92f
- HALO: bigger update: 5231f7da4568f017c7470c22c788f231118f574e
- HALO: hdpi & mdpi icon update: 47c63c53907194210eb1541472cd2c88b48234d9
- HALO: black toasts, italics, blue text: 3fd7c25b77b225036c68a502f9df575aba574eaf
- HALO: batch envelope icon for non-numbered items: 28e7aacd9f526a1d7beb87774edc2b2948365d31
- HALO: bugfixes: d41ff17fd420d3612255d10218bf7982324e3cda
- HALO: vibration fix: 773d817f1abb960c943e60f56c82e23c688cd7fb
- HALO: fix the integer division bug: 4ed9a25b414287b435cd5cba96603abe969187bc
- HALO: batch message icon for hdpi and mdpi: ce9f94323c07f8dab5cd32208c5cd9afa7125863
- HALO: what else, style changes: 586183976136707259385634d3daf8a083d9ecf8
- HALO: fix speech fade out: 615f52bc7ad7701c1f6418e87a36b0f985707c3e
- HALO: smoother operation: 6a67e60e985d6412a70ed87bd6eeca3f8271ff89
- HALO: crash?: 6e1252dcb882c7bb0ebc81fc163cc24882b75ae3

Change-Id: Ie705ccec63c706e366adb9acc356c80db52fc49d
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java

Conflicts:
	packages/SystemUI/res/layout/system_bar_notification_panel_title.xml

Conflicts:
	packages/SystemUI/res/values/dimens.xml
HALO Changes

- Blacklisted apps don't show in HALO while scrolling
  * Blacklisted icons are visible in status bar but are skipped
    when scrolling through HALO

- Added count for total number of unique notifications in HALO
  * Total count is visible when HALO is idle / disappears while hidden or tasking
  * Total count ignores pinned apps, blacklisted apps and persistent notifications

- Added new icons for pinned apps and persistent notifications

- Set a standard distance between message markers for HALO
  * Notification markers no longer spread out on larger screens
  * Distance between markers will be reduced if necessary to accomodate multiple notifications

- Notification dismissal sync
  * When a notifcation is launched via HALO, it is cleared immediately from the bubble
    the next most recently received notification takes it place in HALO
  * If a notification is cleared via the notification shade, either from the status bar or the PIE menu,
    the notification is automatically removed form HALO

- HALO will ping on screen unlock ONLY if active notificaitons exist, under the followng conditions
  * Status bar is hidden and HALO is hidden (Expanded Desktop Mode/Hide HALO after activity)
  * Protected lock screen is enabled - The android notification ticker does not "tick" when
    using a protected lock screen HALO usually does not update while the phone is locked

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java

Change-Id: I8c2163dd1592639954a19d42f5a4d96877361055
Fixes in commit: "HALO Changes" we don't have Halo tablet mode support!

Change-Id: I0a45c4668d59583ed46039dc9c061f09098a300d
HALO bugfixes

- couple of problems with concurrent threads
- green batch only for nap
- italics gone
- mdpi and & hdpi icons
- statusbar-icon gaps
- flipping batch when content changes
- batch fadeout without flip
- code style

Change-Id: Idfb145eb8e220bf224dd3d0e235e3647dcc82ed9

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
HALO persistent notifications less pronounced + fixes

Change-Id: Ib485468303dfd7ca7fea17d7c755a3ee4e075940
HALO: Circle, Bubble, text colors

Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	packages/SystemUI/res/drawable-hdpi/halo_bg.png
	packages/SystemUI/res/drawable-nodpi/bubble_black_l.9.png
	packages/SystemUI/res/drawable-nodpi/bubble_black_r.9.png
	packages/SystemUI/res/drawable-xhdpi/halo_bg.png
	packages/SystemUI/res/layout/halo_bubble.xml
	packages/SystemUI/res/layout/halo_speech.xml
	packages/SystemUI/src/com/android/systemui/statusbar/halo/HaloProperties.java

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

Conflicts:
	core/java/android/provider/Settings.java
HALO : Ability to enable/disable custom colors

Why? Because, we all know some themers might theme the halo bg or also maybe the speech bubbles, so we trying not to mess with the alternate colors... ;)

Also, the drawable are being color filtered...

Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
HALO : Effect color

Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java

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

Conflicts:
	core/java/android/provider/Settings.java
HALO colors: a lil improvement

Shouldn't break themeability this time, the custom colors has it's own halo bg

Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	packages/SystemUI/res/drawable-hdpi/halo_bg.png
	packages/SystemUI/res/drawable-mdpi/halo_bg.png
	packages/SystemUI/res/drawable-nodpi/bubble_l.9.png
	packages/SystemUI/res/drawable-nodpi/bubble_r.9.png
	packages/SystemUI/res/drawable-xhdpi/halo_bg.png
	packages/SystemUI/res/values/colors.xml
	packages/SystemUI/src/com/android/systemui/statusbar/halo/HaloProperties.java

Change-Id: Icfbdfa2e0f44527a80f1e9365a243a654c61a9a2

Conflicts:
	packages/SystemUI/res/layout/halo_speech.xml
	packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java
	packages/SystemUI/src/com/android/systemui/statusbar/halo/HaloProperties.java

Conflicts:
	packages/SystemUI/res/values/colors.xml

Conflicts:
	packages/SystemUI/res/values/colors.xml

Conflicts:
	packages/SystemUI/res/values/colors.xml
Fix circle not theming

Conflicts:
	packages/SystemUI/res/layout/halo_bubble.xml
HALO cleanup

Conflicts:
	packages/SystemUI/res/drawable-nodpi/bubble_l_custom.9.png
	packages/SystemUI/res/drawable-nodpi/bubble_r_custom.9.png

Change-Id: I21e2535c6ae2fdc8e03bd7fe07b6a9a8751884d8

Conflicts:
	packages/SystemUI/res/layout/halo_speech.xml
HALO: Speech bubble, fix padding
Some changes

Conflicts:
	core/res/res/values/dimens.xml
	packages/SystemUI/res/layout/halo_speech.xml

Change-Id: I3a9befc64915fbba9b9bbe421a936f3ef5d63906

Conflicts:
	packages/SystemUI/res/values/dimens.xml
HALO: speech padding updates

Thanks daxx
Fixes.
HALO: Cleanup drawables

Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	packages/SystemUI/res/drawable-nodpi/bubble_l.9.png
	packages/SystemUI/res/drawable-nodpi/bubble_l_custom.9.png
	packages/SystemUI/res/drawable-nodpi/bubble_r.9.png
	packages/SystemUI/res/drawable-nodpi/bubble_r_custom.9.png