Home | History | Annotate | Download | only in input

Lines Matching refs:windowHandle

542         sp<InputWindowHandle> windowHandle = mWindowHandles.itemAt(i);
543 const InputWindowInfo* windowInfo = windowHandle->getInfo();
552 return windowHandle;
1063 const sp<InputWindowHandle>& windowHandle,
1065 if (applicationHandle == NULL && windowHandle == NULL) {
1080 getApplicationWindowLabelLocked(applicationHandle, windowHandle).string());
1083 if (windowHandle != NULL) {
1084 timeout = windowHandle->getDispatchingTimeout(DEFAULT_INPUT_DISPATCHING_TIMEOUT);
1098 if (windowHandle != NULL) {
1099 mInputTargetWaitApplicationHandle = windowHandle->inputApplicationHandle;
1112 onANRLocked(currentTime, applicationHandle, windowHandle,
1338 sp<InputWindowHandle> windowHandle = mWindowHandles.itemAt(i);
1339 const InputWindowInfo* windowInfo = windowHandle->getInfo();
1344 topErrorWindowHandle = windowHandle;
1355 newTouchedWindowHandle = windowHandle;
1364 if (isWindowObscuredAtPointLocked(windowHandle, x, y)) {
1369 windowHandle, outsideTargetFlags, BitSet32(0));
1549 if (! checkInjectionPermission(touchedWindow.windowHandle,
1578 sp<InputWindowHandle> inputWindowHandle = touchedWindow.windowHandle;
1592 if (touchedWindow.windowHandle->getInfo()->paused) {
1597 NULL, touchedWindow.windowHandle, nextWakeupTime);
1602 if (! isWindowFinishedWithPreviousInputLocked(touchedWindow.windowHandle)) {
1607 NULL, touchedWindow.windowHandle, nextWakeupTime);
1624 sp<InputWindowHandle> windowHandle = mWindowHandles.itemAt(i);
1625 if (windowHandle->getInfo()->layoutParamsType
1627 mTempTouchState.addOrUpdateWindow(windowHandle,
1641 addWindowTargetLocked(touchedWindow.windowHandle, touchedWindow.targetFlags,
1746 void InputDispatcher::addWindowTargetLocked(const sp<InputWindowHandle>& windowHandle,
1750 const InputWindowInfo* windowInfo = windowHandle->getInfo();
1774 bool InputDispatcher::checkInjectionPermission(const sp<InputWindowHandle>& windowHandle,
1777 && (windowHandle == NULL
1778 || windowHandle->getInfo()->ownerUid != injectionState->injectorUid)
1780 if (windowHandle != NULL) {
1784 windowHandle->getName().string(),
1785 windowHandle->getInfo()->ownerUid);
1796 const sp<InputWindowHandle>& windowHandle, int32_t x, int32_t y) const {
1800 if (otherHandle == windowHandle) {
1814 const sp<InputWindowHandle>& windowHandle) {
1815 ssize_t connectionIndex = getConnectionIndexLocked(windowHandle->getInputChannel());
1826 const sp<InputWindowHandle>& windowHandle) {
1828 if (windowHandle != NULL) {
1831 label.append(windowHandle->getName());
1836 } else if (windowHandle != NULL) {
1837 return windowHandle->getName();
2501 sp<InputWindowHandle> windowHandle = getWindowHandleLocked(connection->inputChannel);
2502 if (windowHandle != NULL) {
2503 const InputWindowInfo* windowInfo = windowHandle->getInfo();
3236 const sp<InputWindowHandle>& windowHandle = mWindowHandles.itemAt(i);
3237 if (windowHandle->getInputChannel() == inputChannel) {
3238 return windowHandle;
3245 const sp<InputWindowHandle>& windowHandle) const {
3248 if (mWindowHandles.itemAt(i) == windowHandle) {
3268 const sp<InputWindowHandle>& windowHandle = mWindowHandles.itemAt(i);
3269 if (!windowHandle->updateInfo() || windowHandle->getInputChannel() == NULL) {
3273 if (windowHandle->getInfo()->hasFocus) {
3274 newFocusedWindowHandle = windowHandle;
3276 if (windowHandle == mLastHoverWindowHandle) {
3310 if (!hasWindowHandleLocked(touchedWindow.windowHandle)) {
3313 touchedWindow.windowHandle->getName().string());
3316 touchedWindow.windowHandle->getInputChannel();
3460 if (touchedWindow.windowHandle == fromWindowHandle) {
3562 i, touchedWindow.windowHandle->getName().string(),
3573 const sp<InputWindowHandle>& windowHandle = mWindowHandles.itemAt(i);
3574 const InputWindowInfo* windowInfo = windowHandle->getInfo();
3783 const sp<InputWindowHandle>& windowHandle,
3787 getApplicationWindowLabelLocked(applicationHandle, windowHandle).string(),
3794 commandEntry->inputWindowHandle = windowHandle;
4673 void InputDispatcher::TouchState::addOrUpdateWindow(const sp<InputWindowHandle>& windowHandle,
4681 if (touchedWindow.windowHandle == windowHandle) {
4694 touchedWindow.windowHandle = windowHandle;
4717 return window.windowHandle;
4730 || !(window.windowHandle->getInfo()->layoutParamsFlags