Loading services/core/java/com/android/server/wm/DragState.java +1 −1 Original line number Diff line number Diff line Loading @@ -169,7 +169,7 @@ class DragState { t.setLayer(mInputSurface, Integer.MAX_VALUE); mTmpClipRect.set(0, 0, mDisplaySize.x, mDisplaySize.y); t.setWindowCrop(mSurfaceControl, mTmpClipRect); t.setWindowCrop(mInputSurface, mTmpClipRect); } /** Loading services/core/java/com/android/server/wm/InputMonitor.java +3 −3 Original line number Diff line number Diff line Loading @@ -435,10 +435,10 @@ final class InputMonitor { if (mAddPipInputConsumerHandle) { // Update the bounds of the Pip input consumer to match the window bounds. w.getBounds(mTmpRect); // The touchable region is relative to the surface top-left mTmpRect.top = mTmpRect.left = 0; pipInputConsumer.layout(mInputTransaction, mTmpRect); // The touchable region is relative to the surface top-left mTmpRect.offsetTo(0, 0); pipInputConsumer.mWindowHandle.touchableRegion.set(mTmpRect); pipInputConsumer.show(mInputTransaction, w); mAddPipInputConsumerHandle = false; Loading Loading
services/core/java/com/android/server/wm/DragState.java +1 −1 Original line number Diff line number Diff line Loading @@ -169,7 +169,7 @@ class DragState { t.setLayer(mInputSurface, Integer.MAX_VALUE); mTmpClipRect.set(0, 0, mDisplaySize.x, mDisplaySize.y); t.setWindowCrop(mSurfaceControl, mTmpClipRect); t.setWindowCrop(mInputSurface, mTmpClipRect); } /** Loading
services/core/java/com/android/server/wm/InputMonitor.java +3 −3 Original line number Diff line number Diff line Loading @@ -435,10 +435,10 @@ final class InputMonitor { if (mAddPipInputConsumerHandle) { // Update the bounds of the Pip input consumer to match the window bounds. w.getBounds(mTmpRect); // The touchable region is relative to the surface top-left mTmpRect.top = mTmpRect.left = 0; pipInputConsumer.layout(mInputTransaction, mTmpRect); // The touchable region is relative to the surface top-left mTmpRect.offsetTo(0, 0); pipInputConsumer.mWindowHandle.touchableRegion.set(mTmpRect); pipInputConsumer.show(mInputTransaction, w); mAddPipInputConsumerHandle = false; Loading