| CPC G06F 3/14 (2013.01) [G06F 1/1652 (2013.01); G06F 3/04817 (2013.01); G06F 3/0482 (2013.01); G09F 9/301 (2013.01)] | 14 Claims |

|
1. A device control method, performed by an electronic device; wherein the electronic device comprises a retractable display screen, and the device control method comprises:
obtaining a changing distance of the retractable display screen in an extending-retracting direction in response to the retractable display screen being extended or retracted;
adjusting a spacing of application icons displayed on a current desktop in the extending-retracting direction according to the changing distance, comprising:
increasing the spacing of the application icons displayed on the current desktop in the extending-retracting direction in response to the changing distance being an extending distance; and
adjusting a number of the application icons displayed on the current desktop in the extending-retracting direction according to the changing distance, after increasing the spacing of the application icons displayed on the current desktop in the extending-retracting direction in response to the changing distance being the extending distance;
wherein increasing the spacing of the application icons displayed on the current desktop in the extending-retracting direction in response to the changing distance being the extending distance comprises:
continuing to increase the spacing of the application icons in the extending-retracting direction in response to the spacing of the application icons in the extending-retracting direction being less than a first spacing; wherein the first spacing is greater than the spacing of the application icons in the extending-retracting direction when the retractable display screen is in an unextended state; and
stopping increasing the spacing of the application icons in the extending-retracting direction in response to the spacing of the application icons in the extending-retracting direction being equal to the first spacing;
wherein adjusting the number of the application icons displayed on the current desktop in the extending-retracting direction according to the changing distance comprises:
after an initial moment at which the spacing of the application icons in the extending-retracting direction is equal to the first spacing, increasing the number of the application icons displayed on the current desktop in response to a newly added extending distance being greater than a first distance.
|