Fix AppInfo drop target bug

Repro:
 - Pick up a shortcut from Workspace
 - Drop on AppInfo
 - Observe extra screen on right has not been removed

Change-Id: I6c68df27094d964308cc6e2a95917010784725a6
Trebuchet : Add folder on folder checks

- Check if the new folder can accomodate all items
- Don't expand folder if trying to drop folder on folder

Change-Id: I208e3afd4ee6aeeea01928fc77e136d6085c4fdc
Automatic translation import

Change-Id: I24f731b62ff72523ea540c438560d8fcfe15f9b7
Trebuchet: Don't show protected apps options in restricted profiles.

Change-Id: I6fb32d39e25150fdc65669c452784ab60e9f3115
JIRA: 4668
Issue: https://jira.cyanogenmod.org/browse/CYAN-4668
Trebuchet: Draw the dynamic grid image dynamically

This commits makes it possible to draw the image which previews
the selected grid dynamically.

Change-Id: I7c029f06110afdf1fe62145a079bba76166bb690
After getting an update to rebind items after getting updates for protected components, strip empty screens

Change-Id: Ic269e7c8c233b34c8cdf638f2c794bd0e5bf668a
Automatic translation import

Change-Id: I7703a0e4b9c453368e7765c92c502b4af140f43b
Fix for shadow folders.

Repro:
  - Set low animation scale (.3-.5)
  - Pkill Trebuchet
  - Open home screen and click open folder with ~12+

https://jira.cyanogenmod.org/browse/CYAN-4907

Change-Id: Ib927101e72674d5ffa3733f5c093c3f9970fa273
Settings adapter should use the position and partition values

Fixes:
https://jira.cyanogenmod.org/browse/BACON-587

Change-Id: Ie935c51ea1e68eaa7da64b23eaf2ae28a630a3bb
Fix AppInfo drop target getting cut off when search bar is off.

https://jira.cyanogenmod.org/browse/CYAN-4665

Change-Id: Id1db2c19430bb5c617ab53383fd25625980e9acf
Fix for workspace showing outline after live settings changes

Change-Id: Ia60d8541b91e0ea9f65c8551aff1cfea7ae5c3fa
Fix spacing issues on devices with/without nav-bar in overview settings panel

Change-Id: I329b63b780e5727307770e076bf03e3bc4d82dd0
When reloading dynamic grid, reload restore page first.

Change-Id: I05c1d1faf61ecd79abf15d4ab84a689b7e0cb2ac
Fix: Sort apps before opening AppDrawer to reflect the
most recent counts.

Repro:
 Clear Trebuchet data
 Drawer Sorting mode of Launch Count
 Launch App1 twice
 Launch App2 once
 Open drawer, note App1 ordered before App2
 Launcher App2 two more times
 Open drawer, note position hasn't updated

Change-Id: I9d85627f5dc86bc753a1e6f22911ee39a8d78b5e
Fix HideIcon behavior in Folders

https://jira.cyanogenmod.org/browse/CYAN-5022

Change-Id: I6da2e8ee4b3ab4fede10553a422f5520eb6e1293
Automatic translation import

Change-Id: I377f8bdb75bf90570fbd2c4b974362824beeeb57
Trebuchet: fix expanded desktop with GEL integration

On leaving the GEL activity, we were setting extra flags, which affected
global sensitivity. We actually don't have to do any extra cleanup and
unset any flags, so let's just remove the code!

Change-Id: I111f2e4c62017841e0148f7172ad097e00962385
Signed-off-by: Roman Birg <roman@cyngn.com>
Merge branch 'cm-11.0' into stable/cm-11.0

Change-Id: Ic9b8a3947f66de030093181e8586c606dcdc0699