Home
last modified time | relevance | path

Searched refs:windowHandle (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DTouchState.cpp54 void TouchState::addOrUpdateWindow(const sp<InputWindowHandle>& windowHandle, int32_t targetFlags, in addOrUpdateWindow() argument
62 if (touchedWindow.windowHandle == windowHandle) { in addOrUpdateWindow()
73 touchedWindow.windowHandle = windowHandle; in addOrUpdateWindow()
79 void TouchState::addPortalWindow(const sp<InputWindowHandle>& windowHandle) { in addPortalWindow() argument
82 if (portalWindows[i] == windowHandle) { in addPortalWindow()
86 portalWindows.push_back(windowHandle); in addPortalWindow()
96 void TouchState::removeWindow(const sp<InputWindowHandle>& windowHandle) { in removeWindow() argument
98 if (windows[i].windowHandle == windowHandle) { in removeWindow()
107 if (windows[i].windowHandle->getToken() == token) { in removeWindowByToken()
137 return window.windowHandle; in getFirstForegroundWindowHandle()
[all …]
DTouchState.h48 void addOrUpdateWindow(const sp<android::InputWindowHandle>& windowHandle, int32_t targetFlags,
50 void addPortalWindow(const sp<android::InputWindowHandle>& windowHandle);
52 void removeWindow(const sp<android::InputWindowHandle>& windowHandle);
DInputDispatcher.cpp496 for (const sp<InputWindowHandle>& windowHandle : windowHandles) { in findTouchedWindowAtLocked() local
497 const InputWindowInfo* windowInfo = windowHandle->getInfo(); in findTouchedWindowAtLocked()
512 mTempTouchState.addPortalWindow(windowHandle); in findTouchedWindowAtLocked()
518 return windowHandle; in findTouchedWindowAtLocked()
523 mTempTouchState.addOrUpdateWindow(windowHandle, in findTouchedWindowAtLocked()
1024 const sp<InputWindowHandle>& windowHandle, nsecs_t* nextWakeupTime, const char* reason) { in handleTargetsNotReadyLocked() argument
1025 if (applicationHandle == nullptr && windowHandle == nullptr) { in handleTargetsNotReadyLocked()
1040 getApplicationWindowLabel(applicationHandle, windowHandle).c_str(), reason); in handleTargetsNotReadyLocked()
1043 if (windowHandle != nullptr) { in handleTargetsNotReadyLocked()
1044 timeout = windowHandle->getDispatchingTimeout(DEFAULT_INPUT_DISPATCHING_TIMEOUT); in handleTargetsNotReadyLocked()
[all …]
DInputDispatcher.h262 bool hasWindowHandleLocked(const sp<InputWindowHandle>& windowHandle) const REQUIRES(mLock);
314 const sp<InputWindowHandle>& windowHandle,
341 void addWindowTargetLocked(const sp<InputWindowHandle>& windowHandle, int32_t targetFlags,
350 bool checkInjectionPermission(const sp<InputWindowHandle>& windowHandle,
352 bool isWindowObscuredAtPointLocked(const sp<InputWindowHandle>& windowHandle, int32_t x,
354 bool isWindowObscuredLocked(const sp<InputWindowHandle>& windowHandle) const REQUIRES(mLock);
356 const sp<InputWindowHandle>& windowHandle);
359 const sp<InputWindowHandle>& windowHandle,
430 const sp<InputWindowHandle>& windowHandle, nsecs_t eventTime,
DTouchedWindow.h28 sp<android::InputWindowHandle> windowHandle; member
/frameworks/base/core/java/android/inputmethodservice/
DMultiClientInputMethodClientCallbackAdaptor.java321 @SoftInputModeFlags int softInputMode, int windowHandle) { in startInputOrWindowGainedFocus() argument
336 args.argi3 = windowHandle; in startInputOrWindowGainedFocus()
447 final int windowHandle = args.argi3; in startInputOrWindowGainedFocus() local
449 startInputFlags, softInputMode, windowHandle); in startInputOrWindowGainedFocus()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DMultiClientInputMethodManagerService.java1598 final int windowHandle = windowInfo != null in startInputOrWindowGainedFocus() local
1604 softInputMode, windowHandle); in startInputOrWindowGainedFocus()
1630 final int windowHandle = windowInfo != null in startInputOrWindowGainedFocus() local
1636 softInputMode, windowHandle); in startInputOrWindowGainedFocus()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp781 sp<InputWindowHandle> windowHandle = in setInputWindows() local
783 if (windowHandle != nullptr) { in setInputWindows()
784 windowHandles.push_back(windowHandle); in setInputWindows()
796 const sp<InputWindowHandle>& windowHandle = windowHandles[i]; in setInputWindows() local
797 const InputWindowInfo* windowInfo = windowHandle->getInfo(); in setInputWindows()