Fix Settings not working

    As this is being shipped with and aapt flag rename, the settings is
    being constructed with our custom namespace instead of AOSP. Net result,
    without this patch, settings don't get read properly.

    Simple test, toggle Search Bar visibility (with and without this).

Change-Id: I2683f713e04dda57f00c5e2b491e6b2498dae850
Trebuchet : Use consistent shared_prefs

PreferenceFragments by default use getDefaultSharedPreferences(), which
is inconsistent with the rest of our settings.

This patch ensures its consistent and renames SETTINGS_KEY away from
package name space to avoid future confusion.

Change-Id: Ic6323a6b392e01b27f7ba20cbd61ec9705bc5845
Trebuchet : Layout fixes

- Fixes excessive padding of searchbar on tablets
- Ensures proper use of numCols regardless of screen width

Change-Id: I42215db1ae328be16b0d996c26a25431442bcf97
Fix invisible voice search

When 'show search bar' is disabled, you can still tap the voice
search icon's position (even though view == gone) to launch search
action.

Partial fix borrowed from 10.2 http://review.cyanogenmod.org/#/c/21584

PS2: Use available variables instead of changing one to protected
PS3: Fix mis-paste

Change-Id: I268d0e1108992028fd324d42e7dc8b6e11c757eb
Trebuchet : Show cling for allapps overview

This patchset adds a cling for the all apps indicator overview mode
as by default it is not very discoverable.

PS4: Strings + fixes

Change-Id: If7e91a0e123c0fbc4d4f4ed6ef35c1ff7b1abfb1
trebuchet: fix shortcut permissions

Change-Id: I7be91884a7e0f041d7ffbdf7efdb8a33dc344d4f
JIRA: CYAN-3363
Issue: https://jira.cyanogenmod.org/browse/CYAN-3363
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Trebuchet : Show allapps cling only if app drawer

Change-Id: I3f9a72fc020d2e0b4f57856bfcd6503581a3749e
Merge "trebuchet: fix shortcut permissions" into cm-11.0
Trebuchet : Wallpaper picker check if cursor null

Check if media store has any images (cursor != null).

Change-Id: Ib303b0ace9c4b834be0b61727b8512b5e326a949
Merge "Trebuchet : Wallpaper picker check if cursor null" into cm-11.0
Trebuchet : default workspace

Change default screen to screen 0 (far left screen) to match
Launcher3. Clean up default layouts for various device types.

Also fix missing layouts for allAppsCling.

Update: Replace Books with Hangouts
Update: Clean and add non-GMS fallbacks
Update: Fix MMS being in sw70-non-telephony
Update: Cast checkitemplacement to long
Update: Layouts and avoid rounding issues for sw600dp

Change-Id: If0c3ad5ffcb8e2ee4b811251c0360f7512c31fdb
Trebuchet: Cleanup preferences

* Remove misleading summary from Homescreen settings. It says "Screens and wallpaper"
but there are no wallpaper settings inside. It also seems to be unnecessary,
removing it brings us inline with the rest of the preferences
* Remove unused string: preferences_interface_title
* Hide Drawer & Dock settings until we actually have some settings there.
Users freak out when they tap these preferences and nothing happens.

Change-Id: Iedd4c809a0a8fbf17e22a65b941fcd43e662da3f
Merge branch "cm-11.0" into kylin