Fix default QS quantitiy behaviour

- fixes the wrong calc of tile per row if the user is on a fresh
intall (happens when flip to landcape and back)
- ignore duplicate tiles per row feature on tablets and all devices
which do not have flipsettings

Change-Id: Ic6aa8e51f50b9abf978a72580ea8c648e43614d4
Frameworks: TRDS new 4.3 png's

Change-Id: I1aab6a5d0e1c5e5f015a48060ead36a656c50941
Remove redundant click action from date & time container layout

Unlike AOSP, we  provide separate actions for both the clock
and date & time views in the expanded notification area. AOSP has a
single action for both views.

This commit removes the redundant AOSP click action completely. In
addition, the clock and date views are modified to occupy the entire
height of the layout to increase the clickable area.

Change-Id: I78f4353c9ae4646f14124a38ef94e44ab920a067
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
JWR changes

Change-Id: I503ddfe0077806674ed6ddf6191c7a92fdc53eb7
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

Signed-off-by: scott <scott@ubuntu.com>

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

Change-Id: I367ea593ab63a44b05876efd1c24543394374c5b
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
Signed-off-by: scott <scott@ubuntu.com>

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/phone/PhoneStatusBar.java
HALO persistent notifications less pronounced + fixes

Change-Id: Ib485468303dfd7ca7fea17d7c755a3ee4e075940
Quick Settings: Option to use floating window (2/2)

Allows the option of launching preferences from the quicksettings menu in a
floating window

Change-Id: Ie54545a4dc423484b6106a540f106467c25d8c49
Signed-off-by: Evan Anderson <evan1124@gmail.com>
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	core/java/android/provider/Settings.java
Derpster Mcgee.
Signed-off-by: scott <scott@ubuntu.com>

Change-Id: I4468ced818880467f1ae40071fc7e8c62cd88c19
Merge branch 'jb43' of git://github.com/scotthartbti/android_frameworks_base into ir
AudioService: Go back to virtual SCO calls on multi-function units

Direct raw audio channels to these HFP devices is resulting in
dead audio on hangouts, on all devices. Until that is figured
out and/or fixed, go back to establishing a virtual call to open
up the audio channels

Change-Id: I794e75eed96ac09cfbb1c9d28c90d3161cfb7149
Framework: Fix blacklist support

Copy & Paste isn't a good friend for programmers ;)

Change-Id: Ic6ab81462530f614b9e896cb098590241accb192
Fix ringer mode being unneededly changed by setting ringer mode volume to 0.

When having set the ringer mode to silent on a device with vibrator and
calling setStreamVolume() for the ringer stream again (e.g. in one of
the volume control dialogs in the settings app), the ringer mode is set
to vibrate, although there's no reason to do so.

Fix that by remembering the last non-normal (that is, either silent or
vibrate) ringer mode and using that when setting the stream volume to 0.

Change-Id: Idb4a34743c0db5da61b3354889212fbdc9e3ee81
JIRA: CYAN-1403
Frameworks: reenable all keyboard features for 3rd party keyboards

use like quickpeek statusbarservice for it.
Gives us as well for other future features more
flexibility

Change-Id: I1e9e2497212d27eacbbb63f64961361aaed9aee7
Frameworks: do not depend on quick_settings_num_columns value

the overlay handling from google does not really make sense
and brought us already on 4.2 on weird behaviours sometimes.
Due that we have included tiles per row and duplicate feature
it makes sens to only depend on the values which are programmatically
set. As well I did not find one device or theme which manipulates
the mentioned values.

So let us do it all programmatically and the weird behaviours are
a problem of the past

cheers

Change-Id: I4ce7c5e9c30377983e61880315f60bfbd886a8a4
Fixes.

Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	graphics/java/android/graphics/ColorFilterMaker.java

Change-Id: I2094e462c9d7a26d19b48e21ea5668e9b63fe0db
HALO: Cleanup drawables

Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	packages/SystemUI/res/drawable-nodpi/bubble_l.9.png
	packages/SystemUI/res/drawable-nodpi/bubble_r.9.png
	packages/SystemUI/src/com/android/systemui/statusbar/halo/HaloProperties.java

Change-Id: Icc2eb2609440a02e338f112bd1c20f4714ade7fe
HALO: Fix padding, missing speech bubble
--- HALO 2.0 ---

1. Shows the actual notifications as they come
2. Multitouch, you can interact with notifications while tasking
3. Tons of bugfixes

show actual notification in halo

Change-Id: I29f73c2714e3854f1d885c56baaef5552be2ff91

halo multitouch, interactive notifications

Change-Id: I710fddb53688923babcb1307c05cfb0f01995855

...

Change-Id: I8bcf92df9fd5591d775083fa8e666b7d04378227

calc coords properly, margins fixed

Change-Id: Ic3b107f80cd07ff50567d0591fabbad0c0b546f7

halo

new content pngs
up and down pointed thingies
margins
content size/max width
...

Change-Id: I681fbefe27a87c08774291fc9a58cdafaff4d28f

last bugfixes

Change-Id: I5b4648f6d526f637b9bed1147f3f7be08486c4a0

copyright

Change-Id: Iad42c452c948739235b7b5823b91403b134ca1cc
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	packages/SystemUI/res/drawable-nodpi/bubble_l.9.png
	packages/SystemUI/res/drawable-nodpi/bubble_r.9.png
	packages/SystemUI/res/layout/halo_speech.xml
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java
	packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java
	packages/SystemUI/src/com/android/systemui/statusbar/halo/HaloProperties.java

Conflicts:
	packages/SystemUI/res/drawable-nodpi/bubble_l.9.png
	packages/SystemUI/res/drawable-nodpi/bubble_r.9.png
	packages/SystemUI/res/layout/halo_speech.xml
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java
	packages/SystemUI/src/com/android/systemui/statusbar/halo/HaloProperties.java
HALO 2.0 Custom color settings update

Signed-off-by: scott <scott@ubuntu.com>

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

Change-Id: If5861194941366136a6c36c53f248911b9750c9e