Home
last modified time | relevance | path

Searched refs:windowId (Results 1 - 25 of 454) sorted by relevance

12345678910>>...19

/foundation/distributedhardware/distributed_screen/services/screenclient/src/
H A Dscreen_client.cpp31 int32_t windowId = ++windowId_; in AddWindow() local
32 sptr<Surface> surface = ScreenClientWindowAdapter::GetInstance().CreateWindow(windowProperty, windowId); in AddWindow()
39 surfaceMap_.emplace(windowId, surface); in AddWindow()
41 DHLOGI("Add window ID = %{public}" PRId32 " success.", windowId); in AddWindow()
42 return windowId; in AddWindow()
45 int32_t ScreenClient::ShowWindow(int32_t windowId) in ShowWindow() argument
49 auto iter = surfaceMap_.find(windowId); in ShowWindow()
51 DHLOGE("windowId ID = %{public}" PRId32 " is non-existent.", windowId); in ShowWindow()
55 int32_t ret = ScreenClientWindowAdapter::GetInstance().ShowWindow(windowId); in ShowWindow()
64 HideWindow(int32_t windowId) HideWindow() argument
83 MoveWindow(int32_t windowId, int32_t startX, int32_t startY) MoveWindow() argument
102 GetSurface(int32_t windowId) GetSurface() argument
118 RemoveWindow(int32_t windowId) RemoveWindow() argument
[all...]
H A Dscreen_client_window_adapter.cpp31 int32_t windowId) in CreateWindow()
45 std::string windowName = SCREEN_CLIENT_WINDOW + std::to_string(windowId); in CreateWindow()
75 windowIdMap_.emplace(windowId, window); in CreateWindow()
77 DHLOGD("Get surface windowId = %{public}" PRId32 " success.", windowId); in CreateWindow()
81 int32_t ScreenClientWindowAdapter::ShowWindow(int32_t windowId) in ShowWindow() argument
86 auto iter = windowIdMap_.find(windowId); in ShowWindow()
88 DHLOGE("Invalid windowId windowId = %{public}" PRId32, windowId); in ShowWindow()
30 CreateWindow(std::shared_ptr<WindowProperty> &windowProperty, int32_t windowId) CreateWindow() argument
105 HideWindow(int32_t windowId) HideWindow() argument
129 MoveWindow(int32_t windowId, int32_t startX, int32_t startY) MoveWindow() argument
153 RemoveWindow(int32_t windowId) RemoveWindow() argument
[all...]
/foundation/distributedhardware/distributed_screen/services/screenclient/test/unittest/src/
H A Dscreen_client_test.cpp86 int32_t windowId = ScreenClient::GetInstance().AddWindow(windowProperty_); in HWTEST_F() local
87 int32_t ret = ScreenClient::GetInstance().ShowWindow(windowId); in HWTEST_F()
89 ret = ScreenClient::GetInstance().RemoveWindow(windowId); in HWTEST_F()
101 int32_t windowId = 100; in HWTEST_F() local
102 ScreenClient::GetInstance().surfaceMap_.emplace(windowId, nullptr); in HWTEST_F()
103 int32_t ret = ScreenClient::GetInstance().ShowWindow(windowId); in HWTEST_F()
105 ret = ScreenClient::GetInstance().RemoveWindow(windowId); in HWTEST_F()
129 int32_t windowId = ScreenClient::GetInstance().AddWindow(windowProperty_); in HWTEST_F() local
130 int32_t ret = ScreenClient::GetInstance().HideWindow(windowId); in HWTEST_F()
132 ret = ScreenClient::GetInstance().RemoveWindow(windowId); in HWTEST_F()
144 int32_t windowId = 0; HWTEST_F() local
172 int32_t windowId = ScreenClient::GetInstance().AddWindow(windowProperty_); HWTEST_F() local
187 int32_t windowId = 0; HWTEST_F() local
215 int32_t windowId = ScreenClient::GetInstance().AddWindow(windowProperty_); HWTEST_F() local
228 int32_t windowId = 0; HWTEST_F() local
253 int32_t windowId = ScreenClient::GetInstance().AddWindow(windowProperty_); HWTEST_F() local
[all...]
H A Dscreen_client_window_adapter_test.cpp60 int32_t windowId = 0; in HWTEST_F() local
61 sptr<Surface> actualSurface = ScreenClientWindowAdapter::GetInstance().CreateWindow(windowProperty_, windowId); in HWTEST_F()
63 int32_t ret = ScreenClientWindowAdapter::GetInstance().RemoveWindow(windowId); in HWTEST_F()
87 int32_t windowId = 100; in HWTEST_F() local
88 ScreenClientWindowAdapter::GetInstance().CreateWindow(windowProperty_, windowId); in HWTEST_F()
89 int32_t ret = ScreenClientWindowAdapter::GetInstance().ShowWindow(windowId); in HWTEST_F()
91 ret = ScreenClientWindowAdapter::GetInstance().RemoveWindow(windowId); in HWTEST_F()
103 int32_t windowId = 0; in HWTEST_F() local
104 ScreenClientWindowAdapter::GetInstance().windowIdMap_.emplace(windowId, nullptr); in HWTEST_F()
105 int32_t ret = ScreenClientWindowAdapter::GetInstance().ShowWindow(windowId); in HWTEST_F()
130 int32_t windowId = 0; HWTEST_F() local
146 int32_t windowId = 0; HWTEST_F() local
174 int32_t windowId = 0; HWTEST_F() local
190 int32_t windowId = 0; HWTEST_F() local
218 int32_t windowId = 0; HWTEST_F() local
232 int32_t windowId = 0; HWTEST_F() local
[all...]
/foundation/barrierfree/accessibility/services/aams/test/mock/src/
H A Dmock_accessibility_window_manager.cpp67 int32_t AccessibilityWindowManager::ConvertToRealWindowId(int32_t windowId, int32_t focusType) in ConvertToRealWindowId() argument
69 (void)windowId; in ConvertToRealWindowId()
103 void AccessibilityWindowManager::SetActiveWindow(int32_t windowId, bool isSendEvent) in SetActiveWindow() argument
105 activeWindowId_ = windowId; in SetActiveWindow()
109 void AccessibilityWindowManager::SetAccessibilityFocusedWindow(int32_t windowId) in SetAccessibilityFocusedWindow() argument
111 (void)windowId; in SetAccessibilityFocusedWindow()
120 bool AccessibilityWindowManager::GetAccessibilityWindow(int32_t windowId, AccessibilityWindowInfo& window) in GetAccessibilityWindow() argument
122 HILOG_DEBUG("start windowId(%{public}d)", windowId); in GetAccessibilityWindow()
123 if (a11yWindows_.count(windowId)) { in GetAccessibilityWindow()
130 IsValidWindow(int32_t windowId) IsValidWindow() argument
136 SetWindowSize(int32_t windowId, Rect rect) SetWindowSize() argument
153 GetSceneBoardElementId(const int32_t windowId, const int64_t elementId) GetSceneBoardElementId() argument
158 GetRealWindowAndElementId(int32_t& windowId, int64_t& elementId) GetRealWindowAndElementId() argument
162 GetSceneBoardInnerWinId(int32_t windowId, int64_t elementId, int32_t& innerWid) GetSceneBoardInnerWinId() argument
167 InsertPair(const int32_t windowId, const int64_t elementId) InsertPair() argument
171 RemovePair(const int32_t windowId) RemovePair() argument
[all...]
/foundation/barrierfree/accessibility/services/test/moduletest/mock/src/
H A Dmock_mt_accessibility_window_manager.cpp67 int32_t AccessibilityWindowManager::ConvertToRealWindowId(int32_t windowId, int32_t focusType) in ConvertToRealWindowId() argument
69 (void)windowId; in ConvertToRealWindowId()
103 void AccessibilityWindowManager::SetActiveWindow(int32_t windowId, bool isSendEvent) in SetActiveWindow() argument
105 activeWindowId_ = windowId; in SetActiveWindow()
109 void AccessibilityWindowManager::SetAccessibilityFocusedWindow(int32_t windowId) in SetAccessibilityFocusedWindow() argument
111 (void)windowId; in SetAccessibilityFocusedWindow()
120 bool AccessibilityWindowManager::GetAccessibilityWindow(int32_t windowId, AccessibilityWindowInfo& window) in GetAccessibilityWindow() argument
122 HILOG_DEBUG("start windowId(%{public}d)", windowId); in GetAccessibilityWindow()
123 if (a11yWindows_.count(windowId)) { in GetAccessibilityWindow()
130 IsValidWindow(int32_t windowId) IsValidWindow() argument
136 SetWindowSize(int32_t windowId, Rect rect) SetWindowSize() argument
153 GetSceneBoardElementId(const int32_t windowId, const int64_t elementId) GetSceneBoardElementId() argument
158 GetRealWindowAndElementId(int32_t& windowId, int64_t& elementId) GetRealWindowAndElementId() argument
162 GetSceneBoardInnerWinId(int32_t windowId, int64_t elementId, int32_t& innerWid) GetSceneBoardInnerWinId() argument
167 InsertPair(const int32_t windowId, const int64_t elementId) InsertPair() argument
171 RemovePair(const int32_t windowId) RemovePair() argument
[all...]
/foundation/window/window_manager/wmserver/include/
H A Dwindow_controller.h43 uint32_t& windowId, sptr<IRemoteObject> token, int32_t pid, int32_t uid);
45 WMError RemoveWindowNode(uint32_t windowId, bool fromAnimation = false);
49 WMError DestroyWindow(uint32_t windowId, bool onlySelf);
50 WMError RequestFocus(uint32_t windowId);
51 WMError SetAlpha(uint32_t windowId, float alpha);
52 AvoidArea GetAvoidAreaByType(uint32_t windowId, AvoidAreaType avoidAreaType) const;
56 WMError NotifyServerReadyToMoveOrDrag(uint32_t windowId, sptr<MoveDragProperty>& moveDragProperty);
57 WMError ProcessPointDown(uint32_t windowId, bool isPointDown);
58 std::shared_ptr<Media::PixelMap> GetSnapshot(int32_t windowId);
59 WMError ProcessPointUp(uint32_t windowId);
[all...]
/foundation/barrierfree/accessibility/services/aams/test/mock/include/
H A Dmock_accessibility_window_manager.h35 MOCK_METHOD2(ConvertToRealWindowId, int32_t(int32_t windowId, int32_t focusType));
38 MOCK_METHOD1(SetActiveWindow, void(int32_t windowId, bool isSendEvent));
39 MOCK_METHOD1(SetAccessibilityFocusedWindow, void(int32_t windowId));
41 MOCK_METHOD2(GetAccessibilityWindow, bool(int32_t windowId, AccessibilityWindowInfo& window));
42 MOCK_METHOD1(IsValidWindow, bool(int32_t windowId));
43 MOCK_METHOD2(SetWindowSize, void(int32_t windowId, Rect rect));
44 MOCK_METHOD2(GetSceneBoardElementId, int32_t(const int32_t windowId, const int64_t elementId));
45 MOCK_METHOD2(GetRealWindowAndElementId, void(int32_t windowId, int64_t elementId));
46 MOCK_METHOD3(GetSceneBoardInnerWinId, void(int32_t windowId, int64_t elementId, int32_t& innerWid));
/foundation/barrierfree/accessibility/services/test/moduletest/mock/include/
H A Dmock_mt_accessibility_window_manager.h35 MOCK_METHOD2(ConvertToRealWindowId, int32_t(int32_t windowId, int32_t focusType));
38 MOCK_METHOD1(SetActiveWindow, void(int32_t windowId, bool isSendEvent));
39 MOCK_METHOD1(SetAccessibilityFocusedWindow, void(int32_t windowId));
41 MOCK_METHOD2(GetAccessibilityWindow, bool(int32_t windowId, AccessibilityWindowInfo& window));
42 MOCK_METHOD1(IsValidWindow, bool(int32_t windowId));
43 MOCK_METHOD2(SetWindowSize, void(int32_t windowId, Rect rect));
44 MOCK_METHOD2(GetSceneBoardElementId, int32_t(const int32_t windowId, const int64_t elementId));
45 MOCK_METHOD2(GetRealWindowAndElementId, void(int32_t windowId, int64_t elementId));
46 MOCK_METHOD3(GetSceneBoardInnerWinId, void(int32_t windowId, int64_t elementId, int32_t& innerWid));
/foundation/window/window_manager/wm/src/
H A Dinput_transfer_station.cpp45 uint32_t windowId = static_cast<uint32_t>(keyEvent->GetAgentWindowId()); in OnInputEvent() local
48 eventId++, keyEvent->GetId(), windowId); in OnInputEvent()
49 auto channel = InputTransferStation::GetInstance().GetInputChannel(windowId); in OnInputEvent()
53 "WindowInputChannel is nullptr InputTracking id:%{public}d windowId:%{public}u", in OnInputEvent()
54 keyEvent->GetId(), windowId); in OnInputEvent()
66 TLOGD(WmsLogTag::WMS_INPUT_KEY_FLOW, "Receive axisEvent, windowId: %{public}d", axisEvent->GetAgentWindowId()); in OnInputEvent()
80 uint32_t windowId = static_cast<uint32_t>(pointerEvent->GetAgentWindowId()); in OnInputEvent() local
85 ",wid:%{public}u,action:%{public}d", eventId++, pointerEvent->GetId(), windowId, in OnInputEvent()
88 auto channel = InputTransferStation::GetInstance().GetInputChannel(windowId); in OnInputEvent()
90 if (windowId ! in OnInputEvent()
108 uint32_t windowId = window->GetWindowId(); AddInputWindow() local
148 RemoveInputWindow(uint32_t windowId) RemoveInputWindow() argument
171 GetInputChannel(uint32_t windowId) GetInputChannel() argument
[all...]
H A Doh_window_event_filter.cpp48 WindowManager_ErrorCode OH_NativeWindowManager_RegisterKeyEventFilter(int32_t windowId, in OH_NativeWindowManager_RegisterKeyEventFilter() argument
51 TLOGI(WmsLogTag::WMS_EVENT, "register keyEventCallback, windowId:%{public}d", windowId); in OH_NativeWindowManager_RegisterKeyEventFilter()
52 auto mainWindow = OHOS::Rosen::Window::GetWindowWithId(windowId); in OH_NativeWindowManager_RegisterKeyEventFilter()
54 TLOGE(WmsLogTag::WMS_EVENT, "window is null, windowId:%{public}d", windowId); in OH_NativeWindowManager_RegisterKeyEventFilter()
62 WindowManager_ErrorCode OH_NativeWindowManager_UnregisterKeyEventFilter(int32_t windowId) in OH_NativeWindowManager_UnregisterKeyEventFilter() argument
64 TLOGI(WmsLogTag::WMS_EVENT, "clear keyEventCallback, windowId:%{public}d", windowId); in OH_NativeWindowManager_UnregisterKeyEventFilter()
65 auto mainWindow = OHOS::Rosen::Window::GetWindowWithId(windowId); in OH_NativeWindowManager_UnregisterKeyEventFilter()
[all...]
H A Dpicture_in_picture_manager.cpp72 void PictureInPictureManager::PutPipControllerInfo(int32_t windowId, sptr<PictureInPictureController> pipController) in PutPipControllerInfo() argument
74 TLOGI(WmsLogTag::WMS_PIP, "windowId %{public}u", windowId); in PutPipControllerInfo()
75 windowToControllerMap_.insert(std::make_pair(windowId, pipController)); in PutPipControllerInfo()
78 void PictureInPictureManager::RemovePipControllerInfo(int32_t windowId) in RemovePipControllerInfo() argument
80 TLOGI(WmsLogTag::WMS_PIP, "windowId %{public}u", windowId); in RemovePipControllerInfo()
81 windowToControllerMap_.erase(windowId); in RemovePipControllerInfo()
84 sptr<PictureInPictureController> PictureInPictureManager::GetPipControllerInfo(int32_t windowId) in GetPipControllerInfo() argument
86 if (windowToControllerMap_.empty() || windowToControllerMap_.find(windowId) in GetPipControllerInfo()
150 IsAttachedToSameWindow(uint32_t windowId) IsAttachedToSameWindow() argument
[all...]
/foundation/barrierfree/accessibility/frameworks/aafwk/src/
H A Daccessible_ability_client_impl.cpp403 int32_t windowId = sourceInfo.GetWindowId(); in GetFocusByElementInfo() local
405 HILOG_DEBUG("windowId[%{public}d], elementId[%{public}" PRId64 "], focusType[%{public}d]", in GetFocusByElementInfo()
406 windowId, elementId, focusType); in GetFocusByElementInfo()
408 return channelClient_->FindFocusedElementInfo(windowId, elementId, focusType, elementInfo); in GetFocusByElementInfo()
484 int32_t windowId = windowInfo.GetWindowId(); in GetRootByWindow() local
485 HILOG_DEBUG("windowId[%{public}d]", windowId); in GetRootByWindow()
486 if (GetCacheElementInfo(windowId, ROOT_NONE_ID, elementInfo)) { in GetRootByWindow()
491 return SearchElementInfoFromAce(windowId, ROOT_NONE_ID, cacheMode_, elementInfo); in GetRootByWindow()
494 RetError AccessibleAbilityClientImpl::GetWindow(const int32_t windowId, AccessibilityWindowInf argument
529 int32_t windowId = serviceProxy_->GetActiveWindow(); GetRootBatch() local
611 int32_t windowId = windowInfo.GetWindowId(); GetRootByWindowBatch() local
694 int32_t windowId = parent.GetWindowId(); GetChildElementInfo() local
722 int32_t windowId = parent.GetWindowId(); GetChildren() local
752 GetChildrenWork(const int32_t windowId, std::vector<int64_t> childIds, std::vector<AccessibilityElementInfo> &children) GetChildrenWork() argument
792 int32_t windowId = elementInfo.GetWindowId(); GetByContent() local
823 SearchElementInfoRecursiveByContent(const int32_t windowId, const int64_t elementId, uint32_t mode, std::vector<AccessibilityElementInfo> &elementInfos, const std::string text, int32_t treeId, bool isFilter) SearchElementInfoRecursiveByContent() argument
890 int32_t windowId = eventInfo.GetWindowId(); GetSource() local
914 int32_t windowId = child.GetWindowId(); GetParentElementInfo() local
940 GetByElementId(const int64_t elementId, const int32_t windowId, AccessibilityElementInfo &targetElementInfo) GetByElementId() argument
985 int32_t windowId = elementInfo.GetWindowId(); GetCursorPosition() local
1009 int32_t windowId = elementInfo.GetWindowId(); ExecuteAction() local
1111 GetCacheElementInfo(const int32_t windowId, const int64_t elementId, AccessibilityElementInfo &elementInfo) const GetCacheElementInfo() argument
1130 SetCacheElementInfo(const int32_t windowId, const std::vector<OHOS::Accessibility::AccessibilityElementInfo> &elementInfos) SetCacheElementInfo() argument
1141 SearchElementInfoByElementId(const int32_t windowId, const int64_t elementId, const uint32_t mode, AccessibilityElementInfo &info, int32_t treeId) SearchElementInfoByElementId() argument
1168 SearchElementInfoFromAce(const int32_t windowId, const int64_t elementId, const uint32_t mode, AccessibilityElementInfo &info) SearchElementInfoFromAce() argument
1234 int32_t windowId = serviceProxy_->GetActiveWindow(); SearchElementInfoByInspectorKey() local
1294 AddWindowElementMapByWMS(int32_t windowId, int64_t elementId) AddWindowElementMapByWMS() argument
1307 AddWindowElementMapByAce(int32_t windowId, int64_t elementId) AddWindowElementMapByAce() argument
1321 GetElementInfoFromCache(int32_t windowId, int64_t elementId, std::vector<AccessibilityElementInfo> &elementInfos) GetElementInfoFromCache() argument
1347 SearchElementInfoRecursive(int32_t windowId, int64_t elementId, uint32_t mode, std::vector<AccessibilityElementInfo> &elementInfos, bool isFilter) SearchElementInfoRecursive() argument
1367 SearchElementInfoRecursiveByWinid(const int32_t windowId, const int64_t elementId, uint32_t mode, std::vector<AccessibilityElementInfo> &elementInfos, int32_t treeId, bool isFilter, AccessibilityElementInfo *parentInfo) SearchElementInfoRecursiveByWinid() argument
1426 int32_t windowId = eventInfo.GetWindowId(); RemoveCacheData() local
1444 AddCacheByWMS(int32_t windowId, int64_t elementId, std::vector<AccessibilityElementInfo>& elementInfos) AddCacheByWMS() argument
1452 AddCacheByAce(int32_t windowId, int64_t elementId, std::vector<AccessibilityElementInfo>& elementInfos) AddCacheByAce() argument
1470 SearchElementInfoByAccessibilityId(const int32_t windowId, const int64_t elementId, const uint32_t mode, AccessibilityElementInfo &info, bool isFilter) SearchElementInfoByAccessibilityId() argument
1509 AddElementCache(const int32_t windowId, const std::vector<AccessibilityElementInfo>& elementInfos) AddElementCache() argument
1557 GetElementByWindowId(const int32_t windowId, const int64_t elementId, std::vector<AccessibilityElementInfo>& elementInfos) GetElementByWindowId() argument
1603 RemoveElementByWindowId(const int32_t windowId) RemoveElementByWindowId() argument
1617 IsExistWindowId(int32_t windowId) IsExistWindowId() argument
1629 IsExistWindowId(int32_t windowId) IsExistWindowId() argument
1639 AddWindowElementIdPair(int32_t windowId, int64_t elementId) AddWindowElementIdPair() argument
1678 RemovePairByWindowId(int32_t windowId) RemovePairByWindowId() argument
[all...]
/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_manager_stub_impl.h27 uint32_t& windowId, sptr<IRemoteObject> token) in CreateWindow()
35 WMError RemoveWindow(uint32_t windowId, bool isFromInnerkits) in RemoveWindow() argument
39 WMError DestroyWindow(uint32_t windowId, bool onlySelf = false) in DestroyWindow() argument
43 WMError RequestFocus(uint32_t windowId) in RequestFocus() argument
47 AvoidArea GetAvoidAreaByType(uint32_t windowId, AvoidAreaType type) in GetAvoidAreaByType() argument
56 void NotifyServerReadyToMoveOrDrag(uint32_t windowId, sptr<WindowProperty>& windowProperty, in NotifyServerReadyToMoveOrDrag() argument
58 void ProcessPointDown(uint32_t windowId, bool isPointDown){}; in ProcessPointDown() argument
59 void ProcessPointUp(uint32_t windowId){}; in ProcessPointUp() argument
77 WMError SetWindowGravity(uint32_t windowId, WindowGravity gravity, uint32_t percent) in SetWindowGravity() argument
95 WMError GetUnreliableWindowInfo(int32_t windowId, st in GetAccessibilityWindowInfo() argument
25 CreateWindow(sptr<IWindow>& window, sptr<WindowProperty>& property, const std::shared_ptr<RSSurfaceNode>& surfaceNode, uint32_t& windowId, sptr<IRemoteObject> token) CreateWindow() argument
122 UpdateAvoidAreaListener(uint32_t windowId, bool haveListener) UpdateAvoidAreaListener() argument
126 UpdateRsTree(uint32_t windowId, bool isAdd) UpdateRsTree() argument
130 BindDialogTarget(uint32_t& windowId, sptr<IRemoteObject> targetToken) BindDialogTarget() argument
137 RaiseToAppTop(uint32_t windowId) RaiseToAppTop() argument
[all...]
H A Ddrag_controller_test.cpp147 uint32_t windowId = 1; // windowId: 1 in HWTEST_F() local
148 moveDragController_->HandleEndUpMovingOrDragging(windowId); in HWTEST_F()
149 moveDragController_->activeWindowId_ = windowId; in HWTEST_F()
150 moveDragController_->HandleEndUpMovingOrDragging(windowId); in HWTEST_F()
161 uint32_t windowId = 5; // windowId: 5 in HWTEST_F() local
162 moveDragController_->HandleWindowRemovedOrDestroyed(windowId); in HWTEST_F()
164 moveDragController_->HandleWindowRemovedOrDestroyed(windowId); in HWTEST_F()
166 moveDragController_->HandleWindowRemovedOrDestroyed(windowId); in HWTEST_F()
227 uint32_t windowId = 1; HWTEST_F() local
261 uint32_t windowId = WINDOW_ID; HWTEST_F() local
276 uint32_t windowId = 100; HWTEST_F() local
516 uint32_t windowId = 0; HWTEST_F() local
528 uint32_t windowId = 1; HWTEST_F() local
542 uint32_t windowId = 1; HWTEST_F() local
556 uint32_t windowId = 1; HWTEST_F() local
629 uint32_t windowId = 0; HWTEST_F() local
643 uint32_t windowId = 0; HWTEST_F() local
671 uint32_t windowId = 0; HWTEST_F() local
687 uint32_t windowId = 1; // windowId: 1 HWTEST_F() local
[all...]
H A Dwindow_controller_test.cpp64 node_ = StartingWindow::CreateWindowNode(transitionInfo_, 101); // 101 is windowId in SetUpTestCase()
88 int windowId = INVALID_WINDOW_ID; in HWTEST_F() local
89 ASSERT_EQ(nullptr, windowController_->GetSnapshot(windowId)); in HWTEST_F()
161 sptr<WindowNode> srcNode = StartingWindow::CreateWindowNode(srcInfo, 102); // 102 is windowId in HWTEST_F()
167 sptr<WindowNode> dstNode = StartingWindow::CreateWindowNode(dstInfo, 103); // 103 is windowId in HWTEST_F()
267 uint32_t windowId; in HWTEST_F() local
270 windowController_->CreateWindow(window, property, surfaceNode, windowId, nullptr, 0, 0)); in HWTEST_F()
274 ASSERT_EQ(WMError::WM_OK, windowController_->CreateWindow(window, property, surfaceNode, windowId, nullptr, 0, 0)); in HWTEST_F()
279 windowController_->CreateWindow(window, property, surfaceNode, windowId, nullptr, 0, 0)); in HWTEST_F()
282 ASSERT_EQ(WMError::WM_OK, windowController_->CreateWindow(window, property, surfaceNode, windowId, nullpt in HWTEST_F()
571 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
626 uint32_t windowId; HWTEST_F() local
656 uint32_t windowId; HWTEST_F() local
681 uint32_t windowId; HWTEST_F() local
707 uint32_t windowId; HWTEST_F() local
731 uint32_t windowId; HWTEST_F() local
755 uint32_t windowId; HWTEST_F() local
779 uint32_t windowId; HWTEST_F() local
806 uint32_t windowId; HWTEST_F() local
835 uint32_t windowId; HWTEST_F() local
869 uint32_t windowId; HWTEST_F() local
911 uint32_t windowId; HWTEST_F() local
943 uint32_t windowId; HWTEST_F() local
983 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1016 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1049 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1083 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1120 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1164 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1207 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1243 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1276 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1306 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1333 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1360 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1392 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1424 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1453 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1480 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1509 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1536 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1567 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1592 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1717 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1741 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1789 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1819 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1849 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1879 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1909 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1939 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1969 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
1999 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
2029 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
2060 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
2090 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
2120 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
2150 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
2180 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
2210 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
2240 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
2294 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
2326 uint32_t windowId = windowNode->GetWindowId(); HWTEST_F() local
[all...]
H A Dwindow_manager_proxy_test.cpp62 uint32_t windowId = 0; in HWTEST_F() local
63 WMError err = windowManagerProxy_->RequestFocus(windowId); in HWTEST_F()
123 int windowId = INVALID_WINDOW_ID; in HWTEST_F() local
125 WMError err = windowManagerProxy_->GetSnapshotByWindowId(windowId, pixelMap); in HWTEST_F()
193 uint32_t windowId = 0; in HWTEST_F() local
195 WMError err = windowManagerProxy_->UpdateRsTree(windowId, isAdd); in HWTEST_F()
206 uint32_t windowId = 0; in HWTEST_F() local
208 WMError err = windowManagerProxy_->BindDialogTarget(windowId, targetToken); in HWTEST_F()
219 uint32_t windowId = 0; in HWTEST_F() local
221 WMError err = windowManagerProxy_->BindDialogTarget(windowId, targetToke in HWTEST_F()
245 int32_t windowId = 0; HWTEST_F() local
272 uint32_t windowId = 0; HWTEST_F() local
285 uint32_t windowId = 0; HWTEST_F() local
298 uint32_t windowId = 0; HWTEST_F() local
340 uint32_t windowId = 0; HWTEST_F() local
358 uint32_t windowId = 0; HWTEST_F() local
375 uint32_t windowId = 0; HWTEST_F() local
431 uint32_t windowId = 1; HWTEST_F() local
459 uint32_t windowId = 0; HWTEST_F() local
520 uint32_t windowId = 0; HWTEST_F() local
532 uint32_t windowId = 0; HWTEST_F() local
561 uint32_t windowId = 0; HWTEST_F() local
[all...]
/foundation/window/window_manager/wmserver/include/zidl/
H A Dwindow_manager_proxy.h34 uint32_t& windowId, sptr<IRemoteObject> token) override;
36 WMError RemoveWindow(uint32_t windowId, bool isFromInnerkits) override;
39 WMError DestroyWindow(uint32_t windowId, bool onlySelf = false) override;
40 WMError RequestFocus(uint32_t windowId) override;
41 AvoidArea GetAvoidAreaByType(uint32_t windowId, AvoidAreaType type) override;
43 void NotifyServerReadyToMoveOrDrag(uint32_t windowId, sptr<WindowProperty>& windowProperty,
45 void ProcessPointDown(uint32_t windowId, bool isPointDown) override;
46 void ProcessPointUp(uint32_t windowId) override;
52 WMError SetWindowGravity(uint32_t windowId, WindowGravity gravity, uint32_t percent) override;
60 WMError GetUnreliableWindowInfo(int32_t windowId, st
[all...]
/foundation/window/window_manager/test/common/mock/
H A Dmock_window_adapter.h27 std::shared_ptr<RSSurfaceNode> surfaceNode, uint32_t& windowId, const sptr<IRemoteObject>& token));
29 MOCK_METHOD2(RemoveWindow, WMError(uint32_t windowId, bool isFromInnerkits));
31 MOCK_METHOD1(DestroyWindow, WMError(uint32_t windowId));
34 MOCK_METHOD3(GetAvoidAreaByType, WMError(uint32_t windowId, AvoidAreaType type, AvoidArea& avoidArea));
35 MOCK_METHOD2(BindDialogTarget, WMError(uint32_t& windowId, sptr<IRemoteObject> targetToken));
36 MOCK_METHOD2(UpdateRsTree, WMError(uint32_t windowId, bool isAdd));
39 MOCK_METHOD2(ProcessPointDown, void(uint32_t windowId, bool isPointDown));
40 MOCK_METHOD1(ProcessPointUp, void(uint32_t windowId));
41 MOCK_METHOD1(RequestFocus, WMError(uint32_t windowId));
44 MOCK_METHOD3(NotifyServerReadyToMoveOrDrag, void(uint32_t windowId, spt
[all...]
/foundation/window/window_manager/wmserver/src/zidl/
H A Dwindow_manager_stub.cpp47 uint32_t windowId; in OnRemoteRequest() local
52 WMError errCode = CreateWindow(windowProxy, windowProperty, surfaceNode, windowId, token); in OnRemoteRequest()
53 reply.WriteUint32(windowId); in OnRemoteRequest()
68 uint32_t windowId = 0; in OnRemoteRequest() local
69 if (!data.ReadUint32(windowId)) { in OnRemoteRequest()
70 TLOGE(WmsLogTag::WMS_LIFE, "TRANS_ID_REMOVE_WINDOW Read windowId failed."); in OnRemoteRequest()
78 WMError errCode = RemoveWindow(windowId, isFromInnerkits); in OnRemoteRequest()
83 uint32_t windowId = 0; in OnRemoteRequest() local
84 if (!data.ReadUint32(windowId)) { in OnRemoteRequest()
85 TLOGE(WmsLogTag::WMS_LIFE, "TRANS_ID_DESTROY_WINDOW Read windowId faile in OnRemoteRequest()
93 uint32_t windowId = 0; OnRemoteRequest() local
103 uint32_t windowId = data.ReadUint32(); OnRemoteRequest() local
150 uint32_t windowId = 0; OnRemoteRequest() local
166 uint32_t windowId = 0; OnRemoteRequest() local
178 uint32_t windowId = 0; OnRemoteRequest() local
247 int32_t windowId = 0; OnRemoteRequest() local
346 uint32_t windowId = 0; OnRemoteRequest() local
359 uint32_t windowId = 0; OnRemoteRequest() local
372 uint32_t windowId = data.ReadUint32(); OnRemoteRequest() local
409 uint32_t windowId = 0; OnRemoteRequest() local
419 uint32_t windowId = 0; OnRemoteRequest() local
435 uint32_t windowId = INVALID_WINDOW_ID; OnRemoteRequest() local
459 uint32_t windowId = 0; OnRemoteRequest() local
[all...]
/foundation/window/window_manager/wmserver/src/
H A Dwindow_controller.cpp249 const std::shared_ptr<RSSurfaceNode>& surfaceNode, uint32_t& windowId, sptr<IRemoteObject> token, in CreateWindow()
266 StartingWindow::HandleClientWindowCreate(node, window, windowId, surfaceNode, property, pid, uid); in CreateWindow()
280 windowId = GenWindowId(); in CreateWindow()
282 windowProperty->SetWindowId(windowId); in CreateWindow()
289 WLOGFD("createWindow id:%{public}u", windowId); in CreateWindow()
291 node->stateMachine_.SetWindowId(windowId); in CreateWindow()
324 WLOGFE("Current window is visible, windowId: %{public}u", node->GetWindowId()); in AddWindowNode()
505 WLOGFD("Calling windowId: %{public}u, calling winRect: [%{public}d, %{public}d, %{public}u, %{public}u], " in NotifyInputCallingWindowRectAndOccupiedAreaChange()
594 WMError WindowController::RemoveWindowNode(uint32_t windowId, bool fromAnimation) in RemoveWindowNode() argument
596 auto windowNode = windowRoot_->GetWindowNode(windowId); in RemoveWindowNode()
248 CreateWindow(sptr<IWindow>& window, sptr<WindowProperty>& property, const std::shared_ptr<RSSurfaceNode>& surfaceNode, uint32_t& windowId, sptr<IRemoteObject> token, int32_t pid, int32_t uid) CreateWindow() argument
646 DestroyWindow(uint32_t windowId, bool onlySelf) DestroyWindow() argument
679 ResizeRect(uint32_t windowId, const Rect& rect, WindowSizeChangeReason reason) ResizeRect() argument
734 ResizeRectAndFlush(uint32_t windowId, const Rect& rect, WindowSizeChangeReason reason) ResizeRectAndFlush() argument
745 RequestFocus(uint32_t windowId) RequestFocus() argument
757 SetWindowMode(uint32_t windowId, WindowMode dstMode) SetWindowMode() argument
992 GetSnapshot(int32_t windowId) GetSnapshot() argument
1008 SetWindowType(uint32_t windowId, WindowType type) SetWindowType() argument
1028 SetWindowFlags(uint32_t windowId, uint32_t flags, bool isSystemCalling) SetWindowFlags() argument
1057 SetSystemBarProperty(uint32_t windowId, WindowType type, const SystemBarProperty& property) SetSystemBarProperty() argument
1085 GetAvoidAreaByType(uint32_t windowId, AvoidAreaType avoidAreaType) const GetAvoidAreaByType() argument
1090 ChangeMouseStyle(uint32_t windowId, sptr<MoveDragProperty>& moveDragProperty) ChangeMouseStyle() argument
1118 NotifyServerReadyToMoveOrDrag(uint32_t windowId, sptr<MoveDragProperty>& moveDragProperty) NotifyServerReadyToMoveOrDrag() argument
1149 ProcessPointDown(uint32_t windowId, bool isPointDown) ProcessPointDown() argument
1186 ProcessPointUp(uint32_t windowId) ProcessPointUp() argument
1221 InterceptInputEventToServer(uint32_t windowId) InterceptInputEventToServer() argument
1235 RecoverInputEventToClient(uint32_t windowId) RecoverInputEventToClient() argument
1253 RecoverDefaultMouseStyle(uint32_t windowId) RecoverDefaultMouseStyle() argument
1268 RaiseToAppTop(uint32_t windowId) RaiseToAppTop() argument
1293 DispatchKeyEvent(uint32_t windowId, std::shared_ptr<MMI::KeyEvent> event) DispatchKeyEvent() argument
1313 uint32_t windowId = node->GetWindowId(); UpdateFocusIfNeededWhenRaiseWindow() local
1330 NotifyWindowClientPointUp(uint32_t windowId, const std::shared_ptr<MMI::PointerEvent>& pointerEvent) NotifyWindowClientPointUp() argument
1366 FlushWindowInfo(uint32_t windowId) FlushWindowInfo() argument
1390 uint32_t windowId = node->GetWindowProperty()->GetWindowId(); UpdateWindowAnimation() local
1438 uint32_t windowId = property->GetWindowId(); UpdateProperty() local
1613 SetWindowGravity(uint32_t windowId, WindowGravity gravity, uint32_t percent) SetWindowGravity() argument
1647 SetAspectRatio(uint32_t windowId, float ratio) SetAspectRatio() argument
1692 GetUnreliableWindowInfo(int32_t windowId, std::vector<sptr<UnreliableWindowInfo>>& infos) const GetUnreliableWindowInfo() argument
1750 UpdateTransform(uint32_t windowId) UpdateTransform() argument
1874 BindDialogTarget(uint32_t& windowId, sptr<IRemoteObject> targetToken) BindDialogTarget() argument
[all...]
/foundation/barrierfree/accessibility/services/aams/include/
H A Daccessibility_window_manager.h44 int32_t ConvertToRealWindowId(int32_t windowId, int32_t focusType);
47 void SetActiveWindow(int32_t windowId, bool isSendEvent = true);
49 void SetAccessibilityFocusedWindow(int32_t windowId);
51 bool GetAccessibilityWindow(int32_t windowId, AccessibilityWindowInfo &window);
52 bool IsValidWindow(int32_t windowId);
56 int64_t GetSceneBoardElementId(const int32_t windowId, const int64_t elementId);
61 void GetRealWindowAndElementId(int32_t& windowId, int64_t& elementId);
62 void GetSceneBoardInnerWinId(int32_t windowId, int64_t elementId, int32_t& innerWid);
67 void SetWindowSize(int32_t windowId, Rect rect);
78 // used for arkui windowId
[all...]
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dmouse_style_ohos.h29 bool SetPointerStyle(int32_t windowId, MouseFormat pointerStyle) const override;
30 int32_t GetPointerStyle(int32_t windowId, int32_t& pointerStyle) const override;
31 bool ChangePointerStyle(int32_t windowId, MouseFormat mouseFormat) const override;
33 int32_t windowId, MouseFormat pointerStyle, std::shared_ptr<Media::PixelMap> pixelMap) const override;
35 int32_t windowId, int32_t focusX, int32_t focusY, std::shared_ptr<Media::PixelMap> pixelMap) const override;
H A Dmouse_style_ohos.cpp30 bool MouseStyleOhos::SetPointerStyle(int32_t windowId, MouseFormat pointerStyle) const in SetPointerStyle() argument
90 TAG_LOGI(AceLogTag::ACE_MOUSE, "SetPointerStyle windowId=%{public}d style=%{public}d isUIExtension=%{public}d", in SetPointerStyle()
91 windowId, static_cast<int32_t>(pointerStyle), isUIExtension); in SetPointerStyle()
92 int32_t setResult = inputManager->SetPointerStyle(windowId, style, isUIExtension); in SetPointerStyle()
100 int32_t MouseStyleOhos::GetPointerStyle(int32_t windowId, int32_t& pointerStyle) const in GetPointerStyle() argument
108 int32_t getResult = inputManager->GetPointerStyle(windowId, style, isUIExtension); in GetPointerStyle()
117 bool MouseStyleOhos::ChangePointerStyle(int32_t windowId, MouseFormat mouseFormat) const in ChangePointerStyle() argument
120 if (GetPointerStyle(windowId, curPointerStyle) == -1) { in ChangePointerStyle()
128 return SetPointerStyle(windowId, mouseFormat); in ChangePointerStyle()
132 int32_t windowId, MouseForma in SetMouseIcon()
131 SetMouseIcon( int32_t windowId, MouseFormat pointerStyle, std::shared_ptr<Media::PixelMap> pixelMap) const SetMouseIcon() argument
144 SetCustomCursor( int32_t windowId, int32_t focusX, int32_t focusY, std::shared_ptr<Media::PixelMap> pixelMap) const SetCustomCursor() argument
[all...]
/foundation/distributedhardware/distributed_screen/services/screenclient/include/
H A Dscreen_client.h39 sptr<Surface> GetSurface(int32_t windowId);
40 int32_t ShowWindow(int32_t windowId);
41 int32_t MoveWindow(int32_t windowId, int32_t startX, int32_t startY);
42 int32_t RemoveWindow(int32_t windowId);
43 int32_t HideWindow(int32_t windowId);

Completed in 15 milliseconds

12345678910>>...19