Media resource loading method and terminal
AssigneeHuawei Technologies Co., Ltd.
InventorsHuihai SHEN, Dapeng ZHANG, Yunjian YING, Qiulin CHEN
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsHuihai SHEN, Dapeng ZHANG, Yunjian YING, Qiulin CHEN
Estimating the term…
A method for controlling media resource loading including: listening to a touchscreen sliding event; when the touchscreen sliding event is obtained through the listening, detecting whether a user interface (UI) inertially scrolls; measuring a speed of the inertial scrolling when it is detected that the UI inertially scrolls; determining whether an initial speed of the inertial scrolling is greater than a first speed threshold; stopping loading a to-be-loaded media resource on the UI when the initial speed is greater than the first speed threshold. In technical solutions of the present invention, media resource loading can be dynamically controlled depending on whether a UI inertial scrolling speed is greater than a preset speed threshold, so that on the premise of ensuring low energy consumption and UI smoothness, a white block problem is avoided and a UI scrolling speed is prevented from being limited, thereby improving user experience.
A method for controlling media resource loading, comprising:
A terminal, comprising:
A computer readable storage medium, wherein the computer readable storage medium includes instructions, when at least one processor of a computing device executes the instructions, the computing device performs a method for controlling media resource loading, comprising:
Dependencies are inferred from the claim text.