Trebuchet : Decouple iconMask and iconBack dependency

Allow them to function independently in the case where
an icon pack only has one of them.

Change-Id: I7b72bd689eac7e411f88cb5fbacea3604d45036b
Trebuchet: AST translations4

Change-Id: I442036f4dce0f1469e464158fe434273ef3f6607
Trebuchet: fix icons disappearing from the hotseat (dock).

The "occupied" array for the hotseat should be [numHotseatIcons][1], not
[numColumns+1][numRows+1], because numHotseatIcons can be >1 more than
numColumns; so the rightmost hotseat icon is lost on restart if, for
example, the workspace is 5x5 but there are 7 hotseat icons.

Change-Id: If68b5fa3d668302601320cd0cb96498afe4fc200
trebuchet: fix custom home transition effect

Change-Id: Ie9d24fd40a2c60834cd4e69564bbb59224b32cb9
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
trebuchet: build headers from internal adapter instance

Trebuchet will be killed if any of its settings changed, so if it is accessed from recents
then the PreferencesActivity is rebuilt from its saved instance and the headers are not filled
by onBuildHeaders, because this is not called.
Just ensure we build the headers from the internal adapter.

Change-Id: I3159daadd715d5cbc0d9bcd377d8bbe51f638d32
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Trebuchet: UG translation

Change-Id: I386f78366a618e07a320811aa8f4db38853616dd
Reorder for GMS

Follow GMS guidelines

Change-Id: I24e36ff5ab3750bea5f715b71de9cabca1933765
Initial translation import

Change-Id: I2abb8e418be8a02399b31af1d7e652b2fc6ae954
Trebuchet : Check if target is null for cancelled events

If a drag is cancelled on the workspace, ensure not to reference
it in onDropCompleted since it will be null as per what DragController
passes in.

Reproduction steps :

Long press a hotseat icon
While dragging it, turn off screen.

Change-Id: If587e7c9c37ea2e24b7f9cc85db8249ab34dd19f
Trebuchet : Fix search bar icon/text disapearing

Repro :

1. Uninstall an application from the app drawer
2. Press back to go to homescreen.
3. The search bar icon/text should be invisible now.

Change-Id: Ie21623cc57cd210a1b45320640bb21fddacb5e91
Fix displaying of the sort order

A bug(?) makes an option of a radio list be checked, once you call setChecked, even with false.
This results in the wrong option beeing checked. Fix this with a switch-case.

Change-Id: If5e0fd9a3f534fa29b8216ace216dad4e456ad53
Automatic translation import

Change-Id: Ia87709d1e6c57d751998641248ac37ea392a7f2b
Oh hey there.

Change-Id: I20441c8a3e41942d8f93476150d192b864f536f9
Theming
Automatic translation import

Change-Id: I6b512dcd3cc0f99f2b1635e86b51b2b58cfa0b78
Trebuchet: Fix capitalization of some strings

* Don't Use Camel Case

Change-Id: I68abd367281a13dc472e5bc4d413a25e63f0e49a
Trebuchet : Don't hideoutlines if in small overview mode

Repro :

Long press homescreen
Observe the gradient backing of each panel
Long press a panel/screen and drop it or rearrange it
Notice the lack of gradient backing

Change-Id: Icac625d8fa11f4751c8dbe775edc5e6093e1a4ed
Theming continued