Fix CellLayout UNSPECIFIED exception (issue 11627191)

Change-Id: Id2f840a804c51e8c61bb28882796059584e4c8bb
Add logging for NPE (issue 11627249)

Change-Id: I75352f9eb1249fa5cc46d05cd7c168a868c6f7b7
Hooks for subclasses to react to home presses.

This provides the nessecary hooks for GEL so that it can prevent
scrolling to the home screen when a search is open, instead choosing to
dismiss the search.

Bug: 11128544
Change-Id: I3c1b67bc271c1342db4a0abac364f2923bdeba3a
Use AsyncTasks instead of creating new threads

Change-Id: If166869dfbeb84d4dee2203f5b98a22b9d20719d
Change the way view ids are assigned (issue 11627801)

Change-Id: I4d9c0542ea3ac581c4a9f4da68824f0b498ea337
Fix issue where custom content would be invisible (issue 11644432)

-> Also making sure to clear the widget frame when moving to custom
   content.

Change-Id: I460c707f1b6ec34bc6d78c9df43a613d9bfced3c
Use the icon bounds for all calculations.

- Fixes a drag and drop issue when the dynamic
grid scales icons down, due to the drawable bounds
not being equal to their bitmap sizes.

Change-Id: If7c68b51131de7bac3195a2619e22340f7789432
Require valid arrays when adding and binding new Apps. (Bug 11627095)

Change-Id: I8f2a4dc70bf376d804885f433ab20064823ebaac