Optimize KeybaordView.invalidateAllKeys a bit
Change-Id: I118c792219f649b7297477c78fa725c678650159main
parent
77e7532dab
commit
9f6485a448
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue