Fix CustomContent display issue.

During certain transition animations, the X offset value is computed,
taking into account the translation value set by the transition effect.
Preserved the right behavior by using child.getLeft() to compute the value,
without including the X translation.

Change-Id: I25acf6e4bae1db9a2c12525125a4994e16c40dfe
Fixed small Search Bar bug

Repro:
 - Clear Trebuchet app data
 - Disable setting for Search Bar
 - Enable setting for Search Panel
 - Move shortcut/folder in workspace
 - Enter and exit Search Panel
 - Observe small Search Bar

Change-Id: I3d7cd9d5629f3250de6cb22ca9223b67ef558348
Fix GEL integration for RTL mode.

In RTL mode, the Google Now activity starts to the right,
so to return to Trebuchet, the left edge must be swiped.

Change-Id: Ib8869570307b6186e7e9ea19520ed21418a175fb
Automatic translation import

Change-Id: Icd1d5eb4480a643de3310e1d58457c3cfefcf9a9
Trebuchet: Adjust the grid size screen layout for sw600dp

Comfortable - before: http://i.imgur.com/yZ1cM9q after: http://i.imgur.com/DQNsEfD
Cozy        - before: http://i.imgur.com/EeAgygS after: http://i.imgur.com/T7Nuauz
Condensed   - before: http://i.imgur.com/b2nTUxJ after: http://i.imgur.com/ZoAI4gn
Custom:     - before: http://i.imgur.com/H2rrvr3 after: http://i.imgur.com/RSQxwfQ

PS2: Makes dynamic_grid_size_image overridable
PS3: Fix a typo in the commit message

Change-Id: Ic6b68953758a691cd032ba27030fa7a688efb293
Trebuchet: Change multiplication sign

Change-Id: I3f91cb651af53f5d2a4005477011b7a48e4a46e7
Use ArrayListExtra for broadcasting theme changes [2/2]

Change-Id: I2931915eba0cde2d66577bcb83ba8521ce034158
Clean up protected apps code (2/2)

- Work with actual component names instead of converting them between
  ComponentName and String all the time
- Some misc. coding style adaptions

Change-Id: I7401ea471d618936e880e6d542744f80f89ce40f
Fix Settings Panel bug causing frozen overview.

Previously, toggling search panel would freeze Overview mode
until the user exited back to the regular launcher. Also, the current
page would be lost. Fix this by computing the new scroll bounds
immediately when the setting is toggled.

Change-Id: Ib3587cfcea61e15b3d8b280113ce986cc57f2f9d
Fix CMHome related bugs.

1. If "Search Panel" is enabled, when dragging an app icon to a new
   screen, the 'glow' effect for the next page will highlight the entire
   height of the screen instead of just the workspace view height as
   expected. This bug exists in launcher3 and GEL. Fixed here.
2. Older versions of the Google Search app do not respond to
   Intent.ACTION_ASSIST and can crash Trebuchet when it tries to launch
   Google Now that way. Instead, use searchManager.globalSearchActivity(),
   which matches the method we use to detect Google Now's presence anyway
   (+ being "search app" agnostic!)

Change-Id: I5e5b3504272e2a2ca656accc32164d1ae9e52077
Merge "Clean up protected apps code (2/2)" into cm-11.0
Trebuchet: always set initial wallpaper offsets

After a fresh boot, computeScrollOffset() always returns false. So the
result was the offsets were never properly being set on a fresh boot and
they were only being applied on first drag of the home screen, which
finally triggered computeScrollOffset() to return true.

Change-Id: Iccaedd742bed861fca1f50dd54e2e4537fd4c9b0
Minimize greedy UI updating for Live Settings

Change-Id: Ib475af4bea7d45e36ca87be6b66a60d15018aa5b
Smooth out slide in/out animation for the overview panel

Change-Id: I742d2248b7cf70767f9e776d88db6fc1aaa767ce
Trebuchet: launch framework WallpaperPicker

After long pressing on the home screen and selecting "Wallpapers"
Trebuchet's activity was being called.

We have now switched to framework's WallpaperPicker activity, so open
that one instead.

Change-Id: I97165350f1b995ae921eebbc126eb3e0e2396963
Signed-off-by: Roman Birg <roman@cyngn.com>
Fixing issues introduced in 31cc95a0:
 - HotSeat needs go visible/invisible when transitioning in and out of overview mode
 - Animation listener for setting alphas needs to remove itself when the animation finishes

Change-Id: I654c0e700c9bc3f77692ed653f8158cec1f2430b
Fixes:
 - Hide search bar if live settings are toggled in overview mode
 - Restore workspace outlines in overview mode after live settings changes

Change-Id: Iee9894f674c78ba3c82486de97e34d610c04a2a5
Fix for disappearing icons bug.

Change-Id: I5c23a70e4202f07082b63eabe7afe67edd0d78b3
Protected Apps:
 - Fix remove all apps button bug

Change-Id: I6029831878923b40f3db1b0dc6cfbd81ccc10d33
trebuchet: remove CALL_PHONE permission

The CALL_PHONE is not needed by the Launcher, and is a costly money permission.

Change-Id: I262dabf192706fd28115c6896cb5673491fe2e5d
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>