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
Trebuchet : Wallpaper picker check if cursor null

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

Change-Id: Ib303b0ace9c4b834be0b61727b8512b5e326a949
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
Trebuchet: Fix layout on sw320dp devices

Before: http://i.imgur.com/luxulCl.png
After: http://i.imgur.com/Wvk1QQo.png

Change-Id: I22f8bd02e1f135d8f8f062b34429d5230aac71e9
Trebuchet: ES translations

- Transifex export

Change-Id: Ic3ac88c9d1d1952cd057185b709656b0bcafbca7
Trebuchet: RU translation

Change-Id: I90f5aeaa58ed5a97f616119e41aa942940b10d77
Trebuchet: copyright info should be translatable

For some languages, there is a standard on copyright strings.
Also, "project" is definitely a localizable word, so let's
make this string translatable here.

Change-Id: Ided3eb193333445784640e64cde7d1239cdfa35c
Trebuchet: Initial DE translation

Change-Id: Ib16810584df94960353b893107a1189f47a916e6
Trebuchet: IW translation

 - Transifex export

Change-Id: I32a9f21f25773f750a5b3e4d369348cf9a332464
Trebuchet: PT-BR Translations

Change-Id: I67aafc73cae2870aa2310eb48b2e2829fcb4e721
Trebuchet: EL translations

Change-Id: I5eed306a4bf39ef0020e2abac8472b983e490d7f
Trebuchet: DA translation

Patchset 4: 2 unneeded strings removed

Change-Id: I9dee441a45d982c792cf2aa613533ce378eca728
Trebuchet: NL translation

Change-Id: I61b4ecc026347019dd6dfc0012ee96130044c62f