- 专利标题: ADAPTIVE UI CONSTRAINT SOLVING METHOD AND RELATED DEVICE
-
申请号: EP22739037.4申请日: 2022-01-12
-
公开(公告)号: EP4266169A1公开(公告)日: 2023-10-25
- 发明人: WEN, Tao , XU, Xiao , LIU, Jun , CUI, Tengfei
- 申请人: Huawei Technologies Co., Ltd.
- 申请人地址: CN Shenzhen, Guangdong 518129 Huawei Administration Building Bantian Longgang District
- 代理机构: Goddar, Heinz J.
- 优先权: CN202110051719 20210114
- 国际公布: WO2022152159 20220721
- 主分类号: G06F8/34
- IPC分类号: G06F8/34 ; G06F8/38
摘要:
Embodiments of this application provide a user interface UI interface adaptation constraint solving method and a related apparatus. In the method, a plurality of constraint relationships in a UI interface are identified and grouped into two types, a constraint relationship of a first type is solved in an integrated development environment IDE, and a constraint relationship of a second type is a constraint relationship solved in a terminal or the IDE. The plurality of constraint relationships are used to determine a layout of one or more components in the UI interface. The IDE calculates a first intermediate solution set based on the constraint relationship of the first type in the plurality of constraint relationships. The first intermediate solution set is used to determine the layout of the one or more components in the UI interface together with the constraint relationship of the second type. According to embodiments of this application, UI interface rendering efficiency of the terminal can be improved.
信息查询