WO2024041023A9 - 应用卡片调整方法、装置、终端设备和存储介质 - Google Patents

应用卡片调整方法、装置、终端设备和存储介质 Download PDF

Info

Publication number
WO2024041023A9
WO2024041023A9 PCT/CN2023/091308 CN2023091308W WO2024041023A9 WO 2024041023 A9 WO2024041023 A9 WO 2024041023A9 CN 2023091308 W CN2023091308 W CN 2023091308W WO 2024041023 A9 WO2024041023 A9 WO 2024041023A9
Authority
WO
WIPO (PCT)
Prior art keywords
application
application card
card
display
display size
Prior art date
Application number
PCT/CN2023/091308
Other languages
English (en)
French (fr)
Other versions
WO2024041023A1 (zh
Inventor
张涛林
李井伟
焦骏婷
Original Assignee
荣耀终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Publication of WO2024041023A1 publication Critical patent/WO2024041023A1/zh
Publication of WO2024041023A9 publication Critical patent/WO2024041023A9/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

Definitions

  • the present application relates to the field of terminal technology, and in particular to an application card adjustment method, device, terminal equipment and storage medium.
  • application cards are cards that present relevant information of target applications. Users do not need to enter the application page, but can directly browse the application card corresponding to the target application on the display screen of the mobile terminal to obtain the required target application information.
  • some application cards are preset with multiple display sizes.
  • the user needs to change the initial display size of any application card in the current display desktop, he needs to long press the menu key, enter the menu content display interface, select the "More Service Cards" submenu, and then select and add an application card under the target display size of the application under the submenu, and then return to the current display desktop.
  • the application card under the initial display size is deleted in the current display desktop, and the application card under the target size is added to the corresponding position.
  • the embodiment of the present application provides an application card setting method, apparatus, terminal device and storage medium, which can quickly and effectively adjust the display size of the application card.
  • the technical solution is as follows:
  • an embodiment of the present application provides an application card adjustment method, the method comprising:
  • the first application card is displayed in the current display interface at the target display size.
  • the present application when adjusting the display size of an application card, the present application does not need to trigger the menu key and select the application and the display size of the application card in turn in the menu content display interface; instead, the first sliding operation gesture is directly triggered on the application card to instruct the terminal device to obtain the size adjustment policy corresponding to the application card according to the first sliding operation gesture, and automatically adjust the display size of the application card according to the current display size and size adjustment policy of the application card.
  • the display size adjustment process of the application card is simplified, the adjustment efficiency of the display size of the application card is improved, and the user operation experience is better.
  • obtaining a size adjustment strategy for the first application card includes:
  • a size adjustment strategy corresponding to the first application card is determined.
  • the user's adjustment requirements for the application card can be quickly and accurately determined based on the operation gesture triggered by the user on the application card.
  • the terminal device detects the first sliding operation gesture on the first application card, the size adjustment strategy of the first application card can be quickly obtained based on the operation strategy correspondence, so as to accurately and effectively respond to the user operation and improve the user experience.
  • determining a target display size of the first application card according to the current display size and the size adjustment strategy of the first application card includes:
  • a target display size of the first application card is determined.
  • the user can start the display size switching process of the first application card through the first sliding operation gesture. That is, the terminal device responds to the user's first sliding operation gesture and determines the target display size that the user needs to switch to according to the display size switching sequence, which is simple to operate.
  • the user can intuitively understand the display effect of the first application card under each display size, so that the target display size selected after switching meets the user's actual needs and the user's operating experience is better.
  • determining a target display size of the first application card according to the current display size of the first application card and a display size switching order includes:
  • the middle display size is determined as the target display size of the first application card.
  • the terminal device switches from the current display size to the intermediate display size according to the display size switching sequence in response to the user's first sliding operation gesture
  • the user determines whether to use the intermediate size as the target display size after switching. In this way, by interacting with the user and confirming the display size, the target display size after switching can meet the user's actual display size adjustment needs, and the adjustment result is more accurate.
  • determining a target display size of the first application card according to the current display size and the size adjustment strategy of the first application card includes:
  • a target display card corresponding to the first application card is determined from a plurality of candidate display cards; the display size of the target display card is the target display size of the first application card.
  • the terminal device in response to the first sliding operation gesture triggered by the user on the first application card, displays candidate display cards of the first application card in multiple preset display sizes in a global preview manner, and then determines the target display card and the target display size based on the multiple candidate display cards. In this way, the display size adjustment process of the first application card is simplified.
  • displaying multiple candidate display cards at the same time makes it easier for users to intuitively understand the display effect of the first application card under different display sizes. It can also make a comprehensive comparison of multiple display sizes, so that the selection of the target display size is more in line with the user's real ideas, effectively avoiding the deviation between the selection result and the actual needs, improving the browsing efficiency of the display size of the first application card, and enhancing the user's operating experience.
  • displaying the first application card in the current display interface at the target display size includes:
  • the first application card is switched to a target display card to display the target application card in the current display interface.
  • the target display card can be directly displayed in the card display area corresponding to the first application card in the current display interface. In this way, the display size can be quickly adjusted by directly switching the entire application card.
  • determining a target display size of the first application card according to the current display size and the size adjustment strategy of the first application card includes:
  • a target display size of the first application card is determined according to the current display size of the first application card and the display size adjustment amount.
  • the terminal device responds to the first sliding operation gesture triggered by the user on the first application card, and adaptively adjusts the display size of the first application card to the target display size according to the current display size and the display size adjustment amount determined based on the user's first sliding operation gesture.
  • the display size adjustment process of the first application card is simplified.
  • by adaptively adjusting the display size it is convenient for users to flexibly and effectively adjust the display size of the first application card according to their actual needs, so that the adjusted target display size fits the user's real ideas and enhances the user's operating experience.
  • the first sliding operation gesture includes a horizontal sliding operation and/or a vertical sliding operation
  • the display size adjustment amount includes a horizontal size adjustment amount and/or a vertical size adjustment amount
  • obtaining a display size adjustment amount of the first application card includes:
  • a vertical size adjustment amount of the first application card is obtained.
  • the display size of the first application card is adaptively adjusted through the first sliding operation gesture, only the horizontal size adjustment can be performed, or only the vertical size adjustment can be performed, or the display size of the first application card can be adjusted in both horizontal and vertical dimensions, which is more flexible.
  • displaying the first application card in the current display interface at the target display size includes:
  • the icon to be moved is moved to display the first application card in the card display area with a target display size.
  • the icon to be moved needs to be moved based on the card display area determined by the target display size. In this way, it can be ensured that the first application card and the application icon displayed in the current display interface are clearly displayed and will not block or cover each other.
  • the icon to be moved includes a first moving icon and a second moving icon;
  • the first moving icon is an application icon corresponding to the card display area, and the second moving icon includes at least one application icon other than the first moving icon in the current display interface;
  • the icon to be moved is moved, including:
  • the first moving icon or the second moving icon is moved to the blank display interface for display.
  • the mobile icon is displayed without affecting the display order of application icons in other display interfaces in the terminal device, and the operation is simple; at the same time, the user's original application icon deployment habits in other display interfaces are maintained, and the user experience is better.
  • the icon to be moved includes a third moving icon;
  • the third moving icon includes a plurality of application icons located below and behind the card display area in the current display interface;
  • the icon to be moved is moved, including:
  • the third moving icon is moved backward in sequence to display the third moving icon in the current display interface and/or the next display interface;
  • the moving direction priority indicates that the horizontal moving priority is higher than the vertical moving priority.
  • the icons to be moved are displayed by moving the application icons backward in sequence, so that after adjusting the display size of the first application card, the application icons in the terminal device are still displayed neatly and the display order remains unchanged, which is in line with the user's original application icon browsing habits.
  • the method further includes:
  • the first application card is switched to the second application card; the first application card and the second application card correspond to different applications.
  • the present application when adjusting the application type of the application card, the present application does not need to trigger the menu key and select the second application to be switched in the menu content display interface; instead, the second sliding operation gesture is directly triggered on the first application card to instruct the terminal device to obtain the application switching policy corresponding to the application card according to the second sliding operation gesture, and automatically switch the first application card to the second application card according to the application switching policy, so as to display the second application card in the current display interface.
  • the application type adjustment process of the application card is simplified, the adjustment efficiency of the application card application type is improved, and the user operation experience is better.
  • the method further includes:
  • the first application card is switched to the second application card; the first application card and the second application card correspond to different applications.
  • the user triggers the first sliding operation gesture on the first application card to adjust the current display size of the first application card
  • the current display size of the first application card or the adjusted target display size is equal to the preset maximum display size or minimum display size
  • the user continues to trigger the first sliding operation gesture, and no longer performs the display size switching operation, but switches the first application card to the second application card according to the above application switching strategy. Therefore, through the first sliding operation gesture, not only the display size of the application card can be adjusted, but also the application type of the application card can be adjusted, and the application card adjustment is more flexible and the adjustment effect is better.
  • an application card adjustment device comprising:
  • An acquisition module configured to acquire a size adjustment strategy for the first application card in response to a first sliding operation gesture triggered by a user on the first application card in the current display interface
  • a determination module configured to determine a target display size of the first application card according to the current display size of the first application card and a size adjustment strategy
  • the display module is used to display the first application card in the current display interface with a target display size.
  • an embodiment of the present application provides a terminal device, including a memory and a processor
  • the memory is used to store computer programs
  • the processor is used to read the computer program from the memory and execute the computer program to implement the steps of the application card adjustment method shown in any method embodiment of the first aspect above.
  • an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the application card adjustment method shown in any method embodiment of the first aspect above.
  • an embodiment of the present application provides a computer program product, which includes a computer program; when the computer program product is run on the above-mentioned terminal device, the terminal device executes the steps of the application card adjustment method shown in any method embodiment of the above-mentioned first aspect.
  • FIG1 is a schematic diagram of the structure of a terminal device shown in an exemplary embodiment of the present application.
  • FIG2 is a flow chart of an application card adjustment method according to an exemplary embodiment of the present application.
  • FIG3 is a schematic diagram of a process of determining a target display size according to an exemplary embodiment of the present application
  • FIG4 is a schematic diagram of display size switching shown in an exemplary embodiment of the present application.
  • FIG5 is a schematic diagram of another process of determining a target display size according to an exemplary embodiment of the present application.
  • FIG6 is another schematic diagram of display size switching shown in an exemplary embodiment of the present application.
  • FIG. 7 is a schematic diagram of another process of determining a target display size according to an exemplary embodiment of the present application.
  • FIG8 is a schematic diagram of another display size switching according to an exemplary embodiment of the present application.
  • FIG9 is a schematic diagram of a flow chart of displaying an application card according to an exemplary embodiment of the present application.
  • FIG10 is a schematic diagram of an application card display shown in an exemplary embodiment of the present application.
  • FIG11 is a schematic diagram showing another application card display according to an exemplary embodiment of the present application.
  • FIG12 is a schematic diagram showing another application card display according to an exemplary embodiment of the present application.
  • FIG13 is a flow chart of another application card adjustment method according to an exemplary embodiment of the present application.
  • FIG14 is a schematic structural diagram of an application card adjustment device according to an exemplary embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of another application card adjustment device shown in an exemplary embodiment of the present application.
  • the application icon layout form by clicking the application icon, you can enter the application interface of the application (which can be the main interface of the application) to view and edit the detailed information in the application.
  • the application interface of the application which can be the main interface of the application
  • the operation steps are relatively cumbersome and cannot be reached directly in one step.
  • the core functions of the application are placed on the card for display. Since the displayed content in the application card is related to the content displayed after the associated application is opened, when the user wants to obtain information in a certain application, he does not need to enter the application page, but directly browses the application card corresponding to the application to obtain the required application information.
  • app cards provide a variety of display sizes for users to set, so as to clearly display the relevant information of the application and meet the browsing needs of users.
  • the adjustment process is as follows: first, long press the menu key to enter the menu content display interface, click the "More Service Cards" submenu in the menu content display interface, and then select the corresponding application under the submenu, and add an application card of the application at the target display size. Then, return to the current display desktop, delete the application card at the initial display size in the current display desktop, and add the application card at the target size to the corresponding card display area.
  • the present application provides an application card adjustment method, apparatus, terminal device and storage medium, which directly respond to the user's operation gesture triggered by the application card, adopt the corresponding size adjustment strategy, adjust the current display size of the application card, and display the application card at the target display size. That is, by simplifying the user operation steps, the adjustment efficiency of the display size of the application card is improved, so that the user operation experience is better.
  • the above-mentioned adjustment of the display size of the application card by triggering the first sliding operation gesture on the application card is only one application scenario of the present application.
  • the present application can also be applied to other display states of the application card and adjustment scenarios of the display content, which will not be listed one by one.
  • the application card adjustment method provided in the embodiment of the present application can be applied to a terminal device.
  • the terminal device includes at least one processor 110 , a memory 120 , a communication interface 130 and a system bus 140 .
  • the processor 110 may be a general-purpose central processing unit (CPU), a network processor (NP), a microprocessor, or may be one or more integrated circuits for implementing the technical solution of the present application, such as an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the above-mentioned PLD may be a complex programmable logic device (CPLD), a field programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
  • the memory 120 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, or a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this.
  • ROM read-only memory
  • RAM random access memory
  • EEPROM electrically erasable programmable read-only memory
  • CD-ROM compact disc
  • optical disc storage including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.
  • magnetic disk storage medium or other magnetic storage device or any other medium that can be used to carry or store the
  • the memory 120 may exist independently and be connected to the processor 110 via the system bus 140 ; the memory 120 may also be integrated with the processor 110 .
  • the communication interface 130 is used to communicate with other devices or communication networks.
  • the communication interface 130 may include a wired communication interface and may also include a wireless communication interface.
  • the wired communication interface may be an Ethernet interface; the Ethernet interface may be an optical interface, an electrical interface or a combination thereof.
  • the wireless communication interface may be a wireless local area network (WLAN) interface, a cellular network communication interface or a combination thereof, etc.
  • WLAN wireless local area network
  • the system bus 140 is used to transmit information between the above components.
  • the system bus 140 can be divided into an address bus, a data bus, a control bus, etc.
  • address bus a data bus
  • control bus a control bus
  • only one double-arrowed thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
  • the processor 110 may include one or more CPUs.
  • the terminal device may also include multiple processors 110.
  • processors 110 may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU).
  • the processor here may refer to one or more devices, circuits, and/or processing cores for processing data (such as computer program instructions).
  • the terminal device may further include an output device and an input device (not shown in FIG. 1 ).
  • the output device communicates with the processor 110 and may display information in a variety of ways.
  • the output device may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector.
  • the input device communicates with the processor 110 and may receive input information or instructions from the user in a variety of ways.
  • the input device may be a mouse, a keyboard, a touch screen, or a sensor device.
  • the memory 120 is used to store a computer program for executing the technical solution of the present application
  • the processor 110 can execute the computer program stored in the memory 120.
  • the terminal device can call and execute the computer program in the memory 120 through the processor 110 to implement the application card adjustment method provided in the embodiment of the present application.
  • the present application embodiment provides an application card adjustment method to adjust the display size of a first application card.
  • the method can be applied to the terminal device shown in FIG1 , and includes the following steps:
  • Step 210 In response to a first sliding operation gesture triggered by a user on a first application card in a current display interface, a size adjustment strategy for the first application card is obtained.
  • the first sliding operation gesture may include a light touch sliding operation and a long press sliding operation; in terms of sliding direction, the first sliding operation gesture may include a horizontal sliding operation and a vertical sliding operation, wherein the horizontal sliding operation includes a left sliding operation and a right sliding operation, and the vertical sliding operation includes an upward sliding operation and a downward sliding operation.
  • the first sliding operation gesture in the embodiment of the present application may be one of the sliding operation gestures listed above or a combination of multiple sliding operation gestures, without limitation.
  • the terminal device may include multiple display interfaces, such as a main desktop interface, a negative one screen interface, and at least one application interface.
  • the current display interface in the embodiment of the present application is any display interface with application cards set in the mobile phone, and the first application card is a card of any application installed in the terminal device.
  • the main desktop interface is usually the first desktop page, which can be set at the factory or set by the user according to his or her own preferences;
  • the negative first screen interface is a display interface located on the left side of the main desktop interface, which is used to provide users with search, application suggestions, quick services, application cards, scenario intelligence and other services.
  • the present application embodiment does not make any limitation to this.
  • the first sliding operation gesture refers to an operation performed by the user by sliding the touch screen of the terminal device
  • the terminal device detects the first sliding operation gesture for the first application card in the current display interface, it determines the size adjustment strategy of the first application card in response to the first sliding operation gesture.
  • the size adjustment strategy of the first application card when determining the size adjustment strategy based on the first sliding operation gesture, can be determined in real time based on the machine learning model; the size adjustment strategy of the first application card can also be determined based on a preset corresponding relationship; the size adjustment strategy of the first application card can also be input by the user independently, and the embodiment of the present application does not impose any restrictions on this.
  • the implementation process of step 210 may be: obtaining the operation strategy correspondence between the card operation gesture and the card adjustment strategy; determining the size adjustment strategy corresponding to the first application card based on the first sliding operation gesture triggered by the user on the first application card and the operation strategy correspondence.
  • the operation strategy correspondence may include the correspondence between the sliding operation gesture and the card adjustment strategy, may also include the correspondence between the clicking operation gesture and the card adjustment strategy, and may also include the correspondence between other operation gestures and the card adjustment strategy.
  • the correspondence between the sliding operation gesture and the card adjustment strategy may further include the card adjustment strategies corresponding to different sliding operation gestures.
  • the card adjustment strategy corresponding to the first sliding operation gesture is the size adjustment strategy
  • the card adjustment strategy corresponding to the second sliding operation gesture is the application switching strategy
  • the card adjustment strategy corresponding to the third sliding operation gesture is the content editing strategy, etc., which is not limited in the embodiments of the present application.
  • the operation strategy correspondence between the first sliding operation gesture and the size adjustment strategy can be pre-configured and stored in the server corresponding to the application client.
  • the size adjustment strategy of the first application card is determined according to the pre-configured operation strategy correspondence.
  • the user's card adjustment requirements can be accurately determined in actual application, and the size adjustment strategy of the first application card can be quickly obtained to quickly respond to user operations and provide a better user experience.
  • Step 220 Determine the target display size of the first application card according to the current display size and size adjustment strategy of the first application card.
  • the first application card may provide one display size or multiple display sizes. If one display size is provided, the target display size determined in step 220 is the same as the current display size; if multiple display sizes are provided, the target display size may be different from the current display size.
  • the display size of the first application card can be expressed in pixel values.
  • the display size of the first application card can be 600px long, 100px wide, 976px long, 440px wide, 1200px long, 640px wide, etc., which are not listed here.
  • the terminal device responds to the first sliding operation gesture triggered by the user on the first application card, and can determine the target display size by switching the size based on the current display size and the multiple display sizes preset for the first application card; it can also first display the display effect of the first application card under multiple display sizes by global preview to determine the target display size; it can also directly adjust the current display size of the first application card to adjust it to the target display size.
  • the process of determining the target display size in step 220 may include the following steps:
  • Step 310 Obtain the display size switching order of the first application card.
  • the display size switching sequence may include switching in an ascending order of the display size, or switching in an ascending order of the display size.
  • the display size switching order can be pre-stored in the server corresponding to the first application client, or stored in the terminal device installed with the first application, or stored in other third-party devices or systems, which is not limited in this embodiment of the present application.
  • the terminal device obtains the display size switching order of the first application card from the local database or the remote database according to the size adjustment strategy corresponding to the first sliding operation gesture, and executes the following step 320.
  • Step 320 Determine the target display size of the first application card according to the current display size of the first application card and the display size switching order.
  • the terminal device can determine the target display size in response to the user's further operation gesture; the terminal device can also automatically determine the target display size of the first application card based on a preset size determination logic.
  • the implementation process of step 320 may be: in response to a first sliding operation gesture triggered by a user on a first application card and a display size switching order, determining the middle display size of the first application card, and displaying the first application card in the middle size; if a size confirmation operation triggered by a user is detected on the first application card displayed in the middle display size, determining the middle display size as the target display size of the first application card.
  • the display size switching operation is performed according to the display size switching order of the first application card to display the first application card through the switched intermediate display size.
  • the intermediate display size can be a display size adjacent to the current display size in the display size switching sequence; when the user continues to trigger the first sliding operation gesture on the first application card, in the display size switching sequence, there is a display size between the intermediate display size and the current display size. And so on, no further description is given.
  • the intermediate display size is determined as the target display size of the first application card. That is, each time the terminal device displays the first application card in the intermediate display size, it detects whether there is a size confirmation operation on the first application card, and then determines the target display size of the first application card based on the size confirmation operation of the user.
  • the current display size is determined as the target display size of the first application card. That is, there is no need to adjust the current display size of the first application card.
  • the intermediate display size is automatically determined as the target display size of the first application card.
  • the adjustment time may be any preset time, such as 30 seconds, 1 minute, 2 minutes, etc.
  • the size confirmation operation may be a click operation.
  • a size confirmation button may be preset on the first application card, and the user can click the confirmation button to determine the display size of the first application card at this time as the target display size.
  • the first application card includes three display sizes: A display size, B display size and C display size, and the display size switching order is A display size - B display size - C display size. Among them, A display size is smaller than B display size, and B display size is smaller than C display size.
  • the current display size is A display size, as shown in Figure 4 (a); when the user triggers a swipe up operation on the first application card, the first application card is displayed in the current display interface with B display size, as shown in Figure 4 (b); continue to trigger the swipe up operation on the first application card (i.e., the second swipe up operation), and the first application card is displayed in the current display interface with C display size, as shown in Figure 4 (c).
  • a size confirmation button is provided on the first application card, and when the user switches to the C display size by sliding up, and clicks the size confirmation button, the C display size is determined as the target display size.
  • the first application card is displayed in the C display size, as shown in FIG4(d).
  • a navigation point is displayed on the side of the first application card to prompt the user that the display size currently switched is the number of display sizes among the multiple display sizes preset for the first application card. It should be understood that the number of navigation points is the same as the type of display sizes preset for the first application card, and each time the display size is switched, the navigation point is also updated accordingly.
  • the display size of the first application card can be quickly responded to the user's first sliding operation gesture to switch from the current display size to the target display size. That is, through the sliding switching method, the terminal device can quickly respond to the user's first sliding operation gesture and determine the target display size that the user needs to switch to, and the operation is simple. In addition, by repeatedly switching, the user can intuitively understand the display effect of the first application card under each display size, so that the target display size selected after switching meets the user's actual needs, and the user's operating experience is better.
  • the process of determining the target display size in step 220 may include the following steps:
  • Step 510 Display candidate display cards of the first application card in a plurality of preset display sizes.
  • the number of the preset multiple display sizes is the same as the number of candidate display cards. For example, if the first application card is preset with three display sizes, the number of candidate display cards for the first application card is also three.
  • the implementation process of step 510 may be: in response to a first sliding operation gesture triggered by a user on a first application card in the current display interface, candidate display cards for the first application card in multiple display sizes are displayed according to a size adjustment strategy of the first application card.
  • the first application card includes three display sizes: A display size, B display size and C display size, and the display size switching order is A display size - B display size - C display size. Among them, A display size is smaller than B display size, and B display size is smaller than C display size.
  • the current display interface includes a first application card displayed in a display size of B, and application icons corresponding to applications 1 to 8; when the user triggers a swipe-up operation on the first application card, as shown in (b) in FIG6 , a plurality of candidate display cards are displayed above the first application card in a horizontal arrangement on the upper layer of the current display interface.
  • the candidate display cards include candidate display card A, candidate display card B and candidate display card C, and candidate display card A is a rendering of the first application card displayed in the A display size, candidate display card B is a rendering of the first application card displayed in the B display size; candidate display card C is a rendering of the first application card displayed in the C display size.
  • displaying the candidate display cards on the upper layer of the current display interface can effectively prevent the user from accidentally triggering other application icons or display cards in the current display interface when selecting the target display card.
  • multiple candidate display cards may also be displayed in an unoccupied display area in the current display interface, so that the user can select a target display size of the first application card according to the size of the unoccupied display area.
  • multiple candidate display cards may also be displayed in a vertical arrangement.
  • multiple candidate display cards may also be located below the first application card displayed in the current display size.
  • Step 520 Determine a target display card corresponding to the first application card from a plurality of candidate display cards; the display size of the target display card is the target display size of the first application card.
  • any of the following selection methods may be used:
  • a display size of the candidate display card is determined as a target display size.
  • the click operation may be a single click or multiple consecutive clicks, which is not limited in the embodiments of the present application.
  • the display size of the candidate display card is determined as the target display size.
  • the third sliding operation gesture can be the same as the first sliding operation gesture, or can be different from the first sliding operation gesture, and the embodiment of the present application does not limit this.
  • the candidate display card C is determined as the target display card, and the display size C corresponding to the candidate display card C is the target display size.
  • the display size of the target display card is determined as the target display size.
  • the voice command carries the card information of the target display card. After receiving the voice command, the terminal device determines the target display card from multiple candidate display cards and determines the display size of the target display card as the target display size.
  • the candidate display card corresponding to the current display size is determined as the target display card. That is, there is no need to adjust the current display size, and the target display size of the first application card is the current display size.
  • candidate display card B is determined as the target display card.
  • the target display size is the display size of B.
  • the implementation process of displaying the first application card in the target display size in the current display interface may be: switching the first application card to the target display card to display the target application card in the current display interface.
  • the first application card is directly deleted in the current display interface, and the target display card is displayed in the corresponding card display area.
  • a global preview is used to display candidate display cards of the first application card under multiple preset display sizes, and then the target display card and the target display size are determined based on the multiple candidate display cards. In this way, the display size adjustment process of the first application card is simplified.
  • multiple candidate display cards are displayed at the same time, which makes it easier for users to intuitively understand the display effect of the first application card under different display sizes. It can also make a comprehensive comparison of multiple display sizes, so that the selection of the target display size is more in line with the user's real ideas, effectively avoiding the deviation between the selection result and the actual needs. At the same time, the browsing efficiency of the display size of the first application card is improved, and the user's operation experience is enhanced.
  • the process of determining the target display size in step 220 may include the following steps:
  • Step 710 Obtain a display size adjustment amount of the first application card according to a first sliding operation gesture triggered by the user on the first application card.
  • the first sliding operation gesture includes a horizontal sliding operation and/or a vertical sliding operation, and correspondingly, the display size adjustment amount includes a horizontal size adjustment amount and/or a vertical size adjustment amount.
  • the implementation process of step 710 may be: based on a horizontal sliding operation triggered by the user on the first application card, obtaining the horizontal size adjustment amount of the first application card; and/or, based on a vertical sliding operation triggered by the user on the first application card, obtaining the vertical size adjustment amount of the first application card.
  • the user when the user triggers the first sliding operation gesture on the first application card to directly adjust the current display size of the first application card, he can adjust only the horizontal display size of the first application card through a horizontal sliding operation; he can also adjust only the vertical display size of the first application card through a vertical sliding operation; he can also perform horizontal sliding operations and vertical sliding operations on the first application card in sequence to adjust both the horizontal display size and the vertical display size of the first application card at the same time.
  • a distance adjustment amount correspondence between a unit sliding distance and a unit size adjustment amount on the display screen may be preset to determine the actual sliding distance of the user on the display screen according to the first sliding adjustment gesture triggered by the user on the first application card. Then, according to the correspondence between the actual sliding distance and the distance adjustment amount, the display size adjustment amount of the first application card is calculated.
  • Step 720 Determine the target display size of the first application card according to the current display size of the first application card and the display size adjustment amount.
  • the user can reduce or enlarge the current display size of the first application card through the first sliding operation gesture, so the display size adjustment amount can be a positive value or a negative value.
  • the implementation process of step 720 may be: if the display size adjustment amount is a positive value, the sum of the current display size and the display size adjustment amount is used as the target display size of the first application card; if the display size adjustment amount is a negative value, the difference between the current display size and the display size adjustment amount is used as the target display size of the first application card.
  • the first application card includes three display sizes: A display size, B display size and C display size, and the display size switching order is A display size - B display size - C display size. Among them, A display size is smaller than B display size, and B display size is smaller than C display size.
  • the current display size of the first application card is display size A
  • the current display size is adjusted according to the longitudinal size adjustment amount corresponding to the vertical sliding operation, and the display size shown in FIG8(b) is obtained.
  • the display size of the first application card is further adjusted according to the transverse size adjustment amount corresponding to the horizontal sliding operation, and the target display size shown in FIG8(c) is obtained.
  • FIG. 8 is only one adjustment sequence in this exemplary embodiment.
  • the horizontal display size of the first application card may be adjusted first, and then the vertical display size may be adjusted. This embodiment does not limit this.
  • the display size adjustment amount of the first application card is determined, so that the display size of the first application card is adaptively adjusted to the target display size according to the current display size and the display size adjustment amount. In this way, the display size adjustment process of the first application card is simplified.
  • by adaptively adjusting the display size it is convenient for users to flexibly and effectively adjust the display size of the first application card according to their actual needs, so that the adjusted target display size fits the user's real ideas and enhances the user's operating experience.
  • the sliding distance corresponding to each display size can be pre-set, and then whether to perform the display size switching operation can be determined based on the actual sliding distance.
  • the first application card includes three display sizes: A display size, B display size, and C display size, and the A display size is smaller than the B display size, and the B display size is smaller than the C display size.
  • the corresponding relationship between the display size and the sliding distance may be as shown in the following Table 1:
  • the current display size is kept unchanged, that is, the A display size is determined as the target display size; when the actual sliding distance generated by the first sliding operation gesture triggered by the user on the first application card is greater than or equal to x1 mm, and the actual sliding distance is less than x2 mm, the B display size is determined as the target display size; when the actual sliding distance generated by the first sliding operation gesture triggered by the user on the first application card is greater than or equal to x2 mm, the C display size is determined as the target display size.
  • the display size can be adjusted in the following ways:
  • Method 1 Set a size adjustment strategy for the first sliding operation gesture.
  • the size adjustment strategy for the first application card may be the display size switching method shown in the embodiment of Figure 3 above; or, the size adjustment strategy for the first application card may be the display size global preview method shown in the embodiment of Figure 5 above; or, the size adjustment strategy for the first application card may be the display size adaptive adjustment method shown in Figure 7 above.
  • the adjustment strategy of its display size is unique.
  • Method 2 For each size adjustment strategy, set the corresponding first sliding operation gesture.
  • the size adjustment strategy for setting the first application card may be the display size switching mode shown in the embodiment of FIG. 3 above; if the first sliding operation gesture is a long press sliding operation, the size adjustment strategy for setting the first application card may be the display size global preview mode shown in the embodiment of FIG. 5 above; if the first sliding operation gesture is a horizontal sliding operation, including a left sliding operation or a right sliding operation, The size adjustment strategy for setting the first application card may be the display size adaptive adjustment method shown in FIG. 7 above.
  • each application card it may correspond to a plurality of display size adjustment modes, and based on different first sliding operation gestures, different adjustment strategies may be used to adjust the current display size of the application card.
  • Step 230 Display the first application card in the current display interface at the target display size.
  • the target display size is smaller than the current display size of the first application card, the first application card will be directly displayed in the current display interface at the target display size, which will not affect or adjust the application icons in the current display interface.
  • the target line display size is larger than the current display size of the first application card, when the first application card is displayed in the current display interface at the target display size, the application icons in the current display interface need to be adjusted to avoid icons blocking each other or cards covering icons.
  • application icons may be deployed behind the first application card to ensure a neat display desktop.
  • the target display size is larger than the current display size, when the first application card is displayed at the target display size, the application icons behind and below it need to be adjusted to avoid occlusion.
  • step 230 may include the following sub-steps:
  • Step 910 Obtain the card display area corresponding to the first application card at the target display size.
  • the card display area can be the display area range corresponding to the target display size; it can also be the display area range corresponding to the current display size of the first application card, and the display area range that needs to be expanded when the first application card is displayed with the target display size.
  • the extended display area may be determined according to a difference between the target display size and the current display size.
  • Step 920 Based on the card display area, determine the icon to be moved from multiple application icons in the current display interface.
  • the icons to be moved may be some or all application icons in the current display interface, and this embodiment does not impose any limitation on this.
  • the icon to be moved may include a first moving icon and a second moving icon, wherein the first moving icon is an application icon corresponding to the card display area, and the second moving icon includes at least one application icon other than the first moving icon in the current display interface.
  • the second moving icon may be determined based on a preset computer algorithm, may be selected by the user, or may be all icons except the first moving icon, which is not limited in this embodiment.
  • the icon to be moved includes a third moving icon
  • the third moving icon includes multiple application icons below and behind the card display area in the current display interface.
  • the positions of the application icons behind and below the first application card need to be adjusted to avoid being covered by the first application card displayed at the target display size.
  • Step 930 Based on a preset icon movement rule, the icon to be moved is moved to display the first application card in the card display area at a target display size.
  • the icon to be moved may be moved by adding a new display interface; or the icon to be moved may be moved directly in at least one existing display interface of the terminal device.
  • the implementation process of step 930 can be: adding a blank display interface between the current display interface and the next display interface; moving the first moving icon or the second moving icon to the blank display interface for display.
  • the current display interface and the next display interface are adjacent display interfaces.
  • the current display interface includes a first application card and application icons corresponding to application 1 - application 12 .
  • the current display size of the first application card is 2*2 (i.e., it occupies two application icon positions horizontally and two icon positions vertically).
  • the target display size is adjusted to 2*4 (i.e., it occupies four application icon positions horizontally and two icon positions vertically)
  • the display positions of the application icons behind and/or below it need to be adjusted.
  • the first mobile icons include application icons corresponding to application 1, application 2, application 3 and application 4, and the second mobile icons include application icons corresponding to application 9, application 10, application 11 and application 12.
  • a blank display interface is added between the current display interface and the next display interface (not shown), and the first mobile icon is moved to the newly added blank display interface for display, and the display positions of other application icons in the current display interface remain unchanged, as shown in (c) in Figure 10.
  • the application icons in the current display interface are moved backward in sequence, and the application icons corresponding to application 9-application 12 that can no longer be displayed in the current display interface are determined as the second moving icons, and then the second moving icons are moved to the newly added blank display interface for display, as shown in (d) in Figure 10.
  • the application icons corresponding to application 1-application 8 are displayed in sequence below the first application card in the current display interface.
  • the mobile icon is displayed without affecting the display order of application icons in other display interfaces in the terminal device, and the operation is simple; at the same time, the user's original application icon deployment habits in other display interfaces are maintained, and the user experience is better.
  • step 930 may be: according to the preset moving direction priority, the third moving icon is moved backward in sequence to display the third moving icon in the current display interface and/or the next display interface.
  • the priority of the moving direction indicates that the horizontal moving priority is higher than the vertical moving priority. That is, when moving the third moving icon, the third moving icons are first moved horizontally in the current row in sequence. During the horizontal moving process, if at least one third application icon exceeds the current display interface, the third moving icon exceeding the current display interface is moved vertically to be displayed in the next row, and so on.
  • the current display interface includes the first application card and application icons corresponding to application 1 - application 12
  • the next display interface includes application icons corresponding to application 13 - application 20 .
  • the current display size of the first application card is 2*2 (i.e., it occupies two application icon positions horizontally and two icon positions vertically).
  • the target display size is adjusted to 2*4 (i.e., it occupies four application icon positions horizontally and two icon positions vertically)
  • the display positions of the application icons behind and/or below it need to be adjusted.
  • the third moving icon includes application icons corresponding to application 1 to application 12 located behind and below the first application card in the current display interface.
  • the application icons corresponding to application 1 to application 12 are moved backward in sequence, and in the process of moving, they are moved backward in the order of first moving horizontally and then moving vertically.
  • the application icons corresponding to application 1 to application 8 are displayed on the current display interface.
  • the application icons corresponding to application 9 - application 20 are displayed in the next display interface, as shown in FIG. 11( c ).
  • the above moving process only changes the display position of the icon to be moved, and does not change the display order of the icons to be moved.
  • the icons to be moved are displayed by moving the application icons backward in sequence, so that after adjusting the display size of the first application card, the application icons in the terminal device are still displayed neatly and the display order remains unchanged, which is in line with the user's original application icon browsing habits.
  • the implementation process of step 930 can be: grouping the second moving icons according to the combination method of the first moving icons to obtain at least one second moving icon group; according to the preset moving direction priority, moving the first moving icon and each second moving icon group backward to display the icon to be moved in the current display interface and the next display interface.
  • the first moving icon and each second moving icon group are moved backward in the same order, that is, the first moving icon and each moving icon group are moved backward at the same time.
  • the current display interface includes the first application card and application icons corresponding to application 1 - application 12
  • the next display interface includes application icons corresponding to application 13 - application 20 .
  • the current display size of the first application card is 2*2 (i.e., it occupies two application icon positions horizontally and two icon positions vertically), and when the target display size is adjusted to 2*4 (i.e., it occupies four application icon positions horizontally and two icon positions vertically), the first mobile icons include application icons corresponding to application 1, application 2, application 3 and application 4, and the second mobile icons include application icons corresponding to application 5-application 12.
  • the first mobile icon is moved backward as a whole to display the first mobile icon in the current display interface, as shown in FIG12(b). Since the first mobile icon includes four application icons, the application icons corresponding to application 5, application 6, application 9 and application 10 are grouped according to the four application icons based on the original display position of the second mobile icon, and the application icons corresponding to application 7, application 8, application 11 and application 12 are grouped as another second mobile icon group.
  • the second mobile icon group consisting of the application icons corresponding to application 5, application 6, application 9 and application 10 is moved backward to be displayed in the current display interface and is located behind the first application icon; at the same time, the second mobile icon group consisting of the application icons corresponding to application 7, application 8, application 11 and application 12 is displayed in the next display interface, as shown in FIG12(c).
  • the application icons corresponding to application 13-application 20 can be divided according to the second mobile icon grouping method, and then moved backward as a whole to be displayed in the next display interface, as shown in (c) of Figure 12; the application icons corresponding to application 13-application 20 can also be moved backward in sequence according to the preset moving direction priority, and displayed in the next display interface, as shown in (d) of Figure 12. This embodiment does not limit this.
  • the moving process not only changes the display position of the icon to be moved, but also changes the display order of the icons to be moved. Specifically, the display order of some application icons in the second moving icon is changed.
  • the current display interface also includes other application cards, and the other application cards are located below or behind the first application card, it is necessary to move the other application cards and the application icons in the current display interface.
  • the implementation principle is similar to the above three implementation methods and will not be repeated here.
  • the icons to be moved are displayed by moving the application icons backward as a group, so that the display order between some icons remains unchanged, which is convenient for users to quickly find a type of application icons displayed in the same area.
  • the first application icons may be combined and displayed as a combined icon.
  • the combined icon may be displayed after the last application icon in the current display interface; or before the first application icon in the next display interface, or after the last application icon.
  • the terminal device responds to the first sliding operation gesture triggered by the user on the first application card in the current display interface, and obtains the size adjustment strategy of the first application card. Then, according to the current display size and size adjustment strategy of the first application card, the target display size of the first application card is determined, and then the first application card is displayed in the current display interface with the target display size.
  • the present application when adjusting the display size of the application card, the present application does not need to trigger the menu key, and select the application and the display size of the application card in turn in the menu content display interface; instead, the first sliding operation gesture is directly triggered on the application card to instruct the terminal device to obtain the size adjustment strategy corresponding to the application card according to the first sliding operation gesture, and automatically adjust the display size of the application card according to the current display size and size adjustment strategy of the application card.
  • the display size adjustment process of the application card is simplified, the adjustment efficiency of the display size of the application card is improved, and the user operation experience is better.
  • the present application further provides another application card adjustment method to switch the application type of the first application card; the method can also be applied to the terminal device shown in FIG. 1 , and includes the following steps:
  • Step 1310 In response to a second sliding operation gesture triggered by the user on a first application card in the current display interface, an application switching policy of the first application card is obtained.
  • the second sliding operation gesture is different from the first sliding operation gesture. It should be understood that the first sliding operation gesture is used to start the display size adjustment process of the first application card, and the second sliding operation gesture is used to start the application type switching process of the first application card.
  • the application switching strategy includes a plurality of application cards and a switching order of the plurality of application cards.
  • the plurality of application cards include a first application card and at least one second application card, and each application card corresponds to a different application.
  • the switching strategies of the first application card and the second application card may be the same or different; the switching strategies of different application cards all represent the order of switching application types starting with the application card as the starting application card.
  • the application switching strategy of application card I may include application card I, application card II, application card III and application card IV, and the switching order of application cards is "application card I - application card II - application card III - application card IV";
  • the application switching strategy of application card II may include application card II, application card III and application card IV, and the switching order of application cards is "application card II - application card III - application card VI”.
  • Step 1320 According to the application switching strategy, the first application card is switched to the second application card; the first application card and the second application card correspond to different applications.
  • the implementation process of step 1320 may be: based on the switching order of multiple application cards in the application switching strategy, determine the second application card located after the first application card; use the second application card to replace the first application card in the current display interface to display the second application card in the current display interface.
  • the first application card and the second application card have the same card display area in the current display interface. Specifically, the first application card is deleted in the current display interface, and the second application card is displayed in the card display area corresponding to the original first application card.
  • the preset display sizes of the first application card and the second application card are different, after switching to the second application card, it will be displayed in the minimum display size of the second application card, reducing the movement of other application cards or application icons in the current display interface.
  • the current display size of the first application card is the preset maximum display size or the preset minimum display size, when the application card is switched, it can also be triggered based on the first sliding operation gesture.
  • an application switching strategy of the first application card is obtained; according to the application switching strategy, the first application card is switched to a second application card; the first application card and the second application card correspond to different applications.
  • the display size switching operation is no longer performed, but the first application card is switched to the second application card according to the above-mentioned application switching strategy.
  • the terminal device obtains the application switching policy of the first application card in response to the second sliding operation gesture triggered by the user on the first application card in the current display interface; and then switches the first application card to the second application card according to the application switching policy.
  • the first application card and the second application card correspond to different applications.
  • the present application when adjusting the application type of the application card, the present application does not need to trigger the menu key and select the second application to be switched in the menu content display interface; instead, the second sliding operation gesture is directly triggered on the first application card to instruct the terminal device to obtain the application switching policy corresponding to the application card according to the second sliding operation gesture, and automatically switches the first application card to the second application card according to the application switching policy, so as to display the second application card in the current display interface.
  • the application type adjustment process of the application card is simplified, the adjustment efficiency of the application type of the application card is improved, and the user operation experience is better.
  • steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
  • the embodiment of the present application also provides an application card adjustment device for implementing the above application card adjustment method.
  • the implementation scheme provided by the device when solving the technical problem is similar to the implementation scheme recorded in the above method embodiment, so the specific functional limitations in one or more application card adjustment device embodiments provided below can refer to the limitations of the relevant steps in the above application card adjustment method, and will not be repeated here.
  • the present application embodiment further provides an application card adjustment device, the device comprising:
  • the acquisition module 1410 is used to acquire a size adjustment strategy of the first application card in response to a first sliding operation gesture triggered by a user on the first application card in the current display interface;
  • a determination module 1420 configured to determine a target display size of the first application card according to the current display size and size adjustment strategy of the first application card;
  • the display module 1430 is configured to display the first application card in a target display size in the current display interface.
  • the acquisition module 1410 includes:
  • a relationship acquisition unit used to acquire an operation strategy correspondence relationship between a card operation gesture and a card adjustment strategy
  • the strategy determination unit is used to determine the size adjustment strategy corresponding to the first application card according to the correspondence between the first sliding operation gesture triggered by the user on the first application card and the operation strategy.
  • the determining module 1420 includes:
  • a switching order obtaining unit used to obtain a display size switching order of the first application card
  • the first determining unit is used to determine a target display size of the first application card according to the current display size of the first application card and a display size switching sequence.
  • the first determining unit is specifically configured to:
  • the middle display size is determined as the target display size of the first application card.
  • the determining module 1420 includes:
  • a display unit used to display candidate display cards of the first application card in a plurality of preset display sizes
  • the second determining unit is used to determine a target display card corresponding to the first application card from a plurality of candidate display cards; the display size of the target display card is the target display size of the first application card.
  • the display module 1430 is specifically configured to:
  • the first application card is switched to a target display card to display the target application card in the current display interface.
  • the determining module 1420 includes:
  • An adjustment amount acquisition unit configured to acquire a display size adjustment amount of the first application card according to a first sliding operation gesture triggered by a user on the first application card;
  • the third determining unit is used to determine the target display size of the first application card according to the current display size and the display size adjustment amount of the first application card.
  • the first sliding operation gesture includes a horizontal sliding operation and/or a vertical sliding operation
  • the display size adjustment amount includes a horizontal size adjustment amount and/or a vertical size adjustment amount
  • the adjustment amount acquisition unit includes:
  • a first acquisition subunit configured to acquire a horizontal size adjustment amount of the first application card according to a horizontal sliding operation triggered by a user on the first application card;
  • the second acquisition subunit is used to acquire the longitudinal size adjustment amount of the first application card according to the vertical sliding operation triggered by the user on the first application card.
  • the display module 1430 includes:
  • An area acquisition unit used to acquire a card display area corresponding to the first application card at a target display size
  • a fourth determining unit configured to determine an icon to be moved from a plurality of application icons in a current display interface based on a card display area
  • the icon processing unit is used to perform movement processing on the icon to be moved based on a preset icon movement rule, so as to display the first application card in the card display area with a target display size.
  • the icon to be moved includes a first moving icon and a second moving icon;
  • the first moving icon is an application icon corresponding to the card display area, and the second moving icon includes at least one application icon in the current display interface except the first moving icon;
  • Icon processing unit including:
  • the interface newly added sub-unit is used to add a blank display interface between the current display interface and the next display interface; the current display interface and the next display interface are adjacent display interfaces;
  • the display subunit is used to move the first moving icon or the second moving icon to a blank display interface for display.
  • the icon to be moved includes a third moving icon;
  • the third moving icon includes a plurality of application icons located below and behind the card display area in the current display interface;
  • Icon processing unit including:
  • An icon moving subunit used to move the third moving icon backward in sequence according to a preset moving direction priority, so as to display the third moving icon in the current display interface and/or the next display interface;
  • the moving direction priority indicates that the horizontal moving priority is higher than the vertical moving priority.
  • the device further includes:
  • the acquisition module 1410 is further configured to acquire an application switching policy of the first application card in response to a second sliding operation gesture triggered by a user on the first application card in the current display interface;
  • the switching module 1440 is used to switch the first application card to the second application card according to the application switching strategy; the first application card and the second application card correspond to different applications.
  • the current display size of the first application card is a preset maximum display size or a preset minimum display size
  • the acquisition module 1410 is further configured to acquire an application switching strategy of the first application card in response to a first sliding operation gesture triggered by a user on the first application card in the current display interface;
  • the switching module 1440 is further configured to switch the first application card to the second application card according to an application switching strategy; the first application card and the second application card correspond to different applications.
  • each module in the above-mentioned application card adjustment device can be implemented in whole or in part by software, hardware, or a combination thereof.
  • Each of the above-mentioned modules can be embedded in or independent of the processor in the terminal device in the form of hardware, or can be stored in the memory in the terminal device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
  • the application card adjustment device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example when adjusting the display size and application type of the application card.
  • the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
  • the present application also provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor of a terminal device, the application card adjustment method provided in the above embodiment can be implemented.
  • the present application also provides a computer program product, including a computer program, which, when executed by a processor of a terminal device, can implement the application card adjustment method provided in the above embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例提供了一种应用卡片调整方法、装置、终端设备和存储介质,应用于终端技术领域中。该方法包括:响应于用户在当前显示界面中第一应用卡片上触发的第一滑动操作手势,获取所述第一应用卡片的尺寸调整策略;根据所述第一应用卡片的当前显示尺寸和所述尺寸调整策略,确定所述第一应用卡片的目标显示尺寸;在所述当前显示界面中以所述目标显示尺寸显示所述第一应用卡片。即本申请无需在菜单内容显示界面中依次选择应用,以及应用卡片的显示尺寸;而是直接在应用卡片上触发第一滑动操作手势,以指示终端设备自动按照该应用卡片的当前显示尺寸和尺寸调整策略,对该应用卡片的显示尺寸进行调整,简化了应用卡片的显示尺寸调整流程。

Description

应用卡片调整方法、装置、终端设备和存储介质
本申请要求于2022年8月26日提交到国家知识产权局、申请号为202211037857.1、发明名称为“应用卡片调整方法、装置、终端设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种应用卡片调整方法、装置、终端设备和存储介质。
背景技术
随着智能移动终端和软件技术的不断发展,采用移动终端中的客户端、应用程序、web页面、小程序、应用卡片来浏览各种信息变得更加普及。其中,应用卡片是一种通过卡片的形式来呈现目标应用程序的相关信息,用户无需进入应用页面,仅通过在移动终端的显示屏上直接浏览目标应用程序相对应的应用卡片,即可获取所需的目标应用信息。
相关技术中,某些应用卡片预设有多种显示尺寸,当用户需要更换当前显示桌面中任一应用卡片的初始显示尺寸时,需要长按菜单键,进入菜单内容显示界面后,选择“更多服务卡片”的子菜单,进而在该子菜单下选择并添加该应用的目标显示尺寸下的一张应用卡片,然后返回当前显示桌面。进一步地,在当前显示桌面中删除初始显示尺寸下的应用卡片,并将目标尺寸下的应用卡片添加至对应的位置。
然而,上述技术在更换应用卡片的显示尺寸时,操作流程冗长,导致应用卡片的显示尺寸更换效率较低。
发明内容
本申请实施例提供了一种应用卡片设置方法、装置、终端设备和存储介质,能够快速地有效地对应用卡片的显示尺寸进行调整。技术方案如下:
第一方面,本申请实施例提供一种应用卡片调整方法,该方法包括:
响应于用户在当前显示界面中第一应用卡片上触发的第一滑动操作手势,获取第一应用卡片的尺寸调整策略;
根据第一应用卡片的当前显示尺寸和尺寸调整策略,确定第一应用卡片的目标显示尺寸;
在当前显示界面中以目标显示尺寸显示第一应用卡片。
由此可见,本申请在对应用卡片的显示尺寸进行调整时,无需触发菜单键,并在菜单内容显示界面中依次选择应用,以及该应用卡片的显示尺寸;而是直接在应用卡片上触发第一滑动操作手势,以指示终端设备根据第一滑动操作手势,获取该应用卡片对应的尺寸调整策略,并自动按照该应用卡片的当前显示尺寸和尺寸调整策略,对该应用卡片的显示尺寸进行调整。如此,简化了应用卡片的显示尺寸调整流程,提高了应用卡片的显示尺寸的调整效率,使得用户操作体验更佳。
在一种可能的实现方式中,响应于用户在当前显示界面中第一应用卡片上触发的第一滑动操作手势,获取第一应用卡片的尺寸调整策略,包括:
获取卡片操作手势和卡片调整策略之间的操作策略对应关系;
根据用户在第一应用卡片上触发的第一滑动操作手势和操作策略对应关系,确定第一应用卡片对应的尺寸调整策略。
也即是,本申请预先设置好操作策略对应关系后,可以基于用户在应用卡片上触发的操作手势,快速且准确地确定用户对应用卡片的调整需求。当终端设备在第一应用卡片上检测到第一滑动操作手势时,即可基于该操作策略对应关系,快速获取到第一应用卡片的尺寸调整策略,以准确有效地响应用户操作,提高用户体验。
在一种可能的实现方式中,根据第一应用卡片的当前显示尺寸和尺寸调整策略,确定第一应用卡片的目标显示尺寸,包括:
获取第一应用卡片的显示尺寸切换顺序;
根据第一应用卡片的当前显示尺寸和显示尺寸切换顺序,确定第一应用卡片的目标显示尺寸。
在该实现方式中,用户通过第一滑动操作手势,可以启动第一应用卡片的显示尺寸切换流程。也即是,终端设备响应用户的第一滑动操作手势,根据显示尺寸切换顺序,确定用户需要切换的目标显示尺寸,操作简单。
而且,用户通过反复切换的方式,可以直观了解各显示尺寸下第一应用卡片的显示效果,使得切换后选择的目标显示尺寸满足用户的实际需求,用户的操作体验更佳。
在一种可能的实现方式中,根据第一应用卡片的当前显示尺寸和显示尺寸切换顺序,确定第一应用卡片的目标显示尺寸,包括:
响应于用户在第一应用卡片上触发的第一滑动操作手势和显示尺寸切换顺序,确定第一应用卡片的中间显示尺寸,并以中间尺寸显示第一应用卡片;
若在以中间显示尺寸显示的第一应用卡片上检测到用户触发的尺寸确认操作,将中间显示尺寸确定为第一应用卡片的目标显示尺寸。
在该实现方式中,当终端设备响应于用户的第一滑动操作手势,按照显示尺寸切换顺序从当前显示尺寸切换至中间显示尺寸后,由用户确定是否需要将中间尺寸作为切换后的目标显示尺寸。如此,通过与用户进行交互和显示尺寸确认,可以使得切换后的目标显示尺寸满足用户真实的显示尺寸调整需求,调整结果更准确。
在一种可能的实现方式中,根据第一应用卡片的当前显示尺寸和尺寸调整策略,确定第一应用卡片的目标显示尺寸,包括:
展示第一应用卡片在预设的多个显示尺寸下的候选显示卡片;
从多个候选显示卡片中确定第一应用卡片对应的目标显示卡片;目标显示卡片的显示尺寸为第一应用卡片的目标显示尺寸。
也即是,终端设备响应于用户在第一应用卡片上触发的第一滑动操作手势,采用全局预览的方式展示第一应用卡片在预设的多个显示尺寸下的候选显示卡片,进而基于多个候选显示卡片确定目标显示卡片和目标显示尺寸。如此,简化了第一应用卡片的显示尺寸调整流程。
而且,同时展示多张候选显示卡片,便于用户直观了解不同显示尺寸下第一应用卡片的显示效果,还可以对多种显示尺寸进行综合对比,使得目标显示尺寸的选择更加符合用户的真实想法,有效避免了选择结果与实际需求之间产生偏差,提升了第一应用卡片的显示尺寸的浏览效率,增强了用户的操作体验。
在一种可能的实现方式中,在当前显示界面中以目标显示尺寸显示第一应用卡片,包括:
将第一应用卡片切换为目标显示卡片,以在当前显示界面中显示目标应用卡片。
由此可见,通过全局预览的方式确定目标应用卡片后,即可直接在当前显示界面中第一应用卡片对应的卡片显示区域中显示目标显示卡片。如此,通过直接切换整个应用卡片的方式来实现显示尺寸的快速调整。
在一种可能的实现方式中,根据第一应用卡片的当前显示尺寸和尺寸调整策略,确定第一应用卡片的目标显示尺寸,包括:
根据用户在第一应用卡片上触发的第一滑动操作手势,获取第一应用卡片的显示尺寸调整量;
根据第一应用卡片的当前显示尺寸和显示尺寸调整量,确定第一应用卡片的目标显示尺寸。
在该实现方式中,终端设备响应于用户在第一应用卡片上触发的第一滑动操作手势,根据当前显示尺寸,以及基于用户的第一滑动操作手势所确定的显示尺寸调整量,将第一应用卡片的显示尺寸自适应调整为目标显示尺寸。如此,简化了第一应用卡片的显示尺寸调整流程。同时,通过自适应调整显示尺寸的方式,便于用户根据自身实际需求,对第一应用卡片的显示尺寸进行灵活有效地调整,使得调整后的目标显示尺寸契合用户的真实想法,增强了用户的操作体验。
在一种可能的实现方式中,第一滑动操作手势包括水平滑动操作和/或垂直滑动操作,显示尺寸调整量包括横向尺寸调整量和/或纵向尺寸调整量;
根据用户在第一应用卡片上触发的第一滑动操作手势,获取第一应用卡片的显示尺寸调整量,包括:
根据用户在第一应用卡片上触发的水平滑动操作,获取第一应用卡片的横向尺寸调整量;
和/或,
根据用户在第一应用卡片上触发的垂直滑动操作,获取第一应用卡片的纵向尺寸调整量。
也即是,通过第一滑动操作手势对第一应用卡片的显示尺寸进行自适应调整时,可以仅进行横向尺寸调整,也可以仅进行纵向尺寸调整,还可以在横向和纵向两个方向维度上对第一应用卡片的显示尺寸进行调整,调整更灵活。
在一种可能的实现方式中,在当前显示界面中以目标显示尺寸显示第一应用卡片,包括:
获取第一应用卡片在目标显示尺寸下对应的卡片显示区域;
基于卡片显示区域,从当前显示界面中的多个应用图标中确定待移动图标;
基于预设的图标移动规则,对待移动图标进行移动处理,以在卡片显示区域中以目标显示尺寸显示第一应用卡片。
由此可见,在以目标显示尺寸在当前显示界面中显示第一应用卡片时,需要基于目标显示尺寸确定的卡片显示区域,对待移动图标进行移动处理。如此,可以保证当前显示界面中显示的第一应用卡片和应用图标清楚显示,且彼此之间不会遮挡或覆盖。
在一种可能的实现方式中,待移动图标包括第一移动图标和第二移动图标;第一移动图标为卡片显示区域对应的应用图标,第二移动图标包括当前显示界面中除第一移动图标以外的至少一个应用图标;
基于预设的图标移动规则,对待移动图标进行移动处理,包括:
在当前显示界面和下一显示界面之间新增一个空白显示界面;当前显示界面和下一显示界面为相邻显示界面;
将第一移动图标或第二移动图标移动至空白显示界面中进行显示。
如此,通过新增显示界面的方式,对待移动图标进行显示,不会影响终端设备中其他显示界面中应用图标的显示顺序,操作简单;同时保持了其他显示界面中用户原有的应用图标部署习惯,用户体验更佳。
在一种可能的实现方式中,待移动图标包括第三移动图标;第三移动图标包括当前显示界面中处于卡片显示区域下方和后方的多个应用图标;
基于预设的图标移动规则,对待移动图标进行移动处理,包括:
按照预设的移动方向优先级,将第三移动图标移依次后移,以在当前显示界面和/或下一显示界面中显示第三移动图标;
其中,移动方向优先级表示横向移动优先级高于纵向移动优先级。
如此,通过应用图标依次后移的方式,对待移动图标进行显示,使得调整第一应用卡片的显示尺寸后,终端设备中的应用图标仍然整齐显示,且显示顺序不变,符合用户原本的应用图标浏览习惯。
在一种可能的实现方式中,该方法还包括:
响应于用户在当前显示界面中第一应用卡片上触发的第二滑动操作手势,获取第一应用卡片的应用切换策略;
根据应用切换策略,将第一应用卡片切换为第二应用卡片;第一应用卡片和第二应用卡片对应不同的应用。
由此可见,本申请在对应用卡片的应用类型进行调整时,亦无需触发菜单键,并在菜单内容显示界面中选择需要切换的第二应用;而是直接在第一应用卡片上触发第二滑动操作手势,以指示终端设备根据第二滑动操作手势,获取应用卡片对应的应用切换策略,并自动按照应用切换策略,将第一应用卡片切换为第二应用卡片,以在当前显示界面中显示第二应用卡片。如此,简化了应用卡片的应用类型调整流程,提高了应用卡片的应用类型的调整效率,使得用户操作体验更佳。
在一种可能的实现方式中,若第一应用卡片的当前显示尺寸为预设的最大显示尺寸或最小的预设显示尺寸,该方法还包括:
响应于用户在当前显示界面中第一应用卡片上触发的第一滑动操作手势,获取第一应用卡片的应用切换策略;
根据应用切换策略,将第一应用卡片切换为第二应用卡片;第一应用卡片和第二应用卡片对应不同的应用。
也即是,当用户通过在第一应用卡片上触发第一滑动操作手势,以对第一应用卡片的当前显示尺寸进行调整过程中,若第一应用卡片的当前显示尺寸或调整后的目标显示尺寸,与预设的最大显示尺寸或最小显示尺寸相等,则用户继续触发第一滑动操作手势后,不再执行显示尺寸切换操作,而是按照上述应用切换策略,将第一应用卡片切换为第二应用卡片。二u此,通过第一滑动操作手势,不仅可以对应用卡片的显示尺寸进行调整,还开业对应用卡片的应用类型进行调整,应用卡片调整更为灵活,调整效果更好。
第二方面,本申请实施例提供了一种应用卡片调整装置,该装置包括:
获取模块,用于响应于用户在当前显示界面中第一应用卡片上触发的第一滑动操作手势,获取第一应用卡片的尺寸调整策略;
确定模块,用于根据第一应用卡片的当前显示尺寸和尺寸调整策略,确定第一应用卡片的目标显示尺寸;
展示模块,用于在当前显示界面中以目标显示尺寸显示第一应用卡片。
第三方面,本申请实施例提供一种终端设备,包括存储器和处理器;
存储器用于存储计算机程序;
处理器用于从该存储器中读取计算机程序,并执行该计算机程序以实现上述第一方面中任一方法实施例所示的应用卡片调整方法的步骤。
第四方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述第一方面中任一方法实施例所示的应用卡片调整方法的步骤。
第五方面,本申请实施例提供了一种计算机程序产品,该计算机程序产品包括计算机程序;当该计算机程序产品在上述终端设备上运行时,使得终端设备执行上述第一方面中任一方法实施例所示的应用卡片调整方法的步骤。
附图说明
图1是本申请一示例性实施例示出的一种终端设备的结构示意图;
图2是本申请一示例性实施例示出的一种应用卡片调整方法的流程示意图;
图3是本申请一示例性实施例示出的一种确定目标显示尺寸的流程示意图;
图4是本申请一示例性实施例示出的一种显示尺寸切换示意图;
图5是本申请一示例性实施例示出的另一种确定目标显示尺寸的流程示意图;
图6是本申请一示例性实施例示出的另一种显示尺寸切换示意图;
图7是本申请一示例性实施例示出的又一种确定目标显示尺寸的流程示意图;
图8是本申请一示例性实施例示出的又一种显示尺寸切换示意图;
图9是本申请一示例性实施例示出的一种显示应用卡片的流程示意图;
图10是本申请一示例性实施例示出的一种应用卡片显示示意图;
图11是本申请一示例性实施例示出的另一种应用卡片显示示意图;
图12是本申请一示例性实施例示出的又一种应用卡片显示示意图;
图13是本申请一示例性实施例示出的另一种应用卡片调整方法的流程示意图;
图14是本申请一示例性实施例示出的一种应用卡片调整装置的结构示意图;
图15是本申请一示例性实施例示出的另一种应用卡片调整装置的结构示意图。
具体实施方式
为使本申请的目的、技术方案及优点更加清楚明白,下面将结合附图及实施例,对本申请的技术方案做进一步详细说明。
在对本申请实施例提供的应用卡片调整方法进行解释说明之前,先对本申请实施例的应用场景进行介绍。
随着智能移动终端和软件技术的不断发展,采用终端设备中的客户端、应用程序、web页面、小程序、应用卡片来浏览各种信息变得更加普及。在终端设备的显示界面中,应用程序通常采用两种布局形式:应用图标布局形式和应用卡片布局形式。
其中,在应用图标布局形式中,通过点击应用图标,即可进入该应用程序的应用界面(可以该应用程序的主界面),从而查看和编辑应用程序里的详细信息。在该布局形式中,当用户需要获取某个应用程序中的详细信息时,必须进入相关的应用界面,然后根据应用界面显示 内容,逐步选择所需的内容,操作步骤相对繁琐,无法一步直达。
而在应用卡片布局形式中,将应用程序的核心功能放置在卡片上进行展示。由于应用卡片中的显示内容与其所关联的应用程序开启后所显示的内容相关联,因此,当用户想要获取某个应用程序中的信息时,无需进入应用页面,直接浏览与该应用程序相对应的应用卡片,即可获取所需的应用信息。
通常,应用卡片提供了多种显示尺寸供用户进行设置,以清楚显示应用程序的相关信息,满足用户的浏览需求。
针对终端设备的显示界面中所展示的任一应用卡片,当用户想调整该应用卡片的显示尺寸时,其调整流程为:先长按菜单键进入菜单内容显示界面,在菜单内容显示界面中点击“更多服务卡片”的子菜单,进而在该子菜单下选择对应的应用,并添加该应用在目标显示尺寸下的一张应用卡片。然后,返回当前显示桌面,在当前显示桌面中删除初始显示尺寸下的应用卡片,并将目标尺寸下的应用卡片添加至对应的卡片显示区域。
然而,上述显示尺寸调整流程需要用户进行多次点击选择操作,操作流程比较冗长,应用卡片的显示尺寸调整效率较低,影响用户的操作体验。
基于此,本申请提供了一种应用卡片调整方法、装置、终端设备和存储介质,直接响应于用户在应用卡片触发的操作手势,采用对应的尺寸调整策略,对应用卡片的当前显示尺寸进行调整,以通过目标显示尺寸显示该应用卡片。即,通过简化用户操作步骤,来提高应用卡片的显示尺寸的调整效率,使得用户操作体验更佳。
当然,上述通过在应用卡片上触发第一滑动操作手势来调整应用卡片的显示尺寸只是本申请的一种应用场景,本申请还可以应用在应用卡片的其他显示状态、显示内容的调整场景中,对此不再一一列举。
进一步地,介绍完本申请实施例的应用场景后,对本申请的实施环境进行介绍。
在一个示例性实施例中,本申请实施例提供的应用卡片调整方法,可以应用于终端设备中。如图1所示,该终端设备包括至少一个处理器110、存储器120、通信接口130和系统总线140。
其中,处理器110可以是一个通用中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)、微处理器,或者可以是一个或多个用于实现本申请技术方案的集成电路,例如,专用集成电路(Application-Specific Integrated Circuit,ASIC)、可编程逻辑器件(Programmable Logic Device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD)、现场可编程逻辑门阵列(Field-Programmable GateArray,FPGA)、通用阵列逻辑(Generic Array Logic,GAL)或其任意组合。
存储器120可以是只读存储器(Read-Only Memory,ROM)或可存储静态信息和指令的其它类型的静态存储设备,也可以是随机存取存储器(Random Access Memory,RAM)或者可存储信息和指令的其它类型的动态存储设备,还可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其它光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其它磁存储设备,或者是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质,但不限于此。
可选地,存储器120可以是独立存在,通过系统总线140与处理器110相连接;存储器120也可以和处理器110集成在一起。
通信接口130用于与其它设备或通信网络通信。通信接口130可以包括有线通信接口,还可以包括无线通信接口。其中,有线通信接口可以为以太网接口;以太网接口可以是光接口、电接口或其组合。无线通信接口可以为无线局域网(Wireless Local Area Networks,WLAN)接口、蜂窝网络通信接口或其组合等。
系统总线140用于在上述组件之间传送信息。系统总线140可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条双箭头粗线表示,但并不表示仅有一根总线或一种类型的总线。
可选地,处理器110可以包括一个或多个CPU。
可选地,终端设备也可以包括多个处理器110。这些处理器中的每一个可以是一个单核处理器(single-CPU),也可以是一个多核处理器(multi-CPU)。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(如计算机程序指令)的处理核。
可选地,终端设备还可以包括输出设备和输入设备(图1中未示出)。其中,输出设备和处理器110通信,可以以多种方式来显示信息。例如,输出设备可以是液晶显示器(Liquid Crystal Display,LCD)、发光二极管(Light Emitting Diode,LED)显示设备、阴极射线管(Cathode Ray Tube,CRT)显示设备或投影仪(projector)等。输入设备和处理器110通信,可以以多种方式接收用户的输入信息或指令。例如,输入设备可以是鼠标、键盘、触摸屏或传感设备等。
另外,在一些实施例中,存储器120用于存储执行本申请的技术方案的计算机程序,处理器110可以执行存储器120中存储的计算机程序。例如,该终端设备可以通过处理器110调用并执行存储器120中的计算程序,来实现本申请实施例提供的应用卡片调整方法。
接下来,将结合附图具体的对本申请实施例的技术方案,以及本申请实施例的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。需要说明的是,本申请实施例提供的一种应用卡片调整方法,其执行主体可以为上述图1所示的终端设备,也可以为应用卡片调整装置,该装置可以通过软件、硬件或者软硬件结合的方式实现成为终端设备中处理器的部分或者全部。显然,所描述的实施例是本申请实施例一部分实施例,而不是全部的实施例。
在一个方法实施例中,如图2所示,本申请实施例提供了一种应用卡片调整方法,以对第一应用卡片的显示尺寸进行调整。该方法可以应用于图1所示终端设备中,包括以下步骤:
步骤210:响应于用户在当前显示界面中第一应用卡片上触发的第一滑动操作手势,获取第一应用卡片的尺寸调整策略。
其中,从滑动方式上而言,第一滑动操作手势可以包括轻触滑动操作和长按滑动操作;从滑动方向上而言,第一滑动操作手势可以包括水平滑动操作和垂直滑动操作,其中,水平滑动操作包括左滑操作和右滑操作,垂直滑动操作包括上滑操作和下滑操作。本申请实施例中的第一滑动操作手势可以为上述列举的一种滑动操作手势或多种滑动操作手势的结合,对此不做限制。
以终端设备为手机进行举例,手机上通常可以包括多个显示界面,比如,主桌面界面、负一屏界面和至少一个应用界面。本申请实施例中的当前显示界面为手机中设置有应用卡片的任一显示界面,第一应用卡片为终端设备中安装的任一应用程序的卡片。
应该理解的是,主桌面界面通常为第一个桌面页面,主桌面页面可以是出厂时就设置好的,也可以是用户根据自己的喜好设备的;负一屏界面为位于主桌面界面左侧的显示界面,用于为用户提供搜索、应用建议、快捷服务、应用卡片、情景智能等服务。本申请实施例对此并不作任何限定。
进一步地,由于第一滑动操作手势是指用户通过滑动终端设备的触摸屏所形成的操作,因此,终端设备在检测到针对当前显示界面中第一应用卡片的第一滑动操作手势后,响应于第一滑动操作手势,确定第一应用卡片的尺寸调整策略。
其中,基于第一滑动操作手势确定尺寸调整策略时,可以基于机器学习模型实时确定第一应用卡片的尺寸调整策略;也可以基于预设的对应关系,确定第一应用卡片的尺寸调整策略;还可以由用户自主输入第一应用卡片的尺寸调整策略,本申请实施例对此不做限制。
在一种可能的实现方式中,步骤210的实现过程可以为:获取卡片操作手势和卡片调整策略之间的操作策略对应关系;根据用户在第一应用卡片上触发的第一滑动操作手势和操作策略对应关系,确定第一应用卡片对应的尺寸调整策略。
其中,操作策略对应关系可以包括滑动操作手势和卡片调整策略之间的对应关系,也可以包括点击操作手势和卡片调整策略之间的对应关系,还可以包括其他操作手势和卡片调整策略之间的对应关系。
具体地,滑动操作手势和卡片调整策略之间的对应关系,可以进一步包括不同滑动操作手势对应的卡片调整策略。比如,第一滑动操作手势对应的卡片调整策略为尺寸调整策略;第二滑动操作手势对应的卡片调整策略为应用切换策略;第三滑动操作手势对应的卡片调整策略为内容编辑策略等等,本申请实施例对此不做限制。
作为一个示例,执行步骤210前,可以预先配置第一滑动操作手势和尺寸调整策略之间的操作策略对应关系,并将其存储在应用程序客户端对应的服务器中。在实际应用中,若当前显示界面中检测到用户通过手指或触控笔在第一应用卡片上所发出的第一滑动操作手势后,根据预先配置的操作策略对应关系,确定第一应用卡片的尺寸调整策略。
如此,通过预先配置操作策略对应关系的方式,可以在实际应用时,准确确定用户的卡片调整需求,并快速获取到第一应用卡片的尺寸调整策略,以快速响应用户操作,用户体验更佳。
步骤220:根据第一应用卡片的当前显示尺寸和尺寸调整策略,确定第一应用卡片的目标显示尺寸。
其中,第一应用卡片可以提供一种显示尺寸或多种显示尺寸。若提供一种显示尺寸,则步骤220中确定的目标显示尺寸与当前显示尺寸相同;若提供多种显示尺寸,则目标显示尺寸可以与当前显示尺寸不同。
需要说明的是,第一应用卡片的显示尺寸可以采用像素值的方式进行表示。比如,第一应用卡片的显示尺寸可以为长600px,宽100px;长976px,宽440px;长1200px,宽640px等等,在此不再进行列举。
在实施上述步骤220时,终端设备响应于用户在第一应用卡片上触发的第一滑动操作手势,可以基于当前显示尺寸和第一应用卡片预设的多个显示尺寸,通过尺寸切换的方式确定目标显示尺寸;也可以先通过全局预览的方式展示第一应用卡片在多个显示尺寸下的显示效果,从而确定目标显示尺寸;还可以直接对第一应用卡片的当前显示尺寸进行调整,以调整至目标显示尺寸。
应该理解的是,确定目标显示尺寸的方式并不唯一,可以为以上列举方式中的一种或多种,也可以为其他方式,本申请实施例对此不做限制。
接下来,对上述列举的三种确定目标显示尺寸的实施方式进行详细说明。
在一个示例性实施例中,如图3所示,步骤220中确定目标显示尺寸的实现过程,可以包括以下步骤:
步骤310:获取第一应用卡片的显示尺寸切换顺序。
其中,显示尺寸切换顺序可以包括按照显示尺寸从小到大的顺序进行切换,或者,按照显示尺寸从大到小的顺序进行切换。
在该步骤310中,显示尺寸切换顺序可以预先存储在第一应用程序客户端对应的服务器中,也可以存储在安装有第一应用的终端设备中,还可以存储在其他第三方设备或系统中,本申请实施例对此不做限制。
具体地,当用户在第一应用卡片上触发第一滑动操作手势后,终端设备根据第一滑动操作手势对应的尺寸调整策略,从本地数据库或远程数据库中获取第一应用卡片的显示尺寸切换顺序,并执行下述步骤320。
步骤320:根据第一应用卡片的当前显示尺寸和显示尺寸切换顺序,确定第一应用卡片的目标显示尺寸。
需要说明的是,获取到第一应用卡片的显示尺寸切换顺序后,终端设备可以响应于用户进一步的操作手势,确定目标显示尺寸;终端设备也可以基于预设的尺寸确定逻辑,自动确定第一应用卡片的目标显示尺寸。
在一种可能的实现方式中,步骤320的实现过程可以为:响应于用户在第一应用卡片上触发的第一滑动操作手势和显示尺寸切换顺序,确定第一应用卡片的中间显示尺寸,并以中间尺寸显示第一应用卡片;若在以中间显示尺寸显示的第一应用卡片上检测到用户触发的尺寸确认操作,将中间显示尺寸确定为第一应用卡片的目标显示尺寸。
也即是,响应于用户在第一应用卡片上触发的第一滑动操作手势后,按照第一应用卡片的显示尺寸切换顺序,执行显示尺寸切换操作,以通过切换后的中间显示尺寸显示第一应用卡片。
需要说明的是,执行第一次切换操作时,中间显示尺寸可以为显示尺寸切换顺序中与当前显示尺寸相邻的一种显示尺寸;当用户继续在第一应用卡片上触发第一滑动操作手势,则在显示尺寸切换顺序中,中间显示尺寸与当前显示尺寸之间间隔了一种显示尺寸。以此类推,不再赘述。
进一步地,若用户在以中间显示尺寸显示的第一应用卡片上触发尺寸确认操作,则将该中间显示尺寸确定为第一应用卡片的目标显示尺寸。也即是,终端设备每次以中间显示尺寸显示第一应用卡片后,检测第一应用卡片上是否存在尺寸确认操作,进而基于用户的尺寸确认操作,确定第一应用卡片的目标显示尺寸。
可选地,若在预设的调整时长内,以中间显示尺寸显示的第一应用卡片上没有检测到尺寸确认操作,则将当前显示尺寸确定为第一应用卡片的目标显示尺寸。也即是,无需对第一应用卡片的当前显示尺寸进行调整。
可选地,若在预设的调整时长内,以中间显示尺寸显示的第一应用卡片上没有检测到尺寸确认操作,则自动将该中间显示尺寸确定为第一应用卡片的目标显示尺寸。
其中,调整时长可以为预先设置的任意时长,比如,30秒、1分钟、2分钟等。上述尺寸确认操作可以为点击操作。
另外,第一应用卡片上还可以预设有尺寸确认按键,用户点击该确认按键即可将第一应用卡片此时的显示尺寸确定为目标显示尺寸。
以第一滑动操作手势为上滑操作为例,第一应用卡片包括三种显示尺寸:A显示尺寸、B显示尺寸和C显示尺寸,显示尺寸切换顺序为A显示尺寸——B显示尺寸——C显示尺寸。其中,A显示尺寸小于B显示尺寸,B显示尺寸小于C显示尺寸。
参见图4,若当前显示尺寸为A显示尺寸,如图4中(a)所示;当用户在第一应用卡片上触发一次上滑操作后,在当前显示界面中以B显示尺寸显示第一应用卡片,如图4中(b)所示;继续在第一应用卡片上触发上滑操作(即第二次上滑操作),在当前显示界面中以C显示尺寸显示第一应用卡片,如图4中(c)所示。
进一步地,如图4中(c)所示,第一应用卡片上设置有尺寸确认按键,当用户通过上滑操作,切换至C显示尺寸后,点击尺寸确认按键,则将C显示尺寸确定为目标显示尺寸。并以C显示尺寸显示第一应用卡片,如图4中(d)所示。
可选地,在显示尺寸切换过程中,第一应用卡片的侧边显示有导航点,以提示用户当前切换的显示尺寸是第一应用卡片的预设的多种显示尺寸中的第几种显示尺寸。应该理解的是,导航点的数目和第一应用卡片预设的显示尺寸的种类相同,每切换一次显示尺寸,导航点也随之更新。
在上述目标显示尺寸确定方式中,基于第一应用卡片的显示尺寸切换顺序,可以快速响应于用户的第一滑动操作手势,对第一应用卡片的显示尺寸进行切换,以从当前显示尺寸切换至目标显示尺寸。也即是,通过滑动切换方式,终端设备可以快速响应用户的第一滑动操作手势,确定用户需要切换的目标显示尺寸,操作简单。另外,用户通过反复切换的方式,可以直观了解各显示尺寸下第一应用卡片的显示效果,使得切换后选择的目标显示尺寸满足用户的实际需求,用户的操作体验更佳。
在另一示例性实施例中,如图5所示,步骤220中确定目标显示尺寸的实现过程,可以包括以下步骤:
步骤510:展示第一应用卡片在预设的多个显示尺寸下的候选显示卡片。
其中,预设的多个显示尺寸数目与候选显示卡片显示数目相同。比如,第一应用卡片预设有三种显示尺寸,则第一应用卡片的候选显示卡片数目也为三种。
在一种可能的实现方式中,步骤510的实现过程可以为:响应于用户在当前显示界面中第一应用卡片上触发的第一滑动操作手势,根据第一应用卡片的尺寸调整策略,展示第一应用卡片在多个显示尺寸下的候选显示卡片。
继续以第一滑动操作手势为上滑操作为例,第一应用卡片包括三种显示尺寸:A显示尺寸、B显示尺寸和C显示尺寸,显示尺寸切换顺序为A显示尺寸——B显示尺寸——C显示尺寸。其中,A显示尺寸小于B显示尺寸,B显示尺寸小于C显示尺寸。
参见图6中(a),当前显示界面中包括以B显示尺寸显示的第一应用卡片,以及应用1-应用8对应的应用图标;当用户在第一应用卡片上触发上滑操作后,如图6中(b)所示,在当前显示界面的上层,以横向排列的方式,在第一应用卡片的上方展示多个候选显示卡片。
其中,候选显示卡片包括候选显示卡片A、候选显示卡片B和候选显示卡片C,且候选显示卡片A是以A显示尺寸显示第一应用卡片的效果图,候选显示卡片B是以B显示尺寸显示第一应用卡片的效果图;候选显示卡片C是以C显示尺寸显示第一应用卡片的效果图。
如此,在当前显示界面上层显示候选显示卡片,可以有效避免用户在选择目标显示卡片时,误触发当前显示界面中其他应用图标或显示卡片。
可选地,多个候选显示卡片也可以展示在当前显示界面中的未占用显示区域中,以便于用户根据未占用显示区域的大小,选择第一应用卡片的目标显示尺寸。
可选地,多个候选显示卡片也可以采用纵向排列的方式进行显示。
可选地,多个候选显示卡片也可以位于以当前显示尺寸显示的第一应用卡片下方。
步骤520:从多个候选显示卡片中确定第一应用卡片对应的目标显示卡片;目标显示卡片的显示尺寸为第一应用卡片的目标显示尺寸。
在一种可能的实现方式中,步骤520中根据多个候选显示卡片中确定目标显示尺寸时,可以采用以下任一种选择方式:
(1)基于用户在候选显示卡片上触发的点击操作,将候选显示卡片的显示尺寸确定为目标显示尺寸。
其中,点击操作可以为点击,也可以为多次连续点击,本申请实施例对此不做限制。
(2)基于用户在候选显示卡片上触发的第三滑动操作手势,将候选显示卡片的显示尺寸确定为目标显示尺寸。
其中,第三滑动操作手势可以与第一滑动操作手势相同,也可以与第一滑动操作手势不同,本申请实施例对此不做限制。
作为一个示例,针对上述方式(1)和(2),参见图6中(b)所示,若过用户在候选显示卡片C上触发了点击操作或第三滑动操作手势,则将候选显示卡片C确定为目标显示卡片,该候选显示卡片C对应的C显示尺寸即为目标显示尺寸。
(3)基于用户的语音指令,将目标显示卡片的显示尺寸确定为目标显示尺寸。
其中,语音指令中携带有目标显示卡片的卡片信息,终端设备在接收到语音指令后,从多个候选显示卡片中确定目标显示卡片,并将目标显示卡片的显示尺寸确定为目标显示尺寸。
(4)基于预设的调整时长,若在候选显示卡片上均未检测到用户触发的任何操作,则将以与当前显示尺寸对应的候选显示卡片确定为目标显示卡片。也即是,无需对当前显示尺寸进行调整,第一应用卡片的目标显示尺寸即为当前显示尺寸。
作为一个示例,参见图6中(b),若在候选显示卡片A、候选显示卡片B和候选显示卡片C上均未检测到任何操作,由于候选显示卡片B与第一应用卡片的当前显示尺寸相同,则将候选显示卡片B确定为目标显示卡片。此时,目标显示尺寸即为B显示尺寸。
需要说明的是,本申请实施例旨在强调同时展示多个候选显示卡片的方式,并不限制目标显示卡片或目标显示尺寸的选择方式。
进一步地,基于上述步骤520确定目标显示卡片后,在当前显示界面中以目标显示尺寸显示第一应用卡片的实现过程可以为:将第一应用卡片切换为目标显示卡片,以在当前显示界面中显示目标应用卡片。
也即是,直接在当前显示界面中删除第一应用卡片,并在对应的卡片显示区域中显示目标显示卡片。
在上述目标显示尺寸确定方式中,响应于用户在第一应用卡片上触发的第一滑动操作手势,采用全局预览的方式展示第一应用卡片在预设的多个显示尺寸下的候选显示卡片,进而基于多个候选显示卡片确定目标显示卡片和目标显示尺寸。如此,简化了第一应用卡片的显示尺寸调整流程。
另外,同时展示多张候选显示卡片,便于用户直观了解不同显示尺寸下第一应用卡片的显示效果,还可以对多种显示尺寸进行综合对比,使得目标显示尺寸的选择更加符合用户的真实想法,有效避免了选择结果与实际需求之间产生偏差。同时,提升了第一应用卡片的显示尺寸的浏览效率,增强了用户的操作体验。
在又一示例性实施例中,如图7所示,步骤220中确定目标显示尺寸的实现过程,可以包括以下步骤:
步骤710:根据用户在第一应用卡片上触发的第一滑动操作手势,获取第一应用卡片的显示尺寸调整量。
其中,第一滑动操作手势包括水平滑动操作和/或垂直滑动操作,对应地,显示尺寸调整量包括横向尺寸调整量和/或纵向尺寸调整量。
在一种可能的实现方式中,步骤710的实现过程可以为:根据用户在第一应用卡片上触发的水平滑动操作,获取第一应用卡片的横向尺寸调整量;和/或,根据用户在第一应用卡片上触发的垂直滑动操作,获取第一应用卡片的纵向尺寸调整量。
换言之,用户在第一应用卡片上触发第一滑动操作手势,以直接对第一应用卡片的当前显示尺寸进行调整时,可以通过水平滑动操作,只对第一应用卡片的横向显示尺寸进行调整;也可以通过垂直滑动操作,只对第一应用卡片的纵向显示尺寸进行调整;还可以在第一应用卡片上依次进行水平滑动操作和垂直滑动操作,以对第一应用卡片的横向显示尺寸和纵向显示尺寸进行一并调整。
另外,在具体实施时,可以预先设置显示屏上单位滑动距离和单位尺寸调整量之间的距离调整量对应关系,以根据用户在第一应用卡片上触发的第一滑动调整手势,确定用户在显示屏上的实际滑动距离。进而根据实际滑动距离和距离调整量对应关系,计算第一应用卡片的显示尺寸调整量。
步骤720:根据第一应用卡片的当前显示尺寸和显示尺寸调整量,确定第一应用卡片的目标显示尺寸。
需要说明的是,用户可以通过第一滑动操作手势对第一应用卡片的当前显示尺寸进行缩小或放大,因此,显示尺寸调整量可以为正值,也可以为负值。
在一种可能的实现方式中,步骤720的实现过程可以为:若显示尺寸调整量为正值,则将当前显示尺寸和显示尺寸调整量之和,作为第一应用卡片的目标显示尺寸;若显示尺寸调整量为负值,则将当前显示尺寸和显示尺寸调整量之差,作为第一应用卡片的目标显示尺寸。
继续以第一滑动操作手势为上滑操作为例,第一应用卡片包括三种显示尺寸:A显示尺寸、B显示尺寸和C显示尺寸,显示尺寸切换顺序为A显示尺寸——B显示尺寸——C显示尺寸。其中,A显示尺寸小于B显示尺寸,B显示尺寸小于C显示尺寸。
参见图8中(a),假设第一应用卡片的当前显示尺寸为A显示尺寸,则响应于用户在第一应用卡片上触发的垂直滑动操作,根据垂直滑动操作对应的纵向尺寸调整量,对当前显示尺寸进行调整,得到图8中(b)所示的显示尺寸。进一步地,响应于用户在图8中(b)所示的第一应用卡片上触发的水平滑动操作,根据水平滑动操作对应的横向尺寸调整量,继续对第一应用卡片的显示尺寸进行调整,得到图8中(c)所示的目标显示尺寸。
应该理解的是,图8仅仅是本示例性实施例中的一种调整顺序,也可以先调整第一应用卡片的横向显示尺寸,再调整纵向显示尺寸,本实施例对此不做限制。
在上述目标显示尺寸确定方式中,响应于用户在第一应用卡片上触发的第一滑动操作手势,确定第一应用卡片的显示尺寸调整量,以根据当前显示尺寸和显示尺寸调整量,将第一应用卡片的显示尺寸自适应调整为目标显示尺寸。如此,简化了第一应用卡片的显示尺寸调整流程。同时,通过自适应调整显示尺寸的方式,便于用户根据自身实际需求,对第一应用卡片的显示尺寸进行灵活有效地调整,使得调整后的目标显示尺寸契合用户的真实想法,增强了用户的操作体验。
基于上述图7实施例提供的目标显示尺寸确定方法,在第一应用卡片预设有多种显示尺寸的情况下,可以预先设置各显示尺寸对应的滑动距离,进而根据实际滑动距离,判断是否执行显示尺寸切换操作。
作为一个示例,同样地,假设第一应用卡片包括三种显示尺寸:A显示尺寸、B显示尺寸和C显示尺寸,且A显示尺寸小于B显示尺寸,B显示尺寸小于C显示尺寸。
而且,假设第一应用卡片的当前显示尺寸为A显示尺寸,则显示尺寸和滑动距离之间的对应关系可以如下表1所示:
表1
由此可见,当用户在第一应用卡片上触发的第一滑动操作手势所产生的实际滑动距离小于x1毫米时,保持当前显示尺寸不变,即将A显示尺寸确定为目标显示尺寸;当用户在第一应用卡片上触发的第一滑动操作手势所产生的实际滑动距离大于或等于x1毫米,且该实际滑动距离小于x2毫米时,将B显示尺寸确定为目标显示尺寸;当用户在第一应用卡片上触发的第一滑动操作手势所产生的实际滑动距离大于或等于x2毫米时,将C显示尺寸确定为目标显示尺寸。
需要说明的是,当用户在第一应用卡片上触发的第一滑动操作手势所产生的实际滑动距离,大于第一应用卡片预设的最大显示尺寸所对应的滑动距离后,继续触发第一滑动操作手势,不会再改变第一应用卡片的显示尺寸。
另外,基于上述三种确定目标显示尺寸的方式,在实际应用中,对于终端设备中的任一应用卡片,可以采用以下方式对显示尺寸进行调整:
方式一:针对第一滑动操作手势,设置一种尺寸调整策略。
作为一个示例,针对第一滑动操作手势,设置第一应用卡片的尺寸调整策略可以为上述图3实施例所示的显示尺寸切换方式;或者,设置第一应用卡片的尺寸调整策略可以为上述图5实施例所示的显示尺寸全局预览方式;亦或者,设置第一应用卡片的尺寸调整策略可以为上述图7所示的显示尺寸自适应调整方式。
也即是,对于每个应用卡片,其显示尺寸的调整策略是唯一的。
方式二:针对每种尺寸调整策略,设置对应的第一滑动操作手势。
作为一个示例,若第一滑动操作手势为垂直滑动操作,包括上滑操作或下滑操作,设置第一应用卡片的尺寸调整策略可以为上述图3实施例所示的显示尺寸切换方式;若第一滑动操作手势为长按滑动操作,设置第一应用卡片的尺寸调整策略可以为上述图5实施例所示的显示尺寸全局预览方式;若第一滑动操作手势为水平滑动操作,包括左滑操作或右滑操作, 设置第一应用卡片的尺寸调整策略可以为上述图7所示的显示尺寸自适应调整方式。
也即是,对于每个应用卡片,其可以对应多种显示尺寸调整方式,基于不同的第一滑动操作手势,可以采用不同的调整策略来对应用卡片的当前显示尺寸进行调整。
步骤230:在当前显示界面中以目标显示尺寸显示第一应用卡片。
需要说明的是,若目标显示尺寸小于第一应用卡片的当前显示尺寸,则直接在当前显示界面中以目标显示尺寸显示第一应用卡片,不会影响,也无需调整当前显示界面中的应用图标等。若目标线显示尺寸大于第一应用卡片的当前显示尺寸,则在当前显示界面中以目标显示尺寸显示第一应用卡片时,需要对当前显示界面中的应用图标进行调整,避免图标之间相互遮挡,或者卡片覆盖图标的情况发生。
应该理解的是,上文中为便于说明,附图4、附图6和附图8中的第一应用卡片后方并未设置有应用图标,并不限制其应用图标和应用卡片的显示位置和显示顺序等。
而在实际情况中,第一应用卡片后方可能部署有应用图标,以保证显示桌面的整洁。在此情况下,若目标显示尺寸大于当前显示尺寸,则以目标显示尺寸显示第一应用卡片时,为避免遮挡,需要对其后方和下方的应用图标进行调整。
因此,针对第一应用卡片的当前显示尺寸小于目标显示尺寸的情况,在一个示例性实施例中,如图9所示,步骤230的实现过程可以包括以下子步骤:
步骤910:获取第一应用卡片在目标显示尺寸下对应的卡片显示区域。
其中,卡片显示区域可以为目标显示尺寸对应的显示区域范围;也可以是基于第一应用卡片的当前显示尺寸对应的显示区域范围,以目标显示尺寸显示第一应用卡片时需要扩展的显示区域范围。
进一步地,若卡片显示区域为拓展显示区域,则拓展显示区域可以根据目标显示尺寸和当前显示尺寸之间的差值确定。
步骤920:基于卡片显示区域,从当前显示界面中的多个应用图标中确定待移动图标。
其中,待移动图标可以为当前显示界面中的部分应用图标或全部应用图标,本实施例对此不做限制。
作为一个示例,待移动图标可以包括第一移动图标和第二移动图标。其中,第一移动图标为卡片显示区域对应的应用图标,第二移动图标包括当前显示界面中除第一移动图标以外的至少一个应用图标。
需要说明的是,第二移动图标可以基于预设的计算机算法确定,也可以由用户自主选择,还可以为除第一移动图标以外的全部图标,本实施例对此不做限制。
作为另一个示例,待移动图标包括第三移动图标,第三移动图标包括当前显示界面中处于卡片显示区域下方和后方的多个应用图标。
也即是,以目标显示尺寸显示第一应用卡片时,第一应用卡片的后方和下方的应用图标的位置需要进行调整,以避免被以目标显示尺寸显示的第一应用卡片所覆盖。
步骤930:基于预设的图标移动规则,对待移动图标进行移动处理,以在卡片显示区域中以目标显示尺寸显示第一应用卡片。
其中,在对待移动图标进行移动处理时,可以通过新增显示界面的方式,对待移动图标进行移动处理;也可以直接对待移动图标在终端设备已有的至少一个显示界面中进行移动处理。
在一种可能的实现方式中,若待移动图标包括上述第一移动图标和第二移动图标,则步骤930的实现过程可以为:在当前显示界面和下一显示界面之间新增一个空白显示界面;将第一移动图标或第二移动图标移动至空白显示界面中进行显示。
其中,当前显示界面和下一显示界面为相邻显示界面。
作为一个示例,如图10所示,当前显示界面中包括第一应用卡片和应用1-应用12对应的应用图标。
参见10中(a),第一应用卡片的当前显示尺寸为2*2规格(即横向占用两个应用图标位置,纵向占用两个图标位置)。而当目标显示尺寸调整为2*4规格(即横向占用四个应用图标位置,纵向占用两个图标位置)时,如图10中(b)所示,以目标显示尺寸显示第一应用卡片后,其后方和/或下方的应用图标的显示位置需要进行调整。
其中,第一移动图标包括应用1、应用2、应用3和应用4对应的应用图标,第二移动图标包括应用9、应用10、应用11和应用12对应的应用图标。
具体地,在当前显示界面和下一显示界面(未示出)之间新增一个空白显示界面,将第一移动图标移动至新增的空白显示界面中进行显示,当前显示界面中的其他应用图标的显示位置不变,如图10中(c)所示。
或者,对当前显示界面中的应用图标依次进行后移,将无法继续在当前显示界面中进行显示的应用9-应用12对应应用图标确定为第二移动图标,然后将第二移动图标移动至新增的空白显示界面中进行显示,如图10中(d)所示。此时,当前显示界面中第一应用卡片的下方,依次显示应用1-应用8对应的应用图标。
需要说明的是,上述移动处理仅改变待移动图标的显示位置,不改变待移动图标之间的显示顺序。
如此,通过新增显示界面的方式,对待移动图标进行显示,不会影响终端设备中其他显示界面中应用图标的显示顺序,操作简单;同时保持了其他显示界面中用户原有的应用图标部署习惯,用户体验更佳。
在另一种可能的实现方式中,若待移动图标包括上述第三移动图标,则步骤930的实现过程可以为:按照预设的移动方向优先级,将第三移动图标移依次后移,以在当前显示界面和/或下一显示界面中显示第三移动图标。
其中,移动方向优先级表示横向移动优先级高于纵向移动优先级。即移动第三移动图标时,先在当前行中对第三移动图标依次进行横向移动,在横向移动过程中,若存在至少一个第三应用图标超过当前显示界面,则对超过当前显示界面的第三移动图标进行纵向移动,以在下一行中进行显示,以此类推。
作为一个示例,如图11所示,当前显示界面中包括第一应用卡片,以及应用1-应用12对应的应用图标,下一显示界面中包括显示应用13-应用20对应的应用图标。
参见11中(a),第一应用卡片的当前显示尺寸为2*2规格(即横向占用两个应用图标位置,纵向占用两个图标位置)。而当目标显示尺寸调整为2*4规格(即横向占用四个应用图标位置,纵向占用两个图标位置)时,以目标显示尺寸显示第一应用卡片后,其后方和/或下方的应用图标的显示位置需要进行调整。
其中,第三移动图标包括当前显示界面中处于第一应用卡片后方和下方的应用1-应用12对应的应用图标。
具体地,将应用1-应用12对应的应用图标依次后移,在移动过程中,按照先横向移动,再纵向移动的顺序进行后移。最终,在当前显示界面显示应用1-应用8对应的应用图标, 如图11中(b)所示;在下一显示界面中显示应用9-应用20对应的应用图标,如图11中(c)所示。
同理,上述移动处理仅改变待移动图标的显示位置,不改变待移动图标之间的显示顺序。
如此,通过应用图标依次后移的方式,对待移动图标进行显示,使得调整第一应用卡片的显示尺寸后,终端设备中的应用图标仍然整齐显示,且显示顺序不变,符合用户原本的应用图标浏览习惯。
在又一种可能的实现方式中,若待移动图标包括上述第一移动图标和第二移动图标,则步骤930的实现过程可以为:按照第一移动图标的组合方式,对第二移动图标进行分组处理,得到至少一个第二移动图标组;按照预设的移动方向优先级,将第一移动图标和各第二移动图标组进行后移,以在当前显示界面和下一显示界面中显示待移动图标。
其中,第一移动图标和各第二移动图标组的后移顺序相同,即同时对第一移动图标和各移动图标组进行后移。
作为一个示例,同样假设当前显示界面中包括第一应用卡片,以及应用1-应用12对应的应用图标,下一显示界面中包括应用13-应用20对应的应用图标。
参见12中(a),第一应用卡片的当前显示尺寸为2*2规格(即横向占用两个应用图标位置,纵向占用两个图标位置),而当目标显示尺寸调整为2*4规格(即横向占用四个应用图标位置,纵向占用两个图标位置)时,第一移动图标包括应用1、应用2、应用3和应用4对应的应用图标,第二移动图标包括应用5-应用12对应的应用图标。
则将第一移动图标整体进行后移,以在当前显示界面中显示第一移动图标,如图12中(b)所示。由于第一移动图标包括四个应用图标,则基于第二移动图标的原始显示位置,按照四个应用图标进行分组,将应用5、应用6、应用9和应用10对应的应用图标作为一个第二移动图标组,将应用7、应用8、应用11和应用12对应的应用图标作为另一个第二移动图标组。然后,如图12中(b)所示,对应用5、应用6、应用9和应用10对应的应用图标所组成的第二移动图标组进行后移,以在当前显示界面中进行显示,且位于第一应用图标后;同时,将应用7、应用8、应用11和应用12对应的应用图标所组成的第二移动图标组在下一显示界面中进行显示,如图12中(c)所示。
具体地,可以将应用13-应用20对应的应用图标,按照第二移动图标分组的方式进行划分,然后整体后移,以在下一显示界面中进行显示,如图12中(c)所示;还可以将应用13-应用20对应的应用图标,按照预设的移动方向优先级依次后移,以下一显示界面中进行显示,如图12中(d)所示。本实施例对此不做限制。
需要说明的是,在该实现方式中,移动处理不仅改变待移动图标的显示位置,还改变待移动图标之间的显示顺序。具体地,改变了第二移动图标中部分应用图标的显示顺序。
另外,若当前显示界面中还包括其他应用卡片,且其他应用卡片位于第一应用卡片下方或后方时,则需要对其他应用卡片和当前显示界面中的应用图标进行移动处理,其实现原理与上述三种实现方式相类似,在此不再赘述。
如此,通过应用图标按组整体后移的方式,对待移动图标进行显示,使得部分图标之间的显示顺序保持不变,便于用户快速找到显示在同一区域内的一类应用图标。
可选地,在步骤930中,为进一步减少应用图标移动量,还可以将第一应用图标进行合并处理,以组合图标的方式进行显示。具体地,该组合图标可以显示在当前显示界面中最后一个应用图标之后;也可以显示在下一显示界面中第一个应用图标之前,或者,最后一个应用图标之后。
在本申请实施例提供的应用卡片调整方法中,终端设备响应于用户在当前显示界面中第一应用卡片上触发的第一滑动操作手势,获取第一应用卡片的尺寸调整策略。然后,根据第一应用卡片的当前显示尺寸和尺寸调整策略,确定第一应用卡片的目标显示尺寸,进而在当前显示界面中以目标显示尺寸显示第一应用卡片。由此可见,本申请在对应用卡片的显示尺寸进行调整时,无需触发菜单键,并在菜单内容显示界面中依次选择应用,以及该应用卡片的显示尺寸;而是直接在应用卡片上触发第一滑动操作手势,以指示终端设备根据第一滑动操作手势,获取应用卡片对应的尺寸调整策略,并自动按照应用卡片的当前显示尺寸和尺寸调整策略,对应用卡片的显示尺寸进行调整。如此,简化了应用卡片的显示尺寸调整流程,提高了应用卡片的显示尺寸的调整效率,使得用户操作体验更佳。
基于与上述方法实施例相同的技术构思,在另一个方法实施例中,如图13所示,本申请还提供了另一种应用卡片调整方法,以对第一应用卡片的应用类型进行切换;该方法同样可以应用于图1所示的终端设备中,包括以下步骤:
步骤1310:响应于用户在当前显示界面中第一应用卡片上触发的第二滑动操作手势,获取第一应用卡片的应用切换策略。
其中,第二滑动操作手势与上述第一滑动操作手势不同。应该理解的是,第一滑动操作手势用于启动第一应用卡片的显示尺寸调整流程,而第二滑动操作手势用于启动第一应用卡片的应用类型切换流程。
进一步地,上述应用切换策略包括多个应用卡片,以及多个应用卡片的切换顺序。多个应用卡片包括第一应用卡片和至少一个第二应用卡片,且各应用卡片对应不同的应用。
需要说明的是,第一应用卡片和第二应用卡片的切换策略可以相同,也可以不同;不同应用卡片的切换策略均表征以该应用卡片为起始应用卡片进行应用类型切换的顺序。
作为一个示例,Ⅰ应用卡片的应用切换策略中可以包括Ⅰ应用卡片、Ⅱ应用卡片、Ⅲ应用卡片和Ⅳ应用卡片,且应用卡片的切换顺序为“Ⅰ应用卡片——Ⅱ应用卡片——Ⅲ应用卡片——Ⅳ应用卡片”;Ⅱ应用卡片的应用切换策略中可以包括Ⅱ应用卡片、Ⅲ应用卡片和应用卡片,且应用卡片的切换顺序为“Ⅱ应用卡片——Ⅲ应用卡片——Ⅵ应用卡片”。
步骤1320:根据应用切换策略,将第一应用卡片切换为第二应用卡片;第一应用卡片和第二应用卡片对应不同的应用。
在一种可能的实现方式中,步骤1320的实现过程可以为:基于应用切换策略中多个应用卡片的切换顺序,确定位于第一应用卡片后的第二应用卡片;使用第二应用卡片替换当前显示界面中的第一应用卡片,以在当前显示界面中显示第二应用卡片。
其中,第一应用卡片和第二应用卡片在当前显示界面中卡片显示区域相同。具体地,在当前显示界面中删除第一应用卡片,并在原第一应用卡片对应的卡片显示区域显示第二应用卡片。
需要说明的是,若第一应用卡片和第二应用卡片预设的显示尺寸不同,则切换至第二应用卡片后以第二应用卡片的最小显示尺寸进行显示,减少对当前显示界面中的其他应用卡片或者应用图标进行移动处理。
另外,基于上述应用卡片切换策略,若第一应用卡片的当前显示尺寸为预设的最大显示尺寸或最小的预设显示尺寸,则在进行应用卡片切换时,还可以基于第一滑动操作手势进行触发。
在一种可能的实现方式中,响应于用户在当前显示界面中第一应用卡片上触发的第一滑动操作手势,获取第一应用卡片的应用切换策略;根据应用切换策略,将第一应用卡片切换为第二应用卡片;第一应用卡片和第二应用卡片对应不同的应用。
也即是,当用户通过在第一应用卡片上触发第一滑动操作手势,以对第一应用卡片的当前显示尺寸进行调整过程中,若第一应用卡片的当前显示尺寸或调整后的目标显示尺寸,与预设的最大显示尺寸或最小显示尺寸相等,则用户继续触发第一滑动操作手势后,不再执行显示尺寸切换操作,而是按照上述应用切换策略,将第一应用卡片切换为第二应用卡片。
在本申请实施例提供的应用卡片调整方法中,终端设备响应于用户在当前显示界面中第一应用卡片上触发的第二滑动操作手势,获取第一应用卡片的应用切换策略;进而根据应用切换策略,将第一应用卡片切换为第二应用卡片。其中,第一应用卡片和第二应用卡片对应不同的应用。由此可见,本申请在对应用卡片的应用类型进行调整时,亦无需触发菜单键,并在菜单内容显示界面中选择需要切换的第二应用;而是直接在第一应用卡片上触发第二滑动操作手势,以指示终端设备根据第二滑动操作手势,获取应用卡片对应的应用切换策略,并自动按照应用切换策略,将第一应用卡片切换为第二应用卡片,以在当前显示界面中显示第二应用卡片。如此,简化了应用卡片的应用类型调整流程,提高了应用卡片的应用类型的调整效率,使得用户操作体验更佳。
应该理解的是,虽然如上所述的各实施例所涉及的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,如上所述的各实施例所涉及的流程图中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。
基于相同的技术构思,本申请实施例还提供了一种用于实现上述应用卡片调整方法的应用卡片调整装置。该装置在解决技术问题时所提供的实现方案与上述方法实施例中所记载的实现方案相似,故下面所提供的一个或多个应用卡片调整装置实施例中的具体功能限定可以参见上文中应用卡片调整方法中相关步骤的限定,在此不再赘述。
在一个装置实施例中,如图14所示,本申请实施例还提供了一种应用卡片调整装置,该装置包括:
获取模块1410,用于响应于用户在当前显示界面中第一应用卡片上触发的第一滑动操作手势,获取第一应用卡片的尺寸调整策略;
确定模块1420,用于根据第一应用卡片的当前显示尺寸和尺寸调整策略,确定第一应用卡片的目标显示尺寸;
显示模块1430,用于在当前显示界面中以目标显示尺寸显示第一应用卡片。
在一种可能的实现方式中,获取模块1410,包括:
关系获取单元,用于获取卡片操作手势和卡片调整策略之间的操作策略对应关系;
策略确定单元,用于根据用户在第一应用卡片上触发的第一滑动操作手势和操作策略对应关系,确定第一应用卡片对应的尺寸调整策略。
在一种可能的实现方式中,确定模块1420,包括:
切换顺序获取单元,用于获取第一应用卡片的显示尺寸切换顺序;
第一确定单元,用于根据第一应用卡片的当前显示尺寸和显示尺寸切换顺序,确定第一应用卡片的目标显示尺寸。
在一种可能的实现方式中,第一确定单元,具体用于:
响应于用户在第一应用卡片上触发的第一滑动操作手势和显示尺寸切换顺序,确定第一应用卡片的中间显示尺寸,并以中间尺寸显示第一应用卡片;
若在以中间显示尺寸显示的第一应用卡片上检测到用户触发的尺寸确认操作,将中间显示尺寸确定为第一应用卡片的目标显示尺寸。
在一种可能的实现方式中,确定模块1420,包括:
展示单元,用于展示第一应用卡片在预设的多个显示尺寸下的候选显示卡片;
第二确定单元,用于从多个候选显示卡片中确定第一应用卡片对应的目标显示卡片;目标显示卡片的显示尺寸为第一应用卡片的目标显示尺寸。
在一种可能的实现方式中,显示模块1430,具体用于:
将第一应用卡片切换为目标显示卡片,以在当前显示界面中显示目标应用卡片。
在一种可能的实现方式中,确定模块1420,包括:
调整量获取单元,用于根据用户在第一应用卡片上触发的第一滑动操作手势,获取第一应用卡片的显示尺寸调整量;
第三确定单元,用于根据第一应用卡片的当前显示尺寸和显示尺寸调整量,确定第一应用卡片的目标显示尺寸。
在一种可能的实现方式中,第一滑动操作手势包括水平滑动操作和/或垂直滑动操作,显示尺寸调整量包括横向尺寸调整量和/或纵向尺寸调整量;
调整量获取单元,包括:
第一获取子单元,用于根据用户在第一应用卡片上触发的水平滑动操作,获取第一应用卡片的横向尺寸调整量;
和/或,
第二获取子单元,用于根据用户在第一应用卡片上触发的垂直滑动操作,获取第一应用卡片的纵向尺寸调整量。
在一种可能的实现方式中,显示模块1430,包括:
区域获取单元,用于获取第一应用卡片在目标显示尺寸下对应的卡片显示区域;
第四确定单元,用于基于卡片显示区域,从当前显示界面中的多个应用图标中确定待移动图标;
图标处理单元,用于基于预设的图标移动规则,对待移动图标进行移动处理,以在卡片显示区域中以目标显示尺寸显示第一应用卡片。
在一种可能的实现方式中,待移动图标包括第一移动图标和第二移动图标;第一移动图标为卡片显示区域对应的应用图标,第二移动图标包括当前显示界面中除第一移动图标以外的至少一个应用图标;
图标处理单元,包括:
界面新增子单元,用于在当前显示界面和下一显示界面之间新增一个空白显示界面;当前显示界面和下一显示界面为相邻显示界面;
显示子单元,用于将第一移动图标或第二移动图标移动至空白显示界面中进行显示。
在一种可能的实现方式中,待移动图标包括第三移动图标;第三移动图标包括当前显示界面中处于卡片显示区域下方和后方的多个应用图标;
图标处理单元,包括:
图标移动子单元,用于按照预设的移动方向优先级,将第三移动图标移依次后移,以在当前显示界面和/或下一显示界面中显示第三移动图标;
其中,移动方向优先级表示横向移动优先级高于纵向移动优先级。
在一种可能的实现方式中,如图15所示,该装置还包括:
上述获取模块1410,还用于响应于用户在当前显示界面中第一应用卡片上触发的第二滑动操作手势,获取第一应用卡片的应用切换策略;
切换模块1440,用于根据应用切换策略,将第一应用卡片切换为第二应用卡片;第一应用卡片和第二应用卡片对应不同的应用。
在一种可能的实现方式中,若第一应用卡片的当前显示尺寸为预设的最大显示尺寸或最小的预设显示尺寸,则在该装置中:
上述获取模块1410,还用于响应于用户在当前显示界面中第一应用卡片上触发的第一滑动操作手势,获取第一应用卡片的应用切换策略;
上述切换模块1440,还用于根据应用切换策略,将第一应用卡片切换为第二应用卡片;第一应用卡片和第二应用卡片对应不同的应用。
需要说明的是,上述应用卡片调整装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于终端设备中的处理器中,也可以以软件形式存储于终端设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
另外,上述实施例提供的应用卡片调整装置在对应用卡片的显示尺寸和应用类型进行调整时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在一个示例性实施例中,本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,当计算机程序由终端设备的处理器执行时,能够实现上述实施例提供的应用卡片调整方法。
在一个示例性实施例中,本申请实施例还提供了一种计算机程序产品,包括计算机程序,该计算机程序被终端设备的处理器执行时,能够实现上述实施例提供的应用卡片调整方法。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上仅为本申请实施例的具体实施方式而已,并不用于限定本申请实施例的保护范围,凡在本申请实施例的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请实施例的保护范围之内。

Claims (16)

  1. 一种应用卡片调整方法,其特征在于,所述方法包括:
    响应于用户在当前显示界面中第一应用卡片上触发的第一滑动操作手势,获取所述第一应用卡片的尺寸调整策略;
    根据所述第一应用卡片的当前显示尺寸和所述尺寸调整策略,确定所述第一应用卡片的目标显示尺寸;
    在所述当前显示界面中以所述目标显示尺寸显示所述第一应用卡片。
  2. 根据权利要求1所述的方法,其特征在于,所述响应于用户在当前显示界面中第一应用卡片上触发的第一滑动操作手势,获取所述第一应用卡片的尺寸调整策略,包括:
    获取卡片操作手势和卡片调整策略之间的操作策略对应关系;
    根据所述用户在所述第一应用卡片上触发的第一滑动操作手势和所述操作策略对应关系,确定所述第一应用卡片对应的尺寸调整策略。
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所述第一应用卡片的当前显示尺寸和所述尺寸调整策略,确定所述第一应用卡片的目标显示尺寸,包括:
    获取所述第一应用卡片的显示尺寸切换顺序;
    根据所述第一应用卡片的当前显示尺寸和所述显示尺寸切换顺序,确定所述第一应用卡片的目标显示尺寸。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述第一应用卡片的当前显示尺寸和所述显示尺寸切换顺序,确定所述第一应用卡片的目标显示尺寸,包括:
    响应于所述用户在所述第一应用卡片上触发的第一滑动操作手势和所述显示尺寸切换顺序,确定所述第一应用卡片的中间显示尺寸,并以所述中间尺寸显示所述第一应用卡片;
    若在以所述中间显示尺寸显示的第一应用卡片上检测到用户触发的尺寸确认操作,将所述中间显示尺寸确定为所述第一应用卡片的目标显示尺寸。
  5. 根据权利要求1或2所述的方法,其特征在于,所述根据所述第一应用卡片的当前显示尺寸和所述尺寸调整策略,确定所述第一应用卡片的目标显示尺寸,包括:
    展示所述第一应用卡片在预设的多个显示尺寸下的候选显示卡片;
    从多个所述候选显示卡片中确定所述第一应用卡片对应的目标显示卡片;所述目标显示卡片的显示尺寸为所述第一应用卡片的目标显示尺寸。
  6. 根据权利要求5所述的方法,其特征在于,所述在所述当前显示界面中以所述目标显示尺寸显示所述第一应用卡片,包括:
    将所述第一应用卡片切换为所述目标显示卡片,以在所述当前显示界面中显示所述目标应用卡片。
  7. 根据权利要求1或2所述的方法,其特征在于,所述根据所述第一应用卡片的当前显示尺寸和所述尺寸调整策略,确定所述第一应用卡片的目标显示尺寸,包括:
    根据所述用户在所述第一应用卡片上触发的第一滑动操作手势,获取所述第一应用卡片的显示尺寸调整量;
    根据所述第一应用卡片的当前显示尺寸和所述显示尺寸调整量,确定所述第一应用卡片的目标显示尺寸。
  8. 根据权利要求7所述的方法,其特征在于,所述第一滑动操作手势包括水平滑动操作和/或垂直滑动操作,所述显示尺寸调整量包括横向尺寸调整量和/或纵向尺寸调整量;
    所述根据所述用户在所述第一应用卡片上触发的第一滑动操作手势,获取所述第一应用卡片的显示尺寸调整量,包括:
    根据所述用户在所述第一应用卡片上触发的水平滑动操作,获取所述第一应用卡片的横向尺寸调整量;
    和/或,
    根据所述用户在所述第一应用卡片上触发的垂直滑动操作,获取所述第一应用卡片的纵向尺寸调整量。
  9. 根据权利要求1或2所述的方法,其特征在于,所述在所述当前显示界面中以所述目标显示尺寸显示所述第一应用卡片,包括:
    获取所述第一应用卡片在所述目标显示尺寸下对应的卡片显示区域;
    基于所述卡片显示区域,从所述当前显示界面中的多个应用图标中确定待移动图标;
    基于预设的图标移动规则,对所述待移动图标进行移动处理,以在所述卡片显示区域中以所述目标显示尺寸显示所述第一应用卡片。
  10. 根据权利要求9所述的方法,其特征在于,所述待移动图标包括第一移动图标和第二移动图标;所述第一移动图标为所述卡片显示区域对应的应用图标,所述第二移动图标包括所述当前显示界面中除所述第一移动图标以外的至少一个应用图标;
    所述基于预设的图标移动规则,对所述待移动图标进行移动处理,包括:
    在所述当前显示界面和下一显示界面之间新增一个空白显示界面;所述当前显示界面和所述下一显示界面为相邻显示界面;
    将所述第一移动图标或所述第二移动图标移动至所述空白显示界面中进行显示。
  11. 根据权利要求9所述的方法,其特征在于,所述待移动图标包括第三移动图标;所述第三移动图标包括所述当前显示界面中处于所述卡片显示区域下方和后方的多个应用图标;
    所述基于预设的图标移动规则,对所述待移动图标进行移动处理,包括:
    按照预设的移动方向优先级,将所述第三移动图标移依次后移,以在所述当前显示界面和/或下一显示界面中显示所述第三移动图标;
    其中,所述移动方向优先级表示横向移动优先级高于纵向移动优先级。
  12. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:
    响应于用户在当前显示界面中第一应用卡片上触发的第二滑动操作手势,获取第一应用卡片的应用切换策略;
    根据所述应用切换策略,将所述第一应用卡片切换为第二应用卡片;所述第一应用卡片和所述第二应用卡片对应不同的应用。
  13. 根据权利要求1或2所述的方法,其特征在于,若所述第一应用卡片的当前显示尺寸为预设的最大显示尺寸或最小的预设显示尺寸,所述方法还包括:
    响应于用户在当前显示界面中第一应用卡片上触发的第一滑动操作手势,获取第一应用卡片的应用切换策略;
    根据所述应用切换策略,将所述第一应用卡片切换为第二应用卡片;所述第一应用卡片和所述第二应用卡片对应不同的应用。
  14. 一种应用卡片调整装置,其特征在于,所述装置包括:
    获取模块,用于响应于用户在当前显示界面中第一应用卡片上触发的第一滑动操作手势,获取所述第一应用卡片的尺寸调整策略;
    确定模块,用于根据所述第一应用卡片的当前显示尺寸和所述尺寸调整策略,确定所述第一应用卡片的目标显示尺寸;
    显示模块,用于在所述当前显示界面中以所述目标显示尺寸显示所述第一应用卡片。
  15. 一种终端设备,其特征在于,包括存储器和处理器;
    所述存储器用于存储计算机程序;
    所述处理器用于从所述存储器中读取所述计算机程序,并执行所述计算机程序以实现如权利要求1至13任一所述的应用卡片调整方法的步骤。
  16. 一种计算机可读存储介质,其特征在于,所述存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至13任一所述的应用卡片调整方法的步骤。
PCT/CN2023/091308 2022-08-26 2023-04-27 应用卡片调整方法、装置、终端设备和存储介质 WO2024041023A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211037857.1A CN117666766A (zh) 2022-08-26 2022-08-26 应用卡片调整方法、装置、终端设备和存储介质
CN202211037857.1 2022-08-26

Publications (2)

Publication Number Publication Date
WO2024041023A1 WO2024041023A1 (zh) 2024-02-29
WO2024041023A9 true WO2024041023A9 (zh) 2024-04-25

Family

ID=90012310

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/091308 WO2024041023A1 (zh) 2022-08-26 2023-04-27 应用卡片调整方法、装置、终端设备和存储介质

Country Status (2)

Country Link
CN (1) CN117666766A (zh)
WO (1) WO2024041023A1 (zh)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511789B (zh) * 2015-12-08 2019-11-12 魅族科技(中国)有限公司 一种图标处理方法以及终端
CN113760427B (zh) * 2019-08-09 2022-12-16 荣耀终端有限公司 显示页面元素的方法和电子设备
CN112527165A (zh) * 2020-12-16 2021-03-19 Oppo广东移动通信有限公司 界面显示状态的调整方法及装置、设备、存储介质
CN113342445A (zh) * 2021-06-25 2021-09-03 Oppo广东移动通信有限公司 调整界面尺寸的方法、装置、终端及存储介质
CN113568534A (zh) * 2021-07-20 2021-10-29 维沃移动通信有限公司 应用图标的显示方法、装置和电子设备

Also Published As

Publication number Publication date
WO2024041023A1 (zh) 2024-02-29
CN117666766A (zh) 2024-03-08

Similar Documents

Publication Publication Date Title
CN110515510B (zh) 数据处理方法、装置、设备及存储介质
US9811349B2 (en) Displaying operations performed by multiple users
US20070220449A1 (en) Method and device for fast access to application in mobile communication terminal
US9141406B2 (en) Method and system to provide a user interface with respect to a plurality of applications
CN112099686B (zh) 图标显示控制方法、装置和电子设备
JPWO2009069392A1 (ja) 入力装置、サーバ、表示管理方法および記録媒体
WO2008044321A1 (fr) Logiciel et système informatique de support d'opération
JP2016500175A (ja) フローティングオブジェクトの実現方法及び装置
WO2023072061A1 (zh) 图标显示控制方法、装置、电子设备及存储介质
WO2017215542A1 (zh) 展示图片的方法及装置
CN112269506B (zh) 分屏方法、装置和电子设备
CN112148165A (zh) 显示方法、装置和电子设备
CN111142756A (zh) 页面显示方法、设备及计算机可读存储介质
CN112947816B (zh) 显示方法、装置和电子设备
CN114415886A (zh) 应用图标的管理方法和电子设备
CN113342232A (zh) 图标生成方法、装置、电子设备和可读存储介质
TW201426488A (zh) 電子裝置、即時分享方法與電腦程式產品
CN113268182A (zh) 应用图标的管理方法和电子设备
CN113282546A (zh) 文件处理方法及装置
WO2024041023A9 (zh) 应用卡片调整方法、装置、终端设备和存储介质
CN111796746A (zh) 音量调节方法、音量调节装置和电子设备
CN109213980B (zh) 一种编辑演示文稿的方法和装置及计算机可读存储介质
US11847294B2 (en) Method for generating desktop of mobile terminal, device and electronic device
KR20230139368A (ko) 크로스 프로세스 정보 처리 방법, 컨트롤러, 단말기 및 저장 매체
CN114397989A (zh) 参数值设置方法、装置、电子设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23856117

Country of ref document: EP

Kind code of ref document: A1