Optimize KeybaordView.invalidateAllKeys a bit

Change-Id: I118c792219f649b7297477c78fa725c678650159
main
Tadashi G. Takaoka 2011-12-26 21:13:36 +09:00
parent 77e7532dab
commit 9f6485a448
1 changed files with 1 additions and 0 deletions

View File

@ -944,6 +944,7 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
public void invalidateAllKeys() {
mDirtyRect.union(0, 0, getWidth(), getHeight());
mBufferNeedsUpdate = true;
mInvalidatedKey = null;
invalidate();
}