Automatic Translation Import

Change-Id: Ia241eeb58ba4e2726f10c5250ffaae9e5af9de52
PackageManager: Fix logic around upgrading text display

* This code has all threads writing into the integer keeping track of
  the number of packages at once.
* Make this integer an atomic one, preventing all threads from racing
  when updating it.

Change-Id: I727306f8ab20edb7ec2a955ca20e6de0146c7737
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>
Merge "PackageManager: Fix logic around upgrading text display" into kitkat
Merge "StatusBarView: Ensure to not overload in/out animations" into kitkat
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>
Merge "Automatic Translation Import" into kitkat
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>
Merge "ExpandHelper: Improve one finger expanding forced handling" into kitkat
Themes: Theme immersive mode cling.

Change-Id: I5521b93f69e859c40cfd62eb4a367562200074e9
Merge "StatusBarView: Avoid unnecessary calls to mHandler.post()" into kitkat
Merge remote-tracking branch 'aospa/kitkat' into kitkat
SystemUI: Always show translucent decor on recents panel

Change-Id: Id3e371f841b065ba6ac7693d96b38504354b4fd9
Fix progress of VolumePanel never refresh

On some occasions when disconnecting a headset it is possible for
the volume slider to enter a state where it is no longer updates.

The cause was that ProgressBar enters a state where a call to
doRefreshProgress no longer updates the progress.

The solution was to make sure mRefreshIsPosted is set to false
when mRefreshProgressRunnable is removed.

Change-Id: I1929e4916a582d09a7ec4911eb4f0052ad7a51ba
Signed-off-by: houst0nn <houstonn@gmail.com>
HOVER: Disallow notifications from foreground active app

The Ticker doesn't do this, but Hover can be less intrusive.

making sure original authorship is maintained however:

Code update by @Der-Schubi
https://github.com/LiquidSmooth/android_frameworks_base/commit/f2357de23e3ee544cd465eee62e7f58a167a9575

HOVER: exclude topmost app

Originally taken from Tigger2014:
https://github.com/Tigger2014/android_frameworks_base-1/commit/5af0e1c84e86e9b4e6947163aaf58e9ab541079d

Change-Id: Ibe954e343b7bf47fde684eaa2a65de5018a7f355
Do not launch floating window when on default launcher

We only do this when user is on the default launcher
because if the user was on a non-default launcher,
he/she must have been there for some purpose and we
do not want to throw him/her back to the default
launcher incase he/she exits the app with HOME button.
Pie: Fix Pie positioning when PIE_ALWAYS_AT_RIGHT

Locking Pie to a single physical side of the screen makes perfect
sense when it's done on the short side of the screen (bottom in
portrait) as then Pie is more easily swipeable in at all times, but
a user might instead prefer being able to quickly swipe in from the
right or left hand side in portrait which becomes cumbersome when the
device is turned to landscape as the user is then forced to reach to
the middle of the long side of the screen which becomes located at
the bottom making it harder to access Pie.

The PIE_ALWAYS_AT_RIGHT value should be used to solve this issue
by forcing Pie to relocate itself to the right hand side just
like with the stock navigation bar.

Change-Id: I9b4dd3cee3fa7d85194389640dcedc02fa522530
Frameworks: apple can do...we can do as well

incredible apple engineers speeded up the overall UI and reduced per default slightly
the animation scales. Well we do as well and reduce it from 1 to 0.75...smooth, looks well
and does not break anything

Change-Id: Icbcc889e49c8d3ab24cf2b1c10bbe0e8bf7e7637
Enable Install Non-Market Apps

* This will allow us to install market apps by default.  I always hate having to go check that silly box everything I'm install something from SDCard!

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
Disable Package Verifier

* Besides being an annoyance this might actually suck more battery.  Unless people know what this and actually want it I say disable it!

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>