• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..17-Mar-2025-

AppDemo/window/H17-Mar-2025-1,071865

dm/H17-Mar-2025-12,1749,276

dm_lite/H17-Mar-2025-4,0953,075

dmserver/H17-Mar-2025-19,16014,585

etc/H17-Mar-2025-6760

extension/H17-Mar-2025-3,2642,340

figures/H17-Mar-2025-

interfaces/H17-Mar-2025-39,99729,862

previewer/H17-Mar-2025-6,2814,441

resources/H17-Mar-2025-558456

sa_profile/H17-Mar-2025-6562

setresolution/H17-Mar-2025-236160

snapshot/H17-Mar-2025-1,6401,219

test/H17-Mar-2025-29,16821,196

utils/H17-Mar-2025-14,56510,682

window_scene/H17-Mar-2025-168,974132,963

wm/H17-Mar-2025-62,51947,487

wmserver/H17-Mar-2025-44,32534,229

LICENSEH A D17-Mar-20259.9 KiB177150

OAT.xmlH A D17-Mar-20254.6 KiB7318

README.mdH A D17-Mar-20252.5 KiB6039

README_zh.mdH A D17-Mar-20254.9 KiB10789

bundle.jsonH A D17-Mar-202515.2 KiB413412

hisysevent.yamlH A D17-Mar-20256.8 KiB158131

scene_board_enable.gniH A D17-Mar-2025692 1714

windowmanager_aafwk.gniH A D17-Mar-20251.8 KiB4539

README.md

1# Window Manager
2
3## Introduction
4
5The Window Manager subsystem provides basic capabilities of window and display management. It is the basis for UI display. The following figure shows the architecture of the Window Manager subsystem.
6
7**Figure 1** Architecture of the Window Manager subsystem
8
9![WindowManager-subsystem-architecture](./figures/WindowManager_EN.png)
10
11- **Window Manager Client**
12
13    Provides window object abstraction and window management interfaces, and connects to the ability and UI framework.
14
15- **Display Manager Client**
16
17    Provides display information abstraction and display management interfaces.
18
19- **Window Manager Server**
20
21    Provides capabilities such as window layout, Z-order control, window tree structure, window dragging, and window snapshot, and offers the window layout and focus window for multimodal input.
22
23- **Display Manager Server**
24
25    Provides display information, screenshot, screen on/off, and brightness processing control, and processes the mapping between the display and screen.
26
27## Directory Structure
28
29```text
30foundation/window/window_manager/
31├── dm                      # Stores Display Manager Client implementation code
32├── dmserver                # Stores Display Manager Server implementation code
33├── interfaces              # Stores external APIs
34│   ├── innerkits           # Stores native APIs
35│   └── kits                # Stores JS APIs and native APIs
36├── resources               # Stores resource files used by the framework
37├── sa_profile              # Stores system service configuration files
38├── snapshot                # Stores implementation code of the screenshot command line tool
39├── utils                   # Stores tools
40├── wm                      # Stores Window Manager Client implementation code
41├── wmserver                # Stores Window Manager Server implementation code
42```
43
44## Constraints
45
46- Programming language version
47  - C++ 11 or later
48
49## Available APIs
50
51- [Window](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-window.md)
52- [Display](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-display.md)
53
54## Repositories Involved
55
56- [graphic_graphic_2d](https://gitee.com/openharmony/graphic_graphic_2d)
57- [arkui_ace_engine](https://gitee.com/openharmony/arkui_ace_engine)
58- [ability_ability_runtime](https://gitee.com/openharmony/ability_ability_runtime)
59- [multimodalinput_input](https://gitee.com/openharmony/multimodalinput_input)
60

README_zh.md

1# window_manager
2
3-   [简介](#简介)
4-   [目录](#目录)
5-   [约束](#约束)
6-   [接口说明](#接口说明)
7-   [相关仓](#相关仓)
8
9## 简介
10
11**窗口子系统** 提供窗口管理和Display管理的基础能力,是系统图形界面显示所需的基础子系统
12
13其主要的结构如下图所示:
14
15![窗口子系统架构图](./figures/WindowManager.png)
16
17- **Window Manager Client**
18
19    应用进程窗口管理接口层,提供窗口对对象抽象和窗口管理接口,对接原能力和UI框架。
20
21- **Display Manager Client**
22
23    应用进程Display管理接口层,提供Display信息抽象和Display管理接口。
24
25- **Window Manager Server**
26
27    窗口管理服务,提供窗口布局、Z序控制、窗口树结构、窗口拖拽、窗口快照等能力,并提供窗口布局和焦点窗口给多模输入
28
29- **Display Manager Server**
30
31    Display管理服务,提供Display信息、屏幕截图、屏幕亮灭和亮度处理控制,并处理Display与Screen映射关系
32
33## 目录
34```
35foundation/window/window_manager/
36├── dm                              # Dislplay Manager Client实现代码
37│   ├── BUILD.gn
38│   ├── include
39│   ├── src
40│   └── test
41├── dmserver                        # Dislplay Manager Service实现代码
42│   ├── BUILD.gn
43│   ├── include
44│   ├── src
45│   └── test
46├── extension                       # Ability Component 窗口相关代码实现目录
47│   ├── extension_connection        # Ability Component 嵌入部分
48│   └── window_extension            # Ability Component 被嵌入部分
49├── interfaces                      # 对外接口存放目录
50│   ├── innerkits                   # native接口存放目录
51│   └── kits                        # js/napi接口存放目录
52├── previewer                       # IDE轻量模拟器窗口代码实现目录
53│   ├── BUILD.gn
54│   ├── include
55│   ├── mock
56│   └── src
57├── resources                       # 框架使用资源文件存放目录
58│   ├── BUILD.gn
59│   ├── config
60│   ├── dialog_ui
61│   └── media
62├── sa_profile                      # 系统服务配置文件
63│   ├── 4606.xml
64│   ├── 4607.xml
65│   └── BUILD.gn
66├── snapshot                        # 截屏命令行工具实现代码
67│   ├── BUILD.gn
68│   ├── include
69│   ├── src
70│   └── test
71├── test                            # Fuzz测试和系统测试用例存放目录
72│   ├── BUILD.gn
73│   ├── common
74│   ├── demo
75│   ├── fuzztest
76│   └── systemtest
77├── utils                           # 工具类存放目录
78│   ├── BUILD.gn
79│   ├── include
80│   ├── src
81│   └── test
82├── wm                              # Window Manager Client实现代码
83│   ├── BUILD.gn
84│   ├── include
85│   ├── src
86│   └── test
87└── wmserver                        # Window Manager Service实现代码
88    ├── BUILD.gn
89    ├── include
90    ├── src
91    └── test
92```
93
94## 约束
95- 语言版本
96    - C++11或以上
97
98## 接口说明
99
100- [Window](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-arkui/js-apis-window.md)
101- [Display](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-arkui/js-apis-display.md)
102
103## 相关仓
104- [graphic_graphic_2d](https://gitee.com/openharmony/graphic_graphic_2d)
105- [arkui_ace_engine](https://gitee.com/openharmony/arkui_ace_engine)
106- [ability_ability_runtime](https://gitee.com/openharmony/ability_ability_runtime)
107- [multimodalinput_input](https://gitee.com/openharmony/multimodalinput_input)