commit | 0fe45eac184ca1165867fd0763258d1b5cacb106 | [log] [tgz] |
---|---|---|
author | Tadashi G. Takaoka <takaoka@google.com> | Mon Dec 26 06:50:31 2011 -0800 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon Dec 26 06:50:31 2011 -0800 |
tree | 01af7713f805b59ee8311bc92a2343dfc3474da6 | |
parent | 07145a3706d7692806b9c53548795fa2dbf8f4f0 [diff] | |
parent | 9f6485a448eeae7a3491d83ec19d21a9d55416fb [diff] |
Merge "Optimize KeybaordView.invalidateAllKeys a bit"
diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardView.java b/java/src/com/android/inputmethod/keyboard/KeyboardView.java index a174fd9..abc220e 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardView.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardView.java
@@ -944,6 +944,7 @@ public void invalidateAllKeys() { mDirtyRect.union(0, 0, getWidth(), getHeight()); mBufferNeedsUpdate = true; + mInvalidatedKey = null; invalidate(); }