Framework-base-core: Italian translation

Change-Id: If21ad6430295a1557acf0b22b28b258a471845b6
SystemUI: it Translation polishing

Removed untranslatable rows.I copy/pasted them without
translating but after seeing some Josue's reviews about
other commits i'm realizing that "cleaner is better" lol

Change-Id: Ib0dd24940f230799235a1f46aaeb773b4ddaaf56
SystemUI: Add missing hdpi resources for left gravity recent panel

Change-Id: Ic2915cb7be01be9e66620e4d7edc530e0d75b404
SystemUI: FR Translation

Change-Id: Id1b6943dea0cb45e855db655227536cbf1158d25
Core: FR Translation

Change-Id: Ifced4dfcfc83cf08afdbb47913c2c12c3adbb6ea
Keyguard: it translation string add

Added a missing string for the discharging percentage
in the lockscreen.

Change-Id: I433ea096859ebb4714a5773564d5f35e45e65077
FB: Slimrecents background color && transparency [2/2]

PS: now setting sticks through reboots and TRDS state
        changes. also, add reset to default color option.

PS: when resetting to default, use TRDS (png) resources
        instead of custom color

PS: remove LSN dependency

PS: make default background setting cognizant of
        recent panel gravity setting to display
        correct background resource
Change-Id: Icf0259ce45d416364d6e7a7a8c2038f6c4c0cbde
SystemUI: add missing status bar image

PS: resize to hdpi

Change-Id: I5c3218a8e819e8c047d5e2371d866bfd97a2e0fe
Keyguard: FR Translation add missing string

Change-Id: I3eae88f2e34569b0bf80e717afe118f7542cb53f
Remove HOVER

Revert "HOVER: Don't treat touch outside event as true if is animating"

This reverts commit 4c52b377b2fab44e28d002fd879a33b5cfab9c7a.

Revert "HOVER: Respect screen limits when adding view"

This reverts commit 58c00a347c6d4cd2ae724100e06d7c461c06c236.

Revert "HOVER: Fix notification content not being updated"

This reverts commit 612831db077518525241cee04dd765a9dd5ec7a7.

Revert "HOVER: Ensure to clear after reparenting all notifications"

This reverts commit 3626cd1ec6f5103dfada9d1e2cf96c855236a294.

Revert "HOVER: Update to PS7"

This reverts commit 1c14bb3c3e98b9a6427fa83a9032e623b3dbeb97.

Revert "Hover notification timeout [1/2]"

This reverts commit 1ecc3b34fc8c8ff90d53aa6cb8a10ddcdd03077e.

Revert "HOVER: Theme Engine compatibilities and some resources tweaks"

This reverts commit 89552eb4cb9c55c89550800cdd3036e2df2629cf.

Conflicts:
	packages/SystemUI/res/values/slim_dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Change-Id: Iecdc124fc72bf2af33f37b890256d0fc3a3424b9

Revert "HOVER: Option to exclude topmost app [1/2]"

This reverts commit fef11c6854ed36da33a4d9344a98afac74efa6d2.

Revert "HOVER: Disabling HOVER isn't necessary at all [1/2] …"

This reverts commit 7b402e2d2d8357ea59ad4fa28e4781c178a07df6.

Revert "HOVER: Add QS Tile [1/2]"

This reverts commit 817a364114a4a8d4dff8cf79b397652322a63b14.

Conflicts:
	core/java/com/android/internal/util/slim/QSConstants.java
	packages/SystemUI/res/values-es/slim_strings.xml
	packages/SystemUI/res/values/slim_strings.xml
	packages/SystemUI/src/com/android/systemui/quicksettings/HoverTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Change-Id: I411bb0e3f4d1695f52dc3b1dcc00f75e4dc32baa

Revert "HOVER: Option to disable HOVER-Button in StatusBar [1/2]"

This reverts commit 737083e435185daa0203b7add2e18e81a4e98d25.

Revert "Master switch to disable Hover [1/2]"

This reverts commit bdf18a3156cca67f6c7ad4a86d45f60eff932d4c.

Revert "HOVER: Options to exclude non-clearable and low priority notifications [1/2]"

This reverts commit c851a31e9356d11a3a5ad9bd1a10d2de85f3e100.

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

Change-Id: Ie34b213847f303b38e3586ebbbcda832dc3c4fd7

Revert "HOVER [1/2]"

This reverts commit 2e326de5bd74614020e18d83458f6f4c4ea71dd3.

Conflicts:
	core/java/android/app/INotificationManager.aidl
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/slim_dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/notification/HoverLayout.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Change-Id: Ieae74eb392313e77835e7858caa7855578d55852
fix

Change-Id: I2640df293af91ad19e9d10c24cfeddc2a9a73d0f
HOVER [1/2]

Notifications refined:
The way you handle with the incoming notifications defines how much you enjoy your device.
Hover shows you those notifications when you need them in a beautiful card that briefly appears
on your screen. For a detailed look of the notification, you can swipe down to expand some more
info, or you can tap it to open the related app using PA’s floating mode.

Introducing Hover:
https://plus.google.com/107979589566958860409/posts/DC4KyDd1cDC
https://plus.google.com/107979589566958860409/posts/BtWoGpNd8Fq

This is revision 4 of the original base by @D4rKn3sSyS . Hover works by moving the
notification view from statusBar container to Hover’s one and re-themes notifications
in the process. When hover is active it is the owner of the view, special care must
be taken to not  manipulate the statusbar reference while hoveris active.
Hover’s view state is managed by a handler based timer. When any touch event is received
or a gesture completed the timer is restarted, upon expiration of the timer hover is
hidden or will show next notification in the list if there is one (or more) to show.
The timer along with animation listeners  regulates the rate at which Hover can process new
notifications, acting as a spam filter for noisy applications. Upon first run a dialog is
displayed explaining Hover to new users. More infos in code’s documentation.

Todo:
- Swipe up to dismiss only the hover window not the notification in status bar.
- Transparent support has been tweaked a bit but needs a more proper solution
- Edge gap fix for Theme Engine themes overriding notifications draws
- Long press action(s)
- MInor tweaks noted in the code’s comments

CONTRIBUTORS:
@D4rKn3sSyS
@BigBrother1984
@Anu6is
@beerbong
@aaronpoweruser
@David96
@linuxman94

Drawables by @arzbhatia

Signed-off-by: Jesus David <jesdga95@gmail.com>
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Signed-off-by: Curtis Mayers <curtis.mayers@gmail.com>
Signed-off-by: Yamil Ghazi <stevewatersy@gmail.com>
Signed-off-by: Aaron Gascoigne <atlrudeboi1@gmail.com>
Signed-off-by: David L.-W. <david.leppla.weber@gmail.com>
Signed-off-by: Evan Anderson <evan@thelinuxman.us>
Conflicts:
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
	packages/SystemUI/res/values/pa_dimens.xml
	packages/SystemUI/res/values/pa_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	services/input/InputWindow.cpp
	services/java/com/android/server/NotificationManagerService.java

Conflicts:
	packages/SystemUI/res/values/liquid_dimens.xml
	packages/SystemUI/res/values/liquid_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	services/java/com/android/server/NotificationManagerService.java

Conflicts:
	core/java/android/app/INotificationManager.aidl
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
	packages/SystemUI/res/values/liquid_dimens.xml
	packages/SystemUI/res/values/slim_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/tv/TvStatusBar.java
	services/java/com/android/server/NotificationManagerService.java

Change-Id: If83452272440cd175bb2c061c3755b5b8e3e5e5c
HOVER: Fix a couple of things:

- Handle Ticker properly. Update mTicking, call related statements
  and disable ticker for blacklisted apps only when hover is off.
- Remove a bad patch when you release your finger, there is no need and
  along with showCurrentNotification() call at setNotification() can even
  be a bad call.
- Notification removal is already done at BaseStatusBar. Remove useless code.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
StatusBarView: Ensure to not overload in/out animations

- Post animate call in main thread, thanks @David96
- Handle animation checking current view visibility

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Signed-off-by: David L.-W. <xD_e-mail@gmx.de>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
ExpandHelper: Improve one finger expanding forced handling

Instead of force returning false if view is null, setup a boolean
to force it with custom views like hover. Cherry-picked from CM.

Also request disallow intercept on drag started.

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

Conflicts:
	packages/SystemUI/src/com/android/systemui/ExpandHelper.java

Change-Id: Ifde0bccda5f042f4c07a84aa74a402fda4974b11
StatusBarView: Avoid unnecessary calls to mHandler.post()

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Signed-off-by: David L.-W. <xD_e-mail@gmx.de>
HOVER: Options to exclude non-clearable and low priority notifications [1/2]

Change-Id: I0563a5a05f697202d11343451c481d8a150717d5

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

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

Conflicts:
	core/java/android/provider/Settings.java
Master switch to disable Hover [1/2]

Change-Id: I928bf5c42fb4a33109198475cc136bd86f11056d

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

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

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

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

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

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
HOVER: Option to disable HOVER-Button in StatusBar [1/2]

If the button is hidden, user can activate Hover in the Settings instead

Change-Id: I76e99da7a83b6a5dd35c2965b311009dfc819085

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
HOVER: Option to only show up in Fullscreen-Mode [1/2]

Change-Id: I913fce9e54fc0c79f0b3406a4173bb4b55fd6e25