android: disable reinitialization on orientation change or resume

Change-Id: Ia87f27395acdf35a50d37212106674e9f9f34c0d
android: create thumbnail with "paintTile" LOKit function

Additionally remember the document dimensions, so there is no
continuous call to "getDocumentWidth" and "getDocumentHeight"

Change-Id: I269b47178a25da28de8df98d0bd45211fb64797d
android: Log tile managing times

Change-Id: I70fe5f1ca6553e2b3282ad0f5c227c5c0bc31f86
android: import changes from Fennec to get ScreenShotLayer

Change-Id: I1b72af85a906aef289d1be086274941094df4f96
android: fix thumbnail() to produce a valid bitmap

Change-Id: I578ac9482f334765c71a66421a3fa2dfb85e22b3
android: thumbnail as background when tile is not available

Change-Id: Id38e40b3fdb46adeb19e6a1e106775391c5da455
android: convert to ImmutableViewportMetrics

Change-Id: Idd5e604541577f6b812a971e585cee9b089d2b4b