aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2011-01-27 23:45:07 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-01-27 23:45:07 -0800
commite820fdfeb045a7c61c971532578ed02144b5c3e6 (patch)
tree8da56f908dd88fd21b943ee6a0dbd7b9297f67d2 /java/src
parent294d1c08f4ee87710237fffc6866a7ab11153aaf (diff)
parent063a98a7b24f7777f0c4173f5bd09b8f2bceda8e (diff)
downloadlatinime-e820fdfeb045a7c61c971532578ed02144b5c3e6.tar.gz
latinime-e820fdfeb045a7c61c971532578ed02144b5c3e6.tar.xz
latinime-e820fdfeb045a7c61c971532578ed02144b5c3e6.zip
am 063a98a7: Merge "Reuse keyboard view\'s drawing bitmap if possible" into honeycomb
* commit '063a98a7b24f7777f0c4173f5bd09b8f2bceda8e': Reuse keyboard view's drawing bitmap if possible
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/keyboard/KeyboardView.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardView.java b/java/src/com/android/inputmethod/keyboard/KeyboardView.java
index 582705866..19f1fa8ee 100644
--- a/java/src/com/android/inputmethod/keyboard/KeyboardView.java
+++ b/java/src/com/android/inputmethod/keyboard/KeyboardView.java
@@ -1374,8 +1374,7 @@ public class KeyboardView extends View implements PointerTracker.UIProxy {
mHandler.cancelAllMessages();
dismissPopupKeyboard();
- mBuffer = null;
- mCanvas = null;
+ mDirtyRect.union(0, 0, getWidth(), getHeight());
mMiniKeyboardCache.clear();
requestLayout();
}