Merge "Optimize KeybaordView.invalidateAllKeys a bit"
This commit is contained in:
commit
0fe45eac18
1 changed files with 1 additions and 0 deletions
|
@ -944,6 +944,7 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
|
||||||
public void invalidateAllKeys() {
|
public void invalidateAllKeys() {
|
||||||
mDirtyRect.union(0, 0, getWidth(), getHeight());
|
mDirtyRect.union(0, 0, getWidth(), getHeight());
|
||||||
mBufferNeedsUpdate = true;
|
mBufferNeedsUpdate = true;
|
||||||
|
mInvalidatedKey = null;
|
||||||
invalidate();
|
invalidate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue