am 0fe45eac: Merge "Optimize KeybaordView.invalidateAllKeys a bit"
* commit '0fe45eac184ca1165867fd0763258d1b5cacb106': Optimize KeybaordView.invalidateAllKeys a bitmain
commit
841ccf4a5a
|
@ -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