Loading core/java/android/view/IWindow.aidl +0 −5 Original line number Diff line number Diff line Loading @@ -129,11 +129,6 @@ oneway interface IWindow { */ void requestAppKeyboardShortcuts(IResultReceiver receiver, int deviceId); /** * Tell the window that it is either gaining or losing pointer capture. */ void dispatchPointerCaptureChanged(boolean hasCapture); /** * Called when Scroll Capture support is requested for a window. * Loading core/java/android/view/ViewRootImpl.java +1 −9 Original line number Diff line number Diff line Loading @@ -8665,7 +8665,7 @@ public final class ViewRootImpl implements ViewParent, MSG_REQUEST_KEYBOARD_SHORTCUTS, deviceId, 0, receiver).sendToTarget(); } public void dispatchPointerCaptureChanged(boolean on) { private void dispatchPointerCaptureChanged(boolean on) { final int what = MSG_POINTER_CAPTURE_CHANGED; mHandler.removeMessages(what); Message msg = mHandler.obtainMessage(what); Loading Loading @@ -9437,14 +9437,6 @@ public final class ViewRootImpl implements ViewParent, } } @Override public void dispatchPointerCaptureChanged(boolean hasCapture) { final ViewRootImpl viewAncestor = mViewAncestor.get(); if (viewAncestor != null) { viewAncestor.dispatchPointerCaptureChanged(hasCapture); } } @Override public void requestScrollCapture(IScrollCaptureCallbacks callbacks) { final ViewRootImpl viewAncestor = mViewAncestor.get(); Loading core/java/com/android/internal/view/BaseIWindow.java +0 −4 Original line number Diff line number Diff line Loading @@ -157,10 +157,6 @@ public class BaseIWindow extends IWindow.Stub { public void requestAppKeyboardShortcuts(IResultReceiver receiver, int deviceId) { } @Override public void dispatchPointerCaptureChanged(boolean hasCapture) { } @Override public void requestScrollCapture(IScrollCaptureCallbacks callbacks) { try { Loading libs/WindowManager/Shell/src/com/android/wm/shell/common/SystemWindows.java +0 −3 Original line number Diff line number Diff line Loading @@ -338,9 +338,6 @@ public class SystemWindows { @Override public void requestAppKeyboardShortcuts(IResultReceiver receiver, int deviceId) {} @Override public void dispatchPointerCaptureChanged(boolean hasCapture) {} @Override public void requestScrollCapture(IScrollCaptureCallbacks callbacks) { try { Loading services/core/java/com/android/server/input/InputManagerService.java +1 −10 Original line number Diff line number Diff line Loading @@ -2592,17 +2592,8 @@ public class InputManagerService extends IInputManager.Stub /** * Called when the focused window has changed. * * @return true if we want to request a configuration refresh. */ boolean notifyFocusChanged(IBinder oldToken, IBinder newToken); /** * Called by the client to request pointer capture. * * @return true if we want to request a configuration refresh. */ boolean requestPointerCapture(IBinder windowToken, boolean enabled); void notifyFocusChanged(IBinder oldToken, IBinder newToken); } /** Loading Loading
core/java/android/view/IWindow.aidl +0 −5 Original line number Diff line number Diff line Loading @@ -129,11 +129,6 @@ oneway interface IWindow { */ void requestAppKeyboardShortcuts(IResultReceiver receiver, int deviceId); /** * Tell the window that it is either gaining or losing pointer capture. */ void dispatchPointerCaptureChanged(boolean hasCapture); /** * Called when Scroll Capture support is requested for a window. * Loading
core/java/android/view/ViewRootImpl.java +1 −9 Original line number Diff line number Diff line Loading @@ -8665,7 +8665,7 @@ public final class ViewRootImpl implements ViewParent, MSG_REQUEST_KEYBOARD_SHORTCUTS, deviceId, 0, receiver).sendToTarget(); } public void dispatchPointerCaptureChanged(boolean on) { private void dispatchPointerCaptureChanged(boolean on) { final int what = MSG_POINTER_CAPTURE_CHANGED; mHandler.removeMessages(what); Message msg = mHandler.obtainMessage(what); Loading Loading @@ -9437,14 +9437,6 @@ public final class ViewRootImpl implements ViewParent, } } @Override public void dispatchPointerCaptureChanged(boolean hasCapture) { final ViewRootImpl viewAncestor = mViewAncestor.get(); if (viewAncestor != null) { viewAncestor.dispatchPointerCaptureChanged(hasCapture); } } @Override public void requestScrollCapture(IScrollCaptureCallbacks callbacks) { final ViewRootImpl viewAncestor = mViewAncestor.get(); Loading
core/java/com/android/internal/view/BaseIWindow.java +0 −4 Original line number Diff line number Diff line Loading @@ -157,10 +157,6 @@ public class BaseIWindow extends IWindow.Stub { public void requestAppKeyboardShortcuts(IResultReceiver receiver, int deviceId) { } @Override public void dispatchPointerCaptureChanged(boolean hasCapture) { } @Override public void requestScrollCapture(IScrollCaptureCallbacks callbacks) { try { Loading
libs/WindowManager/Shell/src/com/android/wm/shell/common/SystemWindows.java +0 −3 Original line number Diff line number Diff line Loading @@ -338,9 +338,6 @@ public class SystemWindows { @Override public void requestAppKeyboardShortcuts(IResultReceiver receiver, int deviceId) {} @Override public void dispatchPointerCaptureChanged(boolean hasCapture) {} @Override public void requestScrollCapture(IScrollCaptureCallbacks callbacks) { try { Loading
services/core/java/com/android/server/input/InputManagerService.java +1 −10 Original line number Diff line number Diff line Loading @@ -2592,17 +2592,8 @@ public class InputManagerService extends IInputManager.Stub /** * Called when the focused window has changed. * * @return true if we want to request a configuration refresh. */ boolean notifyFocusChanged(IBinder oldToken, IBinder newToken); /** * Called by the client to request pointer capture. * * @return true if we want to request a configuration refresh. */ boolean requestPointerCapture(IBinder windowToken, boolean enabled); void notifyFocusChanged(IBinder oldToken, IBinder newToken); } /** Loading