Home
last modified time | relevance | path

Searched refs:InputWindowHandle (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/native/services/inputflinger/dispatcher/
DTouchState.h25 class InputWindowHandle; variable
40 std::vector<sp<android::InputWindowHandle>> portalWindows;
48 void addOrUpdateWindow(const sp<android::InputWindowHandle>& windowHandle, int32_t targetFlags,
50 void addPortalWindow(const sp<android::InputWindowHandle>& windowHandle);
55 sp<InputWindowHandle> getFirstForegroundWindowHandle() const;
DInputDispatcher.h114 const std::unordered_map<int32_t, std::vector<sp<InputWindowHandle>>>&
177 void enqueueFocusEventLocked(const InputWindowHandle& window, bool hasFocus) REQUIRES(mLock);
194 sp<InputWindowHandle> findTouchedWindowAtLocked(int32_t displayId, int32_t x, int32_t y,
294 std::unordered_map<int32_t, std::vector<sp<InputWindowHandle>>> mWindowHandlesByDisplay
296 void setInputWindowsLocked(const std::vector<sp<InputWindowHandle>>& inputWindowHandles,
299 std::vector<sp<InputWindowHandle>> getWindowHandlesLocked(int32_t displayId) const
301 sp<InputWindowHandle> getWindowHandleLocked(const sp<IBinder>& windowHandleToken) const
304 bool hasWindowHandleLocked(const sp<InputWindowHandle>& windowHandle) const REQUIRES(mLock);
310 const std::vector<sp<InputWindowHandle>>& inputWindowHandles, int32_t displayId)
314 std::unordered_map<int32_t, sp<InputWindowHandle>> mFocusedWindowHandlesByDisplay
[all …]
DTouchedWindow.h22 class InputWindowHandle; variable
28 sp<android::InputWindowHandle> windowHandle;
DTouchState.cpp23 using android::InputWindowHandle;
54 void TouchState::addOrUpdateWindow(const sp<InputWindowHandle>& windowHandle, int32_t targetFlags, in addOrUpdateWindow()
79 void TouchState::addPortalWindow(const sp<InputWindowHandle>& windowHandle) { in addPortalWindow()
124 sp<InputWindowHandle> TouchState::getFirstForegroundWindowHandle() const { in getFirstForegroundWindowHandle()
DInputDispatcher.cpp245 static bool haveSameToken(const sp<InputWindowHandle>& first, const sp<InputWindowHandle>& second) { in haveSameToken()
526 sp<InputWindowHandle> window = getWindowHandleLocked(token); in getDispatchingTimeoutLocked()
702 sp<InputWindowHandle> touchedWindowHandle = in shouldPruneInboundQueueLocked()
802 sp<InputWindowHandle> InputDispatcher::findTouchedWindowAtLocked(int32_t displayId, int32_t x, in findTouchedWindowAtLocked()
811 const std::vector<sp<InputWindowHandle>> windowHandles = getWindowHandlesLocked(displayId); in findTouchedWindowAtLocked()
812 for (const sp<InputWindowHandle>& windowHandle : windowHandles) { in findTouchedWindowAtLocked()
850 int32_t displayId, const std::vector<sp<InputWindowHandle>>& portalWindows) const { in findTouchedGestureMonitorsLocked()
855 for (const sp<InputWindowHandle>& portalWindow : portalWindows) { in findTouchedGestureMonitorsLocked()
1077 void InputDispatcher::enqueueFocusEventLocked(const InputWindowHandle& window, bool hasFocus) { in enqueueFocusEventLocked()
1166 sp<InputWindowHandle> focusedWindowHandle = in dispatchKeyLocked()
[all …]
/frameworks/native/libs/input/
DInputWindow.cpp152 InputWindowHandle::InputWindowHandle() { in InputWindowHandle() function in android::InputWindowHandle
155 InputWindowHandle::~InputWindowHandle() { in ~InputWindowHandle()
158 void InputWindowHandle::releaseChannel() { in releaseChannel()
162 sp<IBinder> InputWindowHandle::getToken() const { in getToken()
166 void InputWindowHandle::updateFrom(sp<InputWindowHandle> handle) { in updateFrom()
/frameworks/native/services/inputflinger/
DInputManager.cpp94 class BinderWindowHandle : public InputWindowHandle {
107 std::unordered_map<int32_t, std::vector<sp<InputWindowHandle>>> handlesPerDisplay; in setInputWindows()
109 std::vector<sp<InputWindowHandle>> handles; in setInputWindows()
111 handlesPerDisplay.emplace(info.displayId, std::vector<sp<InputWindowHandle>>()); in setInputWindows()
/frameworks/native/include/input/
DInputWindow.h202 class InputWindowHandle : public RefBase {
244 void updateFrom(const sp<InputWindowHandle> handle);
253 explicit InputWindowHandle();
254 virtual ~InputWindowHandle();
/frameworks/base/services/core/java/com/android/server/wm/
DInputMonitor.java49 import android.view.InputWindowHandle;
71 private InputWindowHandle mFocusedInputWindowHandle;
256 void populateInputWindowHandle(final InputWindowHandle inputWindowHandle, in populateInputWindowHandle()
437 final InputWindowHandle mInvalidInputWindow = new InputWindowHandle(null, mDisplayId);
476 final InputWindowHandle inputWindowHandle = w.mInputWindowHandle; in accept()
565 private static void populateOverlayInputInfo(final InputWindowHandle inputWindowHandle, in populateOverlayInputInfo()
591 InputWindowHandle inputWindowHandle = new InputWindowHandle(null, displayId); in setTrustedOverlayInputInfo()
DTaskPositioningController.java32 import android.view.InputWindowHandle;
60 InputWindowHandle getDragWindowHandleLocked() { in getDragWindowHandleLocked()
94 final InputWindowHandle h = getDragWindowHandleLocked(); in showInputSurface()
DInputConsumerImpl.java28 import android.view.InputWindowHandle;
38 final InputWindowHandle mWindowHandle;
75 mWindowHandle = new InputWindowHandle(mApplicationHandle, displayId); in InputConsumerImpl()
DLetterbox.java27 import android.view.InputWindowHandle;
195 final InputWindowHandle mWindowHandle;
211 mWindowHandle = new InputWindowHandle(null /* inputApplicationHandle */, in InputInterceptor()
DDragState.java51 import android.view.InputWindowHandle;
159 final InputWindowHandle h = getInputWindowHandle(); in showInputSurface()
262 InputWindowHandle mDragWindowHandle;
277 mDragWindowHandle = new InputWindowHandle(mDragApplicationHandle, in InputInterceptor()
331 InputWindowHandle getInputWindowHandle() { in getInputWindowHandle()
DTaskPositioner.java54 import android.view.InputWindowHandle;
101 InputWindowHandle mDragWindowHandle;
236 mDragWindowHandle = new InputWindowHandle(mDragApplicationHandle, in register()
DWatermark.java32 import android.view.InputWindowHandle;
DRecentsAnimationController.java52 import android.view.InputWindowHandle;
812 boolean updateInputConsumerForApp(InputWindowHandle inputWindowHandle,
DDisplayContent.java190 import android.view.InputWindowHandle;
574 private InputWindowHandle mPortalWindowHandle;
5122 private InputWindowHandle createPortalWindowHandle(String name) { in createPortalWindowHandle()
5125 final InputWindowHandle portalWindowHandle = new InputWindowHandle( in createPortalWindowHandle()
DWindowState.java219 import android.view.InputWindowHandle;
561 final InputWindowHandle mInputWindowHandle;
944 mInputWindowHandle = new InputWindowHandle( in WindowState()
2570 int getSurfaceTouchableRegion(InputWindowHandle inputWindowHandle, int flags) { in getSurfaceTouchableRegion()
3460 private void setTouchableRegionCropIfNeeded(InputWindowHandle handle) { in setTouchableRegionCropIfNeeded()
/frameworks/base/core/java/android/view/
DInputWindowHandle.java32 public final class InputWindowHandle { class
118 public InputWindowHandle(InputApplicationHandle inputApplicationHandle, int displayId) { in InputWindowHandle() method in InputWindowHandle
DSurfaceControl.java206 InputWindowHandle handle); in nativeSetInputWindowInfo()
2544 public Transaction setInputWindowInfo(SurfaceControl sc, InputWindowHandle handle) { in setInputWindowInfo()
/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherInterface.h28 class InputWindowHandle; variable
108 const std::unordered_map<int32_t, std::vector<sp<InputWindowHandle>>>&
/frameworks/base/core/jni/
Dandroid_hardware_input_InputWindowHandle.h27 class NativeInputWindowHandle : public InputWindowHandle {
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DStubTransaction.java25 import android.view.InputWindowHandle;
96 InputWindowHandle handle) { in setInputWindowInfo()
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp147 class FakeWindowHandle : public InputWindowHandle, public FakeInputReceiver {
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp777 std::vector<sp<InputWindowHandle>> windowHandles; in displayRemoved()

12