diff options
author | 2011-01-28 16:33:34 +0900 | |
---|---|---|
committer | 2011-01-28 16:33:34 +0900 | |
commit | 566630147de5e258b50f5b0db390943bc69775f8 (patch) | |
tree | e2988e37a5cb204913bd4b0cb316d8a2c224b5e9 /java/src | |
parent | c768bcf92f668822f44affe4181b84ec4f65aa2f (diff) | |
download | latinime-566630147de5e258b50f5b0db390943bc69775f8.tar.gz latinime-566630147de5e258b50f5b0db390943bc69775f8.tar.xz latinime-566630147de5e258b50f5b0db390943bc69775f8.zip |
Reuse keyboard view's drawing bitmap if possible
bug: 3398660
Change-Id: I0c7f7c084904990563ac62b5d9cf829f86855661
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/keyboard/KeyboardView.java | 3 |
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(); } |