US 11,947,982 B2
UI adaptation constraint solving method and related apparatus
Tao Wen, Hangzhou (CN); Xiao Xu, Hangzhou (CN); Jun Liu, Hangzhou (CN); and Tengfei Cui, Hangzhou (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Jul. 13, 2023, as Appl. No. 18/351,734.
Application 18/351,734 is a continuation of application No. PCT/CN2022/071571, filed on Jan. 12, 2022.
Claims priority of application No. 202110051719.8 (CN), filed on Jan. 14, 2021.
Prior Publication US 2023/0350702 A1, Nov. 2, 2023
Int. Cl. G06F 9/451 (2018.01); G06F 8/38 (2018.01)
CPC G06F 9/451 (2018.02) [G06F 8/38 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method implemented by an integrated development environment (IDE), the method comprising:
obtaining a plurality of constraint relationships of a user interface (UI);
solving a first constraint relationship of a first type in the plurality of constraint relationships in the IDE;
calculating a first intermediate solution set based on a-the first constraint relationship; and
outputting the first intermediate solution set,
wherein a layout of one or more components in the UI is based on the first intermediate solution set and a second constraint relationship of a second type in the plurality of constraint relationships, and
wherein the second constraint relationship for solving in a terminal or the IDE.