Loading services/core/java/com/android/server/wm/DragState.java +5 −2 Original line number Diff line number Diff line Loading @@ -360,8 +360,6 @@ class DragState { mCurrentX = x; mCurrentY = y; final int myPid = Process.myPid(); // Move the surface to the given touch if (SHOW_LIGHT_TRANSACTIONS) Slog.i( TAG_WM, ">>> OPEN TRANSACTION notifyMoveLw"); Loading @@ -376,7 +374,10 @@ class DragState { if (SHOW_LIGHT_TRANSACTIONS) Slog.i( TAG_WM, "<<< CLOSE TRANSACTION notifyMoveLw"); } notifyLocationLw(x, y); } void notifyLocationLw(float x, float y) { // Tell the affected window WindowState touchedWin = getTouchedWinAtPointLw(x, y); if (touchedWin == null) { Loading @@ -392,6 +393,8 @@ class DragState { } } try { final int myPid = Process.myPid(); // have we dragged over a new window? if ((touchedWin != mTargetWindow) && (mTargetWindow != null)) { if (DEBUG_DRAG) { Loading services/core/java/com/android/server/wm/Session.java +2 −0 Original line number Diff line number Diff line Loading @@ -357,6 +357,8 @@ final class Session extends IWindowSession.Stub if (SHOW_LIGHT_TRANSACTIONS) Slog.i( TAG_WM, "<<< CLOSE TRANSACTION performDrag"); } mService.mDragState.notifyLocationLw(touchX, touchY); } return true; // success! Loading Loading
services/core/java/com/android/server/wm/DragState.java +5 −2 Original line number Diff line number Diff line Loading @@ -360,8 +360,6 @@ class DragState { mCurrentX = x; mCurrentY = y; final int myPid = Process.myPid(); // Move the surface to the given touch if (SHOW_LIGHT_TRANSACTIONS) Slog.i( TAG_WM, ">>> OPEN TRANSACTION notifyMoveLw"); Loading @@ -376,7 +374,10 @@ class DragState { if (SHOW_LIGHT_TRANSACTIONS) Slog.i( TAG_WM, "<<< CLOSE TRANSACTION notifyMoveLw"); } notifyLocationLw(x, y); } void notifyLocationLw(float x, float y) { // Tell the affected window WindowState touchedWin = getTouchedWinAtPointLw(x, y); if (touchedWin == null) { Loading @@ -392,6 +393,8 @@ class DragState { } } try { final int myPid = Process.myPid(); // have we dragged over a new window? if ((touchedWin != mTargetWindow) && (mTargetWindow != null)) { if (DEBUG_DRAG) { Loading
services/core/java/com/android/server/wm/Session.java +2 −0 Original line number Diff line number Diff line Loading @@ -357,6 +357,8 @@ final class Session extends IWindowSession.Stub if (SHOW_LIGHT_TRANSACTIONS) Slog.i( TAG_WM, "<<< CLOSE TRANSACTION performDrag"); } mService.mDragState.notifyLocationLw(touchX, touchY); } return true; // success! Loading