/foundation/multimodalinput/input/service/window_manager/test/ |
H A D | input_windows_manager_test.cpp | 50 #ifdef WIN_MGR 51 #undef WIN_MGR macro 53 #define WIN_MGR g_instance macro 95 WIN_MGR->UpdateDisplayInfo(displayGroupInfo); in SetUp() 96 preHoverScrollState_ = WIN_MGR->GetHoverScrollState(); in SetUp() 101 WIN_MGR->SetHoverScrollState(preHoverScrollState_); in TearDown() 157 WIN_MGR->Init(udsServer); in HWTEST_F() 158 WIN_MGR->GetDisplayGroupInfo(); in HWTEST_F() 160 ASSERT_EQ(WIN_MGR->GetClientFd(pointerEvent), idNames); in HWTEST_F() 173 WIN_MGR in HWTEST_F() [all...] |
H A D | input_windows_manager_ex_test.cpp | 71 std::static_pointer_cast<InputWindowsManager>(WIN_MGR); in HWTEST_F() 89 std::static_pointer_cast<InputWindowsManager>(WIN_MGR); in HWTEST_F() 117 std::static_pointer_cast<InputWindowsManager>(WIN_MGR); in HWTEST_F() 147 std::static_pointer_cast<InputWindowsManager>(WIN_MGR); in HWTEST_F() 164 std::static_pointer_cast<InputWindowsManager>(WIN_MGR); in HWTEST_F() 190 std::static_pointer_cast<InputWindowsManager>(WIN_MGR); in HWTEST_F() 217 std::static_pointer_cast<InputWindowsManager>(WIN_MGR); in HWTEST_F() 244 std::static_pointer_cast<InputWindowsManager>(WIN_MGR); in HWTEST_F() 284 std::static_pointer_cast<InputWindowsManager>(WIN_MGR); in HWTEST_F() 328 std::static_pointer_cast<InputWindowsManager>(WIN_MGR); in HWTEST_F() [all...] |
H A D | pointer_drawing_manager_ex_test.cpp | 286 int32_t ret3 = WIN_MGR->SetPointerStyle(pid, windowId, pointerStyle, isUiExtension);
in HWTEST_F() 290 EXPECT_FALSE(WIN_MGR->IsMouseSimulate());
in HWTEST_F() 291 EXPECT_FALSE(WIN_MGR->IsNeedRefreshLayer(windowId));
in HWTEST_F() 450 int ret = WIN_MGR->SetPointerStyle(pointerDrawMgr.pid_, GLOBAL_WINDOW_ID, curPointerStyle);
in HWTEST_F()
|
/foundation/multimodalinput/input/service/event_dispatch/src/ |
H A D | event_dispatch_handler.cpp | 92 auto itemPid = WIN_MGR->GetWindowPid(pointeritem.GetTargetWindowId()); in FilterInvalidPointerItem() 156 WIN_MGR->GetTargetWindowIds(pointerItem.GetPointerId(), point->GetSourceType(), windowIds); in HandleMultiWindowPointerEvent() 166 auto windowInfo = WIN_MGR->GetWindowAndDisplayInfo(windowId, point->GetTargetDisplayId()); in HandleMultiWindowPointerEvent() 179 auto fd = WIN_MGR->GetClientFd(pointerEvent, windowInfo->id); in HandleMultiWindowPointerEvent() 191 auto windowXY = WIN_MGR->TransformWindowXY(*windowInfo, pointerItem.GetDisplayX(), in HandleMultiWindowPointerEvent() 207 WIN_MGR->ClearTargetWindowId(pointerId); in HandleMultiWindowPointerEvent() 239 auto sess = udsServer->GetSessionByPid(WIN_MGR->GetWindowStateNotifyPid()); in SendWindowStateError() 270 WIN_MGR->GetTargetWindowIds(pointerItem.GetPointerId(), point->GetSourceType(), windowIds); in HandlePointerEventInner() 276 auto fd = WIN_MGR->GetClientFd(point); in HandlePointerEventInner() 277 auto pid = WIN_MGR in HandlePointerEventInner() [all...] |
/foundation/multimodalinput/input/service/mouse_event_normalize/src/ |
H A D | mouse_transform_processor.cpp | 100 CursorPosition cursorPos = WIN_MGR->GetCursorPos(); in HandleMotionInner() 109 auto displayInfo = WIN_MGR->GetPhysicalDisplay(cursorPos.displayId); in HandleMotionInner() 121 ret = HandleMotionAccelerateTouchpad(&offset, WIN_MGR->GetMouseIsCaptureMode(), in HandleMotionInner() 125 ret = HandleMotionAccelerateMouse(&offset, WIN_MGR->GetMouseIsCaptureMode(), in HandleMotionInner() 136 WIN_MGR->UpdateAndAdjustMouseLocation(cursorPos.displayId, cursorPos.cursorPos.x, cursorPos.cursorPos.y); in HandleMotionInner() 222 CursorPosition cursorPos = WIN_MGR->GetCursorPos(); in HandleButtonInner() 227 auto displayInfo = WIN_MGR->GetPhysicalDisplay(cursorPos.displayId); in HandleButtonInner() 230 WIN_MGR->UpdateAndAdjustMouseLocation(cursorPos.displayId, cursorPos.cursorPos.x, cursorPos.cursorPos.y); in HandleButtonInner() 404 HandleAxisAccelerateTouchpad(WIN_MGR->GetMouseIsCaptureMode(), &axisValue, static_cast<int32_t>(deviceType)); in HandleAxisAccelateTouchPad() 453 auto mouseInfo = WIN_MGR in HandleAxisPostInner() [all...] |
/foundation/multimodalinput/input/service/touch_event_normalize/src/ |
H A D | touch_transform_processor.cpp | 58 if (!WIN_MGR->TouchPointToDisplayPoint(deviceId_, touch, touchInfo, logicalDisplayId)) { in OnEventTouchDown() 129 WIN_MGR->ReverseXY(displayX, displayY); in NotifyFingersenseProcess() 157 if (!WIN_MGR->TouchPointToDisplayPoint(deviceId_, touch, touchInfo, logicalDisplayId)) { in OnEventTouchMotion() 224 WIN_MGR->ReverseXY(displayX, displayY); in OnEventTouchUp() 272 WIN_MGR->UpdateTargetPointer(pointerEvent_); in OnEvent() 280 WIN_MGR->DrawTouchGraphic(pointerEvent_); in OnEvent()
|
H A D | tablet_tool_tranform_processor.cpp | 72 WIN_MGR->UpdateTargetPointer(pointerEvent_); in OnEvent() 150 if (!WIN_MGR->CalculateTipPoint(event, targetDisplayId, tCoord)) { in OnTipDown() 201 if (!WIN_MGR->CalculateTipPoint(tabletEvent, targetDisplayId, tCoord)) { in OnTipMotion() 273 if (!WIN_MGR->CalculateTipPoint(tabletEvent, targetDisplayId, tCoord)) { in OnTipProximity()
|
H A D | joystick_transform_processor.cpp | 146 WIN_MGR->UpdateTargetPointer(pointerEvent_); in OnEvent()
|
H A D | touchpad_transform_processor.cpp | 410 auto mouseInfo = WIN_MGR->GetMouseInfo(); in SetPinchPointerItem() 430 auto mouseInfo = WIN_MGR->GetMouseInfo(); in ProcessTouchPadPinchDataEvent() 453 WIN_MGR->UpdateTargetPointer(pointerEvent_); in ProcessTouchPadPinchDataEvent()
|
/foundation/multimodalinput/input/service/mouse_event_normalize/test/src/ |
H A D | mouse_transform_processor_test_withmock.cpp | 282 CursorPosition cursorPos = WIN_MGR->GetCursorPos(); in HWTEST_F() 305 CursorPosition cursorPos = WIN_MGR->GetCursorPos(); in HWTEST_F() 331 CursorPosition cursorPos = WIN_MGR->GetCursorPos(); in HWTEST_F() 357 CursorPosition cursorPos = WIN_MGR->GetCursorPos(); in HWTEST_F()
|
/foundation/multimodalinput/input/service/message_handle/src/ |
H A D | server_msg_handler.cpp | 321 CursorPosition cursorPos = WIN_MGR->GetCursorPos(); in AccelerateMotion() 330 auto displayInfo = WIN_MGR->GetPhysicalDisplay(cursorPos.displayId); in AccelerateMotion() 339 ret = HandleMotionAccelerateTouchpad(&offset, WIN_MGR->GetMouseIsCaptureMode(), in AccelerateMotion() 343 ret = HandleMotionAccelerateMouse(&offset, WIN_MGR->GetMouseIsCaptureMode(), in AccelerateMotion() 351 WIN_MGR->UpdateAndAdjustMouseLocation(cursorPos.displayId, cursorPos.cursorPos.x, cursorPos.cursorPos.y); in AccelerateMotion() 392 auto mouseInfo = WIN_MGR->GetMouseInfo(); in UpdatePointerEvent() 554 WIN_MGR->UpdateDisplayInfoExtIfNeed(displayGroupInfo, true); in OnDisplayInfo() 572 WIN_MGR->SetWindowPointerStyle(area, pid, windowId); in OnWindowAreaInfo() 603 WIN_MGR->UpdateWindowInfo(windowGroupInfo); in OnWindowGroupInfo() 611 WIN_MGR in RegisterWindowStateErrorCallback() [all...] |
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | pointer_drawing_manager.cpp | 651 WIN_MGR->GetPointerStyle(pid_, GLOBAL_WINDOW_ID, curPointerStyle); in UpdateStyleOptions() 653 int ret = WIN_MGR->SetPointerStyle(pid_, GLOBAL_WINDOW_ID, curPointerStyle); in UpdateStyleOptions() 1515 if (IsSingleDisplayFoldDevice() && (WIN_MGR->GetDisplayMode() == DisplayMode::MAIN) in AttachToDisplay() 1833 if (WIN_MGR->CheckWindowIdPermissionByPid(windowId, pid) != RET_OK) { in SetCustomCursor() 1896 if (WIN_MGR->CheckWindowIdPermissionByPid(windowId, pid) != RET_OK) { 1923 if (WIN_MGR->CheckWindowIdPermissionByPid(windowId, pid) != RET_OK) { 1932 WIN_MGR->GetPointerStyle(pid, windowId, pointerStyle); 2215 WIN_MGR->GetPointerStyle(pid_, windowId_, pointerStyle); in DrawManager() 2286 if (!(INPUT_DEV_MGR->HasPointerDevice() || WIN_MGR->IsMouseSimulate()) || pid_ == 0) { in IsPointerVisible() 2385 if (WIN_MGR in SetPointerVisible() [all...] |
/foundation/multimodalinput/input/service/display_state_manager/src/ |
H A D | display_event_monitor.cpp | 168 WIN_MGR->SendCancelEventWhenLock(); in SendCancelEventWhenLock()
|
/foundation/multimodalinput/input/service/event_handler/src/ |
H A D | anr_manager.cpp | 127 if (type == ANR_MONITOR || WIN_MGR->IsWindowVisible(sess->GetPid())) { in AddTimer()
|
H A D | event_normalize_handler.cpp | 306 WIN_MGR->UpdateTargetPointer(pointerEvent); in HandlePointerEvent() 319 WIN_MGR->UpdateTargetPointer(pointerEvent); in HandleTouchEvent() 350 WIN_MGR->HandleKeyEventWindowId(keyEvent); in HandleKeyboardEvent() 790 auto displayInfo = WIN_MGR->GetPhysicalDisplay(touchMoveEvent->GetTargetDisplayId()); in CalcTouchOffset()
|
/foundation/multimodalinput/input/service/crown_transform_processor/src/ |
H A D | crown_transform_processor.cpp | 196 auto mouseInfo = WIN_MGR->GetMouseInfo(); in HandleCrownRotatePostInner()
|
/foundation/multimodalinput/input/service/window_manager/include/ |
H A D | i_input_windows_manager.h | 168 #define WIN_MGR ::OHOS::MMI::IInputWindowsManager::GetInstance() macro
|
/foundation/multimodalinput/input/service/event_dump/src/ |
H A D | event_dump.cpp | 151 WIN_MGR->Dump(fd, args); in ParseCommand()
|
/foundation/multimodalinput/input/service/event_dump/test/ |
H A D | event_dump_test.cpp | 184 ASSERT_NO_FATAL_FAILURE(WIN_MGR->Dump(fd_, args)); in HWTEST_F()
|
/foundation/multimodalinput/input/service/device_manager/src/ |
H A D | input_device_manager.cpp | 446 WIN_MGR->UpdatePointerChangeAreas(); in OnInputDeviceAdded() 450 WIN_MGR->DispatchPointer(PointerEvent::POINTER_ACTION_ENTER_WINDOW); in OnInputDeviceAdded() 493 WIN_MGR->DispatchPointer(PointerEvent::POINTER_ACTION_LEAVE_WINDOW); in OnInputDeviceRemoved()
|
/foundation/multimodalinput/input/service/dfx/src/ |
H A D | dfx_hisysevent.cpp | 227 "PID", WIN_MGR->GetWindowPid(pointer->GetTargetWindowId()), in OnUpdateTargetPointer() 265 "PID", WIN_MGR->GetWindowPid(key->GetTargetWindowId()), in OnUpdateTargetKey() 884 auto displayMode = WIN_MGR->GetDisplayMode(); in GetTpVendorName()
|
/foundation/multimodalinput/input/service/event_resample/src/ |
H A D | event_resample.cpp | 220 auto windows = WIN_MGR->GetWindowGroupInfoByDisplayId(pointerEvent->GetTargetDisplayId()); in TransformSampleWindowXY() 226 auto windowXY = WIN_MGR->TransformWindowXY(window, logicX, logicY); in TransformSampleWindowXY()
|
/foundation/multimodalinput/input/service/key_command/src/ |
H A D | key_command_handler.cpp | 570 auto displayInfo = WIN_MGR->GetDefaultDisplayInfo(); in CheckTwoFingerGestureAction() 595 auto displayInfo = WIN_MGR->GetDefaultDisplayInfo(); in ConvertVPToPX() 648 auto physicDisplayInfo = WIN_MGR->GetPhysicalDisplay(touchEvent->GetTargetDisplayId()); in CheckKnuckleCondition() 689 auto displayXY = WIN_MGR->TransformDisplayXY(displayInfo, physicalX, physicalY); in CalcDrawCoordinate() 706 auto displayInfo = WIN_MGR->GetPhysicalDisplay(touchEvent->GetTargetDisplayId()); in HandleKnuckleGestureTouchDown() 723 auto displayInfo = WIN_MGR->GetPhysicalDisplay(touchEvent->GetTargetDisplayId()); in HandleKnuckleGestureTouchMove() 2312 auto windows = WIN_MGR->GetWindowGroupInfoByDisplayId(displayId); in CheckInputMethodArea()
|
/foundation/multimodalinput/input/service/module_loader/src/ |
H A D | mmi_service.cpp | 384 WIN_MGR->Init(*this); in Init() 1079 int32_t userid = WIN_MGR->GetCurrentUserId(); in OnConnected() 1566 state = WIN_MGR->GetHoverScrollState(); in ReadHoverScrollState() 2222 WIN_MGR->SetFoldState(); in OnAddSystemAbility() 2706 windowPid = WIN_MGR->GetWindowPid(windowId); in OnGetWindowPid() 3600 return WIN_MGR->AncoAddChannel(channel); in AncoAddChannel() 3611 return WIN_MGR->AncoRemoveChannel(channel); in AncoRemoveChannel()
|
/foundation/multimodalinput/input/service/interceptor/src/ |
H A D | event_interceptor_handler.cpp | 131 if (WIN_MGR->IsKnuckleOnAncoWindow(pointerEvent)) { in OnHandleEvent()
|