diff options
author | 2011-01-27 23:43:02 -0800 | |
---|---|---|
committer | 2011-01-27 23:43:02 -0800 | |
commit | 063a98a7b24f7777f0c4173f5bd09b8f2bceda8e (patch) | |
tree | 8da56f908dd88fd21b943ee6a0dbd7b9297f67d2 /java/src/com | |
parent | 513f1b0454f5ea774a0fd1daa200daa62085c114 (diff) | |
parent | 566630147de5e258b50f5b0db390943bc69775f8 (diff) | |
download | latinime-063a98a7b24f7777f0c4173f5bd09b8f2bceda8e.tar.gz latinime-063a98a7b24f7777f0c4173f5bd09b8f2bceda8e.tar.xz latinime-063a98a7b24f7777f0c4173f5bd09b8f2bceda8e.zip |
Merge "Reuse keyboard view's drawing bitmap if possible" into honeycomb
Diffstat (limited to 'java/src/com')
-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(); } |