Merge "Optimize KeybaordView.invalidateAllKeys a bit"

This commit is contained in:
Tadashi G. Takaoka 2011-12-26 06:50:31 -08:00 committed by Android (Google) Code Review
commit 0fe45eac18

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();
}