Fix package mismatch

Change-Id: I97ee13ad3507d083374791f58b1bf8c727d7c793
Fix desktop alignment when Search Bar is hidden

When search bar is hidden all items shift to the left too far.

Screenshots for reference:
Search Bar Visible
https://docs.google.com/open?id=0B9gh9VnHidOdLVFNTUtKbzdWNlE

Search Bar Hidden (Widget is too far to the left)
https://docs.google.com/open?id=0B9gh9VnHidOdZ1dXVVFONDVrVHc

Change-Id: I2a37b88ae4cb082143c49371b51a1578660e9321
Merge "Fix desktop alignment when Search Bar is hidden" into mr1-staging
Trebuchet : Add a pref to set hotseat icon's number

This adds a preference for the hotseat (Launcher main bar/dock)

- Choose the number of icons on the hotseat
- Choose the place of the applications drawer button by drag'n'drop

- Translations in English + French

This is usefull for big screen devices.
You can set from 1 to 9 buttons on the hotseat.
You can set the app button where you want by drag'n'drop.
Default values are keeped unchanged so there is no pb with first screen tuto + no pb with default shortcuts.

Demo video : https://www.dropbox.com/s/2wamj9yr1s3woxl/Trebuchet-hotseat-icons.mp4

Demo apk   : https://www.dropbox.com/s/psqab2gyivcyo3d/CmoaToto%20Trebuchet.apk

PatchSet 1 : initial commit

PatchSet 2 : coding style

PatchSet 3 : - Remove prefs for tablet
             - AllApps Button move by Drag'n'Drop (instead of pref)

PatchSet 4 : searchbar & deletebar don't dis/appear while dragging AllApps button)

PatchSet 5 : dropOnFlingToDeleteTarget disabled for AllApps button

PatchSet 6 : - Fix shortcuts errors in database
             - Set docks pref disabled for large screen programmatically
             - Fix english strings/french trads

Change-Id: I21f6a4610ed16c8780ccf6e2acffcf6e07511457

Conflicts:
	src/com/cyanogenmod/trebuchet/Hotseat.java
	src/com/cyanogenmod/trebuchet/LauncherModel.java
	src/com/cyanogenmod/trebuchet/Workspace.java
Wallpaper Hack

Normally the wallpaper is drawn by the system in a separate window.
This means that the wallpaper can often be drawn out of sync with
the launcher. This hack gets the wallpaper bitmap and draws it
manually (in sync with the rest of the launcher). This increases
performance greatly.

Change-Id: I6aaf9c574cabcf2ee0bfeef1076140421108331d
Wallpaper Hack: Default to false

Change-Id: I777fa2b8b6d4f0bc496b618977dfe4bea43ad211
LauncherModel: Fix possible NPE

Change-Id: I97a48c62a4b111b2b6a20093e8b7346fec9ae3ea
oops

Change-Id: I9d8c3860851ea3eda632c8059d5a50a785722c4e
Workspace: Update wallpaper offsets to match hack for recent apps window

Change-Id: I16ad78f059ca4689b54b9e6d3806d5d89157d2f2
Workspace: Don't refresh wallpaper visibility on live wallpapers

Change-Id: I82872980ec4aa795ab14a1bdad90069701a983ed
This is causing a lot of weirdness on tablets' hotseats, + mild weirdness (such as roaming AllApps icon) on phones

Revert "Trebuchet : Add a pref to set hotseat icon's number"

This reverts commit e74a54343ce7896b5005154e8bcbc7d5f06c7808
Fix various cell size/placement failures

Restore the original L2 Shortcut/widget sizing logic, adapted to
the device's (default or user-configured) grid size at the time of
cell creation. Using onMeasure + padding doesn't look as good, and
renders different results depending on the device density.

This results in the same workspace peripheral padding as L2,
regardless of grid size.

Change-Id: Ic220b63df31322365d48a7fb593d7d9a170057f3
Merge remote-tracking branch 'upstream/mr1-staging' into aosp-jb