diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-09-30 21:09:40 +0200 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-10-04 17:47:43 +0200 |
commit | aadf10bbf062e925fd612cc797bbd56955c18160 (patch) | |
tree | 5bbdffa4ccd5dcd87f4260cd6bfc731988acb3ff /android | |
parent | 54335c64b592010848b21b6fc947ef4222bebd0f (diff) |
android: clear all tiles in "refresh"
Change-Id: I6a7e9070160e8d4bbd6ad5cd1bfa2dc18e66a45d
Diffstat (limited to 'android')
-rw-r--r-- | android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java index 3bfa03aa59b5..ef75ae59adf8 100644 --- a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java +++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitThread.java @@ -46,6 +46,8 @@ public class LOKitThread extends Thread { mApplication.getLayerController().getView().changeCheckerboardBitmap(bitmap, mTileProvider.getPageWidth(), mTileProvider.getPageHeight()); } + mLayerClient.clearAllTiles(); + RectF rect = new RectF(0, 0, mTileProvider.getPageWidth(), mTileProvider.getPageHeight()); mController.setPageRect(rect, rect); mController.setForceRedraw(); @@ -53,7 +55,6 @@ public class LOKitThread extends Thread { private void changePart(int partIndex) { mTileProvider.changePart(partIndex); - mLayerClient.clearAllTiles(); refresh(); } |