CN116954540A - Application program display method and device and terminal - Google Patents

Application program display method and device and terminal Download PDF

Info

Publication number
CN116954540A
CN116954540A CN202310936309.0A CN202310936309A CN116954540A CN 116954540 A CN116954540 A CN 116954540A CN 202310936309 A CN202310936309 A CN 202310936309A CN 116954540 A CN116954540 A CN 116954540A
Authority
CN
China
Prior art keywords
window
icon
application
mode
coordinate information
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202310936309.0A
Other languages
Chinese (zh)
Inventor
刘鸣
伍亮雄
骆艳飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202310936309.0A priority Critical patent/CN116954540A/en
Publication of CN116954540A publication Critical patent/CN116954540A/en
Pending legal-status Critical Current

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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1431Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using a single graphics controller
    • 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

Landscapes

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

Abstract

The disclosure relates to a display method, a device and a terminal of an application program. The display method of the application program comprises the following steps: when a setting operation for an application icon is detected, acquiring coordinate information of the application icon on a screen; and when the coordinate information accords with a setting condition, opening and displaying the application program corresponding to the application program icon in a set multi-window mode. The technical scheme can solve the problem that the App multi-window display can be realized only by multiple steps and multiple times of switching among multiple pages in the related technology, meanwhile, the operation of a user is simplified, and the user experience is optimized.

Description

Application program display method and device and terminal
Technical Field
The disclosure relates to the technical field of terminals, and in particular relates to a display method and device of an application program and a terminal.
Background
Along with the development of the multi-window function of an Android (Android) system of the terminal, more and more domestic manufacturers ROM support the multi-window function. There are two modes of multi-window functionality: split screen mode and free shape mode. The split screen mode aims at two application programs, and refers to that windows of the two application programs jointly occupy the whole screen area of the terminal; the free shape mode refers to that the window shape and arrangement in the screen of each application program can be freely set for more than two application programs.
In the related art, a user can operate the terminal to enter a multi-window mode in the setting process, can open a menu in an application page to select, and enters the multi-window mode, so that the mode is not convenient, complex and poor in user experience.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a method, an apparatus, and a terminal for displaying an application program, so as to conveniently enable a plurality of application programs to enter a multi-window mode for displaying.
According to a first aspect of an embodiment of the present disclosure, there is provided a display method of an application program, including:
when a setting operation for an application icon is detected, acquiring coordinate information of the application icon on a screen;
and when the coordinate information accords with a setting condition, opening and displaying the application program corresponding to the application program icon in a set multi-window mode.
In an embodiment, the detecting the setting operation for the application icon includes:
detecting a touch operation for an application icon;
counting the touch duration of the touch operation;
and when the touch duration exceeds the set duration, determining that the setting operation for the application icon is detected.
In an embodiment, the coordinate information meets a setting condition, including:
reading a pre-stored set coordinate range;
comparing the coordinate information of each point of the application icon with the set coordinate range;
and when the coordinate information of the set number of points of the application icon falls into the set coordinate range, determining that the coordinate information belongs to the set coordinate range.
In an embodiment, the coordinate information meets a setting condition, including:
reading a pre-stored set coordinate range;
comparing the coordinate information of the center point of the application icon with the set coordinate range;
and when the coordinate information of the center point of the application icon falls into the set coordinate range, determining that the coordinate information belongs to the set coordinate range.
In an embodiment, the displaying the application program corresponding to the application program icon in the set multi-window mode includes:
determining a current multi-window mode;
when the multi-window mode is a first mode, if a window is created, displaying the application program in a blank window of the created window;
if the window is not created, two windows are created in a preset window size, window shape, window position and arrangement mode;
And displaying the application program in one of the windows, wherein the first mode is a mode of on-screen display of two application programs.
In an embodiment, the displaying the application program corresponding to the application program icon in the set multi-window mode includes:
determining a current multi-window mode;
when the multi-window mode is a second mode, creating a first window with window parameters corresponding to the number 1 for a first application program displayed in the second mode;
displaying the first application in the first window;
for an nth application program displayed in the second mode, determining window parameters of an nth window based on window parameters corresponding to the number n, wherein the window parameters comprise window shapes, window sizes, window positions and arrangement modes, and n is a natural number greater than 1;
creating an nth window based on the determined window parameters, and adjusting the created (n-1) th window;
and displaying the nth application program in the nth window, wherein the second mode is a mode of displaying more than two application programs on the same screen.
In an embodiment, the displaying the application program corresponding to the application program icon in a set multi-window mode further includes:
Upon detecting an operation for a created window, the position and/or size of the window is adjusted based on the manner of operation of the operation.
In one embodiment, the set coordinate range is displayed on the screen in the form of a set icon.
According to a second aspect of embodiments of the present disclosure, there is provided a display device of an application program, the device including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is configured to acquire coordinate information of an application icon on a screen when a setting operation for the application icon is detected;
and the display module is configured to open and display the application program corresponding to the application program icon in a set multi-window mode when the coordinate information meets the setting condition.
In one embodiment, the acquisition module comprises:
a detection sub-module configured to detect a touch operation for an application icon;
a statistics sub-module configured to count a touch duration of the touch operation;
and the first determining submodule is configured to determine that the setting operation for the application icon is detected when the touch duration exceeds a set duration.
In one embodiment, the display module includes:
A first reading sub-module configured to read a pre-stored set coordinate range;
the first comparison sub-module is configured to compare the coordinate information of each point of the application icon with the set coordinate range;
and the second determining submodule is configured to determine that the coordinate information belongs to the set coordinate range when the coordinate information of the set number of points of the application icon falls into the set coordinate range.
In one embodiment, the display module includes:
the second reading submodule is configured to read a prestored set coordinate range;
the second comparison sub-module is configured to compare the coordinate information of the center point of the application icon with the set coordinate range;
and the third determining submodule is configured to determine that the coordinate information belongs to the set coordinate range when the coordinate information of the center point of the application icon falls into the set coordinate range.
In one embodiment, the display module includes:
a fourth determination submodule configured to determine a current multi-window mode;
a first display sub-module configured to display the application in a blank window of a created window if the window has been created when the multi-window mode is a first mode;
The first creation sub-module is configured to create two windows in a preset window size, window shape, window position and arrangement mode if the windows are not yet created;
and the second display sub-module is configured to display the application program in one of the windows, and the first mode is a mode of on-screen display of two application programs.
In one embodiment, the display module includes:
a fifth determination submodule configured to determine a current multi-window mode;
a second creating sub-module configured to create a first window with window parameters corresponding to the number 1 for a first application displayed in the second mode when the multi-window mode is the second mode;
a third display sub-module configured to display the first application in the first window;
a sixth determining submodule configured to determine, for an nth application program displayed in the second mode, window parameters of an nth window based on window parameters corresponding to the number n, the window parameters including window shape, window size, window position and arrangement, wherein n is a natural number greater than 1;
a third creation sub-module configured to create an nth window based on the determined window parameters and adjust the created (n-1) windows;
And the fourth display sub-module is configured to display the nth application program in the nth window, and the second mode is a mode of on-screen display of more than two application programs.
In one embodiment, the display module includes:
an adjustment sub-module configured to adjust, upon detecting an operation for a created window, a position and/or a size of the window based on an operational manner of the operation.
In one embodiment, the set coordinate range is displayed on the screen in the form of a set icon.
According to a third aspect of embodiments of the present disclosure, there is provided a terminal comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a setting operation for an application icon is detected, acquiring coordinate information of the application icon on a screen;
and when the coordinate information accords with a setting condition, opening and displaying the application program corresponding to the application program icon in a set multi-window mode.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program (instructions) which, when executed by a processor, performs the steps of:
When a setting operation for an application icon is detected, acquiring coordinate information of the application icon on a screen;
and when the coordinate information accords with a setting condition, opening and displaying the application program corresponding to the application program icon in a set multi-window mode.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
the method for opening and displaying the App in the multi-window mode is more convenient, solves the problem that in the related art, multiple steps are needed and multiple times of switching among multiple pages are needed to realize App multi-window display, simplifies operation of a user, and optimizes user experience.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1A is a flowchart illustrating a display method of an application according to an exemplary embodiment.
FIG. 1B is a scene diagram illustrating a method of displaying an application according to an exemplary embodiment.
FIG. 1C is a scene diagram illustrating another method of displaying an application according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating another display method of an application program according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating another display method of an application program according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating another display method of an application program according to an exemplary embodiment.
Fig. 5A is a flowchart illustrating another display method of an application according to an exemplary embodiment.
Fig. 5B is a scene diagram illustrating another display method of an application according to an exemplary embodiment.
Fig. 6 is a block diagram of a display device of an application program according to an exemplary embodiment.
Fig. 7 is a block diagram of a display device of another application program according to an exemplary embodiment.
Fig. 8 is a block diagram of a display device of another application program according to an exemplary embodiment.
Fig. 9 is a block diagram of a display device of another application program according to an exemplary embodiment.
Fig. 10 is a block diagram of a display device of another application program according to an exemplary embodiment.
Fig. 11 is a block diagram of a display device of another application program according to an exemplary embodiment.
Fig. 12 is a block diagram of a display device of another application program according to an exemplary embodiment.
Fig. 13 is a block diagram illustrating a display device suitable for an application according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
Fig. 1A is a flowchart illustrating a display method of an application according to an exemplary embodiment, fig. 1B is a scene diagram illustrating a display method of an application according to an exemplary embodiment, and fig. 1C is a scene diagram illustrating a display method of another application according to an exemplary embodiment; the display method of the application program can be applied to a terminal, as shown in fig. 1A, and the display method of the application program comprises the following steps 101-102:
In step 101, when a setting operation for an application icon is detected, coordinate information of the application icon on the screen is acquired.
In one embodiment, icons of respective apps (applications) installed are displayed on a screen of the terminal.
In one embodiment, the user may perform a long press operation on the icon, so that the App may be deleted or dragged into the folder by the long press operation. In the dragging process, the display position of the App icon on the screen changes, and the terminal can acquire coordinate information of the App on the screen.
In step 102, when the coordinate information meets the setting condition, an application corresponding to the application icon is opened and displayed in the set multi-window mode.
In one embodiment, since the App icon occupies a certain area in the screen, its coordinate information includes the coordinate information of each point.
In an embodiment, when the coordinate information of any point on the App icon belongs to the set coordinate range, it may be determined that the coordinate information meets the set condition.
In an embodiment, when the coordinate information of the center point on the App icon belongs to the set coordinate range, it may be determined that the coordinate information meets the set condition.
In an embodiment, when the coordinate information of the set number of points on the App icon belongs to the set coordinate range, it may be determined that the coordinate information meets the set condition.
Wherein, the setting coordinate range can be displayed on the screen in the form of an icon, thereby facilitating the user to recognize the setting coordinate range and the user to operate.
In an embodiment, the multi-window mode, that is, the multi-window mode in the related art, may include a split-screen mode and a free mode, wherein the split-screen mode refers to a mode of two apps displaying on the same screen, and the free mode refers to a mode of more than two apps displaying on the same screen.
In an exemplary scenario, as shown in fig. 1B, an example of a setting operation for an App icon "WeChat" is described, and in the scenario shown in fig. 1B, a smart phone as a terminal is included, and a setting icon for entering a multi-window mode is provided on the smart phone.
When the intelligent mobile phone detects the touch operation aiming at the micro-letter icon, the intelligent mobile phone counts the touch time length of the touch operation, when the touch time length exceeds the set time length, the intelligent mobile phone collects the coordinate information of the micro-letter icon on the screen, compares the collected coordinate information of the micro-letter icon with the coordinate information of the set icon, and if the coordinate information of the micro-letter icon is overlapped with the coordinate information of the set icon, opens and displays the micro-letter in a set multi-window mode, as shown in fig. 1C.
The method provided by the embodiment of the disclosure provides a more convenient way for opening and displaying the App in a multi-window mode, solves the problem that in the related art, multiple steps are needed and multiple times of switching among multiple pages are needed to realize App multi-window display, simplifies the operation of a user, and optimizes the user experience.
For specific how to display the application, please refer to the following examples.
The following describes a technical scheme provided by the embodiments of the present disclosure in specific embodiments.
FIG. 2 is a flowchart illustrating another method of displaying an application according to an exemplary embodiment; the present embodiment uses the above method provided by the embodiment of the present disclosure, taking how to determine that the coordinate information meets the setting condition as an example, and describes with reference to fig. 1B, as shown in fig. 2, including the following steps:
in step 201, a pre-stored set coordinate range is read.
In an embodiment, the set coordinate range may be identified in the form of a set icon on a screen of the terminal, and the set coordinate range may be stored in the terminal.
In step 202, the coordinate information of each point of the application icon is compared with the set coordinate range.
In an embodiment, after the user performs long-press operation on the App icon to be displayed in multiple windows, the App icon is dragged in the direction of the set icon, and in the dragging process, the terminal can collect the coordinate information of the App icon in real time and compare the coordinate information of each point on the App icon with the set coordinate range.
In step 203, when the coordinate information of any point of the application icon falls within the set coordinate range, it is determined that the coordinate information belongs to the set coordinate range.
In the embodiment of the disclosure, when the coordinate information of any point on the App icon falls into the set coordinate range, it may be determined that the coordinate information belongs to the set coordinate range.
In order to avoid the erroneous operation, when the coordinate information of the set number of points on the App coordinates falls within the set coordinate range, it may be determined that the coordinate information belongs to the set coordinate range.
In an exemplary scenario, as shown in fig. 1B, the "WeChat" icon coincides with the set icon, and if the number of points at the overlapping portion is not less than the set number, it may be confirmed that the coordinate information of the "WeChat" icon belongs to the set coordinate range.
In this embodiment, whether the coordinate information meets the set condition is determined according to whether the coordinate information of any point of the App icon targeted by the set operation falls into the set coordinate range, so that the multi-window mode can be ensured to be started, the complex operation and the back and forth switching of pages are avoided, and the speed and efficiency of entering the multi-window mode are effectively improved.
FIG. 3 is a flowchart illustrating another method of displaying an application according to an exemplary embodiment; the present embodiment uses the above method provided by the embodiment of the present disclosure, taking how to determine that the coordinate information meets the setting condition as an example, and describes with reference to fig. 1B, as shown in fig. 3, including the following steps:
in step 301, a pre-stored set coordinate range is read.
In an embodiment, the set coordinate range may be identified in the form of a set icon on a screen of the terminal, and the set coordinate range may be stored in the terminal.
In step 302, the coordinate information of the center point of the application icon is compared with the set coordinate range.
In an embodiment, after a user performs a long-press operation on an App icon to be displayed in multiple windows, the App icon is dragged in a direction of the set icon, and in the dragging process, the terminal may collect coordinate information of a center point of the App icon in real time, that is, in the embodiment of the present disclosure, the coordinate information of the center point of the App icon is used as the coordinate information of the App icon, and the coordinate information of the center point is compared with the set coordinate range.
In step 303, when the coordinate information of the center point of the application icon falls within the set coordinate range, it is determined that the coordinate information belongs to the set coordinate range.
In the embodiment of the disclosure, when the coordinate information of the center point on the App icon falls within the set coordinate range, it may be determined that the coordinate information belongs to the set coordinate range.
In an exemplary scenario, as shown in fig. 1B, the "WeChat" icon partially coincides with the set icon, and if the coordinate information of the center point of the "WeChat" icon enters the range of the set icon, it may be confirmed that the coordinate information of the "WeChat" icon belongs to the set coordinate range.
In this embodiment, whether the coordinate information meets the set condition is determined according to whether the coordinate information of the center point of the App icon targeted by the set operation falls into the set coordinate range, so that the multi-window mode can be ensured to be started, the complex operation and the back and forth switching of pages are avoided, and the speed and efficiency of entering the multi-window mode are effectively improved.
FIG. 4 is a flowchart illustrating another method of displaying an application according to an exemplary embodiment; the present embodiment uses the above method provided by the embodiment of the present disclosure to exemplarily illustrate how to display an application corresponding to an application icon in a set multi-window mode, and as shown in fig. 4, the display method of the application includes the following steps 401 to 404:
In step 401, a current multi-window mode is determined.
In an embodiment, the multi-window mode includes a first mode and a second mode, and the embodiment of the disclosure is described by taking the first mode as an example, where the first mode is a mode of two apps displaying on the same screen.
In step 402, when the multi-window mode is the first mode, if a window has been created, the application is displayed in a blank window of the created window.
In an embodiment, each time the terminal detects that an App icon is dragged to a setting icon and meets a setting condition, a corresponding window is created for the multi-window mode.
In the first mode, the terminal stores multiple window sizes, window forms, window positions and arrangement modes of two windows, and a user can arbitrarily select to preset the basic parameters of the windows. And in the first mode, if the terminal detects that the window is created, the App icon dragged at present is the second icon in the App icons displayed on the same screen, and then the corresponding application is displayed in a blank window in the created window, so that the split-screen mode display can be realized.
In step 403, if a window has not been created, two windows are created in a preset window size, window shape, window position and arrangement.
If the terminal detects that the window is not created, the current dragged App icon is an application displayed by the first split screen, parameters preset in the terminal can be read, and two windows are created according to the preset parameters.
In step 404, the application is displayed in one of the windows, and the first mode is a mode in which two applications are displayed on screen.
In one embodiment, the App may be displayed optionally with a window.
In an exemplary scenario, in a first mode, when it is detected that a window has not been created, two windows are created with preset parameters, and a "WeChat" is displayed in either window.
In the embodiment, in the first mode, the window is created based on the preset parameters, so that the split screen mode can be ensured to be started, the complex operation and the back and forth switching of pages are avoided, the speed and efficiency of entering the multi-window mode are effectively improved, and the user experience is optimized.
FIG. 5A is a flowchart illustrating another method of displaying an application according to an exemplary embodiment; the present embodiment uses the above method provided by the embodiment of the present disclosure to take how to display an application corresponding to an application icon in a set multi-window mode, and make an exemplary description with reference to fig. 5B, where, as shown in fig. 5A, the method for displaying an application includes the following steps 501-503:
In step 501, a current multi-window mode is determined.
In an embodiment, the multi-window mode includes a first mode and a second mode, and the second mode is taken as an example for explanation of the embodiment of the disclosure, and the second mode is a mode of displaying more than two apps on the same screen.
In step 502, when the multi-window mode is the second mode, a first window is created with window parameters corresponding to the number 1 for a first application program displayed in the second mode.
In an embodiment, each time the terminal detects that an App icon is dragged to a setting icon and meets a setting condition, a corresponding window is created for the multi-window mode.
In the second mode, the terminal stores a corresponding relation table of window parameters and window numbers. That is, the window size, window form, window position, and arrangement of the windows are determined based on the number of windows.
And, with the increase of apps joining in the multi-window mode, the terminal can adjust the parameters of the created window in time.
In step 503, for an nth application program displayed in the second mode, window parameters of an nth window are determined based on window parameters corresponding to the number n.
For the nth App, the terminal reads the correspondence table and determines parameters of the windows corresponding to the number n, namely window shape, window size, window position and arrangement mode.
In step 504, an nth window is created based on the determined window parameters and the created (n-1) windows are adjusted.
In step 505, the nth application program is displayed in the nth window, and the second mode is a mode in which two or more application programs are displayed on screen.
In an exemplary scenario, as shown in fig. 5B, in the second mode, for the first App "WeChat" entering the second mode, the terminal reads the pre-stored correspondence table, creates a first window in a preset window size, window shape, window position and arrangement manner, and displays the "WeChat" in the first window; for the second App 'dried shrimp music' entering the second mode, the terminal reads a pre-stored corresponding relation table, creates a second window according to the window size, window shape, window position and arrangement mode corresponding to the number 2, adjusts the first window and displays 'dried shrimp music' in the second window; and for the third App 'know what' entering the second mode, the terminal reads the prestored corresponding relation table, creates a third window according to the window size, window shape, window position and arrangement mode corresponding to the number 3, adjusts the first window and the second window, and displays the 'know what' in the second window.
In this embodiment, in the second mode, the windows are created based on the corresponding relationship between the preset number of windows and the window parameters, so that the free mode can be ensured to be opened, the complex operation and the back and forth switching of pages are avoided, the speed and the efficiency of entering the multi-window mode are effectively improved, and the user experience is optimized.
In an embodiment, when the terminal detects an operation for the created window, the position and/or size of the window is adjusted based on the operation mode of the operation. For example, when a long press and drag operation on a window angle is detected, the size of the window is enlarged or reduced based on the direction of the drag operation; for another example, when a long press and drag operation to the center position of the window is detected, the position of the window is moved based on the direction of the drag operation.
Fig. 6 is a block diagram of a display device of an application program according to an exemplary embodiment, and as shown in fig. 6, the display device of the application program includes: an acquisition module 610 and a display module 620.
The acquisition module 610 is configured to acquire coordinate information of an application icon on a screen when a setting operation for the application icon is detected;
and the display module 620 is configured to open and display the application program corresponding to the application program icon in a set multi-window mode when the coordinate information acquired by the acquisition module 610 meets the set condition.
Fig. 7 is a block diagram of a display device of another application program according to an exemplary embodiment, as shown in fig. 7, the acquisition module 610 may include: a detection sub-module 611, a statistics sub-module 612 and a first determination sub-module 613.
A detection sub-module 611 configured to detect a touch operation for an application icon;
a statistics sub-module 612 configured to count a touch duration of the touch operation detected by the detection sub-module 611;
the first determining sub-module 613 is configured to determine that a setting operation for the application icon is detected when the touch duration counted by the counting sub-module 612 exceeds the setting duration.
Fig. 8 is a block diagram of a display device of another application program according to an exemplary embodiment, as shown in fig. 8, the display module 620 may include: a first reading sub-module 621, a first comparison sub-module 622 and a second determination sub-module 623.
A first reading sub-module 621 configured to read a pre-stored set coordinate range;
a first comparing sub-module 622 configured to compare the coordinate information of each point of the application icon read by the first reading sub-module 621 with a set coordinate range;
The second determining sub-module 623 is configured to determine that the coordinate information belongs to the set coordinate range when the coordinate information of the points, for which the comparison result of the first comparing sub-module 622 is the set number of the application icons, falls within the set coordinate range.
Fig. 9 is a block diagram of a display device of another application program according to an exemplary embodiment, as shown in fig. 9, the display module 620 may include: a second read sub-module 624, a second alignment sub-module 625, and a third determination sub-module 626.
A second reading sub-module 624 configured to read a pre-stored set coordinate range;
a second comparing sub-module 625 configured to compare the coordinate information of the center point of the application icon read by the second reading sub-module 624 with the set coordinate range;
the third determining sub-module 626 is configured to determine that the coordinate information belongs to a set coordinate range when the comparison result of the second comparing sub-module 625 is that the coordinate information of the center point of the application icon falls into the set coordinate range.
Fig. 10 is a block diagram of a display device of another application program according to an exemplary embodiment, as shown in fig. 10, the display module 620 may include: a fourth determination sub-module 627, a first display sub-module 628, a first creation sub-module 629, and a second display sub-module 6210.
A fourth determination submodule 627 configured to determine a current multi-window mode;
a first display sub-module 628 configured to display the application program in a blank window of the created window if the window has been created when the multi-window mode determined by the fourth determination sub-module 627 is the first mode;
a first creating sub-module 629 configured to create two windows in a preset window size, window shape, window position and arrangement if a window has not been created;
a second display sub-module 6210 configured to display the application program in one of the windows created by the first creation sub-module 629, the first mode being a mode in which two application programs are displayed on screen.
Fig. 11 is a block diagram of a display device of another application program according to an exemplary embodiment, as shown in fig. 11, the display module 620 may include: the fifth determination submodule 6211, the second creation submodule 6212, the third display submodule 6213, the sixth determination submodule 6214, the third creation submodule 6215 and the fourth display submodule 6216.
A fifth determination submodule 6211 configured to determine a current multi-window mode;
A second creating sub-module 6212 configured to create, when the multi-window mode determined by the fifth determining sub-module 6211 is the second mode, a first window with window parameters corresponding to the number 1 for a first application program displayed in the second mode;
a third display sub-module 6213 configured to display the first application in the first window created by the second creation sub-module 6212;
a sixth determining submodule 6214 configured to determine, for an nth application program displayed in the second mode, window parameters of an nth window based on window parameters corresponding to the number n, the window parameters including a window shape, a window size, a window position, and an arrangement, wherein n is a natural number greater than 1;
a third creation sub-module 6215 configured to create an nth window based on the window parameters determined by the sixth determination sub-module 6214 and adjust the created (n-1) windows;
the fourth display sub-module 6216 is configured to display the nth application program in the nth window created by the third creation sub-module 6215, and the second mode is a mode of on-screen display of two or more application programs.
Fig. 12 is a block diagram of a display device of another application program according to an exemplary embodiment, as shown in fig. 12, the display module 620 may include: the submodule 6217 is adjusted.
An adjustment sub-module 6217 configured to, upon detecting an operation for a created window, adjust the position and/or size of the window based on the manner of operation of the operation.
Wherein the set coordinate range is displayed on the screen in the form of a set icon.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 13 is a block diagram illustrating a display device suitable for an application according to an exemplary embodiment. For example, apparatus 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, or the like.
Referring to fig. 13, apparatus 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, and a communication component 1316.
The processing component 1302 generally controls overall operation of the apparatus 1300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1302 can include one or more modules that facilitate interactions between the processing component 1302 and other components. For example, processing component 1302 can include multimedia modules to facilitate interactions between multimedia component 1308 and processing component 1302.
The memory 1304 is configured to store various types of data to support operations at the device 1300. Examples of such data include instructions for any application or method operating on the apparatus 1300, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1304 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 1306 provides power to the various components of the device 1300. The power components 1306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 1300.
The multimedia component 1308 includes a screen between the device 1300 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1300 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 1314 includes one or more sensors for providing status assessment of various aspects of the apparatus 1300. For example, the sensor assembly 1314 may detect the on/off state of the device 1300, the relative positioning of the components, such as the display and keypad of the apparatus 1300, the sensor assembly 1314 may also detect a change in position of the apparatus 1300 or one of the components of the apparatus 1300, the presence or absence of user contact with the apparatus 1300, the orientation or acceleration/deceleration of the apparatus 1300, and a change in temperature of the apparatus 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communication between the apparatus 1300 and other devices, either wired or wireless. The apparatus 1300 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication part 1316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as memory 1304, including instructions executable by processor 1320 of apparatus 1300 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Wherein the processor 1320 is configured to:
when a setting operation for an application icon is detected, acquiring coordinate information of the application icon on a screen;
and when the coordinate information accords with a setting condition, opening and displaying the application program corresponding to the application program icon in a set multi-window mode.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (24)

1. A method for displaying an application program, the method comprising:
When a setting operation for an application icon is detected, acquiring coordinate information of the application icon on a screen;
and when the coordinate information accords with a setting condition, opening and displaying the application program corresponding to the application program icon in a set split screen mode or a free mode.
2. The method of claim 1, wherein detecting a set operation for an application icon comprises:
detecting a touch operation for an application icon;
counting the touch duration of the touch operation;
and when the touch duration exceeds the set duration, determining that the setting operation for the application icon is detected.
3. The method according to claim 1, wherein the coordinate information meets a setting condition, comprising:
reading a pre-stored set coordinate range;
comparing the coordinate information of each point of the application icon with the set coordinate range;
and when the coordinate information of the set number of points of the application icon falls into the set coordinate range, determining that the coordinate information belongs to the set coordinate range.
4. The method according to claim 1, wherein the coordinate information meets a setting condition, comprising:
Reading a pre-stored set coordinate range;
comparing the coordinate information of the center point of the application icon with the set coordinate range;
and when the coordinate information of the center point of the application icon falls into the set coordinate range, determining that the coordinate information belongs to the set coordinate range.
5. The method according to claim 1, wherein the setting condition is that coordinate information of at least one point of the application icon belongs to a set coordinate range, and the set coordinate range is displayed on a screen in a manner of a set icon.
6. The method of claim 5, wherein the settings icons include a first settings icon and a second settings icon; the first setting icon is used for entering a split screen mode, and the second setting icon is used for entering a free mode.
7. The method of claim 5, wherein detecting a set operation for an application icon comprises:
and dragging the application program icon to the direction of the setting icon after the long-press operation of the application program icon is detected.
8. The method according to claim 1, wherein the opening the application corresponding to the application icon in the set split screen mode includes:
If a window is created, displaying the application program in a blank window of the created window;
if the window is not created, two windows are created in a preset window size, window shape, window position and arrangement mode;
and displaying the application program in one window, wherein the split screen mode is a mode of displaying two application programs on the same screen.
9. The method according to claim 1, wherein the opening the application corresponding to the application icon in the set free mode includes:
the free mode is a mode of on-screen display of more than two application programs;
creating a first window with window parameters corresponding to the number 1 for a first application program displayed in the free mode;
the first application is displayed in the first window.
10. The method of claim 9, wherein the displaying the application corresponding to the application icon in the set free mode is further comprising:
for an nth application program displayed in the free mode, determining window parameters of an nth window based on window parameters corresponding to the number n, wherein the window parameters comprise window shapes, window sizes, window positions and arrangement modes, and n is a natural number greater than 1;
Creating an nth window based on the determined window parameters, and adjusting the created (n-1) th window;
and displaying the nth application program in the nth window.
11. The method according to claim 8 or 9, wherein the displaying the application corresponding to the application icon in the set split screen mode or the free mode is opened, further comprising:
upon detecting an operation for a created window, the position and/or size of the window is adjusted based on the manner of operation of the operation.
12. A display device for an application program, the device comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is configured to acquire coordinate information of an application icon on a screen when a setting operation for the application icon is detected;
and the display module is configured to open and display the application program corresponding to the application program icon in a set split screen mode or a free mode when the coordinate information meets the setting condition.
13. The apparatus of claim 12, wherein the acquisition module comprises:
a detection sub-module configured to detect a touch operation for an application icon;
a statistics sub-module configured to count a touch duration of the touch operation;
And the first determining submodule is configured to determine that the setting operation for the application icon is detected when the touch duration exceeds a set duration.
14. The apparatus of claim 12, wherein the display module comprises:
a first reading sub-module configured to read a pre-stored set coordinate range;
the first comparison sub-module is configured to compare the coordinate information of each point of the application icon with the set coordinate range;
and the second determining submodule is configured to determine that the coordinate information belongs to the set coordinate range when the coordinate information of the set number of points of the application icon falls into the set coordinate range.
15. The apparatus of claim 12, wherein the display module comprises:
the second reading submodule is configured to read a prestored set coordinate range;
the second comparison sub-module is configured to compare the coordinate information of the center point of the application icon with the set coordinate range;
and the third determining submodule is configured to determine that the coordinate information belongs to the set coordinate range when the coordinate information of the center point of the application icon falls into the set coordinate range.
16. The apparatus according to claim 12, wherein the setting condition is that coordinate information of at least one point of the application icon belongs to a set coordinate range, the set coordinate range being displayed on a screen in the form of a set icon.
17. The apparatus of claim 16, wherein the settings icons include a first settings icon and a second settings icon; the first setting icon is used for entering a split screen mode, and the second setting icon is used for entering a free mode.
18. The apparatus of claim 16, wherein the detecting a set operation for an application icon comprises:
and dragging the application program icon to the direction of the setting icon after the long-press operation of the application program icon is detected.
19. The apparatus of claim 12, wherein the display module comprises:
a fourth determination submodule configured to determine a current split screen mode;
a first display sub-module configured to display the application in a blank window of a created window if the window has been created;
the first creation sub-module is configured to create two windows in a preset window size, window shape, window position and arrangement mode if the windows are not yet created;
And the second display sub-module is configured to display the application program in one of the windows, and the first mode is a mode of on-screen display of two application programs.
20. The apparatus of claim 12, wherein the display module comprises:
a fifth determining submodule configured to determine a current free mode, the free mode being a mode in which more than two applications are displayed on screen;
a second creation sub-module configured to create a first window with window parameters corresponding to the number 1 for a first application program displayed in the free mode;
and a third display sub-module configured to display the first application in the first window.
21. The apparatus of claim 20, wherein the displaying the application corresponding to the application icon in the set free mode is further comprising:
for an nth application program displayed in the free mode, determining window parameters of an nth window based on window parameters corresponding to the number n, wherein the window parameters comprise window shapes, window sizes, window positions and arrangement modes, and n is a natural number greater than 1;
Creating an nth window based on the determined window parameters, and adjusting the created (n-1) th window;
and displaying the nth application program in the nth window.
22. The apparatus of claim 19 or 20, wherein the display module comprises:
an adjustment sub-module configured to adjust, upon detecting an operation for a created window, a position and/or a size of the window based on an operational manner of the operation.
23. A terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the steps of the method of any one of claims 1 to 11 when executing the instructions.
24. A computer-readable storage medium, on which a computer program (instruction) is stored, characterized in that the program (instruction) when executed by a processor implements the steps of the method according to any one of claims 1 to 11.
CN202310936309.0A 2017-04-17 2017-04-17 Application program display method and device and terminal Pending CN116954540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310936309.0A CN116954540A (en) 2017-04-17 2017-04-17 Application program display method and device and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310936309.0A CN116954540A (en) 2017-04-17 2017-04-17 Application program display method and device and terminal
CN201710249048.XA CN107122149A (en) 2017-04-17 2017-04-17 Display methods, device and the terminal of application program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201710249048.XA Division CN107122149A (en) 2017-04-17 2017-04-17 Display methods, device and the terminal of application program

Publications (1)

Publication Number Publication Date
CN116954540A true CN116954540A (en) 2023-10-27

Family

ID=59724686

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201710249048.XA Pending CN107122149A (en) 2017-04-17 2017-04-17 Display methods, device and the terminal of application program
CN202310936309.0A Pending CN116954540A (en) 2017-04-17 2017-04-17 Application program display method and device and terminal

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201710249048.XA Pending CN107122149A (en) 2017-04-17 2017-04-17 Display methods, device and the terminal of application program

Country Status (1)

Country Link
CN (2) CN107122149A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109298907B (en) * 2018-08-23 2021-03-26 Oppo广东移动通信有限公司 Application program display method, application program display device and terminal
CN109271074A (en) 2018-09-05 2019-01-25 Oppo广东移动通信有限公司 A kind of window regulation method, window adjusting means and mobile terminal
CN111596845B (en) * 2020-04-30 2022-02-22 维沃移动通信有限公司 Display control method and device and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455249B (en) * 2012-05-30 2018-12-18 腾讯科技(深圳)有限公司 The method and apparatus of split screen switching
KR20150064523A (en) * 2013-12-03 2015-06-11 엘지전자 주식회사 Electronic device and control method thereof
CN103870120B (en) * 2014-02-24 2017-12-26 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106293315B (en) * 2015-06-03 2020-05-05 腾讯科技(深圳)有限公司 Method and device for displaying floating window
CN105068711A (en) * 2015-08-06 2015-11-18 上海斐讯数据通信技术有限公司 Multi-window application display method and equipment
CN105975428A (en) * 2016-04-28 2016-09-28 北京小米移动软件有限公司 Method and device for displaying character and terminal
CN106155701B (en) * 2016-07-29 2019-06-28 北京小米移动软件有限公司 Icon display method and device

Also Published As

Publication number Publication date
CN107122149A (en) 2017-09-01

Similar Documents

Publication Publication Date Title
US9819856B2 (en) Shooting parameter adjustment method and device
US11334225B2 (en) Application icon moving method and apparatus, terminal and storage medium
CN105159640B (en) Display interface rotating method and device and mobile terminal
EP3125531A1 (en) Control method and device for adjusting shooting function
CN107102772B (en) Touch control method and device
CN107992257B (en) Screen splitting method and device
CN105487805B (en) Object operation method and device
CN105912258B (en) Operation processing method and device
CN109324846B (en) Application display method and device and storage medium
CN104317402B (en) Description information display method and device and electronic equipment
CN106354504B (en) Message display method and device
EP3232301B1 (en) Mobile terminal and virtual key processing method
CN107562349B (en) Method and device for executing processing
US20170153793A1 (en) Method and apparatus for application icon management
CN110968364B (en) Method and device for adding shortcut plugins and intelligent device
EP3322227A1 (en) Methods and apparatuses for controlling wireless connection, computer program and recording medium
CN105389083B (en) Large font implementation method and device and intelligent terminal
CN106775210B (en) Wallpaper changing method and device
CN116954540A (en) Application program display method and device and terminal
CN109783171B (en) Desktop plug-in switching method and device and storage medium
CN107491238B (en) Display method and device of push information
CN106940653B (en) Method, apparatus and computer-readable storage medium for controlling application program
CN108650412B (en) Display method, display device and computer readable storage medium
CN107832112B (en) Wallpaper setting method and device
CN106919302B (en) Operation control method and device of mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination