US 12,474,823 B2
Page sliding processing method and related apparatus
Chao Bian, Nanjing (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Appl. No. 18/266,916
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
PCT Filed Dec. 14, 2021, PCT No. PCT/CN2021/137925
§ 371(c)(1), (2) Date Jun. 13, 2023,
PCT Pub. No. WO2022/127786, PCT Pub. Date Jun. 23, 2022.
Claims priority of application No. 202011468134.8 (CN), filed on Dec. 14, 2020.
Prior Publication US 2024/0111403 A1, Apr. 4, 2024
Int. Cl. G06F 3/048 (2013.01); G06F 3/04845 (2022.01); G06F 3/0488 (2022.01)
CPC G06F 3/04845 (2013.01) [G06F 3/0488 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A page sliding processing method, comprising:
detecting, by an electronic device, a sliding operation performed on a first module on a first page in a first direction;
after detecting the sliding operation, the method further comprising:
controlling, by the electronic device in a first time period in response to the sliding operation, a first module group to slide in a second direction based on a detected displacement of the sliding operation in the second direction, and controlling, based on a displacement of the first module group, a second module group to slide in the second direction based on a first preset motion law, wherein
the first module group comprises the first module, the second module group comprises at least one module other than modules of the first module group on the first page, the second module group is determined by the electronic device based on a position relationship between a module in the second module group and the first module, and the second direction is determined based on the first direction and sliding directions that modules on the first page can slide to; and the displacement of the first module group is greater than or equal to displacement of the second module group in the first time period, and a first displacement difference between the first module group and the second module group is greater than zero at an end moment of the first time period;
determining, based on a first displacement of the first module group at the end moment of the first time period, a second displacement of the second module group in the second direction in a second time period after the first time period; and
controlling, in the second time period, the second module group to slide within the second displacement based on a second preset motion law, wherein the first displacement difference decreases at an end moment of the second time period compared with a start moment of the second time period.