CN117616393A - Window adjusting method, device, terminal and storage medium - Google Patents

Window adjusting method, device, terminal and storage medium Download PDF

Info

Publication number
CN117616393A
CN117616393A CN202280004502.4A CN202280004502A CN117616393A CN 117616393 A CN117616393 A CN 117616393A CN 202280004502 A CN202280004502 A CN 202280004502A CN 117616393 A CN117616393 A CN 117616393A
Authority
CN
China
Prior art keywords
split
screen
window
windows
touch operation
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
CN202280004502.4A
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
Publication of CN117616393A publication Critical patent/CN117616393A/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/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
    • 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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

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)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A window adjusting method, a device, a terminal (800) and a storage medium, wherein the window adjusting method comprises the following steps: receiving a first touch operation, wherein a first control is arranged above at least a first split screen window in the two split screen windows, and the first touch operation acts on the first control to trigger the adjustment of the sizes of the two split screen windows (S120); determining a window adjustment parameter according to the first touch operation (S130); and transmitting the window adjustment parameters to the corresponding movable interfaces of the two split-screen windows, and adjusting the sizes of the two split-screen windows (S140). When the terminal (800) respectively displays two pages of the same preset application through the two split-screen windows, a user can adjust the sizes of the two split-screen windows through a first touch operation acting on the first control, so that the adjustment of the sizes of the two split-screen windows is realized, convenience is provided for the user, different requirements of the user are met, and the use experience of the user is further improved.

Description

Window adjusting method, device, terminal and storage medium Technical Field
The disclosure relates to the field of terminals, and in particular relates to a window adjustment method, a device, a terminal and a storage medium.
Background
Along with the continuous development and progress of communication technology, the requirements of users on the terminal are higher and higher, the existing terminal mostly realizes a split screen function, and the split screen aims to divide a display screen of the terminal into two split screen windows, and each split screen window corresponds to one active interface and is used for displaying the active interface.
In the related art, in order to make the use experience of the large-screen device better, the advantage of the large screen of the large-screen device can be better exerted, on a tablet and a folding-screen mobile phone, two active interfaces (activities) of a plurality of devices supporting a single application in a horizontal screen state can realize split-screen display, for example, the tablet can support two interfaces of a certain application to be displayed on the screen simultaneously in the horizontal screen state, that is, different active interfaces of the single application are respectively displayed by different split-screen windows. However, the size of each split screen window is fixed currently, the size of the split screen window cannot be adjusted, a user cannot adjust to enlarge one of a plurality of pages expected to be displayed by the user so as to display more contents, and the user experience is poor.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a window adjustment method, device, terminal and storage medium.
According to a first aspect of embodiments of the present disclosure, there is provided a window adjustment method, applied to a terminal, the window adjustment method including:
displaying two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
receiving a first touch operation, wherein a first control is arranged above at least a first split-screen window in the two split-screen windows, and the first touch operation acts on the first control to trigger adjustment of the sizes of the two split-screen windows;
determining window adjustment parameters according to the first touch operation;
and transmitting the window adjustment parameters to the active interfaces corresponding to the two split-screen windows respectively, and adjusting the sizes of the two split-screen windows.
Optionally, before the display screen of the terminal displays two split-screen windows, the window adjustment method further includes:
and receiving a split screen operation instruction.
Optionally, the receiving the first touch operation includes:
a first drag operation is received for the first control.
Optionally, the determining, according to the first touch operation, a window adjustment parameter includes:
and acquiring the distance and/or the coordinates of the first dragging operation, and calculating window adjustment parameters of the two split-screen windows after adjustment according to the distance and/or the coordinates of the first dragging operation.
Optionally, calculating the window adjustment parameters after the two split-screen windows are adjusted according to the distance and/or the coordinates of the first dragging operation, including:
calculating whether the distance of the first dragging operation exceeds a first preset distance, setting the width of the first split screen window to be increased or decreased to a first preset width according to the direction of the first dragging operation, and obtaining a second preset width of a second split screen window according to the first preset width;
and/or the number of the groups of groups,
acquiring a first coordinate after the first dragging operation is completed, setting the width of the first split screen window to be increased or reduced to a third preset width based on the first coordinate, and obtaining a fourth preset width of the second split screen window according to the third preset width;
the second split screen window is another split screen window except the first split screen window in the two split screen windows.
Optionally, when the first preset width or the third preset width is 0, the adjusting the sizes of the two split-screen windows includes:
and adjusting the second split screen window to be displayed in a full screen mode.
Optionally, the content displayed by the second split screen window is a previous or next page of the content displayed by the first split screen window.
Optionally, after the display screen of the terminal displays two split-screen windows, the window adjustment method further includes:
receiving a second touch operation; the second touch operation is used as an action on the first control to trigger adjustment of positions of the two split-screen windows;
and adjusting the positions of the two split screen windows according to the second touch operation.
Optionally, the receiving the second touch operation includes:
and receiving clicking operation for the first control, setting the first control to a draggable state, and receiving second dragging operation for the first control.
According to a second aspect of embodiments of the present disclosure, there is provided a window adjusting apparatus applied to a terminal, the window adjusting apparatus including:
the display module is configured to display two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
The receiving module is configured to receive a first touch operation, wherein a first control is arranged above at least a first split-screen window in the two split-screen windows, and the first touch operation acts on the first control to trigger adjustment of the sizes of the two split-screen windows;
the determining module is configured to determine a window adjustment parameter according to the first touch operation;
the adjusting module is configured to transmit the window adjusting parameters to the active interfaces corresponding to the two split-screen windows respectively, and adjust the sizes of the two split-screen windows.
Optionally, the receiving module is configured to;
and before the display screen of the terminal displays the two split screen windows, receiving a split screen operation instruction.
Optionally, the receiving module is configured to:
a first drag operation is received for the first control.
Optionally, the determining module is configured to:
and acquiring the distance and/or the coordinates of the first dragging operation, and calculating window adjustment parameters of the two split-screen windows after adjustment according to the distance and/or the coordinates of the first dragging operation.
Optionally, the determining module is configured to:
calculating whether the distance of the first dragging operation exceeds a first preset distance, setting the width of the first split screen window to be increased or decreased to a first preset width according to the direction of the first dragging operation, and obtaining a second preset width of a second split screen window according to the first preset width;
And/or the number of the groups of groups,
acquiring a first coordinate after the first dragging operation is completed, setting the width of the first split screen window to be increased or reduced to a third preset width based on the first coordinate, and obtaining a fourth preset width of the second split screen window according to the third preset width;
the second split screen window is another split screen window except the first split screen window in the two split screen windows.
Optionally, the adjustment module is configured to:
and when the first preset width or the third preset width is 0, adjusting the second split screen window to be displayed in a full screen mode.
Optionally, the content displayed by the second split screen window is a previous or next page of the content displayed by the first split screen window.
Alternatively, the process may be carried out in a single-stage,
the receiving module is configured to receive a second touch operation after the two split screen windows are displayed on the display screen of the terminal; the second touch operation is used as an action on the first control to trigger adjustment of positions of the two split-screen windows;
the adjusting module is configured to adjust the positions of the two split-screen windows according to the second touch operation.
Optionally, the receiving module is configured to:
and receiving clicking operation for the first control, setting the first control to a draggable state, and receiving second dragging operation for the first control.
According to a third aspect of embodiments of the present disclosure, there is provided a terminal comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to:
displaying two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
receiving a first touch operation, wherein a first control is arranged above at least a first split-screen window in the two split-screen windows, and the first touch operation acts on the first control to trigger adjustment of the sizes of the two split-screen windows;
determining window adjustment parameters according to the first touch operation;
and transmitting the window adjustment parameters to the active interfaces corresponding to the two split-screen windows respectively, and adjusting the sizes of the two split-screen windows.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, which when executed by a processor of a terminal, causes the terminal to perform a window adjustment method comprising:
displaying two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
receiving a first touch operation, wherein a first control is arranged above at least a first split-screen window in the two split-screen windows, and the first touch operation acts on the first control to trigger adjustment of the sizes of the two split-screen windows;
determining window adjustment parameters according to the first touch operation;
and transmitting the window adjustment parameters to the active interfaces corresponding to the two split-screen windows respectively, and adjusting the sizes of the two split-screen windows.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: in the method, when the terminal respectively displays two pages of the same preset application through the two split-screen windows, the user can adjust the sizes of the two split-screen windows through the first touch operation acting on the first control, so that the adjustment of the sizes of the two split-screen windows is realized, convenience is provided for the user, different requirements of the user are met, and the use experience of the user is further improved.
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. 1 is a flow chart illustrating a window adjustment method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a window adjustment method according to an exemplary embodiment.
Fig. 3 is a flow chart illustrating a window adjustment method according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating a window adjustment apparatus according to an exemplary embodiment.
Fig. 5 is a block diagram of a terminal 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. 1 is a flow chart illustrating a window adjustment method according to an exemplary embodiment. The window adjusting method is used in the terminal. Referring to fig. 1, the window adjusting method may include the following steps.
Step S110, two split-screen windows are displayed on a display screen of a terminal; the two split screen windows are in one-to-one correspondence with two movable interfaces of the same preset application, and the interfaces of the preset application loaded by the two movable interfaces are overlapped or not overlapped;
step S120, receiving a first touch operation, wherein a first control is arranged above at least a first split-screen window of the two split-screen windows, and the first touch operation acts on the first control to trigger the adjustment of the sizes of the two split-screen windows;
step S130, determining window adjustment parameters according to a first touch operation;
and step 140, transmitting the window adjustment parameters to the corresponding active interfaces of the two split-screen windows, and adjusting the sizes of the two split-screen windows.
In step S110, the active interface is a component of the android system, which is used to load pages of an application program, and is used to implement page management.
The preset application generally refers to an application installed in the terminal and having a split screen display function, that is, different pages of the preset application may be loaded by different active interfaces and displayed by different split screen windows respectively. The preset application may be installed before the terminal leaves the factory, or may be installed after the terminal leaves the factory, which is not limited. In addition, after the installation of the preset application is completed, the user may perform operations such as uninstalling and updating, which is not limited.
The content displayed by the second split-screen window may be a previous level page, a next level page or another page of the same application without a page hierarchy relationship of the content displayed by the first split-screen window, which is not limited.
For example, when a user opens a two-level page using a preset application, a first level page may be loaded by a first active interface and a second level page may be loaded by a second active interface. The first active interface corresponds to a first split-screen main window, and the second active interface corresponds to a second split-screen window, namely, the first split-screen window displays a first-level page, and the second split-screen window displays a second-level page. Therefore, the two-stage pages of the same preset application are displayed on one display screen, and the user requirements are better met.
It should be noted that, in the present disclosure, before the display screen of the terminal displays two split-screen windows, the terminal may receive a split-screen operation instruction. After receiving the split screen operation instruction, the terminal can display two split screen windows on a display screen of the terminal based on the split screen operation instruction.
For example, when the terminal uses a preset application in a horizontal screen state, if the preset application is an application with support for split screen display, when a user can click any link on a single window, the terminal can receive the click type touch operation, so that the terminal can receive a split screen operation instruction, and can start the split screen operation on the right side of the single window to change into a split screen display state. That is, the first split-screen window on the left side continues to display the original page, and the second split-screen window on the right side displays the newly opened page, so as to provide convenience for the user.
In step S120, after the two split-screen windows are displayed on the display screen, a first control may be set above the first split-screen window, and the user may trigger adjustment of the two split-screen windows by inputting a first touch operation acting on the first control to the terminal. In this disclosure, the first control may be disposed above the second split screen window, which is not limited thereto.
When the first split-screen window and the second split-screen window are both provided with the first control, the user can input the first touch operation of the first control acting on the first split-screen window to the terminal, and can also input the first touch operation of the first control acting on the second split-screen window to the terminal, which is not limited.
The first control may be transparent or non-transparent, which is not limited. When the first control is set to be non-transparent, the user can know the position of the first control more conveniently. In addition, the first control may be in a long strip shape or a round shape, or may be in other shapes, which is not limited.
In this step, the default state of the first control may be a draggable state, and the first touch operation may be a first drag operation for the first control, or may be other touch operations, which is not limited. The first touch operation is used for triggering the adjustment of the sizes of the two split-screen windows.
In addition, in the present disclosure, the terminal may also receive a second touch operation, where the second touch operation may include a click operation for the first control and a drag operation for the first control. The default state of the first control may be a state that is not draggable, after the terminal receives the clicking operation for the first control, the first control may be set to a draggable state, and then the terminal receives the second dragging operation for the first control, so as to trigger adjustment of positions of the two split screen windows.
It should be noted that, in the present disclosure, the terminal may also receive other touch operations for the first control to trigger a corresponding effect, which is not limited.
In step S130, after receiving the first touch operation, the terminal may determine a window adjustment parameter according to the first touch operation, so as to correspondingly adjust the two split-screen windows based on the window adjustment parameter.
In step S140, the active interface is used to manage the corresponding split screen window. After the terminal determines the window adjustment parameters, the window adjustment parameters can be transmitted to the active interfaces corresponding to the two split-screen windows respectively. That is, the terminal may send the window adjustment parameter of the first split-screen window to the first active interface corresponding to the first split-screen window, so as to implement adjustment of the first split-screen window. The terminal can send the window adjustment parameters of the second split screen window to a second active interface corresponding to the second split screen window so as to realize adjustment of the second split screen window.
In the method, when the terminal respectively displays two pages of the same preset application through the two split-screen windows, a user can adjust the sizes of the two split-screen windows through a first touch operation acting on the first control, so that the adjustment of the sizes of the two split-screen windows is realized, convenience is provided for the user, different requirements of the user are met, and the use experience of the user is further improved.
In one exemplary embodiment, a window adjustment method is provided and is applied to a terminal. Referring to fig. 2, in the method, determining a window adjustment parameter according to a first touch operation may include:
step S210, obtaining the distance and/or the coordinates of the first dragging operation, and calculating window adjustment parameters after adjustment of the two split-screen windows according to the distance and/or the coordinates of the first dragging operation.
In this step, the window adjustment parameter may be determined by a distance of the first drag operation. The distance of the first drag operation may be calculated first, and then it may be determined whether the distance exceeds a first preset distance. If the distance of the first dragging operation exceeds the first preset distance, the user is required to adjust the split-screen window, and the width of the first split-screen window can be set to be increased or decreased to the first preset width according to the direction of the first dragging operation. If the direction of the first dragging operation is the direction close to the second split screen window, the width of the first split screen window can be set to be increased to a first preset width. If the direction of the first dragging operation is the direction away from the second split-screen window, the width of the first split-screen window can be set to be reduced to a first preset width.
In addition, when the first split-screen window is positioned at the left side of the display screen, the first split-screen window can be set to be reduced to a first preset width if the direction of the first dragging operation is left dragging; if the direction of the first dragging operation is dragging to the right, the width of the first split-screen window can be set to be increased to a first preset width. Of course, the direction of the first drag operation and the adjustment of the first split-screen window may be set in other corresponding manners, which is not limited.
When the width of the first split-screen window is adjusted to be a first preset width, the width of the second split-screen window can be adjusted to be a second preset width at the same time. Wherein the second preset width is determined according to the first preset width. It can be understood that the width of the display screen is fixed, and after the width of the first split-screen window is determined, the width of the second split-screen window can be calculated from the width of the display screen and the width of the first split-screen window. The sum of the second preset width and the first preset width may be the width of the display area of the display screen.
It should be noted that, when the first preset width is 0, the second preset width may be the same as the width of the display area of the display screen, and in this case, the second split-screen window may be adjusted to be displayed in full screen, that is, the display screen displays only one window.
The first preset distance, the first preset width and the second preset width are similar in arrangement mode. Taking the first preset distance as an example, the first preset distance may be set before the terminal leaves the factory, or may be set after the terminal leaves the factory, which is not limited. In addition, after the first preset distance is set, the first preset distance can be modified in the later period so as to better meet the requirements of users.
In some embodiments of the present invention, in some embodiments,
the width dimension of the display area of the display screen is a, the first split-screen window and the second split-screen window respectively occupy half of the display screen, namely the width dimension of the first split-screen window and the second split-screen window is 0.5a, wherein the first split-screen window is positioned at the left side of the second split-screen window. The first preset distance may be b.
In this embodiment, if the terminal receives a first drag operation acting on the first control of the first split-screen window and the drag direction of the first drag operation is dragging to the right, the terminal may set the width of the first split-screen window to increase to a first preset width, where the first preset width may be 0.8a. And, the terminal may set the width of the second split window to a second preset width, the second preset width being 0.2a.
In addition, in this step, the window adjustment parameter may be determined by coordinates of the first drag operation. The first dragging operation may be determined according to the start coordinate and the end coordinate, and then a dragging displacement of the first dragging operation along the arrangement direction of the two split-screen windows may be determined according to the start coordinate and the end coordinate, where the displacement includes a distance and a direction. And then the width of the first split-screen window is set to be increased or reduced to a third preset width based on the displacement. And the second split window may be set to the fourth preset width at the same time. The fourth preset width corresponds to the third preset width, and the sum of the fourth preset width and the third preset width can be the width of the display area of the display screen.
When the third preset width is 0, the fourth preset width may be the same as the width of the display area of the display screen, and in this case, the second split screen window may be adjusted to be displayed in full screen. I.e. the display screen displays a window.
The third preset width and the fourth preset width are arranged in a similar mode. Taking the third preset width as an example, the third preset width may be set before the terminal leaves the factory, or may be set after the terminal leaves the factory, which is not limited. In addition, after the third preset width is set, the third preset width can be modified in the later period so as to better meet the requirements of users.
According to the method, the terminal can adjust the sizes of the first split screen window and the second split screen window through the first dragging operation, the operation is simple, convenience is further provided for a user, different requirements of the user are met, and the use experience of the user is further improved.
In one exemplary embodiment, a window adjustment method is provided and is applied to a terminal. Referring to fig. 3, in the method, after the display screen of the terminal displays two split-screen windows, the method may include:
step S310, receiving a second touch operation; the second touch operation acts on the first control to trigger the adjustment of the positions of the two split-screen windows;
step S320, adjusting the positions of the two split screen windows according to the second touch operation.
In step S310, receiving the second touch operation may include receiving a click operation for the first control, setting the first control to a draggable state, and then receiving a second drag operation for the first control. That is, the user may cause the terminal to receive the second touch operation through the click operation and the second drag operation.
It should be noted that the second touch operation may be in other forms, which is not limited thereto. For example, the second touch operation may be a drag operation for setting a path.
In step S320, after receiving the second touch operation, the terminal may adjust the positions of the two split screen windows. For example, before the terminal receives the second touch operation, the first split screen window is located on the left side, the second split screen window is located on the right side, and after the terminal receives the second touch operation, the first split screen window can be adjusted to the right side, and the second split screen window can be adjusted to the left side.
In some embodiments of the present invention, in some embodiments,
the display screen of the terminal comprises two split screen windows which are respectively marked as a first split screen window and a second split screen window. The first split-screen window is positioned on the left side of the display screen, and the second split-screen window is positioned on the right side of the display screen. The first split screen window is used for displaying the content of a first-level page of the preset application, and the second split screen window is used for displaying the content of a second-level page of the preset application. The top of the first split screen window and the top of the second split screen window are both provided with first controls. The first control appears gray in the default state.
The user can click on the first control of the first split screen window, so that the terminal receives clicking operation on the first control. After the terminal receives the clicking operation, the first control can be controlled to be blue, so that the first control can enter a draggable state. Then, the user may drag the first control so that the terminal receives a second drag operation for the first control. After the terminal receives the second dragging operation, the first split-screen window can be adjusted to the right side of the display screen, and the second split-screen window can be adjusted to the left side of the display screen. In this case, the split screen window on the left side of the display screen can display the content of the second-level page, and the split screen window on the right side of the display screen can display the content of the first-level page.
According to the method, the user can adjust the positions of the two split screen windows through the second touch operation, the operation is simple, convenience is further provided for the user, different requirements of the user are met, and the use experience of the user is further improved.
Fig. 4 is a block diagram illustrating a window adjustment apparatus according to an exemplary embodiment. And the window adjusting device is applied to the terminal. The window adjusting device is used for implementing the window adjusting method. For example, referring to fig. 4, the window adjusting apparatus may include a display module 101, a receiving module 102, a determining module 103, and an adjusting module 104.
The display module 101 is configured to display two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
the receiving module 102 is configured to receive a first touch operation, where a first control is disposed above at least a first split-screen window of the two split-screen windows, and the first touch operation acts on the first control to trigger adjustment of sizes of the two split-screen windows;
the determining module 103 is configured to determine a window adjustment parameter according to the first touch operation;
The adjustment module 104 is configured to transmit the window adjustment parameters to the active interfaces corresponding to the two split-screen windows respectively, and adjust the sizes of the two split-screen windows.
In one exemplary embodiment, a window adjustment apparatus is provided for use with a terminal. Referring to fig. 4, in the apparatus, the receiving module 102 is configured to;
and before the display screen of the terminal displays the two split-screen windows, receiving a split-screen operation instruction.
In one exemplary embodiment, a window adjustment apparatus is provided for use with a terminal. Referring to fig. 4, in the apparatus, the receiving module 102 is configured to:
a first drag operation for a first control is received.
In one exemplary embodiment, a window adjustment apparatus is provided for use with a terminal. Referring to fig. 4, in the apparatus, the determining module 103 is configured to:
and acquiring the distance and/or the coordinates of the first dragging operation, and calculating window adjustment parameters after adjustment of the two split-screen windows according to the distance and/or the coordinates of the first dragging operation.
In one exemplary embodiment, a window adjustment apparatus is provided for use with a terminal. Referring to fig. 4, in the apparatus, the determining module 103 is configured to:
Calculating whether the distance of the first dragging operation exceeds a first preset distance, setting the width of the first split screen window to be increased or decreased to a first preset width according to the direction of the first dragging operation, and obtaining a second preset width of the second split screen window according to the first preset width;
and/or the number of the groups of groups,
acquiring a first coordinate after the first dragging operation is completed, setting the width of the first split screen window to be increased or reduced to a third preset width based on the first coordinate, and obtaining a fourth preset width of the second split screen window according to the third preset width;
the second split-screen window is the other split-screen window except the first split-screen window in the two split-screen windows.
In one exemplary embodiment, a window adjustment apparatus is provided for use with a terminal. Referring to fig. 4, in the apparatus, the adjustment module 104 is configured to:
and when the first preset width or the third preset width is 0, adjusting the second split screen window to be displayed in a full screen mode.
In one exemplary embodiment, a window adjustment apparatus is provided for use with a terminal. In the device, the content displayed by the second split screen window is the page of the previous stage or the next stage of the content displayed by the first split screen window.
In one exemplary embodiment, a window adjustment apparatus is provided for use with a terminal. Referring to fig. 4, in the apparatus,
the receiving module 102 is configured to receive a second touch operation after the display screen of the terminal displays two split screen windows; the second touch operation acts on the first control to trigger the adjustment of the positions of the two split-screen windows;
the adjustment module 104 is configured to adjust the positions of the two split-screen windows according to the second touch operation.
In one exemplary embodiment, a window adjustment apparatus is provided for use with a terminal. Referring to fig. 2, in the apparatus, the receiving module 102 is configured to:
and receiving clicking operation on the first control, setting the first control into a draggable state, and receiving second dragging operation on the first control.
Fig. 5 is a block diagram of a terminal for window adjustment, according to an example embodiment. For example, the terminal 800 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. 5, the terminal 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the terminal 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the device 800. Examples of such data include instructions for any application or method operating on the terminal 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 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 supply component 806 provides power to the various components of the terminal 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal 800.
The multimedia component 808 includes a screen between the terminal 800 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 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 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 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the terminal 800 is in an operation 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 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 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 814 includes one or more sensors for providing status assessment of various aspects of the terminal 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the terminal 800, the sensor assembly 814 may also detect a change in position of the terminal 800 or a component of the terminal 800, the presence or absence of user contact with the terminal 800, an orientation or acceleration/deceleration of the terminal 800, and a change in temperature of the terminal 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 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 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the terminal 800 and other devices, either wired or wireless. The terminal 800 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 component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 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 terminal 800 can 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 804 including instructions executable by processor 820 of terminal 800 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.
In one exemplary embodiment, a non-transitory computer readable storage medium is provided, which when executed by a processor of a terminal, enables the terminal to perform a window adjustment method. The window adjusting method may include:
displaying two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
receiving a first touch operation, wherein a first control is arranged above at least a first split-screen window in the two split-screen windows, and the first touch operation acts on the first control to trigger the adjustment of the sizes of the two split-screen windows;
determining window adjustment parameters according to the first touch operation;
and transmitting the window adjustment parameters to the corresponding movable interfaces of the two split-screen windows, and adjusting the sizes of the two split-screen windows.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Industrial applicability
In the method, when the terminal respectively displays two pages of the same preset application through the two split-screen windows, the user can adjust the sizes of the two split-screen windows through a first touch operation acting on the first control, so that the adjustment of the sizes of the two split-screen windows is realized, convenience is provided for the user, different requirements of the user are met, and the use experience of the user is further improved.

Claims (20)

  1. The window adjusting method is applied to the terminal, and comprises the following steps:
    displaying two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
    receiving a first touch operation, wherein a first control is arranged above at least a first split-screen window in the two split-screen windows, and the first touch operation acts on the first control to trigger adjustment of the sizes of the two split-screen windows;
    Determining window adjustment parameters according to the first touch operation;
    and transmitting the window adjustment parameters to the active interfaces corresponding to the two split-screen windows respectively, and adjusting the sizes of the two split-screen windows.
  2. The window adjusting method according to claim 1, wherein the window adjusting method further comprises, before the display screen of the terminal displays two split-screen windows:
    and receiving a split screen operation instruction.
  3. The window adjustment method of claim 1, wherein the receiving the first touch operation comprises:
    a first drag operation is received for the first control.
  4. The window adjustment method according to claim 3, wherein the determining a window adjustment parameter according to the first touch operation includes:
    and acquiring the distance and/or the coordinates of the first dragging operation, and calculating window adjustment parameters of the two split-screen windows after adjustment according to the distance and/or the coordinates of the first dragging operation.
  5. The window adjustment method according to claim 4, wherein calculating the window adjustment parameters after the two split-screen windows are adjusted according to the distance and/or coordinates of the first drag operation includes:
    Calculating whether the distance of the first dragging operation exceeds a first preset distance, setting the width of the first split screen window to be increased or decreased to a first preset width according to the direction of the first dragging operation, and obtaining a second preset width of a second split screen window according to the first preset width;
    and/or the number of the groups of groups,
    acquiring a first coordinate after the first dragging operation is completed, setting the width of the first split screen window to be increased or reduced to a third preset width based on the first coordinate, and obtaining a fourth preset width of the second split screen window according to the third preset width;
    the second split screen window is another split screen window except the first split screen window in the two split screen windows.
  6. The window adjusting method according to claim 5, wherein when the first preset width or the third preset width is 0, the adjusting the sizes of the two split-screen windows includes:
    and adjusting the second split screen window to be displayed in a full screen mode.
  7. The window adjustment method according to claim 5, wherein the content displayed by the second split-screen window is a previous or next page of the content displayed by the first split-screen window.
  8. The window adjustment method according to any one of claims 1 to 7, wherein after the display screen of the terminal displays two split-screen windows, the window adjustment method further comprises:
    receiving a second touch operation; the second touch operation is used as an action on the first control to trigger adjustment of positions of the two split-screen windows;
    and adjusting the positions of the two split screen windows according to the second touch operation.
  9. The window adjustment method of claim 8, wherein the receiving the second touch operation comprises:
    and receiving clicking operation for the first control, setting the first control to a draggable state, and receiving second dragging operation for the first control.
  10. A window adjustment device applied to a terminal, wherein the window adjustment device comprises:
    the display module is configured to display two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
    the receiving module is configured to receive a first touch operation, wherein a first control is arranged above at least a first split-screen window in the two split-screen windows, and the first touch operation acts on the first control to trigger adjustment of the sizes of the two split-screen windows;
    The determining module is configured to determine a window adjustment parameter according to the first touch operation;
    the adjusting module is configured to transmit the window adjusting parameters to the active interfaces corresponding to the two split-screen windows respectively, and adjust the sizes of the two split-screen windows.
  11. The window adjustment apparatus of claim 10, wherein the receiving module is configured to;
    and before the display screen of the terminal displays the two split screen windows, receiving a split screen operation instruction.
  12. The window adjustment device of claim 10, wherein the receiving module is configured to:
    a first drag operation is received for the first control.
  13. The window adjustment apparatus of claim 12, wherein the determination module is configured to:
    and acquiring the distance and/or the coordinates of the first dragging operation, and calculating window adjustment parameters of the two split-screen windows after adjustment according to the distance and/or the coordinates of the first dragging operation.
  14. The window adjustment device of claim 13, wherein the determination module is configured to:
    calculating whether the distance of the first dragging operation exceeds a first preset distance, setting the width of the first split screen window to be increased or decreased to a first preset width according to the direction of the first dragging operation, and obtaining a second preset width of a second split screen window according to the first preset width;
    And/or the number of the groups of groups,
    acquiring a first coordinate after the first dragging operation is completed, setting the width of the first split screen window to be increased or reduced to a third preset width based on the first coordinate, and obtaining a fourth preset width of the second split screen window according to the third preset width;
    the second split screen window is another split screen window except the first split screen window in the two split screen windows.
  15. The window adjustment device of claim 14, wherein the adjustment module is configured to:
    and when the first preset width or the third preset width is 0, adjusting the second split screen window to be displayed in a full screen mode.
  16. The window adjustment apparatus according to any one of claims 14, wherein the content displayed by the second split-screen window is a previous or next page of the content displayed by the first split-screen window.
  17. The window regulator according to any one of claims 10 to 16, wherein,
    the receiving module is configured to receive a second touch operation after the two split screen windows are displayed on the display screen of the terminal; the second touch operation is used as an action on the first control to trigger adjustment of positions of the two split-screen windows;
    The adjusting module is configured to adjust the positions of the two split-screen windows according to the second touch operation.
  18. The window adjustment device of claim 17, wherein the receiving module is configured to:
    and receiving clicking operation for the first control, setting the first control to a draggable state, and receiving second dragging operation for the first control.
  19. A terminal, comprising:
    a processor;
    a memory for storing the processor-executable instructions;
    wherein the processor is configured to:
    displaying two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
    receiving a first touch operation, wherein a first control is arranged above at least a first split-screen window in the two split-screen windows, and the first touch operation acts on the first control to trigger adjustment of the sizes of the two split-screen windows;
    determining window adjustment parameters according to the first touch operation;
    And transmitting the window adjustment parameters to the active interfaces corresponding to the two split-screen windows respectively, and adjusting the sizes of the two split-screen windows.
  20. A non-transitory computer readable storage medium, wherein instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform a window adjustment method comprising:
    displaying two split-screen windows on a display screen of the terminal; the two split screen windows are in one-to-one correspondence with two active interfaces of the same preset application, and pages of the preset application loaded by the two active interfaces are overlapped or not overlapped;
    receiving a first touch operation, wherein a first control is arranged above at least a first split-screen window in the two split-screen windows, and the first touch operation acts on the first control to trigger adjustment of the sizes of the two split-screen windows;
    determining window adjustment parameters according to the first touch operation;
    and transmitting the window adjustment parameters to the active interfaces corresponding to the two split-screen windows respectively, and adjusting the sizes of the two split-screen windows.
CN202280004502.4A 2022-06-20 2022-06-20 Window adjusting method, device, terminal and storage medium Pending CN117616393A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/099678 WO2023245310A1 (en) 2022-06-20 2022-06-20 Window adjustment method and apparatus, and terminal and storage medium

Publications (1)

Publication Number Publication Date
CN117616393A true CN117616393A (en) 2024-02-27

Family

ID=89378895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202280004502.4A Pending CN117616393A (en) 2022-06-20 2022-06-20 Window adjusting method, device, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN117616393A (en)
WO (1) WO2023245310A1 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060020903A1 (en) * 2004-07-26 2006-01-26 Shih-Yang Wang Window split system and method
KR101957173B1 (en) * 2012-09-24 2019-03-12 삼성전자 주식회사 Method and apparatus for providing multi-window at a touch device
US9471201B1 (en) * 2014-05-20 2016-10-18 Google Inc. Laptop-to-tablet mode adaptation
KR102335925B1 (en) * 2014-10-13 2021-12-06 삼성전자주식회사 An electronic apparatus and a gateway for network service, a method therefor
CN110471596B (en) * 2019-07-17 2021-04-06 广州视源电子科技股份有限公司 Split screen switching method and device, storage medium and electronic equipment
CN114461100A (en) * 2020-11-09 2022-05-10 腾讯科技(深圳)有限公司 Application processing method, device, equipment and medium
CN114416227B (en) * 2021-11-16 2023-06-23 华为技术有限公司 Window switching method, electronic device and readable storage medium

Also Published As

Publication number Publication date
WO2023245310A1 (en) 2023-12-28

Similar Documents

Publication Publication Date Title
CN107908351B (en) Application interface display method and device and storage medium
CN107526494B (en) Keyboard display method, device, terminal and storage medium
CN107102772B (en) Touch control method and device
CN111381746B (en) Parameter adjusting method, device and storage medium
CN106354504B (en) Message display method and device
CN111866571B (en) Method and device for editing content on smart television and storage medium
CN111399720A (en) Method and device for displaying application interface and storage medium
CN112463084A (en) Split screen display method and device, terminal equipment and computer readable storage medium
CN107656694B (en) Display control method and device of user interface
CN108984098B (en) Information display control method and device based on social software
CN108874450B (en) Method and device for waking up voice assistant
CN111273979B (en) Information processing method, device and storage medium
CN105955637B (en) Method and device for processing text input box
CN116954540A (en) Application program display method and device and terminal
CN106919302B (en) Operation control method and device of mobile terminal
CN107832112B (en) Wallpaper setting method and device
CN111092971A (en) Display method and device for displaying
EP3185515A1 (en) Method and device for inputting information
CN109389547B (en) Image display method and device
CN117616393A (en) Window adjusting method, device, terminal and storage medium
CN113360255A (en) Application management method and device
CN106293405B (en) Page moving method and device
WO2023245311A1 (en) Window adjustment method, apparatus, terminal, and storage medium
US20220291890A1 (en) Method for interaction between devices and medium
CN111462284B (en) Animation generation method, animation generation device and electronic equipment

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