If the insets change, "mWidth/mHeight" won't change as it's based on the window frame (not the surface size), we need to track when the insets change and call HardwareRenderer.setup with the new values. Bug: 28257246 Bug: 28368990 Change-Id: Ida304b57c4671d010d1cf7b370674c9453841c97