am 363f0d9f: am 81defc6a: Merge "Sync ViewOverlay size init with RenderNode" into lmp-mr1-dev

* commit '363f0d9fd92129c07d769e43fbc9b46dacc01a3b':
  Sync ViewOverlay size init with RenderNode
This commit is contained in:
Chris Craik
2014-12-02 17:13:08 +00:00
committed by Android Git Automerger

View File

@@ -130,8 +130,11 @@ public class ViewOverlay {
super(context);
mHostView = hostView;
mAttachInfo = mHostView.mAttachInfo;
mRight = hostView.getWidth();
mBottom = hostView.getHeight();
// pass right+bottom directly to RenderNode, since not going through setters
mRenderNode.setLeftTopRightBottom(0, 0, mRight, mBottom);
}
public void add(Drawable drawable) {