Device control method, device, storage medium and electronic device
By adjusting the spacing and number of application icons in the electronic device and according to the changing distance of the retractable display screen, the problem of inflexible arrangement of application icons in the prior art is solved, and the adaptability of the display area and user experience are improved.
Patent Information
- Application Number
- CN202011350436.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-26
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-11-26
AI Technical Summary
In the prior art, during the retractable display screen of electronic equipment, the arrangement of application icons is not flexible enough, making it difficult to adapt to changes in the display area.
By obtaining the changing distance of the retractable display in the stretching direction, adjust the spacing and number of application icons on the current desktop so that the layout changes with the changing distance during the stretching or shrinking process.
The flexibility of application icon arrangement during the expansion or contraction process of the retractable display is enhanced, improving the user experience.
Smart Images

Figure CN113986071B_ABST
Abstract
Description
[0001] This application claims priority to the Chinese patent application filed with the Patent Office on July 27, 2020, with application number 202010732398.3 and application name “Device Control Method, Device, Storage Medium and Electronic Device”, all contents of which are incorporated by reference in this application. Technical Field
[0002] The present application relates to the field of communication technology, and in particular to a device control method, apparatus, storage medium and electronic device. Background Art
[0003] With the development of technology, more and more applications are installed in electronic devices, such as video applications, game applications, and instant messaging applications. After these applications are installed in electronic devices, corresponding shortcuts, such as application icons, will be generated on the display page of the electronic device. However, in the related art, when a user operates an electronic device, the arrangement of application icons on the desktop is not flexible enough. Summary of the invention
[0004] The embodiments of the present application provide a method, device, storage medium and electronic device for page display, which can enhance the flexibility of arranging application icons on a retractable display screen during the retraction process.
[0005] In a first aspect, an embodiment of the present application provides a device control method, which is applied to an electronic device, wherein the electronic device includes a retractable display screen, and the device control method includes:
[0006] When the retractable display screen is retracted, obtaining a change distance of the retractable display screen in the retracting direction;
[0007] The spacing between application icons and / or the number of application icons displayed on the current desktop in the retracting direction is adjusted according to the change distance.
[0008] In a second aspect, an embodiment of the present application further provides a device control device, which is applied to an electronic device, wherein the electronic device includes a retractable display screen, and the device control device includes:
[0009] An acquisition module, configured to acquire a change distance of the retractable display screen in a retracting direction when the retractable display screen is retracted;
[0010] The adjustment module adjusts the spacing between application icons and / or the number of application icons displayed on the current desktop in the extension direction according to the change distance.
[0011] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is run on a computer, the computer executes a device control method as provided in any embodiment of the present application.
[0012] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising a processor and a memory, wherein the memory has a computer program, and the processor executes a device control method provided in any embodiment of the present application by calling the computer program.
[0013] The present application implements the method of obtaining the change distance of the retractable display screen in the retracting direction when the retractable display screen is retracted, and adjusting the spacing of the application icons in the retracting direction and / or the number of application icons displayed on the current desktop according to the change distance. The present solution adjusts the spacing of the application icons in the retracting direction and / or the number of application icons on the current desktop according to the change distance of the retractable display screen of the electronic device in the retracting direction, so that the layout of the application icons on the display area changes accordingly with the change distance during the extension or contraction of the retractable display screen, thereby enhancing the flexibility of the arrangement of the application icons on the display area during the extension or contraction of the retractable display screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0015] Figures 1 to 5 A schematic structural diagram of an electronic device with a retractable display screen provided in an embodiment of the present application.
[0016] Figure 6 A first flow chart of a device control method provided in an embodiment of the present application.
[0017] Figure 7 A first schematic diagram of an electronic device with a retractable display screen in an unexpanded state provided in an embodiment of the present application.
[0018] Figure 8 A second schematic diagram of an electronic device with a retractable display screen in an unexpanded state provided in an embodiment of the present application.
[0019] Fig. 9 A second flow chart of the device control method provided in an embodiment of the present application.
[0020] Fig.10A schematic diagram of an embodiment of the present application showing that the spacing between application icons on the current desktop changes in the retractable direction as the distance of the retractable display changes.
[0021] Fig.11 A third flow chart of the device control method provided in an embodiment of the present application.
[0022] Figure 12 to Figure 14 A schematic diagram of an embodiment of the present application showing that the number of application icons on the current desktop changes accordingly as the distance of the retractable display screen changes.
[0023] Figure 15 to Figure 19 A schematic diagram of a current desktop provided by an embodiment of the present application showing that the distance between application icons on the current desktop and / or the number of application icons on the desktop changes accordingly as the distance of the retractable display changes.
[0024] Fig. 20 A fourth flow chart of the device control method provided in an embodiment of the present application.
[0025] Fig.21 A fifth flow chart of the device control method provided in the embodiment of the present application.
[0026] Fig. 22 A sixth flow chart of the device control method provided in an embodiment of the present application.
[0027] Fig.23 A seventh flow chart of the device control method provided in an embodiment of the present application.
[0028] Fig.24 A schematic diagram of the structure of the device control device provided in an embodiment of the present application.
[0029] Fig.25 A first structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0030] Fig.26 A second structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0032] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0033] The embodiment of the present application provides a device control method, and the execution subject of the device control method can be the device control device provided in the embodiment of the present application, or an electronic device integrating the device control device, wherein the device control device can be implemented in hardware or software. The electronic device can be a smart phone, a tablet computer, a PDA, a laptop computer, or a desktop computer.
[0034] Please refer to the drawings, where the same component symbols represent the same components. The principle of the present application is illustrated by implementing it in an appropriate computing environment. The following description is based on the illustrated specific embodiments of the present application, which should not be considered as limiting other specific embodiments of the present application that are not described in detail herein.
[0035] See also Figures 1 to 3 , Figures 1 to 3 It is a schematic diagram of the structure of an electronic device with a retractable touch display screen provided in an embodiment of the present application.
[0036] The electronic device 100 of this embodiment includes a housing assembly 10, a flexible display screen 30, a driving member 50 and a driving mechanism 70. The housing assembly 10 is a hollow structure. The driving member 50, the driving mechanism 70 and the camera 90 and other components can be arranged in the housing assembly 10. It is understood that the electronic device 100 of the embodiment of the present application includes but is not limited to mobile terminals such as mobile phones and tablet computers or other portable electronic devices. In this article, the electronic device 100 is taken as an example of a mobile phone for description.
[0037] In this embodiment, the housing assembly 10 includes a first housing 12 and a second housing 14, and the first housing 12 and the second housing 14 can move relative to each other. In this embodiment, the first housing 12 and the second housing 14 are slidably connected, that is, the second housing 14 can slide relative to the first housing 12.
[0038] See also Figure 4 and Figure 5 The first housing 12 and the second housing 14 together form a receiving space 16. The receiving space 16 can be used to place components such as the driving member 50, the camera 60 and the driving mechanism 70. The housing assembly 10 may further include a back cover 18, which together with the first housing 12 and the second housing 14 form the receiving space 16.
[0039] The driving member 50 is disposed on the second housing 14, one end of the flexible display screen 30 is disposed on the first housing 12, the flexible display screen 30 bypasses the driving member 50, and the other end of the flexible display screen is disposed in the accommodating space 16, so that part of the flexible display screen is hidden in the accommodating space 16, and the part of the flexible display screen 30 hidden in the accommodating space 16 may not be lit. The first housing 12 and the second housing 14 are relatively far apart, and the flexible display screen 30 can be driven to unfold by the driving member 50, so that more of the flexible display screen 30 is exposed outside the accommodating space 16, such as Figure 5 The flexible display screen 30 exposed outside the accommodation space 16 is illuminated to enlarge the display area presented by the electronic device 100. For example, Figure 1 to Figure 2 It can be a comparison of the morphological changes of the flexible display screen 30 of the electronic device from the contracted state to the laterally extended state.
[0040] The driving member 50 can be a rotating shaft structure with teeth 52 on the outside. The flexible display screen 30 is linked to the driving member 50 by meshing or the like. When the first shell 12 and the second shell 14 are relatively far away from each other, the driving member 50 drives the part of the flexible display screen 30 meshed on the driving member 50 to move and unfold.
[0041] It is understandable that the driving member 50 may also be a round shaft without the teeth 52. When the first housing 12 and the second housing 14 are relatively far apart, the driving member 50 is used to open the part of the flexible display screen 30 wound on the driving member 50, so that more of the flexible display screen is exposed outside the accommodating space 16 and is in a flat state. Specifically, the driving member 50 is rotatably disposed on the second housing 14. When the flexible display screen 30 is gradually opened, the driving member 50 can rotate with the movement of the flexible display screen 30.
[0042] In other embodiments, the driving member 50 may also be fixed on the second housing 14, and the driving member 50 has a smooth surface. When the flexible display screen 30 is opened, the driving member 50 can slidably contact with the flexible display screen 30 through its smooth surface.
[0043] When the first housing 12 and the second housing 14 are relatively close to each other, the flexible display screen can be driven to retract by the driving member 50. Alternatively, the electronic device 100 further includes a reset member (not shown), and one end of the flexible display screen accommodated in the accommodating space 16 is linked to the reset member. When the first housing 12 and the second housing 14 are relatively close to each other, the reset member drives the flexible display screen 30 to reset, thereby partially retracting the flexible display screen into the accommodating space 16.
[0044] In this embodiment, the driving mechanism 70 may be disposed in the accommodating space 16, and the driving mechanism 70 may be linked with the second housing 14, and the driving mechanism 70 is used to drive the second housing 14 to move away from the first housing 12, thereby driving the flexible display assembly 30 to extend. It is understandable that the driving mechanism 70 may also be omitted, and the user may directly make the first housing and the second housing move relative to each other manually or in other ways.
[0045] It should be noted that, in addition to Figures 1 to 5 In addition to the hardware arrangement design that allows the flexible display screen to be extended and retracted in the lateral direction of the electronic device (for example, extension and retraction in the left and right direction), in some other embodiments, the direction of the hardware arrangement design can also be changed so that the flexible display screen can be extended and retracted in the longitudinal direction of the electronic device (for example, extension and retraction in the up and down direction).
[0046] See also Figure 6 , Figure 6 1 is a schematic diagram of a first flow chart of a device control method provided in an embodiment of the present application. The device control method can be applied to an electronic device, and the electronic device can include a retractable display screen. The flow of the device control method can include:
[0047] 101. When the retractable display screen is retracted, a change distance of the retractable display screen in the retracting direction is obtained.
[0048] With the continuous development of technology, the form of electronic devices is also changing. From small screens to large screens, from display screens that are simply used to display images and text to touch screens that can receive user touch operations, and so on. With the development of technology, users have higher and higher requirements for the intelligence of electronic devices. However, in the related technologies, the degree of intelligence of electronic devices is still not high.
[0049] It should be noted that in the embodiments of the present application, the electronic device may have a retractable display panel. The retractable display panel may be a retractable display panel (The Retractable Display Panel). The retractable display panel may be a flexible display panel, which may be bent, curled, folded, etc. On an electronic device equipped with a retractable display panel, the visible size of the screen may be increased by stretching the retractable display panel, and the visible size of the screen may be reduced by shrinking the retractable display panel. For example, Figures 1 to 5 The flexible display screen 30 in the embodiment can be a retractable display screen.
[0050] For example, the state of an electronic device with a retractable display screen when not extended is called a small screen state, and the state when fully extended is called a large screen state. The display screen of the electronic device can be extended from the small screen state to the large screen state, or can be retracted from the large screen state to the small screen state.
[0051] The change distance refers to the length of the retractable display screen that changes in the corresponding retractable direction when the retractable display screen is retracted. For example, in the case of vertical retracting, the change distance of the retractable display screen in the retractable direction is the distance that the retractable display screen increases or decreases in the longitudinal direction; in the case of horizontal retracting, the change distance of the retractable display screen in the retractable direction is the distance that the retractable display screen increases or decreases in the horizontal direction.
[0052] It can be understood that in the embodiment of the present application, the retractable display screen of the electronic device can be extended or retracted manually by the user, or the electronic device can automatically control the extension or retraction of the retractable display screen after the user triggers a display screen extension instruction.
[0053] 102. Adjust the spacing between application icons and / or the number of application icons displayed on the current desktop in the extension direction according to the changed distance.
[0054] With the development of technology, more and more applications are installed in electronic devices, such as video applications, game applications, and instant messaging applications. After these applications are installed in electronic devices, corresponding shortcuts will be generated on the display page of the electronic device to facilitate users to quickly find the entrance to the corresponding application, such as the application icon on the desktop.
[0055] Among them, the desktop is the starting point for all application operations. It is the main screen area displayed when the operating system runs to a normal state after the computer is started.
[0056] Generally speaking, due to the large number of applications, it is difficult to put all the application icons that need to be displayed on one page of the desktop, so there will be one or more pages of desktops in the electronic device. Among them, the current desktop in this application refers to the desktop page currently displayed.
[0057] It should be noted that when an electronic device is extended or retracted, it can be divided into two situations: vertical extension and horizontal extension. Taking a smartphone as an example, vertical extension refers to the situation where the smartphone is extended or retracted in portrait mode. At this time, the spacing between application icons in the extension direction and the spacing between application icons in the retraction direction are the row spacing of application icons. Please refer to Figure 7 Horizontal expansion refers to the situation where a smartphone is stretched or shrunk in landscape mode. At this time, the spacing of application icons in the stretching direction and the spacing in the shrinking direction are the column spacing of application icons. Please refer to Figure 8 .
[0058] For example, when the change distance of the retractable display screen of the electronic device is obtained, the electronic device can adjust the spacing of application icons in the retractable direction and / or the number of application icons displayed on the current desktop according to the change distance.
[0059] Among them, when the retractable display screen is retracted, the change distance of the retractable display screen in the retracting direction changes, and the area of the corresponding display area will increase or decrease. Therefore, the spacing of application icons in the retracting direction can be changed accordingly based on the increased area or the decreased area, or the number of application icons displayed on the current desktop can be changed.
[0060] The present application implements the method of obtaining the change distance of the retractable display screen in the retracting direction when the retractable display screen is retracted, and adjusting the spacing of the application icons in the retracting direction and / or the number of application icons displayed on the current desktop according to the change distance. The present solution adjusts the spacing of the application icons in the retracting direction and / or the number of application icons on the current desktop according to the change distance of the retractable display screen of the electronic device in the retracting direction, so that the layout of the application icons on the display area changes accordingly with the change distance during the extension or contraction of the retractable display screen, thereby enhancing the flexibility of the arrangement of the application icons on the display area during the extension or contraction of the retractable display screen.
[0061] According to the method described in the previous embodiment, the following examples are given to further explain in detail. Fig. 9 , Fig. 9 1 is a second flow chart of the device control method provided in the embodiment of the present application. The device control method can be applied to an electronic device, and the electronic device can include a retractable display screen. The process of the device control method can include:
[0062] 201. When the retractable display screen is retracted, obtain a change distance of the retractable display screen in the retracting direction.
[0063] When the retractable display screen is extended or retracted, it can be divided into vertical extension and horizontal extension. Taking the electronic device as a smartphone as an example, vertical extension refers to the situation where the smartphone is extended or retracted in the vertical screen state. The vertical screen state is as follows: Figure 7 As shown, the spacing of the application icons in the stretching direction is the row spacing of the application icons; horizontal stretching refers to the situation where the smartphone is stretched or shrunk in the horizontal screen state. Figure 8 As shown, at this time, the spacing between the application icons in the expansion direction is the column spacing of the application icons.
[0064] In one embodiment, the change distance may be obtained by the distance that the display area after the current expansion and contraction increases relative to the display area before the current expansion and contraction in the expansion and contraction direction.
[0065] It can be understood that when the retractable display screen is extended, the changing distance is the extended distance.
[0066] It should be noted that since the vertical expansion and contraction and the horizontal expansion and contraction are only different in direction, and the display method of adjusting the application icon on the desktop is the same, this embodiment takes the vertical expansion and contraction as an example for description.
[0067] 202. When the change distance is the stretching distance, increase the spacing between application icons on the current desktop in the stretching direction.
[0068] Since this embodiment discusses the case of vertical expansion and contraction, the spacing of application icons in the expansion direction is the line spacing.
[0069] For example, when the electronic device is in an unexpanded state, see Figure 7 , that is, the small screen state. Assuming that in the small screen state, in addition to the application icons of resident applications, the page can hold up to 3 rows by 4 columns, for a total of 12 application icons. For example, when a user pulls down the display screen of an electronic device when the electronic device is in an unexpanded state or the electronic device automatically extends the display screen downward, the spacing between the 3 rows of application icons will increase as the stretching distance increases. For example, when the stretching distance increases to 4 cm, the spacing between each row increases by 2 cm. For another example, when the stretching distance increases to 3 cm, the spacing between each row increases by 1.5 cm.
[0070] In one implementation, the step of “increasing the spacing between application icons on the current desktop in the retracting direction” may include:
[0071] (1) Increasing the spacing between application icons in the retractable direction until the retractable display stops extending.
[0072] For example, when Figure 7 When the retractable display screen begins to be extended in the small screen state shown, the row spacing between the three rows of application icons on the current desktop increases as the extension distance increases until the retractable display screen stops extending.
[0073] In one embodiment, the step of “increasing the spacing between application icons in the stretching and retracting direction until the retractable display screen stops stretching” may include:
[0074] (1) As the stretching distance increases, the spacing between application icons in the stretching direction is synchronously increased until the retractable display stops stretching.
[0075] For example, as the stretching distance increases, the row spacing of the application icons gradually increases, and when the retractable display stops stretching, the row spacing of the application icons also stops increasing. At this time, the increase in the row spacing of the application icons has a gradual effect, that is, the row spacing gradually stretches.
[0076] In one implementation, the step of “increasing the spacing between application icons on the current desktop in the retracting direction” may include:
[0077] (1) When the spacing between the application icons in the retractable direction is less than a first spacing, continue to increase the spacing between the application icons in the retractable direction, wherein the first spacing is greater than the spacing between the application icons in the retractable direction when the retractable display screen is in a non-expanded state.
[0078] When the retractable display is not extended, the distance between the application icons in the retractable direction is Figure 7 The row spacing in the small screen state is shown. For example, if the row spacing in the small screen state is 1 cm, the first spacing may be 3 cm. When the retractable display screen starts to stretch from the small screen state, the row spacing also increases. When the row spacing of the application icons is less than 3 cm, the row spacing of the application icons continues to increase. The first spacing may be set according to the desktop layout and visual effects.
[0079] In one implementation, the step of “increasing the spacing between application icons on the current desktop in the retracting direction” may include:
[0080] (1) When the spacing between the application icons in the stretching direction is equal to the first spacing, stop increasing the spacing between the application icons in the stretching direction.
[0081] When the retractable display is not extended, the distance between the application icons in the retractable direction is Figure 7 The line spacing in the small screen state is shown. The line spacing in the small screen state is 1 cm, and the first spacing can be 3 cm. When the retractable display screen is extended, the line spacing also increases. When the line spacing of the application icons increases from 1 cm to 3 cm, the line spacing of the application icons is no longer increased. The first spacing can be set according to the desktop layout and visual effects.
[0082] For example, refer to Fig.10 ,from Figure 7 Status to Fig.10 state, the line spacing increases from fixed value 1 to fixed value 2, and increases to Fig.10 Stop increasing the line spacing of the app icon after the state. Fig.10In the example, the bottom of the display area of the application icon on the current desktop maintains a fixed distance from the bottom of the current desktop, for example, a fixed value of 3, so as to keep the desktop layout after the retractable display screen is extended consistent with the desktop layout of the retractable display screen in the unextended state. The fixed value 3 is a manually set value.
[0083] As can be seen from the above, this embodiment obtains the change distance of the retractable display in the retracting direction when the retractable display is retracted. When the change distance is the stretching distance, the spacing between application icons on the current desktop in the retracting direction is increased, thereby enhancing the flexibility of the arrangement of application icons on the display area during the stretching process of the retractable display.
[0084] According to the method described in the previous embodiment, the following examples are given to further explain in detail. Fig.11 , Fig.11 1 is a third flow chart of the device control method provided in the embodiment of the present application. The device control method can be applied to an electronic device, and the electronic device can include a retractable display screen. The process of the device control method can include:
[0085] 301. When the retractable display screen is retracted, a change distance of the retractable display screen in the retracting direction is obtained.
[0086] For example, the change distance may be obtained by the distance that the display area after the current expansion and contraction increases relative to the display area before the current expansion and contraction in the expansion and contraction direction.
[0087] It should be noted that since the vertical expansion and contraction and the horizontal expansion and contraction are only different in direction, and the display method of adjusting the application icon on the desktop is the same, this embodiment takes the vertical expansion and contraction as an example for description.
[0088] 302. When the change distance is the stretching distance, increase the spacing between application icons on the current desktop in the stretching direction.
[0089] Among them, since this embodiment discusses the case of vertical expansion and contraction, that is, the retractable display screen is expanded or contracted in the longitudinal direction, the row spacing of the application icons will change with the expansion or contraction, so the spacing of the application icons in the expansion direction here is the row spacing.
[0090] For example, when the expansion distance increases, the row spacing of application icons on the current desktop increases accordingly.
[0091] For example, refer to Figure 7 In the small screen state, when the user pulls down the display screen of the electronic device or the electronic device automatically extends the display screen downward, the row spacing of the three rows of application icons will increase as the extension distance increases.
[0092] 303. When the spacing between the application icons in the stretching direction is equal to the first spacing, stop increasing the spacing between the application icons in the stretching direction.
[0093] For example, set the first spacing to a fixed value of 2, refer to Figure 7 In the small screen state, the row spacing of application icons other than the application icons of resident applications is fixed at 1. When the user pulls the screen of the electronic device downward or the electronic device automatically extends the screen downward, the spacing of each row of application icons will increase from a fixed value of 1 to a fixed value of 2, and the row spacing of application icons will no longer increase after it increases to a fixed value of 2. For the situation where the row spacing of application icons increases to a fixed value of 2, please refer to Fig.10 .
[0094] Among them, fixed value 1 and fixed value 2 are both artificially set constants.
[0095] For example, fixed value 1 may be set to 1 cm, and fixed value 2 may be set to 2 cm.
[0096] 304. After the initial moment when the spacing between the application icons in the extension direction is equal to the first spacing, if the newly extended distance is greater than the first distance, increase the number of application icons displayed on the current desktop.
[0097] In one embodiment, when the first distance is the sum of the length of the application icon in the extension direction and the first spacing, that is, when the first distance is the sum of the length of the side of the application icon and the first spacing, the arrangement of the application icons may be as follows:
[0098] Since this embodiment takes vertical expansion as an example, the length of the application icon in the expansion direction corresponds to the longitudinal length, that is, Figure 7 The length of the sides of the app icon.
[0099] For example, Fig.12 As shown, after the row spacing of application icons increases to the first spacing, the row spacing will no longer increase. At this time, if the retractable display continues to extend, a blank area will appear on the current desktop. When the blank area can just accommodate another row of application icons, the newly added stretching distance is just the sum of the side length of the application icons and the first spacing. At this time, the icons on other desktops are moved to the current desktop for arrangement as the last row of application icons on the current desktop.
[0100] For example, refer to Fig.13 , Fig.13This is a diagram showing the case where the newly added stretching distance is equal to the sum of the length of the side of the app icon and the first spacing. At this point, excluding the app icons of resident apps, the app icons on the current desktop are 4 rows by 4 columns, for a total of 16 app icons. The second page of the desktop has 2 rows by 4 columns, for a total of 8 app icons. The total number of all app icons is still 24.
[0101] Here, the increase in the row spacing of application icons has a jumping effect, that is, when the extra display area of the retractable display can accommodate another row of application icons, the application icons of other desktops are moved to the current desktop for arrangement.
[0102] In one implementation, when the first distance is the first spacing, the arrangement of the application icons may be as follows:
[0103] For example, Fig.12 As shown, when the row spacing of application icons increases to the first spacing, the row spacing will no longer increase. At this time, if the retractable display continues to stretch, a blank area will appear on the current desktop. When the newly added stretching distance is greater than the first spacing, the application icons of other desktops can be gradually displayed from the top of the application icons until the newly added stretching distance is just the length of the side of the application icon plus the length of the first spacing. The application icons of the other desktops are completely displayed on the desktop as the last row of application icons on the current desktop. Here, the display of application icons on the desktop is a gradual display process.
[0104] Among them, Fig.12 As shown, the blank area is the area added by the retractable display screen except that the bottom of the display area of the application icons on the current desktop is kept at a fixed value of 3 from the bottom of the current desktop. For example, it can be a fixed value of 3 to keep the desktop layout consistent with when the retractable display screen is not retracted. Similarly, when the newly added extension distance is greater than the first distance, the application icons of other desktops are moved to the current desktop for arrangement until the retractable display screen is fully extended.
[0105] For example, Figure 7 In the small screen state shown, in addition to the application icons of resident applications, the page can be placed at most 3 rows by 4 columns, a total of 12 application icons, and the row spacing of each row of application icons is a fixed value of 1. Fig.14In the large-screen state shown, in addition to the application icons of resident applications, the page can hold up to 6 rows by 4 columns, for a total of 24 application icons, and the row spacing of each row of application icons is a fixed value of 2. Taking the extension from the small-screen state to the large-screen state as an example, assume that the first spacing is a fixed value of 2. When the row spacing of application icons increases from a fixed value of 1 to a fixed value of 2, the increase in row spacing stops, and then the calculation of the additional stretching distance begins. When the additional stretching distance gradually increases, so that the blank area generated on the current desktop can accommodate a row of application icons, the application icons on other desktops are moved to the current desktop for arrangement. If the additional stretching distance continues to increase and the blank area generated on the current desktop can accommodate another row of application icons, the application icons on other desktops continue to be moved to the current desktop for arrangement until all application icons on the second page of desktops are moved to the current desktop. Please refer to Fig.14 At this time, excluding the application icons of resident applications, the application icons on the current desktop are 6 rows by 4 columns, with a total of 24 application icons. At this time, the dots indicating the page number at the bottom of the page will change from two dots to one dot, or disappear directly, indicating that the user currently has only one page of the desktop.
[0106] In one embodiment, when all application icons on the second page desktop are moved to the current desktop, if the retractable display can still be extended, the row spacing of the application icons can be kept unchanged, and only the distance between the bottom of the display area of the application icons and the bottom of the current desktop is increased.
[0107] It should be noted that the above-mentioned embodiments are based on the premise that the application icon positions on each desktop are occupied. If there are vacant application icon positions on the desktop, since the arrangement order of the application icons on each desktop may have been adjusted by the user based on the user's usage habits, in order to retain the user's memory of the layout of different application icons, the vacant application icon positions can be retained and then the application icons can be arranged.
[0108] In one embodiment, if there are vacant positions for application icons on the current desktop, the vacant positions for application icons can be reserved. When application icons from other desktops are moved to the current desktop for arrangement, empty rows on other desktops can be moved, or empty rows on other desktops can be moved to the current desktop without filling them, thereby retaining the vacant positions for application icons.
[0109] For example, if there are three vacant application icon positions in the first row of the desktop after the current desktop, for example, the vacant application icons are application 14, application 15, and application 16, then when the retractable display screen is extended to the last row of application icons of the current desktop and the distance from the bottom of the current display area meets the preset second threshold, only application 13 is moved to the last row of the current desktop, and the vacant application icon positions are retained.
[0110] In one embodiment, application icons of other desktops are moved to the current desktop for arrangement. Icons on the desktop next to the current desktop can be moved to the current desktop, or icons on any other desktop can be moved to the current desktop for arrangement.
[0111] In addition, when the application icons on each desktop page are not necessarily fully covered, that is, there may be vacancies in the application icon positions, in this case, it is also possible to determine whether the application icon positions on the current desktop are all occupied. If the application icon positions on the current desktop are not all occupied, the application icons of the applications that are most frequently used by the user can be selected from other desktops to fill the vacant application icon positions.
[0112] In one embodiment, if the electronic device has two desktops and the current desktop is the last page, when the retractable display screen is extended to a fully extended state, the application icons of the previous page of desktop are moved to the current desktop for arrangement, and the row spacing of the application icons satisfies the first spacing.
[0113] For example, when the user is in the small screen state and the user scrolls to the last desktop, the user pulls the electronic device downward, and a blank area is displayed below the application icons on the current desktop of the electronic device. The blank area is between the application icons in the last row of the current desktop and the application icons of the resident applications. When the user pulls to the bottom, the application icons on the previous page of the desktop are moved to the current desktop for arrangement, that is, the two pages are merged into one page. The final page formed can be seen in Fig.14 .
[0114] It should be noted that when the application icons on the previous page are moved to the current page for arrangement, there are multiple ways to arrange them, which can be Fig.13 The application icons may be arranged in a row-by-row order, or the order of the application icon rows may be disrupted.
[0115] In one embodiment, if the number of desktops of the electronic device is greater than two pages and the current desktop is the last page, when the retractable display screen is extended to a fully extended state, when the row spacing of the application icons reaches a first spacing, the number of rows of application icons that can be accommodated on the current desktop is determined.
[0116] For example, in small screen mode, there are three pages of desktop on the electronic device, see Fig.15 , each page of the desktop has 3 rows by 4 columns, 12 application icons per page, and a total of 36 application icons. If the current desktop is the last page, when the retractable display is extended to the fully extended state, the current desktop can obviously accommodate three rows of application icons, and application icons can be obtained from other desktops according to the number of rows to fill the current desktop, that is, three rows of application icons are moved from other desktops to the current desktop.
[0117] In one embodiment, the same Fig.15 In the small-screen state shown, there are three pages of desktops on the electronic device, each page of the desktop has 3 rows by 4 columns, 12 application icons per page, and a total of 36 application icons. If the current desktop is the last page, when the retractable display is extended to the fully extended state, that is, it is in the large-screen state at this time, the electronic device will rearrange the application icons on all desktops in the arrangement of 6 rows by 4 columns. For example, after rearrangement, the first page of the desktop has 6 rows by 4 columns, a total of 24 application icons, and the second page of the desktop has 3 rows by 4 columns, a total of 12 application icons, and stays on the second page of the desktop. For another example, after rearrangement, the first page of the desktop has 3 times 4 columns, a total of 12 application icons, and the second page of the desktop has 6 rows by 4 columns, a total of 24 application icons, and stays on the second page of the desktop. The total number of application icons on all desktops remains unchanged. Among them, the row spacing between application icons is a fixed value of 2.
[0118] In one embodiment, in order not to disrupt the arrangement order and layout of desktop application icons when the electronic device expands from a small screen state to a large screen state, the application icons may also be arranged according to the odd or even number of the page sequence of the current desktop.
[0119] For example, refer to Fig.15 In the small screen state, there are three pages of desktops on the electronic device, each page of the desktop has 3 rows by 4 columns, 12 application icons per page, and a total of 36 application icons.
[0120] (1) If the page number of the current desktop is an odd number, you can move the application icon on the desktop behind the current desktop to the previous page;
[0121] Specifically, the first row of application icons on the next page of the current desktop is used as the last row of application icons on the adjusted current desktop, and the row spacing of the application icons is the first spacing.
[0122] For example, when the current desktop is the first page, the page number is an odd number. When the newly extended distance of the retractable display increases to just accommodate a row of application icons, the first row of application icons in the second page desktop is moved to the current desktop as the last row of application icons on the adjusted current desktop. Fig.16 , and the line spacing between application icons is the first spacing.
[0123] And so on, until all the application icons on the second page of desktop are moved to the current desktop, see Fig.17The first page of desktop diagram, at this time, excluding the application icons of resident applications, the application icons on the current desktop are 6 rows by 4 columns, a total of 24 application icons, and the application icons on the second page of desktop are 3 rows by 4 columns, a total of 12 application icons, and the total number of application icons is 36. At this time, the dots indicating the page number at the bottom of the page will change from three dots to two dots, indicating that the user currently has two pages of desktops.
[0124] For another example, when the current desktop is the third page, the page number is an odd number. Assuming that in the small screen state, the icons on the desktop after the third page are moved to the current desktop. However, since the current desktop has only three pages, the arrangement of the current desktop icons only changes the row spacing of the application icons, that is, as the expansion distance increases, the row spacing is increased to the first spacing and maintained, that is, the first and second pages of desktops are arranged according to the rule of 6 rows by 4 columns. The third page is the adjusted current desktop, which can be referred to Fig.17 The second page desktop diagram shows that, at this time, excluding the application icons of resident applications, the application icons on the current desktop are 3 rows by 4 columns, for a total of 12 application icons. The application icons on the first page desktop are 6 rows by 4 columns, for a total of 24 application icons, and the total number of application icons is 36.
[0125] (2) If the page number of the current desktop is an even number, you can move the application icon on the previous page of the current desktop to the current desktop.
[0126] Specifically, the last row of application icons on the previous page of the desktop on the current desktop is used as the first row of application icons on the adjusted current desktop, and the row spacing of the application icons is the first spacing.
[0127] For example, when the current desktop is the second page, the page number is an even number. Fig.18 , Fig.18 The distance between the top of the display area of the application icons and the top of the current desktop is shown in the figure, and the distance between the top of the display area of the application icons of the current desktop and the top of the current display area of the retractable display screen is just enough to accommodate the next row of application icons. When the distance between the top of the display area of the application icons of the current desktop and the top of the current display area of the retractable display screen is just enough to accommodate the next row of application icons, the last row of application icons in the first page of the desktop is moved to the current desktop and used as the first row of application icons on the adjusted current desktop, and the row spacing between application icons is the first spacing, see Fig.19 , Fig.19It is a schematic diagram of moving the last row of icons on the previous desktop to the current desktop and using it as the first row of the current desktop. The bottom of the display area of the application icons on the current desktop also maintains a fixed distance from the bottom of the current desktop, such as a fixed value of 3, and the display area of the application icons on the current desktop maintains a fixed distance from the top of the current desktop, such as a fixed value of 4, to keep the desktop layout consistent with when the retractable display screen is not retracted. The specific fixed distance can be set specifically through the desktop layout settings.
[0128] And so on, until all the application icons on the first page of desktop are moved to the current desktop, see Fig.17 The first page of desktop diagram, at this time, excluding the application icons of resident applications, the application icons on the current desktop are 6 rows by 4 columns, a total of 24 application icons, and the application icons on the second page of desktop are 3 rows by 4 columns, a total of 12 application icons, and the total number of application icons is 36. At this time, the dots indicating the page number at the bottom of the page will change from three dots to two dots, indicating that the user currently has two pages of desktops.
[0129] In one embodiment, if the application icon positions on the current desktop are not all occupied, the application icons of the applications that the user uses most frequently can be selected from other desktops to fill the vacant application icon positions. Fig.17 As shown in the second page desktop, assuming that there is no application icon 30 on the current desktop, an application with the most number of uses on the first page is selected, for example, the application is Fig.17 If the application 6 is on the first page, the application icon of the application 6 is filled into the vacant position of the vacant application 30.
[0130] For example, if the current desktop is adjusted as follows Fig.17 As shown in the second page of the desktop, assuming that application icons application 26 and application 31 are missing on the current desktop, the applications in the first page are sorted by the number of times they are used. The more times they are used, the higher the ranking. The top two applications with the most uses are selected. For example, the top two applications are application 7 and application 10, then application 7 and application 10 are filled in the vacant positions of application 26 and application 31.
[0131] In addition, if the retractable display is extended to the large-screen state, the page is filled with application icons in addition to the application icons of resident applications, that is, 6 rows by 4 columns, a total of 24 application icons, are placed on the page. If the retractable display can still be extended, the distance between the bottom of the application icon display area and the bottom of the current desktop will be increased accordingly.
[0132] As can be seen from the above, when the retractable display screen is extended, the embodiment of the present application increases the spacing of the application icons in the extension direction accordingly. When the spacing increases to the first spacing, the spacing is stopped from increasing. If the change distance continues to increase, if the display area of the retractable display screen increased due to the extension can accommodate other application icons, the application icons of other desktops are moved to the current desktop for arrangement, thereby adjusting the spacing of the application icons displayed on the current desktop in the extension direction and the number of application icons. In this way, the scheme enhances the flexibility of the arrangement of application icons on the display area of the retractable display screen during the extension process.
[0133] According to the method described in the previous embodiment, the following examples are given to further explain in detail. Fig. 20 , Fig. 20 4 is a schematic diagram of a fourth flow chart of a device control method provided in an embodiment of the present application. The device control method can be applied to an electronic device, and the electronic device can include a retractable display screen. The flow of the device control method can include:
[0134] 401. When the retractable display screen is retracted, a change distance of the retractable display screen in the retracting direction is obtained.
[0135] For example, the change distance may be obtained by the distance that the display area after the current expansion and contraction increases relative to the display area before the current expansion and contraction in the expansion and contraction direction.
[0136] It should be noted that since the vertical expansion and contraction and the horizontal expansion and contraction are only different in direction, and the display method of adjusting the application icon on the desktop is the same, this embodiment takes the vertical expansion and contraction as an example for description.
[0137] 402. When the change distance is the stretching distance, the spacing between the application icons in the stretching direction is maintained at the first initial spacing, and the number of application icons on the current desktop is increased.
[0138] Among them, since this embodiment discusses the case of vertical expansion and contraction, that is, the retractable display screen is expanded or contracted in the longitudinal direction, the row spacing of the application icons will change with the expansion or contraction, so the spacing of the application icons in the expansion direction here is the row spacing.
[0139] For example, when the change distance is the extension distance, that is, when the retractable display screen is extended, the row spacing of the application icons is kept unchanged. When the change distance continues to increase, the application icons are increased accordingly according to the newly added blank area on the current desktop.
[0140] In one embodiment, the step of “increasing the number of application icons on the current desktop” further includes the following steps:
[0141] (1) When the stretching distance is greater than the second distance, the number of application icons displayed on the current desktop is increased.
[0142] In one embodiment, when the second distance is the sum of the length of the application icon in the extension direction and the first initial spacing, that is, when the second distance is the sum of the length of the side of the application icon and the first initial spacing, the arrangement of the application icons may be as follows:
[0143] Since this embodiment takes vertical expansion as an example, the length of the application icon in the expansion direction corresponds to the longitudinal length, that is, Figure 7 The length of the sides of the app icon.
[0144] For example, as the retractable display screen extends, a blank area will appear on the current desktop. When the blank area can just accommodate another row of application icons, the stretching distance is just the second distance, which is the sum of the length of the side of the application icon and the first initial spacing. At this time, the icons on other desktops are moved to the current desktop for arrangement as the last row of icons on the current desktop. Similarly, when the stretching distance continues to extend, when the continued stretching distance satisfies the second distance, which is the sum of the length of the side of the application icon and the first initial spacing, the application icons on other desktops continue to be moved to the current desktop for arrangement. Here, the increase in the row spacing of application icons has a jumping effect, that is, when the extra display area of the retractable display screen can accommodate another row of application icons, the application icons on other desktops are moved to the current desktop for arrangement.
[0145] In one implementation, when the second distance is the first initial distance, the arrangement of the application icons may be as follows:
[0146] When the stretching distance is greater than the first initial spacing, the application icons of other desktops can be gradually displayed from the top of the application icons until the stretching distance is just the sum of the length of the side of the application icon and the first initial spacing, and the application icons of the other desktops are completely displayed on the desktop as the last row of application icons on the current desktop. Here, the display of application icons on the desktop is a gradual display process.
[0147] As can be seen from the above, the embodiment of the present application is extended and retracted according to the retractable display screen, and when the change distance is the extension distance, only the number of application icons on the current desktop is increased accordingly, that is, when the retractable display screen increases due to the extension distance, if the corresponding increased display area of the current desktop can accommodate other application icons, then the application icons of other desktops are moved to the current desktop for arrangement. This solution enhances the flexibility of the arrangement of application icons on the display area of the retractable display screen during the extension or contraction process.
[0148] According to the method described in the previous embodiment, the following examples are given to further explain in detail. Fig.21 , Fig.21 1 is a fifth flow chart of the device control method provided in the embodiment of the present application. The device control method can be applied to an electronic device, and the electronic device can include a retractable display screen. The process of the device control method can include:
[0149] 501. When the retractable display screen is retracted, a change distance of the retractable display screen in the retracting direction is obtained.
[0150] For example, the change distance may be obtained by the distance that the display area after the current expansion and contraction increases relative to the display area before the current expansion and contraction in the expansion and contraction direction.
[0151] It should be noted that since the vertical expansion and contraction and the horizontal expansion and contraction are only different in direction, and the display method of adjusting the application icon on the desktop is the same, this embodiment takes the vertical expansion and contraction as an example for description.
[0152] 502. When the change distance is a shrinking distance, reduce the spacing between application icons on the current desktop in the stretching direction.
[0153] Since this embodiment discusses the case of vertical expansion and contraction, the spacing of application icons in the contraction direction is the line spacing.
[0154] In one implementation, the situation where the changing distance is a contracting distance is actually the reverse process of the situation where the changing distance is an extending distance described in the above embodiment.
[0155] For example, when the electronic device is in an unexpanded state, see Figure 7 , that is, the small screen state. Assuming that in the small screen state, in addition to the application icons of resident applications, the page can hold up to 3 rows by 4 columns, for a total of 12 application icons. When the user pulls down the display of the electronic device or the electronic device automatically extends the display downward, the stretching distance increases, and the spacing between the 3 rows of application icons increases with the increase in the stretching distance. For example, when the stretching distance increases to 3 cm, the spacing between each row increases by 1.5 cm. Conversely, based on the above stretching, when the contraction distance is 3 cm, the row spacing of the application icons decreases by 1.5 cm.
[0156] In one embodiment, the step of “reducing the spacing between application icons on the current desktop in the retracting direction” further includes the following steps:
[0157] (1) Reduce the spacing between the application icons in the retractable direction until the retractable display stops shrinking.
[0158] That is, when the retractable display screen is contracted, the row spacing of the application icons is reduced accordingly, and when the retractable display screen stops contracting, the row spacing of the retractable display screen stops being reduced.
[0159] In one embodiment, the step of “reducing the spacing between application icons in the retractable direction until the retractable display screen stops shrinking” further includes the following steps:
[0160] (1) As the shrinking distance decreases, the spacing between the application icons in the stretching direction is simultaneously reduced until the stretchable display stops shrinking.
[0161] That is, when the retractable display screen is retracted, the row spacing of the application icons decreases synchronously with the increase of the retracted distance until the retractable display screen stops retracting, and then the row spacing of the retractable display screen stops decreasing. At this time, the reduction of the row spacing of the application icons has a gradual effect, that is, the row spacing gradually shrinks.
[0162] As can be seen from the above, in this embodiment, when the retractable display screen is retracted, the expansion distance is reduced, and the spacing of application icons on the current desktop in the retracting direction is correspondingly reduced, thereby enhancing the flexibility of arranging application icons on the display area during the retractable display screen's retraction process.
[0163] According to the method described in the previous embodiment, the following examples are given to further explain in detail. Fig. 22 , Fig. 22 6 is a schematic diagram of a sixth flow chart of a device control method provided in an embodiment of the present application. The device control method can be applied to an electronic device, and the electronic device can include a retractable display screen. The flow of the device control method can include:
[0164] 601. When the retractable display screen is retracted, obtain a change distance of the retractable display screen in the retracting direction.
[0165] For example, the change distance may be obtained by the distance that the display area after the current expansion and contraction increases relative to the display area before the current expansion and contraction in the expansion and contraction direction.
[0166] It should be noted that since the vertical expansion and contraction and the horizontal expansion and contraction are only different in direction, and the display method of adjusting the application icon on the desktop is the same, this embodiment takes the vertical expansion and contraction as an example for description.
[0167] 602. When the change distance is the contraction distance, obtain a first stretching length of the retractable display screen at an initial moment when the spacing of the application icons in the retracting direction increases to be equal to the second spacing.
[0168] In one implementation, the situation where the changing distance is a contracting distance is actually the reverse process of the situation where the changing distance is an extending distance described in the above embodiment.
[0169] The stretch length refers to a distance that the retractable display screen in the extended state is extended relative to the retractable display screen in the non-extended state.
[0170] For example, Fig.14 The large screen state is shrunk to Figure 7 Take the small screen state as an example. In the small screen state, in addition to the application icons of resident applications, the page can hold up to 3 rows by 4 columns, a total of 12 application icons, and the line spacing of each row of application icons is a fixed value of 1. In the large screen state, in addition to the application icons of resident applications, the page can hold up to 6 rows by 4 columns, a total of 24 application icons, and the line spacing of each row of application icons is a fixed value of 2. The second spacing can be set to a fixed value of 2, that is, when the line spacing increases from a fixed value of 1 to a fixed value of 2 when stretching from the small screen state to the large screen state, at this time, the stretched length of the retractable display screen is the first stretched length. The first stretched length is the distance the retractable display screen is extended relative to the unexpanded state when the line spacing of application icons increases from a fixed value of 1 to a fixed value of 2.
[0171] 603. When the stretching length of the retractable display screen is greater than or equal to the first stretching length, the spacing between the application icons in the stretching direction is kept unchanged.
[0172] Taking the example in step 602 as an example, when the retractable display screen is shrunk, the distance of the retractable display screen relative to the unexpanded state is obtained as the stretching length. When the stretching length does not reach the first stretching length, the row spacing of the application icons is kept unchanged, that is, the row spacing of the application icons is kept at a fixed value of 2.
[0173] 604. When the shrinking distance is greater than the third distance, reduce the number of application icons displayed on the current desktop.
[0174] Also taking the example in step 602 as an example, it should be noted that, in this embodiment, when adjusting the number of application icons on the current desktop, the spacing between the application icons in the expansion and contraction direction is kept unchanged, that is, the row spacing is kept unchanged at the second spacing, and the second spacing in the corresponding example is a fixed value of 2.
[0175] In one embodiment, when the third distance is the sum of the length of the application icon in the extension direction and the second spacing of the application icon in the extension direction, that is, when the third distance is the sum of the length of the side of the application icon and the second spacing, the arrangement of the application icons may be as follows:
[0176] Since this embodiment takes vertical expansion as an example, the length of the application icon in the expansion direction corresponds to the longitudinal length, that is, Figure 7 The length of the sides of the app icon.
[0177] Taking the example of the retractable display screen starting to shrink from the large screen state, when the retractable display screen shrinks and the display area of the current desktop is reduced to a level that just cannot accommodate a row of application icons, that is, when the shrinkage distance is the sum of the length of the side of the application icon and the second spacing, the row of application icons close to the shrinkage side can be moved to other desktops, and so on. As long as the shrinkage distance is greater than the third distance and the retractable display screen continues to shrink, the number of application icons will decrease as the display area on the current desktop decreases.
[0178] In one implementation, the third distance is a second spacing between the application icons in the extension direction.
[0179] Taking the case where the retractable display starts to shrink from the large screen state as an example, when the retractable display shrinks by a distance equal to the second spacing and the retractable display continues to shrink, the application icons in the last row gradually disappear from the bottom until the shrinkage distance is equal to the sum of the length of the side of the application icon and the second spacing, at which time the application icons in the last row disappear completely. Similarly, if the retractable display continues to shrink, the number of application icons on the current desktop continues to decrease.
[0180] The application icon that disappears from the current desktop can be moved to other desktops. If there is no other desktop where the application icon can be placed, a new desktop can be created and the disappeared application icon can be moved to the new desktop.
[0181] 605. When the stretching length of the retractable display screen is less than the first stretching length, reduce the spacing between the application icons in the stretching direction.
[0182] For example, when the retractable display screen is contracted to a first stretch length, the number of application icons on the current desktop stops being reduced. If the retractable display screen continues to contract, the row spacing of the application icons starts to be reduced.
[0183] When the stretching length is the first stretching length, it is the critical point for judging whether the application icons start to reduce the spacing. When the stretching length is less than the first stretching length, the row spacing of the application icons can be reduced. This can be compared to the reverse process of the case where the change distance is the stretching distance described in the above embodiment.
[0184] For example, when the second spacing is a fixed value of 2, if the retractable display screen continues to shrink, the row spacing is reduced, and when the retractable display screen shrinks to an unexpanded state, the row spacing of the application icons is just reduced to a fixed value of 1.
[0185] From the above, it can be seen that in the embodiment of the present application, when the retractable display screen is shrunk, the number of application icons on the current desktop is reduced accordingly, and the spacing between the application icons in the retracting direction is kept unchanged. When the stretching length of the retractable display screen is reduced to the first stretching length, the spacing between the application icons in the retracting direction begins to be reduced. This scheme enhances the flexibility of the arrangement of application icons on the display area during the retractable display screen's retraction process.
[0186] According to the method described in the previous embodiment, the following examples are given to further explain in detail. Fig.23 , Fig.23 1 is a seventh flow chart of the device control method provided in the embodiment of the present application. The device control method can be applied to an electronic device, and the electronic device can include a retractable display screen. The process of the device control method can include:
[0187] 701. When the retractable display screen is retracted, obtain a change distance of the retractable display screen in the retracting direction.
[0188] For example, the change distance may be obtained by the distance that the display area after the current expansion and contraction increases relative to the display area before the current expansion and contraction in the expansion and contraction direction.
[0189] It should be noted that since the vertical expansion and contraction and the horizontal expansion and contraction are only different in direction, and the display method of adjusting the application icon on the desktop is the same, this embodiment takes the vertical expansion and contraction as an example for description.
[0190] 702. When the change distance is the contraction distance, the spacing between the application icons in the extension direction is maintained at the second initial spacing, and the number of application icons on the current desktop is reduced, wherein the second initial spacing is the spacing between the application icons in the extension direction before the retractable display screen is contracted this time.
[0191] That is, when the retractable display screen is shrunk, the row spacing of the application icons is kept the same as the row spacing before the retractable display screen is shrunk, that is, the row spacing remains unchanged, and only the number of application icons on the current desktop is reduced.
[0192] In one embodiment, the step of “reducing the number of application icons on the current desktop” may include the following two parallel steps:
[0193] (1) The fourth distance is the sum of the length of the application icon in the extension direction and the second initial distance.
[0194] Since this embodiment takes vertical expansion as an example, the length of the application icon in the expansion direction corresponds to the longitudinal length, that is, Figure 7 The length of the sides of the app icon.
[0195] Taking the example of the retractable display screen starting to shrink from the large screen state, when the retractable display screen shrinks and the display area of the current desktop is reduced to a level that just cannot accommodate a row of application icons, that is, when the shrinkage distance is the sum of the length of the side of the application icons and the second initial spacing, a row of application icons close to the shrinkage side (here corresponding to the last row) can be moved to other desktops, and so on. As long as the shrinkage distance is greater than the third distance and the retractable display screen continues to shrink, the number of application icons will decrease as the display area on the current desktop decreases.
[0196] (2) The fourth distance is the second initial distance.
[0197] Taking the case where the retractable display starts to shrink from the large screen state as an example, when the retractable display shrinks by the second spacing and the retractable display continues to shrink, the application icons in the last row gradually disappear from the bottom until the shrinkage distance is the sum of the length of the side of the application icon and the second initial spacing, the last row of application icons completely disappears, and so on. If the retractable display continues to shrink, the number of application icons on the current desktop continues to decrease.
[0198] The application icon that disappears from the current desktop can be moved to other desktops. If there is no other desktop where the application icon can be placed, a new desktop can be created and the disappeared application icon can be moved to the new desktop.
[0199] From the above, it can be seen that in the embodiment of the present application, when the retractable display screen is shrunk, the changing distance is the shrinking distance, the spacing between the application icons in the retracting direction is kept unchanged, and the number of application icons on the current desktop is reduced accordingly according to the shrinking distance. This scheme enhances the flexibility of the arrangement of application icons on the display area during the shrinking process of the retractable display screen.
[0200] In order to better implement the device control method provided in the embodiment of the present application, the embodiment of the present application also provides a device control apparatus, wherein the meanings of the terms are the same as those in the above-mentioned device control method, and the specific implementation details can refer to the description in the method embodiment.
[0201] See also Fig.24 , Fig.24 The schematic diagram of the structure of the device control device provided in the embodiment of the present application is as follows: wherein the device control device 10 is applied to an electronic device, and the device control device 10 comprises: an acquisition module 11 and an adjustment module 12, as follows:
[0202] The acquisition module 11 acquires a change distance of the retractable display screen in a retracting direction when the retractable display screen is retracted.
[0203] The adjustment module 12 adjusts the spacing between application icons and / or the number of application icons displayed on the current desktop in the extension direction according to the change distance.
[0204] In one implementation, the adjustment module 12 is configured to: when the change distance is a stretching distance, increase the spacing between application icons on the current desktop in the stretching direction.
[0205] In one implementation, the adjustment module 12 is configured to increase the spacing between application icons in the retractable direction until the retractable display screen stops extending.
[0206] In one implementation, the adjustment module 12 is configured to: as the stretching distance increases, synchronously increase the spacing between application icons in the stretching direction until the retractable display screen stops stretching.
[0207] In one embodiment, the adjustment module 12 is used to: when the spacing between application icons in the telescopic direction is less than a first spacing, continue to increase the spacing between application icons in the telescopic direction, wherein the first spacing is greater than the spacing between application icons in the telescopic direction when the retractable display is in an unexpanded state.
[0208] In one implementation, the adjustment module 12 is configured to stop increasing the spacing between the application icons in the stretching direction when the spacing between the application icons in the stretching direction is equal to the first spacing.
[0209] In one implementation, the adjustment module 12 is configured to stop increasing the spacing between the application icons in the stretching direction when the spacing between the application icons in the stretching direction is equal to the first spacing.
[0210] In one embodiment, the adjustment module 12 is used to: after the initial moment when the spacing of the application icons in the extension direction is equal to the first spacing, if the newly extended distance is greater than the first distance, increase the number of application icons displayed on the current desktop. The first distance may be the sum of the length of the application icon in the extension direction and the first spacing. The first distance may also be the first spacing.
[0211] In one embodiment, a first initial spacing is set for the spacing of application icons in the telescopic direction, and the first initial spacing is the spacing of application icons in the telescopic direction when the retractable display screen is in an unexpanded state. The adjustment module 12 is used to: when the change distance is the stretching distance, the spacing of application icons in the telescopic direction remains at the first initial spacing, and the number of application icons on the current desktop is increased.
[0212] In one embodiment, the adjustment module 12 is used to increase the number of application icons displayed on the current desktop when the stretching distance is greater than a second distance. The second distance may be the sum of the length of the application icon in the stretching direction and the first initial spacing. The second distance may also be the first initial spacing.
[0213] In one implementation, the adjustment module 12 is configured to reduce the spacing between application icons on the current desktop in the extension direction when the change distance is a contraction distance.
[0214] In one implementation, the adjustment module 12 is configured to reduce the spacing between application icons in the retractable direction until the retractable display screen stops shrinking.
[0215] In one implementation, the adjustment module 12 is configured to: as the shrinking distance decreases, simultaneously reduce the spacing between application icons in the shrinking direction until the retractable display screen stops shrinking.
[0216] In one embodiment, the adjustment module 12 is used to: when the change distance is a contraction distance, obtain a first stretching length of the retractable display screen at the initial moment when the spacing of the application icons in the retractable direction increases to be equal to a second spacing; when the stretching length of the retractable display screen is greater than or equal to the first stretching length, keep the spacing of the application icons in the retractable direction unchanged; when the stretching length of the retractable display screen is less than the first stretching length, reduce the spacing of the application icons in the retractable direction.
[0217] In one embodiment, after the spacing of the application icons in the stretching direction is kept unchanged when the stretching length of the retractable display screen is greater than or equal to the first stretching length, the adjustment module 12 can also be used to: reduce the number of application icons displayed on the current desktop when the shrinking distance is greater than a third distance. The third distance can be the sum of the length of the application icons in the stretching direction and the second spacing of the application icons in the stretching direction. The third distance can also be the second spacing of the application icons in the stretching direction.
[0218] In one embodiment, the adjustment module 12 is used to: when the change distance is the shrinking distance, the spacing between application icons in the stretching direction remains at a second initial spacing, and the number of application icons on the current desktop is reduced, wherein the second initial spacing is the spacing between application icons in the stretching direction before the retractable display screen is shrunk this time.
[0219] In one embodiment, the adjustment module 12 is used to reduce the number of application icons displayed on the current desktop when the shrinking distance is greater than a fourth distance. The fourth distance may be the sum of the length of the application icon in the expansion direction and the second initial spacing. The fourth distance may also be the second initial spacing.
[0220] It should be noted that the device control apparatus provided in the embodiment of the present application belongs to the same concept as the device control method in the above embodiment. Any method provided in the device control method embodiment can be implemented through the device control apparatus. The specific implementation process is detailed in the device control method embodiment and will not be repeated here.
[0221] As can be seen from the above, the present application implements the acquisition module 11 for acquiring the change distance of the retractable display screen in the retracting direction when the retractable display screen is retracted, and the adjustment module 12 is used to adjust the spacing of the application icons in the retracting direction and / or the number of application icons displayed on the current desktop according to the change distance. This solution adjusts the spacing of the application icons in the retracting direction and / or the number of application icons on the current desktop according to the change distance of the retractable display screen of the electronic device in the retracting direction, so that when the retractable display screen is extended or contracted, the layout of the application icons on the display area changes accordingly with the change distance, thereby enhancing the flexibility of the arrangement of the application icons on the display area during the extension or contraction of the retractable display screen.
[0222] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed on a computer, the computer executes the process in the device control method provided in this embodiment.
[0223] An embodiment of the present application also provides an electronic device, including a memory and a processor, wherein the processor is used to execute the process in the device control method provided in this embodiment by calling a computer program stored in the memory.
[0224] For example, the electronic device may be a mobile terminal such as a tablet computer or a smart phone. Fig.25 , Fig.25 A first structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0225] The electronic device 20 may include components such as a touch screen 21, a memory 22, and a processor 23. Those skilled in the art will appreciate that Fig.25 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0226] The touch display screen 21 may be a retractable touch display screen. The retractable touch display screen may be a retractable touch display screen. The retractable touch display screen may be a flexible display screen, which may be bent, curled, folded, etc. On an electronic device equipped with a retractable touch display screen, the visible size of the screen may be increased by stretching the screen, and the visible size of the screen may be reduced by shrinking the screen.
[0227] The memory 22 can be used to store applications and data. The applications stored in the memory 22 include executable codes. The applications can be composed of various functional modules. The processor 23 executes various functional applications and data processing by running the applications stored in the memory 22.
[0228] The processor 23 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing applications stored in the memory 22 and calling data stored in the memory 22, thereby monitoring the electronic device as a whole.
[0229] In this embodiment, the processor 23 in the electronic device will load the executable code corresponding to the process of one or more application programs into the memory 22 according to the following instructions, and the processor 23 will run the application program stored in the memory 22 to execute:
[0230] When the retractable display screen is retracted, obtaining a change distance of the retractable display screen in the retracting direction;
[0231] The spacing between application icons and / or the number of application icons displayed on the current desktop in the retracting direction is adjusted according to the change distance.
[0232] See also Fig.26 , Fig.26 The second structural diagram of the electronic device provided in the embodiment of the present application is shown in FIG.
[0233] The touch display screen 21 may be a rollable touch display screen. The rollable touch display screen may be a retractable touch display screen. The rollable touch display screen may be a flexible display screen, which may be bent, rolled, folded, etc. On an electronic device equipped with a rollable touch display screen, the visible size of the screen may be increased by stretching the screen, and the visible size of the screen may be reduced by rolling up the screen.
[0234] The memory 22 can be used to store applications and data. The applications stored in the memory 22 include executable codes. The applications can be composed of various functional modules. The processor 23 executes various functional applications and data processing by running the applications stored in the memory 22.
[0235] The processor 23 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing applications stored in the memory 22 and calling data stored in the memory 22, thereby monitoring the electronic device as a whole.
[0236] The battery 24 may be used to supply power to various modules and components of the electronic device.
[0237] The microphone 25 may be used to pick up sound signals in the surrounding environment, such as receiving voice commands issued by a user.
[0238] The speaker 26 can be used to play sound signals.
[0239] In this embodiment, the processor 23 in the electronic device will load the executable code corresponding to the process of one or more application programs into the memory 22 according to the following instructions, and the processor 23 will run the application program stored in the memory 22 to execute:
[0240] When the retractable display screen is retracted, obtaining a change distance of the retractable display screen in the retracting direction;
[0241] The spacing between application icons and / or the number of application icons displayed on the current desktop in the retracting direction is adjusted according to the change distance.
[0242] In one implementation, when the processor 23 adjusts the spacing of application icons displayed on the current desktop in the telescopic direction according to the change distance, it may execute: when the change distance is the stretching distance, increasing the spacing of application icons on the current desktop in the telescopic direction.
[0243] In one implementation, when the processor 23 executes the increasing the spacing between application icons on the current desktop in the retracting direction, the processor 23 may execute: increasing the spacing between application icons in the retracting direction until the retractable display screen stops extending.
[0244] In one implementation, the increasing the spacing between application icons in the stretching and retracting direction until the retractable display stops stretching may be performed by: as the stretching distance increases, the spacing between application icons in the retracting direction is synchronously increased until the retractable display stops stretching.
[0245] In one embodiment, when the processor 23 executes the increasing of the spacing of application icons on the current desktop in the stretching direction, it can execute: when the spacing of the application icons in the stretching direction is less than the first spacing, continue to increase the spacing of the application icons in the stretching direction, wherein the first spacing is greater than the spacing of the application icons in the stretching direction when the retractable display is in an unexpanded state.
[0246] In one implementation, when the processor 23 increases the spacing between application icons on the current desktop in the stretching direction, the processor 23 may execute: when the spacing between application icons in the stretching direction is equal to the first spacing, stop increasing the spacing between application icons in the stretching direction.
[0247] In one embodiment, after the processor 23 stops increasing the spacing of the application icons in the stretching direction when the spacing of the application icons in the stretching direction is equal to the first spacing, it may execute: after the initial moment when the spacing of the application icons in the stretching direction is equal to the first spacing, when the newly stretched distance is greater than the first distance, increasing the number of application icons displayed on the current desktop. The first distance may be the sum of the length of the application icon in the stretching direction and the first spacing. The first distance may also be the first spacing.
[0248] In one embodiment, a first initial spacing is set for the spacing of application icons in the telescopic direction, and the first initial spacing is the spacing of application icons in the telescopic direction when the retractable display screen is in an unexpanded state. When the processor 23 executes adjustment of the number of application icons displayed on the current desktop in the telescopic direction according to the change distance, it can be executed: when the change distance is the stretching distance, the spacing of application icons in the telescopic direction is maintained at the first initial spacing, and the number of application icons on the current desktop is increased.
[0249] In one embodiment, when the processor 23 executes the increasing the number of application icons on the current desktop, the processor 23 may execute: when the stretching distance is greater than the second distance, increasing the number of application icons displayed on the current desktop. The second distance may be the sum of the length of the application icon in the stretching direction and the first initial spacing. The second distance may also be the first initial spacing.
[0250] In one implementation, when the processor 23 adjusts the spacing of application icons displayed on the current desktop in the stretching direction according to the change distance, it may execute: when the change distance is a shrinking distance, reducing the spacing of application icons on the current desktop in the stretching direction.
[0251] In one implementation, when the processor 23 executes the reducing the spacing between application icons on the current desktop in the retracting direction, the processor 23 may execute: reducing the spacing between application icons in the retracting direction until the retractable display screen stops shrinking.
[0252] In one implementation, when the processor 23 executes the reducing the spacing between application icons in the telescopic direction until the retractable display stops shrinking, it may execute: as the shrinking distance decreases, the spacing between application icons in the telescopic direction is synchronously reduced until the retractable display stops shrinking.
[0253] In one embodiment, when the processor 23 executes the reducing the spacing between application icons on the current desktop in the telescopic direction, the processor 23 may execute: obtaining a first stretching length of the retractable display screen at the initial moment when the spacing between application icons in the telescopic direction increases to be equal to a second spacing; when the stretching length of the retractable display screen is greater than or equal to the first stretching length, keeping the spacing between application icons in the telescopic direction unchanged; when the stretching length of the retractable display screen is less than the first stretching length, reducing the spacing between application icons in the telescopic direction.
[0254] In one embodiment, after the processor 23 executes the step of maintaining the spacing of the application icons in the stretching direction unchanged when the stretching length of the retractable display screen is greater than or equal to the first stretching length, it may execute the step of reducing the number of application icons displayed on the current desktop when the shrinking distance is greater than a third distance. The third distance may be the sum of the length of the application icon in the stretching direction and the second spacing of the application icon in the stretching direction. The third distance may also be the second spacing of the application icons in the stretching direction.
[0255] In one embodiment, when the processor 23 executes the adjustment of the number of application icons displayed on the current desktop in the telescopic direction according to the change distance, it can execute: when the change distance is the shrinking distance, the spacing of the application icons in the telescopic direction is maintained at the second initial spacing, and the number of application icons on the current desktop is reduced, wherein the second initial spacing is the spacing of the application icons in the telescopic direction before the retractable display screen is shrunk this time.
[0256] In one embodiment, when the processor 23 executes the reducing the number of application icons on the current desktop, the processor 23 may execute: if the shrinking distance is greater than a fourth distance, reducing the number of application icons displayed on the current desktop. The fourth distance may be the sum of the length of the application icon in the expansion direction and the second initial spacing. The fourth distance may also be the second initial spacing.
[0257] As can be seen from the above, the present application implements the method of obtaining the change distance of the retractable display screen in the retracting direction when the retractable display screen is retracted, and adjusting the spacing of the application icons and / or the number of application icons displayed on the current desktop in the retracting direction according to the change distance. The present solution adjusts the spacing of the application icons and / or the number of application icons on the current desktop in the retracting direction according to the change distance of the retractable display screen of the electronic device in the retracting direction, so that the layout of the application icons on the display area changes accordingly with the change distance during the extension or contraction of the retractable display screen, thereby enhancing the flexibility of the arrangement of the application icons on the display area during the extension or contraction of the retractable display screen.
[0258] In the above embodiments, the description of each embodiment has its own focus. For the part that is not described in detail in a certain embodiment, please refer to the detailed description of the device control method above, and will not be repeated here.
[0259] The device control apparatus provided in the embodiment of the present application belongs to the same concept as the device control method in the above embodiment. Any method provided in the device control method embodiment can be run on the device control apparatus. The specific implementation process is detailed in the device control method embodiment and will not be repeated here.
[0260] It should be noted that, for the device control method described in the embodiment of the present application, a person of ordinary skill in the art can understand that all or part of the process of implementing the device control method described in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, such as a memory, and executed by at least one processor, and the execution process may include the process of the embodiment of the device control method. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), etc.
[0261] For the device control device of the embodiment of the present application, each functional module can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk.
[0262] The above is a detailed introduction to a device control method, apparatus, storage medium and electronic device provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A device control method, applied to an electronic device, It is characterized in that The electronic device includes a retractable display screen, and the device control method includes: When the retractable display screen is retracted, obtaining a change distance of the retractable display screen in the retracting direction; Adjusting the spacing between application icons and / or the number of application icons displayed on the current desktop in the retracting direction according to the change distance, wherein the spacing and / or the number change with the change distance; The step of adjusting the spacing of application icons displayed on the current desktop in the retracting direction according to the changed distance includes: In the case where the change distance is the stretching distance, as the stretching distance increases, the spacing between the application icons in the stretching direction is synchronously increased until the retractable display stops stretching, and the spacing increases as the stretching distance increases; Alternatively, in the case where the change distance is a shrinking distance, as the shrinking distance increases, the spacing between the application icons in the stretching direction is synchronously reduced until the retractable display stops shrinking, and the spacing becomes smaller as the shrinking distance increases; The adjusting the number of application icons displayed on the current desktop in the retracting direction according to the change distance includes: In the case where the change distance is the stretching distance, the spacing of the application icons in the stretching direction is maintained at a first initial spacing, and as the stretching distance increases, the number of application icons on the current desktop is synchronously increased until the retractable display screen stops stretching, the first initial spacing being the spacing of the application icons in the stretching direction when the retractable display screen is in a non-expanded state, and the number increases as the stretching distance increases; or, In the case where the change distance is the shrinking distance, the spacing of the application icons in the stretching direction is maintained at the second initial spacing, and as the shrinking distance increases, the number of application icons on the current desktop is synchronously reduced, wherein the second initial spacing is the spacing of the application icons in the stretching direction before the retractable display screen is shrunk this time, and the number decreases as the shrinking distance increases; The adjusting the spacing between application icons and the number of application icons displayed on the current desktop in the retracting direction according to the change distance includes: When the change distance is the stretching distance, and when the spacing between the application icons in the stretching direction is less than the first spacing, continue to increase the spacing between the application icons in the stretching direction, wherein the first spacing is greater than the spacing between the application icons in the stretching direction when the retractable display screen is in a non-expanded state; When the spacing between the application icons in the stretching direction is equal to the first spacing, stop increasing the spacing between the application icons in the stretching direction; After the initial moment when the distance between the application icons in the extension direction is equal to the first distance, if the newly extended distance is greater than the first distance, the number of application icons displayed on the current desktop is increased; or, In a case where the change distance is a contraction distance, obtaining a first stretching length of the retractable display screen at an initial moment when the spacing of the application icons in the retractable direction increases to be equal to the second spacing; When the stretching length of the retractable display screen is greater than or equal to the first stretching length, keeping the spacing between the application icons in the stretching direction unchanged; When the shrinking distance is greater than the third distance, reducing the number of application icons currently displayed on the desktop; When the stretching length of the retractable display screen is less than the first stretching length, the spacing between the application icons in the stretching direction is reduced.
2. The device control method according to claim 1, It is characterized in that The first distance is the sum of the length of the application icon in the extension direction and the first spacing.
3. The device control method according to claim 1, It is characterized in that The first distance is the first spacing.
4. The device control method according to claim 1, It is characterized in that Increasing the number of application icons on the current desktop includes: When the stretching distance is greater than the second distance, the number of application icons displayed on the current desktop is increased.
5. The device control method according to claim 4, It is characterized in that The second distance is the sum of the length of the application icon in the extension direction and the first initial distance.
6. The device control method according to claim 4, It is characterized in that The second distance is the first initial distance.
7. The device control method according to any one of claims 2 to 6, It is characterized in that The application icons added to the current desktop are from other desktops.
8. The device control method according to claim 1, It is characterized in that The third distance is the sum of the length of the application icon in the extension direction and the second distance.
9. The device control method according to claim 1, It is characterized in that The third distance is the second distance.
10. The device control method according to claim 1, It is characterized in that The reducing the number of application icons on the current desktop includes: When the shrinking distance is greater than the fourth distance, the number of application icons displayed on the current desktop is reduced.
11. The device control method according to claim 10, It is characterized in that The fourth distance is the sum of the length of the application icon in the extension direction and the second initial distance.
12. The device control method according to claim 10, It is characterized in that The fourth distance is the second initial distance.
13. A device control device, applied to electronic equipment, It is characterized in that The electronic device comprises a retractable display screen, and the device control device comprises: An acquisition module, configured to acquire a change distance of the retractable display screen in a retracting direction when the retractable display screen is retracted; an adjustment module, adjusting the spacing of application icons displayed on the current desktop in the extension direction and / or the number of application icons according to the change distance, wherein the spacing and / or the number change with the change distance; The step of adjusting the spacing of application icons displayed on the current desktop in the retracting direction according to the changed distance includes: In the case where the change distance is the stretching distance, as the stretching distance increases, the spacing between the application icons in the stretching direction is synchronously increased until the retractable display stops stretching, and the spacing increases as the stretching distance increases; Alternatively, in the case where the change distance is a shrinking distance, as the shrinking distance increases, the spacing between the application icons in the stretching direction is synchronously reduced until the retractable display stops shrinking, and the spacing becomes smaller as the shrinking distance increases; The adjusting the number of application icons displayed on the current desktop in the retracting direction according to the change distance includes: In the case where the change distance is the stretching distance, the spacing of the application icons in the stretching direction is maintained at a first initial spacing, and as the stretching distance increases, the number of application icons on the current desktop is synchronously increased until the retractable display screen stops stretching, the first initial spacing being the spacing of the application icons in the stretching direction when the retractable display screen is in a non-expanded state, and the number increases as the stretching distance increases; or, In the case where the change distance is the shrinking distance, the spacing of the application icons in the stretching direction is maintained at the second initial spacing, and as the shrinking distance increases, the number of application icons on the current desktop is synchronously reduced, wherein the second initial spacing is the spacing of the application icons in the stretching direction before the retractable display screen is shrunk this time, and the number decreases as the shrinking distance increases; The adjusting the spacing between application icons and the number of application icons displayed on the current desktop in the retracting direction according to the change distance includes: When the change distance is the stretching distance, and when the spacing between the application icons in the stretching direction is less than the first spacing, continue to increase the spacing between the application icons in the stretching direction, wherein the first spacing is greater than the spacing between the application icons in the stretching direction when the retractable display screen is in a non-expanded state; When the spacing between the application icons in the stretching direction is equal to the first spacing, stop increasing the spacing between the application icons in the stretching direction; After the initial moment when the distance between the application icons in the extension direction is equal to the first distance, if the newly extended distance is greater than the first distance, the number of application icons displayed on the current desktop is increased; or, In a case where the change distance is a contraction distance, obtaining a first stretching length of the retractable display screen at an initial moment when the spacing of the application icons in the retractable direction increases to be equal to the second spacing; When the stretching length of the retractable display screen is greater than or equal to the first stretching length, keeping the spacing between the application icons in the stretching direction unchanged; When the shrinking distance is greater than the third distance, reducing the number of application icons currently displayed on the desktop; When the stretching length of the retractable display screen is less than the first stretching length, the spacing between the application icons in the stretching direction is reduced.
14. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed on a computer, the computer is caused to execute the device control method according to any one of claims 1 to 12.
15. An electronic device comprising a processor and a memory, wherein the memory stores a computer program. It is characterized in that The processor is configured to execute the device control method according to any one of claims 1 to 12 by calling the computer program.
Citation Information
Patent Citations
Flexible display device and operating method thereof
CN106484174A
Display screen extended display method, terminal and computer readable storage medium
CN110007882A
