Loading core/java/android/view/SurfaceView.java +6 −1 Original line number Diff line number Diff line Loading @@ -500,7 +500,12 @@ public class SurfaceView extends View { // While creating the surface, we will set it's initial // geometry. Outside of that though, we should generally // leave it to the RenderThread. if (creating || !mRtHandlingPositionUpdates) { // // There is one more case when the buffer size changes we aren't yet // prepared to sync (as even following the transaction applying // we still need to latch a buffer). // b/28866173 if (sizeChanged || creating || !mRtHandlingPositionUpdates) { mSurfaceControl.setPosition(mScreenRect.left, mScreenRect.top); mSurfaceControl.setMatrix(mScreenRect.width() / (float) mSurfaceWidth, 0.0f, 0.0f, Loading Loading
core/java/android/view/SurfaceView.java +6 −1 Original line number Diff line number Diff line Loading @@ -500,7 +500,12 @@ public class SurfaceView extends View { // While creating the surface, we will set it's initial // geometry. Outside of that though, we should generally // leave it to the RenderThread. if (creating || !mRtHandlingPositionUpdates) { // // There is one more case when the buffer size changes we aren't yet // prepared to sync (as even following the transaction applying // we still need to latch a buffer). // b/28866173 if (sizeChanged || creating || !mRtHandlingPositionUpdates) { mSurfaceControl.setPosition(mScreenRect.left, mScreenRect.top); mSurfaceControl.setMatrix(mScreenRect.width() / (float) mSurfaceWidth, 0.0f, 0.0f, Loading