Desktop icon management method, electronic equipment and storage medium
By generating horizontal or vertical folders and adjusting the icon size, the desktop icon management method solves the problem of low application icon management efficiency in the icon display interface and improves user experience and management efficiency.
Patent Information
- Application Number
- CN202410495776.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-23
- Publication Date
- 2025-10-24
AI Technical Summary
As the number of applications on electronic devices increases, the management efficiency of application icons in the icon display interface is low, resulting in poor user experience.
A desktop icon management method is provided. By receiving user operations to generate folders, the icon display position is optimized, including the generation of horizontal or vertical folders and icon size adjustment. Folders are automatically generated according to the number of empty spaces to facilitate icon management.
Improved icon management efficiency, enhanced user experience, and made it easier for users to find and use commonly used applications.
Smart Images

Figure CN120832047A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of terminals, and in particular to a desktop icon management method, an electronic device, and a storage medium. BACKGROUND
[0002] With the development of terminal technology, in order to meet the functional requirements, the number of applications installed on electronic devices is increasing, and the number of application icons in the icon display interface (which can also be referred to as a desktop) of the electronic device is also increasing. In order to ensure the tidiness and efficiency of the desktop, the user can move the application icons, folder icons, card icons, etc. on the desktop to manage the display positions of the icons in the desktop. How to provide an efficient and convenient icon management method needs to be further studied. SUMMARY
[0003] The present application provides a desktop icon management method, an electronic device, and a storage medium, which improves the management efficiency of the user for the icons in the desktop and improves the user experience.
[0004] In a first aspect, the present application provides a desktop icon management method, which includes: an electronic device receiving a first operation of a user for a plurality of application icons in a desktop, the first operation being an operation of moving the plurality of application icons to a first filling empty position; in response to the first operation, the electronic device displaying a first folder in the first filling empty position or a horizontal direction of the first filling empty position or a vertical direction of the first filling empty position, and the first folder displaying the plurality of application icons.
[0005] Optionally, when the electronic device displays the first folder in the horizontal direction of the first filling empty position or the vertical direction of the first filling empty position, the user can directly click an application icon in the first folder to open the application corresponding to the application icon.
[0006] Optionally, the electronic device can first determine whether the number of filling empty positions near the first filling empty position is greater than the number of the plurality of application icons. If yes, the electronic device can display the plurality of application icons near the first filling empty position. If no, the electronic device can display the first folder near the first filling empty position, and the first folder displays the plurality of application icons.
[0007] Optionally, the electronic device can also not determine whether the number of filling empty positions near the first filling empty position is greater than the number of the plurality of application icons. The electronic device directly displays the first folder in the first filling empty position or the horizontal direction of the first filling empty position or the vertical direction of the first filling empty position, and the first folder displays the plurality of application icons.
[0008] Through the method, the electronic device can generate the first folder based on the plurality of application icons dragged by the user, which improves the management efficiency of the user for the icons in the desktop and improves the user experience.
[0009] With reference to the first aspect, in a possible implementation manner, the size of the plurality of application icons displayed in the first folder is less than or equal to the size of the plurality of application icons displayed on the desktop of the electronic device before the first operation is received.
[0010] When the number of the filled empty positions occupied by the first folder is equal to the number of the plurality of application icons, the size of the plurality of application icons displayed in the first folder is equal to the size of the plurality of application icons displayed on the desktop of the electronic device before the first operation is received.
[0011] When the number of the filled empty positions occupied by the first folder is less than the number of the plurality of application icons, the size of the plurality of application icons displayed in the first folder is less than the size of the plurality of application icons displayed on the desktop of the electronic device before the first operation is received.
[0012] With reference to the first aspect, in a possible implementation manner, the plurality of application icons includes a first application icon and a second application icon, and when the usage frequency of the first application is greater than the usage frequency of the second application, the display position of the first application icon in the first folder is in front of the display position of the second application icon in the first folder.
[0013] In this way, the electronic device 100 can display the icon of the application frequently used by the user in front of the first folder, facilitating the user to find and use the application.
[0014] With reference to the first aspect, in a possible implementation manner, the electronic device displays the first folder in the first filled empty position, or in the horizontal direction of the first filled empty position, or in the vertical direction of the first filled empty position, and specifically includes the following steps. When the number of the filled empty positions near the first filled empty position is less than the number of the plurality of application icons, the electronic device displays the first folder in the first filled empty position, or in the horizontal direction of the first filled empty position, or in the vertical direction of the first filled empty position, and the plurality of application icons are displayed in the first folder.
[0015] In this way, the electronic device can determine whether the number of the filled empty positions near the first filled empty position is greater than the number of the plurality of application icons. If yes, the electronic device can directly display the plurality of application icons near the first filled empty position. If not, the electronic device can display the first folder in the horizontal direction of the first filled empty position or in the vertical direction of the first filled empty position.
[0016] With reference to the first aspect, in a possible implementation manner, the electronic device displays the first folder in the horizontal direction of the first filling empty position or in the vertical direction of the first filling empty position, and specifically includes: the electronic device obtains a first filling empty position quantity in the horizontal direction of the first filling empty position and a second filling empty position quantity in the vertical direction of the first filling empty position; if the first filling empty position quantity and the second filling empty position quantity are both greater than a first value, the electronic device displays a first prompt information; the electronic device receives a second operation for a first option in the first prompt information, and displays the first folder in the horizontal direction of the first filling empty position or in the vertical direction of the first filling empty position.
[0017] In this way, when the filling empty position quantity in the horizontal direction of the first filling empty position and the filling empty position quantity in the vertical direction of the first filling empty position are both greater than the first value, the electronic device can prompt the user to generate a horizontal folder or a vertical folder.
[0018] With reference to the first aspect, in a possible implementation manner, the electronic device displays the first folder in the horizontal direction of the first filling empty position or in the vertical direction of the first filling empty position, and specifically includes: the electronic device obtains a first filling empty position quantity in the horizontal direction of the first filling empty position and a second filling empty position quantity in the vertical direction of the first filling empty position; if the first filling empty position quantity and the second filling empty position quantity are both greater than a first value, in a case that the first filling empty position quantity is greater than the second filling empty position quantity, the electronic device displays the first folder in the horizontal direction of the first filling empty position; and in a case that the second filling empty position quantity is greater than the first filling empty position quantity, the electronic device displays the first folder in the vertical direction of the first filling empty position.
[0019] In a possible implementation manner, the method further includes: if the first filling empty position quantity is greater than the first value and the second filling empty position quantity is less than the first value, the electronic device displays the first folder in the horizontal direction of the first filling empty position; and / or, if the second filling empty position quantity is greater than the first value and the first filling empty position quantity is less than the first value, the electronic device displays the first folder in the vertical direction of the first filling empty position.
[0020] In this way, when the filling empty position quantity in the horizontal direction of the first filling empty position and the filling empty position quantity in the vertical direction of the first filling empty position are both greater than the first value, the electronic device can determine to generate a horizontal folder or a vertical folder based on the size of the filling empty position quantity in the horizontal direction of the first filling empty position and the filling empty position quantity in the vertical direction of the first filling empty position. When the filling empty position quantity in the horizontal direction of the first filling empty position is greater than the filling empty position quantity in the vertical direction of the first filling empty position, the electronic device can generate a horizontal folder, and when the filling empty position quantity in the vertical direction of the first filling empty position is greater than the filling empty position quantity in the horizontal direction of the first filling empty position, the electronic device can generate a vertical folder.
[0021] In conjunction with the first aspect, in one possible implementation, the electronic device displays the first folder in the first filler space, specifically including: if there are no adjacent filler spaces in both the horizontal and vertical directions of the first filler space, the electronic device displays the first folder in the first filler space. In this way, the electronic device can generate a minimum folder.
[0022] In conjunction with the first aspect, in a possible implementation, the method further includes: when the number of filling spaces near the first filling space is greater than the number of multiple application icons, the electronic device displays multiple application icons near the first filling space. In this way, when the number of filling spaces near the first filling space is greater than the number of multiple application icons, the electronic device can directly display the multiple application icons near the first filling space. Optionally, when the number of filling spaces near the first filling space is greater than the number of multiple application icons, the electronic device can also generate and display a first folder near the first filling space, and the number of filling spaces occupied by the first folder is greater than or equal to the number of multiple application icons.
[0023] In combination with the first aspect, in a possible implementation, when the electronic device displays the first folder in the horizontal direction of the first filling space, the number of filling spaces occupied by the first folder is less than or equal to the first number of filling spaces in the horizontal direction of the first filling space; when the electronic device displays the first folder in the vertical direction of the first filling space, the number of filling spaces occupied by the first folder is less than or equal to the second number of filling spaces in the vertical direction of the first filling space.
[0024] In combination with the first aspect, in a possible implementation, before the electronic device displays the first folder in the horizontal direction of the first filling space or in the vertical direction of the first filling space, the method also includes: the electronic device confirms the size of the multiple application icons displayed in the first folder based on the number of filling spaces occupied by the first folder and the number of multiple application icons; the electronic device displays the first folder in the horizontal direction of the first filling space or in the vertical direction of the first filling space, specifically including: the electronic device displays the first folder in the horizontal direction of the first filling space or in the vertical direction of the first filling space, and displays multiple application icons in the first folder based on the sizes of the multiple application icons displayed in the first folder
[0025] In combination with the first aspect, in one possible implementation, the first folder is a horizontal folder; the method also includes: the electronic device receives a third operation for the first folder, the third operation is an operation of moving the first folder to the second filling space; in response to the third operation, the electronic device displays the second folder vertically in the second filling space, multiple application icons are displayed in the second folder, and the second folder is a vertical folder.
[0026] Through the method, the electronic device can drag the first folder, and change the shape of the first folder based on the number of the filling vacancies near the second filling vacancy where the user drags the first folder, so that the multiple application icons in the first folder can be displayed near the second filling vacancy.
[0027] With reference to the first aspect, in a possible implementation manner, before the electronic device displays the second folder in the longitudinal direction of the second filling vacancy, the method further includes: the electronic device confirming the size of the multiple application icons displayed in the second folder based on the number of the filling vacancies occupied by the second folder and the number of the multiple application icons; and the electronic device displaying the second folder in the longitudinal direction of the second filling vacancy, specifically including: the electronic device displaying the second folder in the longitudinal direction of the second filling vacancy, and displaying the multiple application icons in the second folder based on the size of the multiple application icons displayed in the second folder.
[0028] In a second aspect, the present application provides an electronic device, the electronic device comprising a memory and a processor; wherein the memory and the processor are coupled, and the memory is configured to store a computer program, and the processor is configured to execute the computer program, so that the electronic device executes the desktop icon management method provided in any possible implementation manner of any aspect.
[0029] In a third aspect, the present application provides a computer readable storage medium comprising instructions, when the instructions are executed on an electronic device, the electronic device executes the desktop icon management method provided in any possible implementation manner of any aspect.
[0030] In a fourth aspect, the present application provides a chip system comprising one or more processors, the processors being configured to execute computer instructions to cause an electronic device to execute the desktop icon management method provided in any possible implementation manner of any aspect.
[0031] In a fifth aspect, the present application provides a computer program product comprising instructions, when the computer program product is executed on an electronic device, the electronic device executes the desktop icon management method provided in any possible implementation manner of any aspect.
[0032] For the beneficial effects of the second aspect to the fifth aspect, reference can be made to the beneficial effects described in the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0033] FIGS. 1A-1H A schematic diagram of a filling vacancy is shown;
[0034] FIG. 2A A structural schematic diagram of an electronic device 100 is shown;
[0035] FIG. 2Bis a software structure block diagram of the electronic device 100 of the embodiment of the present application;
[0036] FIGS. 3A-3W A schematic diagram showing the electronic device 100 receiving a user operation of moving a display position of an application icon on a desktop is shown;
[0037] FIGS. 4A-4E A schematic diagram showing the electronic device 100 moving icons near a target filling empty position to other filling empty positions is shown;
[0038] FIGS. 4F-4H A schematic diagram showing the electronic device 100 generating a folder based on a user moving an application icon on a desktop is shown;
[0039] FIGS. 5A-5L A schematic diagram showing the electronic device 100 receiving a user operation of moving a folder icon on a desktop is shown. DETAILED DESCRIPTION
[0040] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B; the "and / or" in the text only describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which means that there are three cases of A alone, A and B together, and B alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0041] Hereinafter, the terms "first" and "second" are only used for description purposes, and cannot be understood as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" can explicitly or implicitly include one or more features, and in the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" is two or more than two.
[0042] In the following embodiments of the present application, the term "user interface (UI)" is a medium interface for interaction and information exchange between an application or an operating system and a user, which realizes the conversion between the internal form of information and the form that the user can accept. The commonly used form of user interface is graphic user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icon, button, menu, tab, text box, dialog box, status bar, navigation bar, Widget, etc. displayed in the display screen of a wearable device.
[0043] First, the technical terms involved in the present application are explained.
[0044] 1. Fill the empty position.
[0045] The filled empty position can refer to the position on the desktop that accommodates the icon.
[0046] Exemplarily, FIG. 1A A schematic diagram of the filled empty position on the desktop of an electronic device 100 is shown, as FIG. 1A As shown, the desktop of the electronic device 100 includes a plurality of filled empty positions, FIG. 1A The dashed box in the figure is a filled empty position, for example, including 12 filled empty positions. The filled empty position can be used to fill application icons, folder icons, or card icons, etc.
[0047] Needless to say, FIG. 1A Only a schematic diagram of the filled empty position on the desktop of an electronic device 100 is shown, which is not limited in the present application.
[0048] For example, as FIG. 1B When the filled empty position displays an application icon of a single application, one filled empty position can display an application icon of one application, for example, the filled empty position 1001 displays an application icon of the memo application.
[0049] For another example, as FIG. 1C And FIG. 1D When the filled empty position displays an icon of a folder, an icon of one folder can occupy one filled empty position or multiple filled empty positions. As FIG. 1C As shown, an icon of one folder can occupy one filled empty position, i.e., the filled empty position 1001, and one or more application icons of an application can be displayed in one folder, FIG. 1C As shown, two application icons of an application, for example, an application icon of the flashlight application and an application icon of the memo application, are displayed in one folder. For another example, FIG. 1D As shown, an icon of one folder can also occupy multiple filled empty positions, for example, two filled empty positions, i.e., the filled empty position 1001 and the filled empty position 1002, and the filled empty position 1001 and the filled empty position 1002 display an icon of a folder, and the folder displays an application icon of the flashlight application and an application icon of the memo application. In some embodiments, a card icon of an application can also be displayed in the folder, which is not shown in the figure.
[0050] For another example, as FIG. 1E When the filled empty position displays a card icon of an application, one card icon of an application can occupy one filled empty position or multiple filled empty positions. FIG. 1EThe card icon of the parking application shown occupies two padding spaces, namely padding space 1001 and padding space 1002.
[0051] 2. The target padding space, the number of padding spaces near the target padding space, the number of padding spaces in the horizontal direction of the target padding space, and the number of padding spaces in the vertical direction of the target padding space.
[0052] The target padding space can refer to the final position of the icon moved by the user on the desktop.
[0053] The padding spaces near the target padding space can refer to a plurality of continuous padding spaces including the target padding space.
[0054] For example, as shown in FIG. 1F When the padding space 1001 is the target padding space, the number of padding spaces near the target padding space can include FIG. 1F 12 padding spaces shown.
[0055] For example, as shown in FIG. 1G When the padding space 1001 is the target padding space, the number of padding spaces near the target padding space can include 11 padding spaces except for the padding space 1008.
[0056] For example, as shown in FIG. 1H When the padding space 1001 is the target padding space, the number of padding spaces near the target padding space can include the padding space 1001, the padding space 1003, the padding space 1004, the padding space 1005, the padding space 1008, and the padding space 1011.
[0057] The number of padding spaces in the horizontal direction of the target padding space can refer to a plurality of continuous padding spaces including the target padding space, on the left of the target padding space or on the right of the target padding space.
[0058] For example, as shown in FIG. 1G Or FIG. 1H When the padding space 1001 is the target padding space, the number of padding spaces in the horizontal direction of the target padding space includes 3, which are the padding space 1001, the padding space 1003, and the padding space 1004.
[0059] The number of padding spaces in the vertical direction of the target padding space can refer to a plurality of continuous padding spaces including the target padding space, above the target padding space or below the target padding space.
[0060] For example, FIG. 1G As shown, when filling position 1001 is the target filling position, the number of filling positions in the vertical direction of filling position 1001 includes 4, namely filling position 1001, filling position 1005, filling position 1006 and filling position 1007.
[0061] For example, FIG. 1H As shown, when the filling space 1001 is the target filling space, the number of filling spaces in the vertical direction of the filling space 1001 includes 2, namely the filling space 1001 and the filling space 1005.
[0062] In order to meet functional requirements, the number of applications installed on electronic devices is increasing, and the number of application icons in the icon display interface of the electronic device (also known as the desktop) is also increasing. The user can move the application icon displayed on the desktop. For example, move the display position of the application icon to the target filling space. In order to make it possible to move the application icon to be displayed in the target filling space, the number of filling spaces near the target filling space needs to be greater than or equal to the number of filling spaces required for the application icon moved by the user. If the number of filling spaces near the target filling space is less than the number of filling spaces required for the application icon moved by the user, the user will not be able to move the application icon to the target filling space, and the electronic device 100 will still display the application icon moved by the user at the initial position.
[0063] Based on this, the present application provides a desktop icon management method, which includes: the desktop of the electronic device 100 includes multiple icons, and the multiple icons may include any one or more of application icons, folder icons, and card icons, and one or more application icons or one or more card icons are displayed in the file. Among them, the card can be a display method for shortcut operations of applications installed on the electronic device 100, and the card displays information within the application. In this way, the user can obtain information within the application through the information displayed on the card without opening the application. For example, the card can be a card for a weather application, and the user can check the weather conditions on the card of the weather application without opening the weather application. For example, the card can be a card for a parking application, and the user can check parking information, such as parking duration, parking location, etc., on the card of the parking application without opening the parking application.
[0064] The electronic device 100 may receive a first operation, where the first operation is an operation of selecting multiple icons and dragging the multiple icons to a target to fill spaces.
[0065] In response to the first operation, the electronic device 100 needs to determine whether the number of filling slots near the target filling slot is greater than the number of the plurality of icons.
[0066] If the number of filling spaces near the target filling space is greater than or equal to the number of the multiple icons, the electronic device 100 may display the multiple icons near the target position.
[0067] If the number of filling slots near the target filling slot is less than the number of the multiple icons, the electronic device 100 may obtain the number of filling slots in the horizontal direction of the target filling slot or the number of filling slots in the vertical direction of the target filling slot.
[0068] When the number of filling spaces in the horizontal direction of the target filling space and the number of filling spaces in the vertical direction of the target filling space are both greater than or equal to a first value (e.g., 2), in one possible implementation, the electronic device 100 may prompt the user to generate a horizontal folder or a vertical folder. If the user chooses to generate a horizontal folder, the electronic device 100 may display a horizontal folder near the target filling space and display multiple icons in the horizontal folder, and the number of filling spaces occupied by the horizontal folder is less than or equal to the number of filling spaces in the horizontal direction of the target filling space. If the user chooses to generate a vertical folder, the electronic device 100 may display a vertical folder near the target filling space and display multiple icons in the vertical folder, and the number of filling spaces occupied by the vertical folder is less than or equal to the number of filling spaces in the vertical direction of the target filling space.
[0069] In other possible implementations, if the number of filling spaces in the horizontal direction of the target filling space is greater than the number of filling spaces in the vertical direction of the target filling space, the electronic device 100 may generate a horizontal folder and display the horizontal folder near the target filling space. If the number of filling spaces in the vertical direction of the target filling space is greater than the number of filling spaces in the horizontal direction of the target filling space, the electronic device 100 may generate a horizontal folder and display the horizontal folder near the target filling space.
[0070] In other possible implementations, the electronic device 100 may also generate a horizontal folder or a vertical folder by default. For example, the electronic device 100 may receive a setting to generate a horizontal folder or a vertical folder by default.
[0071] Not limited to the above method, the electronic device 100 can also generate a folder based on multiple icons dragged by the user in other ways, and this application does not limit this.
[0072] Optionally, after the electronic device 100 generates a horizontal folder or a vertical folder, the user can directly click on an application icon in the first folder to open an application corresponding to the application icon.
[0073] In other embodiments, if the number of empty spaces near the target filling empty space is less than the number of icons, the electronic device 100 can move the icons near the target position to other positions, so that the number of filling empty spaces near the target filling empty space is greater than or equal to the number of icons. Then, the electronic device 100 can display the plurality of icons near the target filling empty space.
[0074] Through the method, the electronic device 100 can automatically generate a folder based on the number of icons moved by the user in the case that the number of filling empty spaces near the target filling empty space is less than the number of filling empty spaces occupied by the icons moved by the user, so as to display the icons moved by the user near the target filling empty space, improve the efficiency of desktop icon management, and improve the user experience.
[0075] The hardware structure of the electronic device 100 provided in the embodiments of the present application will be introduced below.
[0076] FIG. 2A The structural schematic diagram of the electronic device 100 is shown.
[0077] The embodiments will be specifically described below taking the electronic device 100 as an example. It should be understood that, FIG. 2A The electronic device 100 shown is only an example, and the electronic device 100 can have more or less components than those shown in the FIG. 2A embodiments, can combine two or more components, or can have a different component configuration. FIG. 2A The various components shown in the embodiments can be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.
[0078] The electronic device 100 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0079] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can include more or fewer components than shown, or combine certain components, or split certain components, or different arrangement of components. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0080] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices, or can be integrated in one or more processors.
[0081] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching instructions and executing instructions.
[0082] The processor 110 can also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can hold instructions or data that the processor 110 has just used or is using repeatedly. If the processor 110 needs to use the instructions or data again, it can call them directly from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thus improving the efficiency of the system.
[0083] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0084] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a structural limitation of the electronic device 100. In other embodiments of the present application, the electronic device 100 can also use different interface connection methods or combinations of multiple interface connection methods in the above embodiments.
[0085] The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input through the wireless charging coil of the electronic device 100. The charging management module 140 can charge the battery 142 while also supplying power to the electronic device through the power management module 141.
[0086] The power management module 141 is configured to connect the battery 142 and the charging management module 140 to the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 can also be configured to monitor parameters such as the battery capacity, the number of battery cycles, the battery health status (leakage, impedance), and the like. In some embodiments, the power management module 141 can also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.
[0087] The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor, and the like.
[0088] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be configured to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in combination with a tuning switch.
[0089] The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G and the like applied to the electronic device 100. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter, amplify, and the like the received electromagnetic waves, and transmit the processed signals to the modem processor for demodulation. The mobile communication module 150 can also amplify signals modulated by the modem processor and radiate the signals as electromagnetic waves through the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 can be disposed in the same device.
[0090] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal processed by the baseband processor is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a microphone 170B, etc.), or displays an image or a video through the display 194. In some embodiments, the modem processor can be a separate device. In other embodiments, the modem processor can be independent of the processor 110 and disposed in the same device as the mobile communication module 150 or other functional modules.
[0091] The wireless communication module 160 can provide a wireless communication solution including a wireless local area network (WLAN) (such as a wireless fidelity (Wi-Fi) network), Bluetooth (BT), a global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, and the like, which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives an electromagnetic wave via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 can also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification thereon, and radiate the signal as an electromagnetic wave via the antenna 2.
[0092] In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidu navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite based augmentation systems (SBAS).
[0093] The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs, which execute program instructions to generate or change display information.
[0094] The display screen 194 is configured to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can be made of a liquid crystal display (LCD). The display panel can also be made of an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a miniled, a microled, a micro-oled, a quantum dot light emitting diodes (QLED), and the like. In some embodiments, the electronic device 100 can include one or N display screens 194, where N is a positive integer greater than 1.
[0095] The electronic device 100 can implement the photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor.
[0096] The ISP is configured to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing to convert it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise and brightness of the image. The ISP can also optimize the exposure, color temperature, and other parameters of the shooting scene. In some embodiments, the ISP can be disposed in the camera 193.
[0097] The camera 193 is configured to capture still images or videos. An object generates an optical image through a lens and projects it onto a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then transmitted to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into a standard RGB, YUV, or the like format image signal. In some embodiments, the electronic device 100 can include one or N cameras 193, where N is a positive integer greater than 1.
[0098] The digital signal processor is used to process digital signals, in addition to being able to process digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
[0099] The video codec is used to compress or decompress digital video. The electronic device 100 can support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.
[0100] The NPU is a neural-network (NN) calculation processor, which can quickly process input information by drawing on the structure of a biological neural network, such as drawing on the transmission mode between human brain neurons, and can also constantly self-learn. Through the NPU, the electronic device 100 can realize intelligent cognition applications such as image recognition, face recognition, voice recognition, text understanding, etc.
[0101] The external memory interface 120 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external storage card communicates with the processor 110 through the external memory interface 120 to realize data storage functions. For example, music, video, etc. Files are saved in the external storage card.
[0102] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various function applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0103] The electronic device 100 can realize audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. For example, music playing, recording, etc.
[0104] The audio module 170 is configured to convert digital audio information into an analog audio signal output, and to convert an analog audio input into a digital audio signal. The audio module 170 can also be configured to encode and decode audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some of the functional modules of the audio module 170 can be disposed in the processor 110.
[0105] The speaker 170A, also referred to as a "loudspeaker", is configured to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0106] The receiver 170B, also referred to as a "earpiece", is configured to convert an audio electrical signal into a sound signal. When the electronic device 100 receives a call or a voice message, the user can listen to the voice by holding the receiver 170B close to the ear.
[0107] The microphone 170C, also referred to as a "microphone", "sound collector", is configured to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can make a sound by holding the mouth close to the microphone 170C, and input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, in addition to collecting sound signals, noise reduction functions can also be realized. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C, to realize the collection of sound signals, noise reduction, and also to identify the source of the sound, to realize the function of directional recording, etc.
[0108] The earphone interface 170D is configured to connect a wired earphone. The earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0109] The pressure sensor 180A is used to sense a pressure signal, which can be converted into an electrical signal. The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. The barometric sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a Hall sensor. The acceleration sensor 180E can detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the electronic device posture, applied to landscape / portrait screen switching, pedometer, etc. The distance sensor 180F is used to measure distance. The electronic device 100 can measure distance by infrared or laser. In some embodiments, the scene is photographed, and the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing. The proximity light sensor 180G can include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The light-emitting diode can be an infrared light-emitting diode. The electronic device 100 emits infrared light outwardly through the light-emitting diode. The electronic device 100 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to achieve power saving. The proximity light sensor 180G can also be used for automatic unlocking and locking of the skin cover mode and the pocket mode. The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the display screen 194 brightness according to the sensed ambient light brightness. The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locking, fingerprint photographing, fingerprint answering calls, etc. The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to perform temperature processing strategies. The touch sensor 180K, also known as a "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also known as a "touch screen". The touch sensor 180K is used to detect touch operations acting thereon or nearby. The bone conduction sensor 180M can obtain vibration signals.
[0110] The key 190 includes a power-on key, a volume key, etc. The key 190 can be a mechanical key. It can also be a touch key. The electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0111] The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompt, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. Touch operations acting on different regions of the display screen 194 can also correspond to different vibration feedback effects of the motor 191. Different application scenarios (such as time reminders, received messages, alarms, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0112] The indicator 192 can be an indicator light, which can be used to indicate the charging state, the power change, and can also be used to indicate messages, missed calls, notifications, etc.
[0113] The SIM card interface 195 is used to connect the SIM card.
[0114] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. Embodiments of the present application take an Android system with a layered architecture as an example to exemplarily illustrate the software structure of the electronic device 100.
[0115] FIG. 2B is a software structure block diagram of the electronic device 100 of the embodiments of the present application.
[0116] The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer and the system library, and the kernel layer.
[0117] The application layer can include a series of application packages.
[0118] As shown in FIG. 2B , the application package can include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0119] The application framework layer provides application programming interfaces (application programming interface, API) and programming frameworks for the applications of the application layer. The application framework layer includes some pre-defined functions.
[0120] As shown in FIG. 2B , the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc.
[0121] The window manager is used to manage windows programs. The window manager can acquire the display screen size, determine whether there is a status bar, lock the screen, and capture the screen, etc.
[0122] The content provider is used to store and acquire data, and make the data accessible to the application program. The data can include video, image, audio, dialed and received phone, browsing history and bookmark, phone book, etc.
[0123] The view system includes visual controls, such as a control for displaying text, a control for displaying pictures, etc. The view system can be used to build an application program. A display interface can be composed of one or more views. For example, a display interface including a short message notification icon can include a view for displaying text and a view for displaying pictures.
[0124] The telephony manager is used to provide the communication function of the electronic device 100. For example, the management of the call state (including connection, hang-up, etc.).
[0125] The resource manager provides various resources for the application program, such as localized strings, icons, pictures, layout files, video files, etc.
[0126] The notification manager makes the application program display notification information in the status bar, which can be used to convey a message in the form of a notice, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform the completion of downloading, message reminders, etc. The notification manager can also be a notification in the form of a chart or a scroll bar text appearing in the top status bar of the system, such as a notification of an application program running in the background, and can also be a notification in the form of a dialogue window appearing on the screen. For example, prompting text information in the status bar, issuing a prompt sound, the electronic device vibrating, the indicator light flashing, etc.
[0127] The Android runtime includes the core library and the virtual machine. The Android runtime is responsible for the scheduling and management of the system.
[0128] The core library contains two parts: one part is the function function called by the java language, and the other part is the core library of the system.
[0129] The application program layer and the application program framework layer run in the virtual machine. The virtual machine executes the java file of the application program layer and the application program framework layer into a binary file. The virtual machine is used to perform the management of the object life cycle, the management of the stack, the management of the thread, the management of the security and the exception, and the garbage collection, etc.
[0130] The system library can include a plurality of functional modules. For example, a surface manager, media libraries, a three-dimensional graphics processing library (e.g., OpenGL ES), a 2D graphics engine (e.g., SGL), etc.
[0131] The surface manager is used to manage a display subsystem and provides a plurality of applications with a fusion of 2D and 3D layers.
[0132] The media libraries support a plurality of commonly used audio, video format playback and recording, and static image files, etc. The media libraries can support a plurality of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0133] The three-dimensional graphics processing library is used to implement three-dimensional graphics drawing, image rendering, synthesis, and layer processing, etc.
[0134] The 2D graphics engine is a drawing engine for 2D drawing.
[0135] The kernel layer is a layer between hardware and software. The kernel layer at least includes a display driver, a camera driver, an audio driver, and a sensor driver.
[0136] The present application provides a desktop icon management method, which comprises: an electronic device receiving a first operation of a user on a plurality of application icons in a desktop, the first operation being an operation of moving the plurality of application icons to a first filling empty position; and in response to the first operation, the electronic device displaying a first folder in the first filling empty position or in a horizontal direction of the first filling empty position or in a vertical direction of the first filling empty position, and displaying the plurality of application icons in the first folder.
[0137] Optionally, when the electronic device displays the first folder in the horizontal direction of the first filling empty position or in the vertical direction of the first filling empty position, the user can directly click an application icon in the first folder to start an application corresponding to the application icon.
[0138] Optionally, the electronic device can first determine whether the number of filling empty positions near the first filling empty position is greater than the number of the plurality of application icons. If yes, the electronic device displays the plurality of application icons near the first filling empty position. If no, the electronic device displays the first folder near the first filling empty position, and displays the plurality of application icons in the first folder.
[0139] Optionally, the electronic device can also not determine whether the number of filling empty positions near the first filling empty position is greater than the number of the plurality of application icons. The electronic device directly displays the first folder in the first filling empty position or in the horizontal direction of the first filling empty position or in the vertical direction of the first filling empty position, and displays the plurality of application icons in the first folder.
[0140] Through the method, the electronic device can generate the first folder based on the plurality of application icons dragged by the user, improves the management efficiency of the user on the icons in the desktop, and improves the user experience.
[0141] Next, the electronic device 100 can receive a user operation to move the display position of the application icon on the desktop is introduced respectively through the UI.
[0142] I. The electronic device 100 receives a user operation to move the application icon on the desktop.
[0143] FIGS. 3A-3W A schematic diagram of the electronic device 100 receiving a user operation to move the display position of the application icon on the desktop is shown.
[0144] FIGS. 3A-3F A schematic diagram of the electronic device 100 displaying the application icon dragged by the user near the target filling empty position based on the user operation is shown.
[0145] Among them, FIG. 3A The desktop of the electronic device 100 is shown. As FIG. 3A shown, the desktop of the electronic device 100 displays a plurality of application icons and folder icons, such as the application icon of the life service application, the application icon of the calendar application, the application icon of the weather application, the application icon of the Huawei Store application, and the application icon of the smart home application. The folder displays a plurality of application icons of applications, such as the application icon of the music application, the application icon of the reading application, the application icon of the flashlight application, and the application icon of the gallery.
[0146] A plurality of application icons also display a page indicator below, indicating the total number of desktops, the position of the negative screen, the position of the currently displayed desktop, and the position relationship between the currently displayed desktop and other desktops. The page indicator displays a tray area or a dock bar below. Among them, the tray area includes a plurality of tray icons, such as the camera application icon, the address book application icon, the phone application icon, and the information application icon.
[0147] Optionally, the desktop of the electronic device 100 can also display the card icon of the application.
[0148] The electronic device 100 can also receive a user operation to move any one or more of the application icons, folder icons, and card icons displayed on the desktop.
[0149] For example, as FIG. 3A shown, the electronic device 100 can receive a user operation on the desktop, such as a double-finger pinch operation. In response to the double-finger pinch operation, the electronic device 100 can display the user interface shown in FIG. 3B , such as FIG. 3BAs shown, a plurality of icons on the desktop of the electronic device 100 are in an editable state. The user can delete the application icon of one or more applications on the desktop, and the user can also move the display position of the application icon of one or more applications displayed on the desktop.
[0150] As shown, the electronic device 100 can receive, for example, a single click of the user on the application icon of the life service application, the application icon of the calendar application and the application icon of the weather application, respectively. In response to the input operation of the user, the electronic device 100 can select the life service application, the calendar application and the weather application. FIG. 3B
[0151] Optionally, in order to prompt the user to select the application, the electronic device 100 can display a mark on the application icon of the application, for example, a mark 3001 displayed on the application icon of the life service application, a mark 3002 displayed on the application icon of the calendar application, and a mark 3003 displayed on the application icon of the weather application. The mark 3001, the mark 3002 and the mark 3003 are used to prompt the user that the user has selected the life service application, the calendar application and the weather application.
[0152] The user can select more or less than three applications, and the present application does not limit this.
[0153] After selecting the life service application, the calendar application and the weather application, the user can drag the finger to change the display position of the life service application, the calendar application and the weather application on the desktop.
[0154] As shown, the electronic device 100 can receive the operation of the user long-pressing and dragging the application icon, so that the finger of the user moves from the display position of the application icon of the calendar application to the display position of the application icon of the weather application. FIG. 3C FIG. 3C As shown, the target filling empty position does not display other icons.
[0155] Optionally, during the process of the user dragging the application icon, the electronic device 100 can display an icon 3004, which moves with the movement of the finger of the user. The icon 3004 is used to prompt the current display position of the application icon of the selected one or more applications.
[0156] If the user needs to move the application icon of the selected one or more applications to and display it near the target filling empty position, the electronic device 100 needs to obtain the number of filling empty positions required by the application icon of the selected one or more applications and the number of filling empty positions near the target filling empty position.
[0157] When the number of filling slots near the target filling slot is greater than the number of filling slots required for the application icons of the one or more applications selected by the user, the electronic device 100 may display the application icons of the one or more applications selected by the user near the target filling slot.
[0158] For example, FIG. 3C As shown, the number of filling spaces near the target filling space is 4, and the number of filling spaces required for the application icons of one or more applications selected by the user is 3. The electronic device 100 can display the application icons of one or more applications selected by the user near the target filling space, for example, FIG. 3D In this way, the electronic device 100 can display the application icons of multiple applications dragged by the user together, making it convenient for users to find and use the multiple applications.
[0159] In some embodiments, when the number of filling spaces near the target filling space is greater than the number of filling spaces required for the application icons of one or more applications selected by the user, and the number of filling spaces horizontally of the target filling space is also greater than the number of filling spaces required for the application icons of one or more applications selected by the user, the electronic device 100 may also generate a horizontal folder, for example, generate FIG. 3E The folder 3210 shown in the figure occupies three filled spaces. The folder 3210 includes application icons for life service applications, calendar applications, and weather applications. The size of the application icons displayed in the folder 3210 is the same as that of the application icons in the figure. FIG. 3B The app icons shown are all the same size.
[0160] FIG. 3F A schematic flow chart of a method for the electronic device 100 to generate a horizontal folder is shown.
[0161] S301A: The electronic device 100 receives a first operation, where the first operation is an operation of dragging application icons of multiple applications and moving them to a target space to fill an empty space.
[0162] For example, the application icons of multiple applications can be FIG. 3B The application icons of the life service application, the calendar application and the weather application are shown.
[0163] For example, the first operation may be FIG. 3B and FIG. 3C The operation shown is to select multiple applications and drag the application icons of multiple applications.
[0164] Optionally, after selecting multiple applications and before dragging the application icons of the multiple applications, the electronic device 100 may display marks on the application icons of the multiple applications to prompt the user that the multiple applications are the applications selected by the user.FIG. 3B As shown, the electronic device 100 may display a mark 3001 on the application icon of the life service application, a mark 3002 on the application icon of the calendar application, and a mark 3003 on the application icon of the weather application.
[0165] For example, the user is not limited to moving the display position of the application icon of the application, and can also move the display position of the application icon and the folder icon at the same time. For example, the user can select FIG. 3B The folder icon and the application icon of the weather application are shown, and the folder icon and the application icon of the weather application are dragged to the target to fill the empty space. At this time, the number of application icons moved by the user is 5, of which the number of application icons for applications in the file is 4, and the number of application icons for a single application is 1.
[0166] S302A: If the number of filling spaces near the target filling space is greater than or equal to the number of the multiple applications, the electronic device 100 displays application icons of the multiple applications near the target filling space.
[0167] In order to allow the user to move the application icons of multiple applications to the vicinity of the display target filling slots, the electronic device 100 needs to confirm whether the number of filling slots of the target filling slot attachment is greater than or equal to the number of the multiple applications.
[0168] The vicinity of a target filling vacancy may refer to a plurality of consecutive filling vacancies including the target filling vacancy.
[0169] When the number of the filling slots near the target filling slot is greater than or equal to the number of the multiple applications, it indicates that the application icons of the multiple applications can be moved to be displayed near the target filling slot.
[0170] For example, FIG. 3C As shown, the number of filling spaces near the target filling space is 4, the number of applications moved by the user is 3, and the filling spaces near the target filling space can accommodate application icons of multiple applications moved by the user. The electronic device 100 can display application icons of multiple applications near the target filling space, for example, FIG. 3D The user interface shown.
[0171] In some embodiments, when the number of filling slots near the target filling slot is greater than or equal to the number of multiple applications, the electronic device 100 may continue to determine the number of filling slots in the horizontal direction of the target filling slot, or whether the number of filling slots in the vertical direction of the target filling slot is greater than the number of multiple applications.
[0172] When the number of filling slots in the horizontal direction of the target filling slot is greater than the number of the multiple applications, the electronic device 100 may display application icons of the multiple applications in the horizontal direction of the target filling slot.
[0173] When the number of the padding spaces in the longitudinal direction of the target padding space is greater than the number of the plurality of applications, the electronic device 100 can display the application icons of the plurality of applications in the longitudinal direction of the target padding space.
[0174] When both the number of the padding spaces in the lateral direction of the target padding space and the number of the padding spaces in the longitudinal direction of the target padding space are greater than the number of the plurality of applications, in one possible implementation, the electronic device 100 can prompt the user to select to display the application icons of the plurality of applications in the lateral direction of the target padding space or in the longitudinal direction of the target padding space. In other possible implementations, the electronic device 100 can also display the application icons of the plurality of applications in the lateral direction of the target padding space or in the longitudinal direction of the target padding space by default.
[0175] In this way, the electronic device 100 can display the application icons of the plurality of applications moved by the user in the same horizontal row or the same vertical column, facilitating the user to view and use the plurality of applications.
[0176] In other embodiments, when the number of the padding spaces near the target padding space is greater than or equal to the number of the plurality of applications, when the number of the padding spaces in the lateral direction of the target padding space is greater than the number of the plurality of applications and / or when the number of the padding spaces in the longitudinal direction of the target padding space is greater than the number of the plurality of applications, the electronic device 100 can also generate a lateral folder or a longitudinal folder and display the application icons of the plurality of applications in the lateral folder or the longitudinal folder. The number of the padding spaces occupied by the lateral folder or the longitudinal folder is greater than or equal to the number of the plurality of applications in the longitudinal direction. For example, the electronic device 100 can generate a folder as shown in the following figure. FIG. 3E The folder shown in the figure.
[0177] In this way, the electronic device 100 can display the application icons of the plurality of applications moved by the user in the same folder, facilitating the user to view and use the plurality of applications.
[0178] When the number of the padding spaces near the target padding space is less than the number of the padding spaces required by the application icons of the one or more applications selected by the user, the electronic device 100 can obtain the number of the padding spaces in the lateral direction of the target padding space and the number of the padding spaces in the longitudinal direction of the target padding space, determine the target folder size and the target folder shape based on the number of the padding spaces in the lateral direction of the target padding space and the number of the padding spaces in the longitudinal direction of the target padding space, and display the application icons of the one or more applications selected by the user in the target folder.
[0179] The target folder size can refer to the number of the padding spaces occupied by the target folder.
[0180] The target folder shape can include, but is not limited to, a lateral folder or a longitudinal folder.
[0181] FIGS. 3G-3I A schematic diagram is shown in which the electronic device 100 generates a horizontal folder.
[0182] As shown in FIG. 3G , FIG. 3G The user interface shown is similar to the user interface shown in FIG. 3B , except that FIG. 3G The user interface shown includes an application icon of a memo application.
[0183] After the life service application, the calendar application, and the weather application are selected, the user can drag the finger to change the display positions of the life service application, the calendar application, and the weather application on the desktop. As shown in FIG. 3H , the electronic device 100 can receive an operation of the user long-pressing and dragging the application icons, so that the user finger moves from the display position of the application icon of the calendar application to a target padding space on which no other icon is displayed.
[0184] As shown in FIG. 3H , the number of padding spaces near the target padding space is 2, which is less than the number of the application icons of the one or more applications selected by the user, the electronic device 100 can acquire the number of the padding spaces near the target padding space, and determine the size and shape of the target folder based on the number of the padding spaces near the target padding space, and display the target folder near the padding spaces, the size of the target folder being equal to the number of the padding spaces near the target padding space, and the shape of the target folder being a horizontal folder. As shown in FIG. 3I , the electronic device 100 can generate FIG. 3I the folder 3005 shown in FIG. 3G , the size of the folder 3005 including two padding spaces, and the application icons of the life service application, the calendar application, and the weather application being displayed in the folder 3005, wherein the size of the application icons in the folder 3005 is less than the icon size shown in
[0185] FIGS. 3J-3L A schematic diagram is shown in which the electronic device 100 generates a vertical folder.
[0186] As shown in FIG. 3J , FIG. 3J The user interface shown is similar to the user interface shown in FIG. 3E , except that FIG. 3J The layout of the application icons shown is different from the layout of the application icons shown in FIG. 3E .
[0187] After selecting the life service application, the calendar application and the weather application, the user can drag the finger to change the display position of the life service application, the calendar application and the weather application on the desktop. As shown in FIG. 3K , the electronic device 100 can receive the operation of the user long-pressing and dragging the application icons, so that the user finger moves from the display position of the application icon of the calendar application to the target filling empty position on which no other icon is displayed.
[0188] As shown in FIG. 3K , the number of filling empty positions near the target filling empty position is 2, which is less than the application icons of the one or more applications selected by the user, the electronic device 100 can obtain the number of filling empty positions near the target filling empty position, and determine the size of the target folder based on the number of filling empty positions near the target filling empty position, and display the target folder near the filling empty position, the size of the target folder is equal to the number of filling empty positions near the target filling empty position, and the shape of the target folder is a vertical folder. As shown in FIG. 3L , the electronic device 100 can generate the folder 3006 as shown in FIG. 3L , the size of the folder 3006 includes two filling empty positions, and the application icons of the life service application, the calendar application and the weather application are displayed in the folder 3006, wherein the size of the application icons in the folder 3006 is smaller than the icon size as shown in FIG. 3J .
[0189] FIG. 3M The method flowchart for the electronic device 100 to generate a horizontal folder or a vertical folder is shown.
[0190] S301B, the electronic device 100 receives a first operation, which is an operation of dragging the application icons of a plurality of applications and moving to a target filling empty position.
[0191] As an example, the application icons of the plurality of applications can be the application icons of the life service application, the calendar application and the weather application as shown in FIG. 3G . As an example, the first operation can be the operation of selecting the plurality of applications and dragging the application icons of the plurality of applications as shown in FIG. 3G and FIG. 3H . Optionally, after selecting the plurality of applications, before dragging the application icons of the plurality of applications, the electronic device 100 can display a mark on the application icons of the plurality of applications to prompt the user that the plurality of applications are the applications selected by the user. For example, as shown in FIG. 3G , the electronic device 100 can display a mark 3001 on the application icon of the life service application, a mark 3002 on the application icon of the calendar application, and a mark 3003 on the application icon of the weather application.
[0192] For example, the application icons of the plurality of applications can be FIG. 3J The application icons of the life service application, the calendar application, and the weather application are shown. For example, the first operation can be FIG. 3J The operation of selecting the plurality of applications and dragging the application icons of the plurality of applications is shown. Optionally, after the plurality of applications are selected, before the application icons of the plurality of applications are dragged, the electronic device 100 can display markers on the application icons of the plurality of applications to prompt the user that the plurality of applications are the applications that have been selected by the user. For example, as shown in FIG. 3J The electronic device 100 can display a marker 3001 on the application icon of the life service application, a marker 3002 on the application icon of the calendar application, and a marker 3003 on the application icon of the weather application.
[0193] For example, the user can select the folder icon and the application icon of the weather application, and drag the folder icon and the application icon of the weather application to the target padding vacancy. At this time, the number of application icons moved by the user is 5, in which the number of application icons of the applications in the folder is 4, and the number of application icons of the single application is 1.
[0194] In S302B, if the number of padding vacancies near the target padding vacancy is less than the number of the plurality of applications, and the number of padding vacancies in the horizontal direction of the target padding vacancy is greater than or equal to the first value, the electronic device 100 displays the first folder in the horizontal direction of the target padding vacancy. If the number of padding vacancies in the vertical direction of the target padding vacancy is greater than or equal to the first value, the electronic device 100 displays the first folder in the vertical direction of the target padding vacancy.
[0195] For example, the first value can be 2, and the first value can also be other values, which are not limited in the present application.
[0196] When the number of padding vacancies near the target padding vacancy is less than the number of the plurality of applications, and the number of padding vacancies in the horizontal direction of the target padding vacancy is greater than or equal to the first value, the electronic device 100 can automatically generate a horizontal folder, for example, the first folder is a horizontal folder, and the electronic device 100 can display the first folder in the horizontal direction of the target padding vacancy.
[0197] In some embodiments, when the number of padding vacancies near the target padding vacancy is less than the number of the plurality of applications, the number of padding vacancies in the horizontal direction of the target padding vacancy is greater than or equal to the first value, and the number of padding vacancies in the vertical direction of the target padding vacancy is less than the first value, the electronic device 100 further automatically generates a horizontal folder, for example, the first folder is a horizontal folder, and displays the first folder in the horizontal direction of the target padding vacancy.
[0198] For example, the horizontal folder can be FIG. 3I The folder 3005 is shown.
[0199] In some embodiments, when the number of the fill-in empty positions near the target fill-in empty position is less than the number of the plurality of applications, the number of the fill-in empty positions in the vertical direction of the target fill-in empty position is greater than or equal to the first value, and the number of the fill-in empty positions in the horizontal direction of the target fill-in empty position is less than the first value, the electronic device 100 can further automatically generate a vertical folder, for example, the first folder is a vertical folder, and display the first folder in the vertical direction of the target fill-in empty position.
[0200] In some embodiments, when the number of the fill-in empty positions near the target fill-in empty position is less than the number of the plurality of applications, the number of the fill-in empty positions in the vertical direction of the target fill-in empty position is greater than or equal to the first value, and the number of the fill-in empty positions in the horizontal direction of the target fill-in empty position is less than the first value, the electronic device 100 can further automatically generate a vertical folder, for example, the first folder is a vertical folder, and display the first folder in the vertical direction of the target fill-in empty position.
[0201] For example, the vertical folder can be FIG. 3L The folder 3006 is shown.
[0202] By this method, the electronic device 100 can automatically generate a horizontal folder or a vertical folder.
[0203] In some embodiments, when the number of the fill-in empty positions in the horizontal direction of the target fill-in empty position and the number of the fill-in empty positions in the vertical direction of the target fill-in empty position are both greater than or equal to the first value (for example, 2), the electronic device 100 can prompt the user to generate a horizontal folder or a vertical folder.
[0204] FIGS. 3N-3P A schematic diagram showing that the electronic device 100 prompts the user to generate a vertical folder or a horizontal folder is shown.
[0205] For example, as FIG. 3N shown, FIG. 3N The user interface shown is similar to the user interface shown in FIG. 3F The difference is that FIG. 3N The desktop does not include the icon of the smart life application.
[0206] After selecting the life service application, the calendar application, and the weather application, the user can drag the fingers to change the display positions of the life service application, the calendar application, and the weather application on the desktop. For example, as FIG. 3O shown, the electronic device 100 can receive the operation of the user long-pressing and dragging the application icons, so that the user’s fingers move from the display position of the application icon of the calendar application to the target fill-in empty position, and no other icons are displayed on the target fill-in empty position.
[0207] AsFIG. 3O As shown in FIG. 3A, the number of the filling empty positions in the transverse direction of the target filling empty position is 2, and the number of the filling empty positions in the longitudinal direction of the target filling empty position is also 2. The electronic device 100 can prompt the user to generate a transverse folder or a longitudinal folder.
[0208] As shown in FIG. 3B, the electronic device 100 can display a prompt information 3007 including the text "Please select to generate a transverse folder or a longitudinal folder", which is used to prompt the user to generate a transverse folder or a longitudinal folder. The prompt information 3007 also includes a transverse folder option and a longitudinal folder option. The user can select the transverse folder option so that the electronic device 100 generates a transverse folder, for example, the folder 3005 shown in FIG. 3C. The user can also select the longitudinal folder option so that the electronic device 100 generates a longitudinal folder. FIG. 3P FIG. 3P As shown in FIG. 3B, the electronic device 100 can display a prompt information 3007 including the text "Please select to generate a transverse folder or a longitudinal folder", which is used to prompt the user to generate a transverse folder or a longitudinal folder. The prompt information 3007 also includes a transverse folder option and a longitudinal folder option. The user can select the transverse folder option so that the electronic device 100 generates a transverse folder, for example, the folder 3005 shown in FIG. 3C. The user can also select the longitudinal folder option so that the electronic device 100 generates a longitudinal folder. FIG. 3I
[0209] As shown in FIG. 3B, the electronic device 100 can display a prompt information 3007 including the text "Please select to generate a transverse folder or a longitudinal folder", which is used to prompt the user to generate a transverse folder or a longitudinal folder. The prompt information 3007 also includes a transverse folder option and a longitudinal folder option. The user can select the transverse folder option so that the electronic device 100 generates a transverse folder, for example, the folder 3005 shown in FIG. 3C. The user can also select the longitudinal folder option so that the electronic device 100 generates a longitudinal folder. FIG. 3P FIG. 3Q As shown in FIG. 3B, the electronic device 100 can display a prompt information 3007 including the text "Please select to generate a transverse folder or a longitudinal folder", which is used to prompt the user to generate a transverse folder or a longitudinal folder. The prompt information 3007 also includes a transverse folder option and a longitudinal folder option. The user can select the transverse folder option so that the electronic device 100 generates a transverse folder, for example, the folder 3005 shown in FIG. 3C. The user can also select the longitudinal folder option so that the electronic device 100 generates a longitudinal folder. FIG. 3Q FIG. 3N As shown in FIG. 3B, the electronic device 100 can display a prompt information 3007 including the text "Please select to generate a transverse folder or a longitudinal folder", which is used to prompt the user to generate a transverse folder or a longitudinal folder. The prompt information 3007 also includes a transverse folder option and a longitudinal folder option. The user can select the transverse folder option so that the electronic device 100 generates a transverse folder, for example, the folder 3005 shown in FIG. 3C. The user can also select the longitudinal folder option so that the electronic device 100 generates a longitudinal folder.
[0210] FIG. 3R A method flow diagram for prompting the user to generate a transverse folder or a longitudinal folder is shown.
[0211] S301C, the electronic device 100 receives a first operation, which is an operation of dragging and moving the application icons of the plurality of applications to the target filling empty position.
[0212] As shown in FIG. 3A, the number of the filling empty positions in the transverse direction of the target filling empty position is 2, and the number of the filling empty positions in the longitudinal direction of the target filling empty position is also 2. The electronic device 100 can prompt the user to generate a transverse folder or a longitudinal folder. FIG. 3N FIG. 3N As shown in FIG. 3A, the number of the filling empty positions in the transverse direction of the target filling empty position is 2, and the number of the filling empty positions in the longitudinal direction of the target filling empty position is also 2. The electronic device 100 can prompt the user to generate a transverse folder or a longitudinal folder. FIG. 3N As shown, the electronic device 100 can display the mark 3001 on the application icon of the life service application, display the mark 3002 on the application icon of the calendar application, and display the mark 3003 on the application icon of the weather application.
[0213] For example, the user can select the folder icon and the application icon of the weather application, and drag the folder icon and the application icon of the weather application to the target filling vacancy. At this time, the number of application icons moved by the user is 5, in which the number of application icons of the file application is 4, and the number of application icons of the single application is 1. FIG. 3N
[0214] S302C, if the number of filling vacancies near the target filling vacancy is less than the number of the plurality of applications, and the number of filling vacancies in the horizontal direction and the vertical direction of the target filling vacancy is greater than the first value, the electronic device 100 displays a first prompt information, and the first prompt information is used to prompt the user to select to generate a horizontal folder or a vertical folder.
[0215] In some embodiments, when the number of filling vacancies in the horizontal direction of the target filling vacancy of the electronic device 100 and the number of filling vacancies in the vertical direction of the target filling vacancy are greater than or equal to the first value, the electronic device 100 can prompt the user to select to generate a horizontal folder or a vertical folder.
[0216] For example, the first prompt information can be FIG. 3P the prompt information 3007 as shown.
[0217] S303C, the electronic device 100 receives a second operation of the user for the first prompt information, and determines the size and shape of the first folder. When the shape of the first folder is a horizontal folder, the size of the first folder is less than or equal to the number of filling vacancies in the horizontal direction of the target filling vacancy. When the shape of the first folder is a vertical folder, the size of the first folder is less than or equal to the number of filling vacancies in the vertical direction of the target filling vacancy.
[0218] The second operation is used to select to generate a horizontal folder or a vertical folder.
[0219] For example, the second operation can be an input operation such as a single click for the horizontal folder option in the prompt information 3007. For example, the first target folder can be FIG. 3I the folder 3005 as shown.
[0220] After confirming that the horizontal folder is generated, the electronic device 100 can acquire the number of padding empty positions in the target padding empty position horizontal direction, and determine the size of the first target folder based on the number of padding empty positions in the target padding empty position horizontal direction, the size of the first target folder being less than or equal to the number of padding empty positions in the target padding empty position horizontal direction.
[0221] For example, the second operation can also be an input operation, such as a single click, on the vertical folder option in the prompt information 3007. For example, the first target folder can be a folder similar to the target folder 3032 shown in the figure. FIG. 3Q
[0222] After confirming that the vertical folder is generated, the electronic device 100 can acquire the number of padding empty positions in the target padding empty position vertical direction, and determine the size of the first target folder based on the number of padding empty positions in the target padding empty position vertical direction, the size of the first target folder being less than or equal to the number of padding empty positions in the target padding empty position vertical direction.
[0223] Through the method, the electronic device 100 can prompt the user to generate a horizontal folder or a vertical folder.
[0224] FIG. 3S A method flow diagram for automatically generating a horizontal folder or a vertical folder by the electronic device 100 is shown.
[0225] S301D, the electronic device 100 receives a first operation, which is an operation of dragging and moving application icons of a plurality of applications to a target padding empty position.
[0226] For example, the application icons of the plurality of applications can be application icons of a life service application, an application icon of a calendar application, and an application icon of a weather application, as shown in the figure. FIG. 3N For example, the first operation can be an operation of selecting the plurality of applications and dragging the application icons of the plurality of applications, as shown in the figure. Optionally, after selecting the plurality of applications, before dragging the application icons of the plurality of applications, the electronic device 100 can display a mark on the application icons of the plurality of applications to prompt the user that the plurality of applications are the applications selected by the user. For example, as shown in the figure, the electronic device 100 can display a mark 3001 on the application icon of the life service application, a mark 3002 on the application icon of the calendar application, and a mark 3003 on the application icon of the weather application. FIG. 3N FIG. 3N For example, the user can select a folder icon and drag the folder icon and the application icons of the plurality of applications to the target padding empty position, as shown in the figure.
[0227] For example, the user can select a folder icon and drag the folder icon and the application icons of the plurality of applications to the target padding empty position, as shown in the figure. FIG. 3N The folder icon and the application icon of the weather application are shown, and the folder icon and the application icon of the weather application are dragged to the target to fill the empty space. At this time, the number of application icons moved by the user is 5, of which the number of application icons for applications in the file is 4, and the number of application icons for a single application is 1.
[0228] S302D. If the number of filling spaces near the target filling space is less than the number of multiple applications, and the number of filling spaces in the horizontal and vertical directions of the target filling space are both greater than the first value, when the number of filling spaces in the horizontal direction of the target filling space is greater than the number of filling spaces in the vertical direction of the target filling space, the electronic device 100 displays the first folder in the horizontal direction of the target filling space, and when the number of filling spaces in the vertical direction of the target filling space is greater than the number of filling spaces in the horizontal direction of the target filling space, the electronic device 100 displays the first folder in the vertical direction of the target filling space.
[0229] When the number of filling spaces in the horizontal direction of the target filling spaces is greater than or equal to the first value, and / or the number of filling spaces in the vertical direction of the target filling spaces is greater than or equal to the first value, the electronic device 100 needs to confirm the number of filling spaces in the horizontal direction of the target filling spaces and the number of filling spaces in the vertical direction of the target filling spaces are both greater than or equal to the first value to confirm the generation of a horizontal folder or a vertical folder.
[0230] When the number of filling spaces in the horizontal direction of the target filling space is greater than the number of filling spaces in the vertical direction of the target filling space, the electronic device 100 may generate a horizontal folder. When the number of filling spaces in the vertical direction of the target filling space is greater than the number of filling spaces in the horizontal direction of the target filling space, the electronic device 100 may generate a vertical folder.
[0231] Through this method, the electronic device 100 can automatically generate a horizontal folder or a vertical folder.
[0232] FIGS. 3T-3V A schematic diagram showing an electronic device 100 automatically generating a minimum unit folder is shown.
[0233] For example, FIG. 3T As shown, FIG. 3T The user interface shown is the same as FIG. 3F The user interface shown is similar except that FIG. 3T The layout of the application icons shown and FIG. 3F The layout of the app icons shown is different.
[0234] After selecting the life service application, calendar application and weather application, the user can drag his finger to change the display position of the life service application, calendar application and weather application on the desktop. FIG. 3TAs shown, the electronic device 100 can receive the user's long press and drag operation of the application icon, so that the user's finger moves from the display position of the application icon of the calendar application to the target filling space, and no other icons are displayed on the target filling space.
[0235] like FIG. 3U As shown, the number of filling spaces near the target filling space is 1, which is smaller than the application icons of one or more applications selected by the user. The electronic device 100 can obtain the number of filling spaces near the target filling space, and determine the size of the target folder based on the number of filling spaces near the target filling space, and display the target folder near the filling space. The size of the target folder is equal to the number of filling spaces near the target filling space. For example, FIG. 3V As shown, the electronic device 100 can generate FIG. 3V The target folder 3008 shown in FIG. 3008 includes a filler space. The target folder 3008 displays application icons for life service applications, calendar applications, and weather applications. The application icons in the target folder 3008 are smaller than the size of the target folder 3008. FIG. 3T Icon sizes shown.
[0236] Optionally, the size of the target folder 3008 is smaller than the size of the folder 3005 , and the size of the application icon in the target folder 3008 is smaller than the size of the application icon in the folder 3005 .
[0237] FIG. 3W A schematic flow chart of a method for the electronic device 100 to generate a minimum unit folder is shown.
[0238] S301E: The electronic device 100 receives a first operation, where the first operation is an operation of dragging application icons of multiple applications and moving them to a target to fill an empty space.
[0239] For example, the application icons of multiple applications can be FIG. 3T The application icon of the life service application, the application icon of the calendar application and the application icon of the weather application are shown. Exemplarily, the first operation can be FIG. 3T Optionally, after selecting multiple applications and before dragging the application icons of the multiple applications, the electronic device 100 may display marks on the application icons of the multiple applications to prompt the user that the multiple applications are the applications selected by the user. FIG. 3T As shown, the electronic device 100 may display a mark 3001 on the application icon of the life service application, a mark 3002 on the application icon of the calendar application, and a mark 3003 on the application icon of the weather application.
[0240] Exemplarily, the display position of the application icons of the mobile application is not limited, and the user can also move the display position of the application icons of the mobile application and the folder icon at the same time. For example, the user can select the folder icon and the application icon of the weather application as shown in FIG. 15A, and drag the folder icon and the application icon of the weather application to the target filling empty position. At this time, the number of the application icons moved by the user is 5, in which the number of the application icons of the applications in the folder is 4, and the number of the application icon of the single application is 1. FIG. 3T
[0241] S302E, if the number of the filling empty positions near the target filling empty position is less than the number of the applications, and the number of the filling empty positions in the horizontal direction and the vertical direction of the target filling empty position is less than the first value, the electronic device 100 displays a first folder at the target filling empty position, and displays the application icons of the plurality of applications in the first folder.
[0242] When the number of the filling empty positions near the target filling empty position is less than the number of the applications, the electronic device 100 needs to confirm whether the number of the filling empty positions in the horizontal direction of the target filling empty position and the number of the filling empty positions in the vertical direction of the target filling empty position are less than the first value.
[0243] When the number of the filling empty positions in the horizontal direction of the target filling empty position and the number of the filling empty positions in the vertical direction of the target filling empty position are less than the first value, the electronic device 100 can generate a minimum unit folder. Exemplarily, the minimum unit folder can be a target folder 3008 as shown in FIG. 30. FIG. 3V
[0244] Through the method, the electronic device 100 can automatically generate the minimum unit folder.
[0245] Optionally, the target filling empty position can also be referred to as the first filling empty position. FIGS. 3A-3W
[0246] In some embodiments, when the number of the filling empty positions near the target filling empty position is less than the number of the filling empty positions required by the application icons of the one or more applications selected by the user, the electronic device 100 can move the icons near the target filling empty position to be displayed on other filling empty positions, so that the number of the filling empty positions near the target filling empty position is greater than or equal to the number of the filling empty positions required by the application icons of the one or more applications selected by the user.
[0247] Optionally, the other filling empty positions can refer to the filling empty positions in the page where the target filling empty position is located, or can refer to the filling empty positions in other pages.
[0248] FIGS. 4A-4E FIG. 31 shows a schematic diagram of the electronic device 100 moving the icons near the target filling empty position to the other filling empty positions.
[0249] As shown in FIG. 31, the electronic device 100 moves the icons near the target filling empty position to the other filling empty positions, so that the number of the filling empty positions near the target filling empty position is greater than or equal to the number of the filling empty positions required by the application icons of the one or more applications selected by the user. FIG. 4A As shown, after the life service application, the calendar application and the weather application are selected, the user can drag the finger to change the display positions of the life service application, the calendar application and the weather application on the desktop. As shown in the example, FIG. 4A As shown, the electronic device 100 can receive the operation of the user long-pressing and dragging the application icon, so that the finger of the user moves from the display position of the application icon of the calendar application to the target filling empty position on which no other icon is displayed.
[0250] As shown, FIG. 4B As shown, the number of filling empty positions near the target filling empty position is 2, which is less than the number of application icons of the one or more applications selected by the user, the electronic device 100 can move the icons near the target filling empty position, for example, the electronic device 100 can move the display position of the application icon of the memo application.
[0251] In a possible implementation, the electronic device 100 can display the application icon of the memo application on another page, so that the number of filling empty positions near the target filling empty position is greater than or equal to the number of filling empty positions required by the application icons of the one or more applications selected by the user. For example, after the electronic device 100 displays the application icon of the memo application on another page, the number of filling empty positions near the target filling empty position is 4, the electronic device 100 can display the application icons of the one or more applications selected by the user near the target filling empty position, for example, display FIG. 4C As shown in the user interface.
[0252] Then, the electronic device 100 can receive the sliding operation, for example, the left sliding operation, of the user on FIG. 4C As shown in the user interface. FIG. 4D As shown in the user interface, FIG. 3U As shown, the user interface includes the application icon of the memo application.
[0253] In other possible implementations, the electronic device 100 can display the application icon of the memo application on other filling empty positions of the current page, so that the number of filling empty positions near the target filling empty position is greater than or equal to the number of filling empty positions required by the application icons of the one or more applications selected by the user. After the electronic device 100 displays the application icon of the memo application on the filling empty positions of the current page, for example, the application icon of the memo application is displayed on FIG. 4E As shown in the filling empty position, the number of filling empty positions near the target filling empty position is 3, the electronic device 100 can display the application icons of the one or more applications selected by the user near the target filling empty position.
[0254] In some embodiments, the electronic device 100 can also prompt the user to select to display the application icon of the memo application in the filling empty positions of the current page or in the filling empty positions of another page.
[0255] In this way, the electronic device 100 can display the application icons of the plurality of applications dragged by the user together, facilitating the user to find and use the plurality of applications.
[0256] In some embodiments, the electronic device 100 can also receive the user operation of generating a folder based on the plurality of application icons moved by the user, and the number of padding spaces occupied by the folder in the horizontal direction and the number of padding spaces occupied by the folder in the vertical direction can be the same.
[0257] For example, as shown in FIG. 4F After the life service application, the calendar application and the weather application are selected, the user can drag the finger to change the display positions of the life service application, the calendar application and the weather application on the desktop. For example, as shown in FIG. 4G The electronic device 100 can receive the user operation of long pressing and dragging the application icons, so that the finger of the user moves from the display position of the application icon of the calendar application to FIG. 4G The target padding space is not displayed with other icons.
[0258] As shown in FIG. 4G The number of padding spaces near the target padding space is 4, which is greater than the number of application icons of one or more applications selected by the user. The electronic device 100 can generate a first folder based on the padding spaces near the target padding space, and display the plurality of application icons dragged by the user in the first folder.
[0259] For example, as shown in FIG. 4H The first folder can be the folder 4010, the folder 4010 occupies 4 padding spaces, the folder 4010 occupies 2 padding spaces in the horizontal direction, and the folder 4010 also occupies 2 padding spaces in the vertical direction.
[0260] II. The electronic device 100 receives the user operation of moving the folder icon on the desktop.
[0261] In some embodiments, the electronic device 100 can also receive the user operation of moving the folder icon on the desktop. When the number of padding spaces in the horizontal direction of the target padding space and the number of padding spaces in the vertical direction of the target padding space are both less than the size of the folder moved by the user, the electronic device 100 can change the size of the folder moved by the user based on the number of padding spaces in the horizontal direction of the target padding space or the number of padding spaces in the vertical direction of the target padding space, so that the folder moved by the user can be displayed near the target padding space.
[0262] FIGS. 5A-5L A schematic diagram of the electronic device 100 receiving the user operation of moving the folder icon on the desktop is shown.
[0263] In some embodiments, in a case where the number of the padding empty positions in the transverse direction of the target padding empty position is greater than or equal to a first value (for example, 2) and the number of the padding empty positions in the longitudinal direction of the target padding empty position is less than the first value, the electronic device 100 can generate a transverse folder based on the folder dragged by the user.
[0264] FIGS. 5A-5C A schematic diagram in which the electronic device 100 generates a transverse folder based on a folder dragged by a user is shown.
[0265] For example, the embodiments of the present application are described by taking that the electronic device 100 receives a user operation of moving a first folder on a desktop as an example.
[0266] In the above embodiments, the electronic device 100 can generate a transverse folder based on the folder dragged by the user. FIG. 5A A desktop of the electronic device 100 is shown. As shown in the figure, FIG. 5A The desktop of the electronic device 100 displays a plurality of application icons and an icon of a folder 5001, for example, an application icon of a Huawei Store application, an application icon of a smart home application. The folder 5001 displays a plurality of application icons of applications, for example, an application icon of a music application, an application icon of a reading application, an application icon of a flashlight application, and an application icon of a gallery.
[0267] For example, as shown in the figure, FIG. 5A The electronic device 100 can receive an input operation of the user on the folder 5001, for example, a single click. In response to the input operation of the user, the electronic device 100 can select the folder 5001.
[0268] Optionally, in order to prompt the user that the folder 5001 is selected, the electronic device 100 can display a mark on the icon of the folder 5001, for example, a mark 5002 displayed on the icon of the folder 5001. The mark 5002 is used to prompt the user that the folder 5001 is selected.
[0269] The user can select and move more folders at the same time, not limited to selecting one folder. The present application does not limit this.
[0270] For example, as shown in the figure, FIG. 5B The electronic device 100 can receive an operation of the user long pressing and dragging the icon of the folder 5001, so that the user's finger moves from the display position of the icon of the folder 5001 to a target padding empty position, and no other icon is displayed on the target padding empty position.
[0271] Optionally, during the process of the user dragging the folder 5001, the electronic device 100 can display an icon 5003, which moves with the movement of the user's finger. The icon 5003 is used to prompt the current display position of the icon of the selected folder.
[0272] If the user needs to move the selected folder 5001 to and display it near the target padding space, the electronic device 100 needs to obtain the number of padding spaces required by the selected folder 5001, and the number of padding spaces in the horizontal direction of the target padding space and the number of padding spaces in the vertical direction of the target padding space. The electronic device 100 can change the size and shape of the folder moved by the user based on the number of padding spaces in the horizontal direction of the target padding space or the number of padding spaces in the vertical direction of the target padding space, so that the folder moved by the user can be displayed near the target padding space.
[0273] For example, as shown in FIG. 5C , the number of padding spaces in the horizontal direction of the target padding space is 3, and the number of padding spaces required by the selected folder 5001 is 4. The electronic device 100 needs to change the size and shape of the folder 5001, for example, modify the shape of the folder 5001 to a horizontal folder, modify the size of the folder 5001 to occupy three padding spaces, and modify the size of the application icons displayed in the folder 5001 based on the size-modified folder 5001. For example, the electronic device 100 can display the folder 5004 as shown in FIG. 5C . The folder 5004 includes the application icon of the music application, the application icon of the reading application, the application icon of the flashlight application, and the application icon of the gallery. The size of the folder 5004 is smaller than the size of the folder 5001, and the size of the application icons displayed in the folder 5004 is smaller than the size of the application icons displayed in the folder 5001.
[0274] In some embodiments, in the case that the number of padding spaces in the vertical direction of the target padding space is greater than or equal to a first value (for example, 2) and the number of padding spaces in the horizontal direction of the target padding space is less than the first value, the electronic device 100 can generate a vertical folder for the folder dragged by the user.
[0275] FIGS. 5D-5F An example is shown in
[0276] For example, as shown in FIG. 5D , the electronic device 100 can receive an operation of long-pressing and dragging the icon of the folder 5001, so that the user's finger moves from the display position of the icon of the folder 5001 to the target padding space, and no other icon is displayed on the target padding space.
[0277] If the user needs to move the selected folder 5001 to and display it near the target fill vacancy, the electronic device 100 needs to obtain the number of fill vacancies required by the selected folder 5001 and the number of fill vacancies in the horizontal direction of the target fill vacancy and the number of fill vacancies in the vertical direction of the target fill vacancy. The electronic device 100 can change the size and shape of the folder moved by the user based on the number of fill vacancies in the horizontal direction of the target fill vacancy or the number of fill vacancies in the vertical direction of the target fill vacancy, so that the folder moved by the user can be displayed near the target fill vacancy.
[0278] For example, as shown in FIG. 5D , the number of fill vacancies in the horizontal direction of the target fill vacancy is 4, the number of fill vacancies required by the selected folder 5001 is 4, and the electronic device 100 needs to change the shape of the folder 5001, for example, modify the shape of the folder 5001 to a vertical folder, and the size of the folder 5001 does not need to be modified. For example, the electronic device 100 can display the folder 5005 as shown in FIG. 5E . The folder 5005 includes the application icon of the music application, the application icon of the reading application, the application icon of the flashlight application, and the application icon of the gallery, the size of the folder 5005 is the same as the size of the folder 5001, and the size of the application icons displayed in the folder 5005 is the same as the size of the application icons displayed in the folder 5001.
[0279] In some embodiments, if the number of fill vacancies in the horizontal direction of the target fill vacancy is less than the number of fill vacancies required by the folder 5001, the electronic device 100 also needs to reduce the size of the folder 5001 and reduce the size of the application icons displayed in the folder 5001.
[0280] FIG. 5F A method flowchart diagram is shown for the electronic device 100 to generate a horizontal folder or a vertical folder based on the folder dragged by the user.
[0281] S501A, the electronic device 100 receives the operation of dragging the first folder and moving it to the target fill vacancy.
[0282] For example, the first folder can be the folder 5001 as shown in FIG. 5A , and the icon thereof can be the icon of the folder 5001 as shown in FIG. 5A .
[0283] For example, the operation of dragging the first folder can be the operation of dragging the folder 5001 as shown in FIG. 5A .
[0284] Optionally, after selecting the folder 5001, before dragging the folder 5001, the electronic device 100 can display a mark on the icon of the folder 5001 to prompt the user that the folder 5001 has been selected. For example, as shown in FIG. 5B, the electronic device 100 can display a mark 5002 on the icon of the folder 5001. FIG. 5A
[0285] S502A, if the shape formed by the number of padding spaces near the target padding space does not include the shape of the first folder, the number of padding spaces in the lateral direction of the target padding space is greater than or equal to the first value, the electronic device 100 displays the second folder in the lateral direction of the target padding space. If the number of padding spaces in the longitudinal direction of the target padding space is greater than or equal to the first value, the electronic device 100 displays the second folder in the longitudinal direction of the target padding space.
[0286] The electronic device 100 needs to confirm whether the shape formed by the padding spaces near the target padding space includes the shape of the first folder.
[0287] When the shape formed by the padding spaces near the target padding space includes the shape of the first folder, the electronic device 100 can display the first folder near the target padding space.
[0288] When the shape formed by the padding spaces near the target padding space does not include the shape of the first folder, the electronic device 100 needs to change the shape of the first folder.
[0289] For example, if the shape formed by the number of padding spaces near the target padding space does not include the shape of the first folder, the number of padding spaces in the lateral direction of the target padding space is greater than or equal to the first value, the electronic device 100 can automatically generate a horizontal folder, for example, the second folder is a horizontal folder, and the electronic device 100 can display the second folder in the lateral direction of the target padding space.
[0290] In some embodiments, if the shape formed by the number of padding spaces near the target padding space does not include the shape of the first folder, the number of padding spaces in the lateral direction of the target padding space is greater than or equal to the first value, and the number of padding spaces in the longitudinal direction of the target padding space is less than the first value, the electronic device 100 can further automatically generate a horizontal folder, for example, the second folder is a horizontal folder, and display the second folder in the lateral direction of the target padding space.
[0291] For example, the horizontal folder can be a folder 5004 as shown in FIG. 5C. FIG. 5C
[0292] For another example, if the shape formed by the number of filling spaces near the target filling space does not include the shape of the first folder, and the number of filling spaces in the vertical direction of the target filling space is greater than or equal to the first value, the electronic device 100 can automatically generate a vertical folder. For example, if the second folder is a vertical folder, the electronic device 100 can display the second folder in the vertical direction of the target filling space.
[0293] In some embodiments, if the shape formed by the number of filling spaces near the target filling space does not include the shape of the first folder, the number of filling spaces in the vertical direction of the target filling space is greater than or equal to the first value, and the number of filling spaces in the horizontal direction of the target filling space is less than the first value, the electronic device 100 automatically generates a vertical folder, for example, the second folder is a vertical folder, and displays the second folder in the vertical direction of the target filling space.
[0294] For example, a vertical folder can be FIG. 5E Folder 5005 is shown.
[0295] Through this method, the electronic device 100 can automatically change the shape of the first folder dragged by the user.
[0296] In some embodiments, when the number of filling spaces in the horizontal direction of the target filling space and the number of filling spaces in the vertical direction of the target filling space are both greater than or equal to a first value (for example, 2), the electronic device 100 may prompt the user to generate a horizontal folder or a vertical folder for the folder dragged by the user.
[0297] FIGS. 5G-5I A schematic diagram showing the electronic device 100 prompting the user to create a vertical folder or a horizontal folder is shown.
[0298] For example, FIG. 5G As shown, the electronic device 100 can receive the user's long press and drag operation of the folder 5001 icon, so that the user's finger moves from the display position of the folder 5001 icon to the target filling space, and no other icons are displayed on the target filling space.
[0299] If the user wants to move the selected folder 5001 to and display it near the target filling space, the electronic device 100 needs to obtain the number of filling spaces required for the folder 5001 selected by the user, as well as the number of filling spaces in the horizontal direction of the target filling space and the number of filling spaces in the vertical direction of the target filling space. The electronic device 100 can change the size and shape of the folder moved by the user based on the number of filling spaces in the horizontal direction of the target filling space or the number of filling spaces in the vertical direction of the target filling space so that the folder moved by the user can be displayed near the target filling space.
[0300] For example, FIG. 5GAs shown, the number of filling vacancies in the lateral direction of the target filling vacancy is 3, the number of filling vacancies in the lateral direction of the target filling vacancy is 4, and both the number of filling vacancies in the lateral direction of the target filling vacancy and the number of filling vacancies in the longitudinal direction of the target filling vacancy are greater than 2.
[0301] In a possible implementation, the electronic device 100 can prompt the user to generate a horizontal folder or a vertical folder by dragging the folder dragged by the user.
[0302] For example, FIG. 5H As shown, the electronic device 100 can display FIG. 5H a prompt information 5006 including the text "Please select to generate a horizontal folder or a vertical folder", which is used to prompt the user to generate a horizontal folder or a vertical folder. The prompt information 5006 also includes a horizontal folder option and a vertical folder option. The user can select the horizontal folder option so that the electronic device 100 generates a horizontal folder, and the user can also select the vertical folder option so that the electronic device 100 generates a vertical folder.
[0303] For example, the electronic device 100 can receive an input operation such as a single click of the user on the horizontal folder option in the prompt information 5006. In response to the input operation of the user, the electronic device 100 can generate FIG. 5C a folder 5004 as shown.
[0304] For example, the electronic device 100 can also receive an input operation such as a single click of the user on the vertical folder option in the prompt information 5006. In response to the input operation of the user, the electronic device 100 can generate FIG. 5E a folder 5005 as shown.
[0305] In other possible implementations, the electronic device 100 can compare whether the number of filling vacancies in the lateral direction of the target filling vacancy is more than the number of filling vacancies in the longitudinal direction of the target filling vacancy. In the case that the number of filling vacancies in the lateral direction of the target filling vacancy is more than the number of filling vacancies in the longitudinal direction of the target filling vacancy, the electronic device 100 can automatically generate a horizontal folder. In the case that the number of filling vacancies in the longitudinal direction of the target filling vacancy is more than the number of filling vacancies in the lateral direction of the target filling vacancy, the electronic device 100 can automatically generate a vertical folder. In the case that the number of filling vacancies in the lateral direction of the target filling vacancy is the same as the number of filling vacancies in the longitudinal direction of the target filling vacancy, the electronic device 100 can again prompt the user to generate a horizontal folder or a vertical folder.
[0306] In other possible implementations, in a case where the number of the fill-in empty positions in the lateral direction of the target fill-in empty position and the number of the fill-in empty positions in the longitudinal direction of the target fill-in empty position are both greater than or equal to a first value (for example, 2), the electronic device 100 can also generate a lateral folder or a longitudinal folder by default, which can be automatically set by the system or set by the user.
[0307] FIG. 5I A method flowchart for prompting the user to generate a lateral folder or a longitudinal folder by the electronic device 100 is shown.
[0308] S501B, the electronic device 100 receives and drags the first folder and moves to the target fill-in empty position.
[0309] For example, the first folder can be FIG. 5A The icon of the folder 5001 shown can be FIG. 5A The icon of the folder 5001 shown.
[0310] For example, the operation of dragging the first folder can be FIG. 5G The operation of dragging the folder 5001 shown.
[0311] Optionally, after selecting the folder 5001, before dragging the folder 5001, the electronic device 100 can display a mark on the icon of the folder 5001 to prompt the user that the folder 5001 has been selected. For example, as FIG. 5A The electronic device 100 can display a mark 5002 on the icon of the folder 5001.
[0312] For example, the target fill-in empty position can be FIG. 5G The fill-in empty position where the user's finger is shown.
[0313] S502B, if the shape composed of the number of fill-in empty positions near the target fill-in empty position does not include the shape of the first folder, and the number of fill-in empty positions in the lateral direction and the longitudinal direction of the target fill-in empty position are both greater than the first value, the electronic device 100 displays a second prompt information, and the second prompt information is used to prompt the user to select to generate a lateral folder or a longitudinal folder.
[0314] In a case where the shape composed of the number of fill-in empty positions near the target fill-in empty position does not include the shape of the first folder, and the number of fill-in empty positions in the lateral direction and the longitudinal direction of the target fill-in empty position are both greater than the first value, the electronic device 100 can prompt the user to select to generate a lateral folder or a longitudinal folder.
[0315] For example, the second prompt information can be FIG. 5H The prompt information 5006 shown.
[0316] S503B, the electronic device 100 receives a third operation of the user on the second prompt information, and determines the size and shape of the second folder. When the shape of the second folder is a horizontal folder, the size of the second folder is less than or equal to the number of the filler spaces in the target filler space horizontally. When the shape of the second folder is a vertical folder, the size of the second folder is less than or equal to the number of the filler spaces in the target filler space vertically.
[0317] The third operation is used by the electronic device 100 to generate a horizontal folder or a vertical folder.
[0318] For example, the third operation can be an input operation, such as a click, on the horizontal folder option in the prompt information 5006. For example, the fourth target folder can be the folder 5004 shown in FIG. 5B. FIG. 5C
[0319] After confirming that the horizontal folder is generated, the electronic device 100 can obtain the number of the filler spaces in the target filler space horizontally, and determine the size of the fourth target folder based on the number of the filler spaces in the target filler space horizontally. The size of the fourth target folder is less than or equal to the number of the filler spaces in the target filler space horizontally.
[0320] For example, the third operation can also be an input operation, such as a click, on the vertical folder option in the prompt information 5006. For example, the first target folder can be the folder 5004 shown in FIG. 5B. FIG. 5E
[0321] After confirming that the vertical folder is generated, the electronic device 100 can obtain the number of the filler spaces in the target filler space vertically, and determine the size of the fourth target folder based on the number of the filler spaces in the target filler space vertically. The size of the fourth target folder is less than or equal to the number of the filler spaces in the target filler space vertically.
[0322] Through the method, the electronic device 100 can prompt the user to change the shape of the first folder being dragged.
[0323] In some embodiments, if the shape composed of the number of the filler spaces near the target filler space does not include the shape of the first folder, and the number of the filler spaces in the target filler space horizontally and vertically is greater than the first value, the electronic device 100 can also not display the second prompt information. The electronic device 100 can confirm whether the number of the filler spaces in the target filler space horizontally is greater than the number of the filler spaces in the target filler space vertically.
[0324] When the number of the filler spaces in the target filler space horizontally is greater than the number of the filler spaces in the target filler space vertically, the electronic device 100 can generate a horizontal folder.
[0325] When the number of filling slots in the vertical direction of the target filling slot is greater than the number of filling slots in the horizontal direction of the target filling slot, the electronic device 100 may generate a vertical folder.
[0326] In this way, the electronic device 100 can automatically generate a larger horizontal folder or a larger vertical folder, so that the size of the application icon displayed in the folder is as large as possible, making it easier for the user to view the applications in the folder.
[0327] In some embodiments, the number of filling spaces in the horizontal direction of the target filling space and the number of filling spaces in the vertical direction of the target filling space are both less than a first value (for example, 2), and the electronic device 100 can generate a minimum unit folder on the target filling space.
[0328] FIGS. 5J-5K A schematic diagram showing an electronic device 100 generating a minimum unit folder based on a folder dragged by a user is shown.
[0329] For example, FIG. 5J As shown, the electronic device 100 can receive the user's long press and drag operation of the folder 5001 icon, so that the user's finger moves from the display position of the folder 5001 icon to the target filling space, and no other icons are displayed on the target filling space.
[0330] If the user wants to move the selected folder 5001 to and display it near the target filling space, the electronic device 100 needs to obtain the number of filling spaces required for the folder 5001 selected by the user, as well as the number of filling spaces in the horizontal direction of the target filling space and the number of filling spaces in the vertical direction of the target filling space. The electronic device 100 can change the size and shape of the folder moved by the user based on the number of filling spaces in the horizontal direction of the target filling space or the number of filling spaces in the vertical direction of the target filling space so that the folder moved by the user can be displayed near the target filling space.
[0331] For example, FIG. 5J As shown, the number of filling spaces in the horizontal direction of the target filling space is 1, the number of filling spaces in the horizontal direction of the target filling space is also 1, and the number of filling spaces in the horizontal direction of the target filling space and the number of filling spaces in the vertical direction of the target filling space are both less than 2.
[0332] The electronic device 100 needs to change the size and shape of the folder 5001, for example, modify the shape of the folder 5001 to the smallest unit folder, the size of the smallest unit folder is a fill space. For example, the electronic device 100 can display FIG. 5KThe folder 5007 shown includes an application icon of a music application, an application icon of a reading application, an application icon of a flashlight application, and an application icon of a gallery. The folder 5007 has a size smaller than that of the folder 5001, and the application icons displayed in the folder 5007 have sizes smaller than those of the application icons displayed in the folder 5001.
[0333] FIG. 5L A method flowchart for generating a minimum unit folder by the electronic device 100 is shown.
[0334] S501C. The electronic device 100 receives and drags the first folder and moves it to a target fill vacancy.
[0335] For example, the first folder can be FIG. 5A The folder 5001 shown has an icon that can be FIG. 5A The icon of the folder 5001 shown.
[0336] For example, the operation of dragging the first folder can be FIG. 5J The operation of dragging the folder 5001 shown.
[0337] Optionally, after the folder 5001 is selected, before the folder 5001 is dragged, the electronic device 100 can display a mark on the icon of the folder 5001 to prompt the user that the folder 5001 has been selected. For example, as FIG. 5A The electronic device 100 can display a mark 5002 on the icon of the folder 5001 shown.
[0338] For example, the target fill vacancy can be FIG. 5J The fill vacancy where the user's finger is located shown.
[0339] S502C. If the shape formed by the number of fill vacancies near the target fill vacancy does not include the shape of the first folder, and the number of fill vacancies in the horizontal and vertical directions of the target fill vacancy is less than a first value, the electronic device 100 displays a second folder at the target fill vacancy, and displays application icons of a plurality of applications in the second folder.
[0340] If the shape formed by the number of fill vacancies near the target fill vacancy does not include the shape of the first folder, and the number of fill vacancies in the horizontal and vertical directions of the target fill vacancy is less than a first value, the electronic device 100 can generate a minimum unit folder, the minimum unit folder includes one fill vacancy, and display the minimum unit folder at the target fill vacancy.
[0341] For example, the second folder can be FIG. 5K The folder 5007 shown.
[0342] In some embodiments, the electronic device 100 can also receive a user operation of moving the display position of the card displayed on the desktop. Specifically, the implementation is similar to that the electronic device 100 receives a user operation of moving the display position of the file displayed on the desktop, which can be referred to FIGS. 5A-5I In the description of the embodiments, the present application is not described here.
[0343] Optionally, FIGS. 5A-5L The target filling vacancy mentioned can also be referred to as a second filling vacancy.
[0344] The above is only part of the embodiments and implementation manners of the present application, and the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
[0345] It can be understood that the various user interfaces described in the embodiments of the present application are only example interfaces, and do not constitute a limitation on the present application scheme. In other embodiments, the user interface can adopt a different interface layout, can include more or fewer controls, can increase or reduce other function options, as long as the same invention idea provided by the present application is based on, it is within the protection scope of the present application.
[0346] It should be noted that any feature in any embodiment of the present application, or any part of any feature, can be combined, and the combined technical solution is also within the scope of the embodiments of the present application.
[0347] The above-described and the above embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method of managing desktop icons, characterized by, The method comprises: The electronic device receives a first operation of a user on a plurality of application icons in a desktop, the first operation being an operation of moving the plurality of application icons to a first filling empty position; In response to the first operation, the electronic device displays a first folder in the first filling empty position or a horizontal direction of the first filling empty position or a vertical direction of the first filling empty position, and the plurality of application icons are displayed in the first folder.
2. The method of claim 1, wherein, The size of the plurality of application icons displayed in the first folder is less than or equal to the size of the plurality of application icons displayed on the desktop of the electronic device before the electronic device receives the first operation.
3. The method according to claim 1 or 2, characterized in that, The plurality of application icons comprise a first application icon and a second application icon, and when the frequency of use of the first application is greater than the frequency of use of the second application, the display position of the first application icon in the first folder is in front of the display position of the second application icon in the first folder.
4. The method according to any one of claims 1 to 3, characterized in that, The electronic device displays a first folder in the first filling empty position or a horizontal direction of the first filling empty position or a vertical direction of the first filling empty position, and the plurality of application icons are displayed in the first folder, specifically comprising: When the number of filling empty positions near the first filling empty position is less than the number of the plurality of application icons, the electronic device displays a first folder in the first filling empty position or a horizontal direction of the first filling empty position or a vertical direction of the first filling empty position, and the plurality of application icons are displayed in the first folder.
5. The method of claim 4, wherein, The electronic device displays a first folder in the horizontal direction of the first filling empty position or the vertical direction of the first filling empty position, specifically comprising: The electronic device obtains the number of first filling empty positions in the horizontal direction of the first filling empty position and the number of second filling empty positions in the vertical direction of the first filling empty position; If the number of first filling empty positions and the number of second filling empty positions are both greater than a first value, the electronic device displays a first prompt information; The electronic device receives a second operation on a first option in the first prompt information, and displays the first folder in the horizontal direction of the first filling empty position or the vertical direction of the first filling empty position.
6. The method of claim 4, wherein, The electronic device displays a first folder in the horizontal direction of the first filling empty position or the vertical direction of the first filling empty position, specifically comprising: The electronic device obtains the number of first filling empty positions in the horizontal direction of the first filling empty position and the number of second filling empty positions in the vertical direction of the first filling empty position; If the number of first filling empty positions and the number of second filling empty positions are both greater than the first value, the electronic device displays the first folder in the horizontal direction of the first filling empty position when the number of first filling empty positions is greater than the number of second filling empty positions; The electronic device displays the first folder in the vertical direction of the first filling empty position when the number of second filling empty positions is greater than the number of first filling empty positions.
7. The method according to claim 5 or 6, characterized in that, The method further comprises: If the number of first filling empty positions is greater than the first value and the number of second filling empty positions is less than the first value, the electronic device displays the first folder in the horizontal direction of the first filling empty position; And / or, If the second number of padding spaces is greater than the first value and the first number of padding spaces is less than the first value, the electronic device displays the first folder in a portrait orientation of the first padding space.
8. The method according to any one of claims 5-7, characterized in that, The electronic device displays the first folder in the first padding space, specifically including: If there is no adjacent padding space in the landscape orientation and the portrait orientation of the first padding space, the electronic device displays the first folder in the first padding space.
9. The method according to any one of claims 4-8, characterized in that, The method further includes: In a case where the number of padding spaces near the first padding space is greater than the number of application icons, the electronic device displays the plurality of application icons near the first padding space.
10. The method according to any one of claims 4-9, characterized in that, When the electronic device displays the first folder in the landscape orientation of the first padding space, the number of padding spaces occupied by the first folder is less than or equal to a first number of padding spaces in the landscape orientation of the first padding space. When the electronic device displays the first folder in the portrait orientation of the first padding space, the number of padding spaces occupied by the first folder is less than or equal to a second number of padding spaces in the portrait orientation of the first padding space.
11. The method according to any one of claims 4-10, characterized in that, Before the electronic device displays the first folder in the landscape orientation of the first padding space or in the portrait orientation of the first padding space, the method further includes: The electronic device determines the size of the plurality of application icons displayed in the first folder based on the number of padding spaces occupied by the first folder and the number of application icons. The electronic device displays the first folder in the landscape orientation of the first padding space or in the portrait orientation of the first padding space, specifically including: The electronic device displays the first folder in the landscape orientation of the first padding space or in the portrait orientation of the first padding space, and displays the plurality of application icons in the first folder based on the size of the plurality of application icons displayed in the first folder.
12. The method according to any one of claims 1 to 11, characterized in that, The first folder is a landscape folder; the method further includes: The electronic device receives a third operation for the first folder, the third operation being an operation of moving the first folder to a second padding space; In response to the third operation, the electronic device displays a second folder in a portrait orientation of the second padding space, the second folder displaying the plurality of application icons therein, the second folder being a portrait folder.
13. The method of claim 12, wherein, Before the electronic device displays the second folder in the portrait orientation of the second padding space, the method further includes: The electronic device determines the size of the plurality of application icons displayed in the second folder based on the number of padding spaces occupied by the second folder and the number of application icons. The electronic device displays the second folder in the portrait orientation of the second padding space, specifically including: The electronic device displays the second folder in the portrait orientation of the second padding space, and displays the plurality of application icons in the second folder based on the size of the plurality of application icons displayed in the second folder.
14. An electronic device, comprising: The electronic device comprises a memory and a processor; wherein the memory and the processor are coupled, the memory is used to store a computer program, when the processor executes the computer program, the electronic device executes the method in any one of claims 1-13.
15. A computer-readable storage medium comprising instructions, wherein: When the instructions run on the electronic device, the electronic device executes the method in any one of claims 1-13.