harmony 鸿蒙Window Manager

  • 2022-08-09
  • 浏览 (964)

Window Manager

Introduction

The 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.

Figure 1 Architecture of the Window Manager subsystem

WindowManager-subsystem-architecture

Components of the Window Manager subsystem are described as follows:

  • Window Manager Client

    Provides window object abstraction and window management interfaces, and connects to the ability and UI framework.

  • Display Manager Client

    Provides display information abstraction and display management interfaces.

  • Window Manager Server

    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.

  • Display Manager Server

    Provides display information, screenshot, screen on/off, and brightness processing control, and processes the mapping between the display and screen.

Directory Structure

foundation/window/window_manager/
├── dm                      # Implementation code of Display Manager Client
├── dmserver                # Implementation code of Display Manager Server
├── interfaces              # External APIs
│   ├── innerkits           # Native APIs
│   └── kits                # JS APIs and native APIs
├── resources               # Resource files used by the framework
├── sa_profile              # System service configuration files
├── snapshot                # Implementation code of the screenshot command line tool
├── utils                   # Utilities
├── wm                      # Implementation code of Window Manager Client
├── wmserver                # Implementation code of Window Manager Server

Constraints

The Programming language version must be C++ 11 or later.

Available APIs

Repositories Involved

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkCompiler Runtime

harmony 鸿蒙DeviceProfile

harmony 鸿蒙System Ability Manager

harmony 鸿蒙Security

harmony 鸿蒙Ability Framework

harmony 鸿蒙Account

harmony 鸿蒙AI

harmony 鸿蒙ArkUI

harmony 鸿蒙Bundle Management

harmony 鸿蒙Common Event and Notification

0  赞