Squash all 4.2.2 changes into one

Guard tiles by synchronized block.

Tiles might be touched in different threads.

bug:7490351
Change-Id: Ie30d43db90cf63f7a6ec6438faabfcae8bca151a

Remove orientation compensation

 Bug: 7446056

Change-Id: I6f00617c890961e4d56545406bac9682356c0b15

Minor fix for some FP rounding errors in crop.

Bug 7566505

Change-Id: Ic3b849b26e0435e0e51a3ddd80c25d8e6e9949aa

Added locking to ImageLoader.

Bug: 7471850
Change-Id: Ifbaf6e3547fad546a6faa94694bc7d3c7bb4711c

Fix moving points in the Curves editor

bug:7632994
Change-Id: Ibd0b22594ad9be52e32ea860976861e4619fb513

Fix wrong colors in Curves

bug:7633765
Change-Id: Ie6d0c175af6a1ade8f225107408ad03e73a289d3

Fix flashing in geometry panel

bug:7406402
Change-Id: If2c6156349b90dfc57c56284ad6d821731e48e1a

Fix overdraw in FilterShow activity

bug:7634701
Change-Id: I2da3e3fdb1ef853fa1a0340a1697e5a013ee87f2

Fix history panel overlap

bug:7545507
Change-Id: I06236f3025191896c851af1d84dc48a4dde18b1d

Add new borders assets

bug:7386268
Change-Id: I026c36bdad32ae6a34ce1d5ec83abff319296d30

Fix overdraw the correct way...

bug:7634701
Change-Id: Ifa7061dac35e948120c1a481c40bcf107f7ee6e1

Set crop ratio to unconstrained by default.

bug:7634466
Change-Id: I4b0e82ca77ab19527293334cc96e7b80f2d75535

Fix potential crash
(regression introduced with fix for 7406402)

bug:7406402
Change-Id: I7ba92b4cb4fe2976583eba54a5bd25a29eae9d5c

Fix transparency issue under the spinner.

bug:7634701
Change-Id: I907ebbb373958350b1b17dc86723e430441a01dd

Added dashed diagonal for crop.

Bug: 7634466
Change-Id: I14c778766d4b00495b2f5f6fa5f87f4877f76381

(re-)add vertical/horizontal lines when moving Curves
Align histogram with Curves grid.

bug:7361722
Change-Id: I327f3fb0ba844cc09f8b899e59f74d368478d30a

Change themes

 Bug: 7587841

Change-Id: Ie283c23015ae94ba6eeb69ba55a0523899718d4e

Remove unneeded border asset

bug:7668120
Change-Id: Ib258fe12655bd33c08257975cac995bc54c7abb2

Prevent Camera UI in Gallery

  Bug: 7668856

At startup, the PhotoView wouldn't execute the onFullScreenChanged
callback, so the Camera UI believed it was in Camera.

Change-Id: I6794c2a5a4eb06d39161a681b7a0afc27d5e4b3f

Handle the case where the orientation column is not here...

bug:7537610
Change-Id: I4f64891a789358c20206aea3033fd17514199d62

Fix NPE in PhotoPage

Bug: 7673141
Change-Id: I264f28d127f47e5f4f8c6a7c2df1c021401d03f2

Force a layout pass if the display rotation changes

 Bug: 7687209
 DisplayRotation is used to map camera orientation to the display and is
 updated in layoutContentPane(). However, in the case of a 180 rotate
 framework doesn't send an onConfigurationChanged nor does the layout
 dimensions change, thus layoutContentPane doesn't fire and we don't
 update mDisplayRotation, resulting in an upside-down preview. To handle
 this, check each draw whether or not the display rotation has changed
 and if it has force a layout pass.

Change-Id: I610ea235d1bf7de2743f4cdb8e42ba1ddcb41404

Disabled further filters after Tiny Planet.

Bug: 7407176

Temporary fix.  We need to handle filters changing the image
geometry properly.

Change-Id: I405b83acddec4e3b88a8a1d70dc534df15c37f1c