Launcher3 : Make priveleged app

Enable LOCAL_PRIVILEGED_MODULE for launcher.
This seems to be required to gain widget priveleges by default.

Change-Id: Iae2ce085129b39bcc3591ced5f7938d63cebf722
Launcher3: add missing layout_width and height

fixes launcher3 fc on note 10.1

Change-Id: Ia035d753b30a8294792efba2bc01eb2323431a85
Launcher : Make settings launch/dismiss overview mode

Aosp has the settings icon no-op'd since in the google edition,
it maps to google now search settings. This makes it so it maps to
the settings application.

Change-Id: I5a70705f2e7fde75511868fb351436f072dfabfb
Trebuchet: Default workspace fixes

* Replace AnalogClockWidget by cLock Widget
* Add "no telephony" workspaces files. New favorites:
    - Phone -> Email
    - Contacts -> Calendar
    - Mms -> Contacts
    - Browser -> Browser
* Add sw600dp and sw700dp update workspaces files

Change-Id: I41e81f908339b68df8109611c88ee092b4ab7b9d
Launcher3 : Default workspace improvements

Ported from cm-10.2

Adds support for fallback in default_workspace

Change-Id: I2590ae2d5e3c1b6124061581b9ffa206d611c608
Launcher3 : Port default workspace

Port default workspace from cm-10.2

Change-Id: Ia817baef17e2edc8c384d215f2d2cba07dd21be9
Launcher3 : checkItemPlacement fixes

This patchset addresses two bugs :

1) Incorrect casting of key causes mismatches
2) On hotseat items 2 and above, the occupied hashmap is populated
with the CONTAINER_HOTSEAT key, however if its a new item and its required
cell is not already been taken, the code falls through to the workspace checks.
Make sure hotseat items are treated separately.

Change-Id: I3f22e46940f62a223453bd05314eae2a642c899a
Launcher3 : Enable cling for all devices

Don't limit cling to just phones

Change-Id: If5c1cf4ae39e5dbbac4b3d1a8d2620d365939252
Allow some customization in Launcher3

This patch allows a user to customize:
- Grid with and height
- Default homescreen position
- Visibility of the search bar

These items can be configured in a new Activity, which replaces the system
settings as target of the icon in overview mode.

Shortcomings:
- Bounds for cols, rows and defaultWorkspace may need to be adjusted
- When one of the values changes, the Launcher activity gets recreated
  completely.
- When searchbar is hidden, you also lose the visible hints for the
  remove/appInfo drop targets.

Change-Id: I5006d01f8a85e4daf3c3bb9a3dfb57c70e968878
Launcher3: Add DE translation

Change-Id: Ie917096bffd0bb2710f33a7dd0f8f95fc4afac1d
Launcher3: Add AOSP dummy strings to reduce aapt warnings

Change-Id: Ic0822a86de2fa18bd0eb11d78678fa9cfa72459a
launcher3: Fix shortcut install/uninstall permission name

AOSP 4.4 has a public INSTALL_SHORTCUT/UNINSTALL_SHORTCUT permission.

Change-Id: I5cb5f9c6606bdfa5a50acbc1ae6a7ac0a83b1ac1
JIRA: CYAN-3201
Issue: https://jira.cyanogenmod.org/browse/CYAN-3201
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
LauncherModel : Ensure checkItemPlacement key casting

Ensure the key is casted correctly.

Change-Id: Id0ac5ab878d1d059c138ae294a3eff63bf0d858b
Launcher3: Shift music screen to right

Change-Id: I6af4c503f072fa2f0782048683a9470ac51c8115