Fix bug where key previews do not show up.

Bug: 6852705

Change-Id: Ib90107a5dde774b4d6c1e570629ce7f7eaff44bc
This commit is contained in:
Tom Ouyang 2012-07-20 17:57:04 +09:00
parent 528738341d
commit c022a9f8d4

View file

@ -888,6 +888,7 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
super.onDraw(canvas); super.onDraw(canvas);
canvas.translate(mParams.mCoordinates[0], mParams.mCoordinates[1]); canvas.translate(mParams.mCoordinates[0], mParams.mCoordinates[1]);
PointerTracker.drawGestureTrailForAllPointerTrackers(canvas, mGesturePaint); PointerTracker.drawGestureTrailForAllPointerTrackers(canvas, mGesturePaint);
canvas.translate(-mParams.mCoordinates[0], -mParams.mCoordinates[1]);
} }
} }