fixes for halo/hover from codex, slight changes by me.

Change-Id: Ic0978fc28510ea68d08c3f64201a1800a26faf7e
Signed-off-by: scott <scott@ubuntu>
quiethours: do not play screenshot sound

If we are in quiet hours do not play any sound when we take a screenshot.

Change-Id: Ideaa5c11611b7e3c9d6ca4d27e801cd2fb4eadac
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Increase available volume levels

Increase media volume levels from 15 to 30 to have more precise
volume control instead of having only 15 levels from 0-100%

For example, when listening to music it is often the case that one
volume level is too quiet and the next one higher is too loud (especially with Headsets).

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I7a8750c901967ce3c818fb9c33b082af6b86b8d6

Conflicts:
	media/java/android/media/AudioManager.java
add the missing "L" drawables
from @LorDClockaN
	modified:   packages/SystemUI/res/drawable-hdpi/ic_sysbar_back.png
	modified:   packages/SystemUI/res/drawable-hdpi/ic_sysbar_back_ime.png
	modified:   packages/SystemUI/res/drawable-hdpi/ic_sysbar_back_land.png
	modified:   packages/SystemUI/res/drawable-hdpi/ic_sysbar_home.png
	modified:   packages/SystemUI/res/drawable-hdpi/ic_sysbar_home_land.png
	modified:   packages/SystemUI/res/drawable-hdpi/ic_sysbar_menu.png
	modified:   packages/SystemUI/res/drawable-hdpi/ic_sysbar_menu_big.png
	modified:   packages/SystemUI/res/drawable-hdpi/ic_sysbar_recent.png
	modified:   packages/SystemUI/res/drawable-hdpi/ic_sysbar_recent_land.png
	modified:   packages/SystemUI/res/drawable-hdpi/ic_sysbar_search.png
	modified:   packages/SystemUI/res/drawable-mdpi/ic_sysbar_back.png
	modified:   packages/SystemUI/res/drawable-mdpi/ic_sysbar_back_ime.png
	modified:   packages/SystemUI/res/drawable-mdpi/ic_sysbar_back_land.png
	modified:   packages/SystemUI/res/drawable-mdpi/ic_sysbar_home.png
	modified:   packages/SystemUI/res/drawable-mdpi/ic_sysbar_home_land.png
	modified:   packages/SystemUI/res/drawable-mdpi/ic_sysbar_menu.png
	modified:   packages/SystemUI/res/drawable-mdpi/ic_sysbar_menu_big.png
	modified:   packages/SystemUI/res/drawable-mdpi/ic_sysbar_recent.png
	modified:   packages/SystemUI/res/drawable-mdpi/ic_sysbar_recent_land.png
	modified:   packages/SystemUI/res/drawable-mdpi/ic_sysbar_search.png
	modified:   packages/SystemUI/res/drawable-xhdpi/ic_sysbar_back.png
	modified:   packages/SystemUI/res/drawable-xhdpi/ic_sysbar_back_ime.png
	modified:   packages/SystemUI/res/drawable-xhdpi/ic_sysbar_back_land.png
	modified:   packages/SystemUI/res/drawable-xhdpi/ic_sysbar_home.png
	modified:   packages/SystemUI/res/drawable-xhdpi/ic_sysbar_home_land.png
	modified:   packages/SystemUI/res/drawable-xhdpi/ic_sysbar_menu.png
	modified:   packages/SystemUI/res/drawable-xhdpi/ic_sysbar_menu_big.png
	modified:   packages/SystemUI/res/drawable-xhdpi/ic_sysbar_recent.png
	modified:   packages/SystemUI/res/drawable-xhdpi/ic_sysbar_recent_land.png
	modified:   packages/SystemUI/res/drawable-xhdpi/ic_sysbar_search.png
	modified:   packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_back.png
	modified:   packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_back_ime.png
	modified:   packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_back_land.png
	modified:   packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_home.png
	modified:   packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_home_land.png
	modified:   packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_menu.png
	modified:   packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_menu_big.png
	modified:   packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_recent.png
	modified:   packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_recent_land.png
	modified:   packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_search.png
Logging in LocalTransport on as default

The logging is LocalTransport.java is enabled by
default.

Change default to false to remove logs, as this class
states that it is only for debug.

Change-Id: Iae63c7b62edbd503c606f0aee671a9579e78843d
Framework: Quiet Hours Extra Daily Times (1/2)

Change-Id: I38301d53b57f6b0525edd2a7e13a2bd5022e7a65
Completely integrate HFM into Settings [4/4]

* Checks if hosts file is correct after completing boot (useful after updating ROM)
* One less package

Change-Id: I103ed99a911cbeb503bb090087a3fee274784b6e

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

Conflicts:
	core/java/android/provider/Settings.java
improve a calculation method for LTE antenna reception level

This proposal will fix a problem that Android devices could
show different levels of antenna bars under the same radio
environment if each device uses different modem.
This behavior makes confusion toward users and others.

That behavior comes from using RSSNR as a metric for
determining antenna bars. Unfortunately, RSSNR does NOT define
performance requirements and error tolerance level in 3GPP.
Therefore, accuracy of RSSNR measurement could be inconsistent
among Android devices or modems.

The patch we would like to contribute here will be offering
Android device to use RSRQ for antenna bar metric instead of RSSNR.

1.)RSRQ, like RSSNR, takes interference into account
   when measuring the radio quality.
   Android already supports measurement of RSRQ.

2.)The performance requirement for RSRQ is already defined in 3GPP.

3.)DOCOMO and other many mobile operators use RSRP and RSRQ
   when designing LTE coverage areas, and alignment here will
   be very beneficial for both users and operators.

Hope this patch helps to improve Android antenna bar accuracy and consistency today.

Change-Id: Id1c3339764294ef51365ab133a1c7b42e14e1800
Signed-off-by: Kensuke Ueda <uedake@nttdocomo.co.jp>
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/res/res/values/slim_symbols.xml
Revert "fixes for halo/hover from codex, slight changes by me."
If its not broke, dont try to fix it... chances are it'll break

This reverts commit bdbc1336b879af3b244e4c18b4bc683dc3d7fe27.
[1/2] Base: implement App circle sidebar

add whitelist app to include into circle view
rebased
make standalone patch

PS.15 : rebased
PS.16 : cleanup

Change-Id: I08d2a3a7e0f8df20e801e585d4cac8547a740a3e
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/res/res/values/probam_strings.xml
	packages/SystemUI/res/values/probam_dimens.xml
	packages/SystemUI/res/values/probam_styles.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Base: App Circle sidebar (add support floating window)

PS.8 : rebased
PS.9 : add support minimize/maximize window

Change-Id: Ied388a0a4054dfaf1d3e6fcdc33dd5aab28565a9
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	packages/SystemUI/res/values/probam_strings.xml
App Circle Sidebar: Support for Configurable Trigger Region[1/2]

Change-Id: Ib89a98e607f48108b1a1fb54f00335a3bc4ff2e7
Base: Sync AOSPA Floating window Changes with AOSB

basic floating window are taken from AOSPA (HALO) by @D4rKn3sSyS

Drawables courtesy of @Alex Cruz thanks to him :)

with heavy change to get this work for multitasking

this feature, has ability to:
1. Moveable window to various position
2. Scaling window with 2 finger like zoom in/out
3. Double tap in actionbar or above window to fullscreen or back to floating window
4. Automatically resize when Snapping into one of side (Top, Bottom, Left, Right)
   (taken from xhalofloatingwindow by @zst123)
5. Automatically switch focus from other app (taken from multiwindow by @xplodwild)
6. Unlimited floating window app (depends on RAM)

this is still under testing, to make fully works
so if there any bug because of this, DO NOT REPORT INTO OMNIROM JIRA

to make app launch using Floating window feature

you must add Intent.FLAG_FLOATING_WINDOW
before start an activity

for example you can look at https://gerrit.omnirom.org/6515

need https://gerrit.omnirom.org/#/c/6561

PS.17 : fix scaling

Change-Id: Iad00c239de7d66e8bb45205ce626d4f08417b7cd
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/java/android/app/Activity.java
	core/res/res/values/probam_strings.xml
	core/res/res/values/probam_symbols.xml
Fix Duplicate styles

Change-Id: Iba1474de4a3b2c7430ca8eb7f5c9b12a0454211a
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/res/res/values/probam_strings.xml
improve expression
Dismiss IME when floating window is dismissed

Previously the IME would be stuck on screen if the
floating window was dismissed while it was showing.

Change-Id: I8ca61b07ed89bae85eabd8db23f87b6f1f0b179f
Signed-off-by: Evan Anderson <evan@thelinuxman.us>
Fix Floating window bug

1. any app in recent apps + launch floating app in home screen
2. close floating app
3. last app in recent apps will launch and close in 0.5 sec

Change-Id: I6fa8605b431ae8f82ca6be34a8fc4b9cab407c9a
Make sure we clean up

pruneDeadThumbnailFile need to close its cursor
in a finally block to avoid leak resouces.

Change-Id: I2646b91970e47ee80a721a2452215b7cae149d10
LIB: SlidingLayer
 an easy way to include an autonomous layer/view that slides from the side of your screen and which is fully gesture ready
Preview: http://www.youtube.com/watch?v=162oD0XPM40
Author: @CesarValiente

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

Conflicts:
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/values/probam_attrs.xml
	packages/SystemUI/res/values/probam_dimens.xml

Change-Id: I68bf7a4c9af928561e2c6970101ea4709ae17323
Revert "improve a calculation method for LTE antenna reception level"

This reverts commit 8ee32b7365c94231daa01eae66e9c6e40b147aba.