WO2023245311A1 - Window adjustment method, apparatus, terminal, and storage medium - Google Patents

Window adjustment method, apparatus, terminal, and storage medium Download PDF

Info

Publication number
WO2023245311A1
WO2023245311A1 PCT/CN2022/099686 CN2022099686W WO2023245311A1 WO 2023245311 A1 WO2023245311 A1 WO 2023245311A1 CN 2022099686 W CN2022099686 W CN 2022099686W WO 2023245311 A1 WO2023245311 A1 WO 2023245311A1
Authority
WO
WIPO (PCT)
Prior art keywords
split
screen
window
width
touch operation
Prior art date
Application number
PCT/CN2022/099686
Other languages
French (fr)
Chinese (zh)
Inventor
付凯鹏
Original Assignee
北京小米移动软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to PCT/CN2022/099686 priority Critical patent/WO2023245311A1/en
Priority to CN202280004406.XA priority patent/CN117616373A/en
Publication of WO2023245311A1 publication Critical patent/WO2023245311A1/en

Links

Images

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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • 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

Definitions

  • the present disclosure relates to the field of terminals, and in particular, to a window adjustment method, device, terminal and storage medium.
  • the split-screen is designed to divide a display screen of the terminal into two split-screen windows. Each split-screen window corresponds to an active interface and is used to display this active interface.
  • Two activity interfaces (Activities) of a single application can be displayed on a split screen.
  • the tablet when the tablet is in landscape mode, it can support displaying two interfaces of a certain application on the screen at the same time. That is, different activity interfaces of a single application can be displayed separately. Displayed by different split-screen windows.
  • the size of each split-screen window is currently fixed. The size of the split-screen window cannot be adjusted. Users cannot adjust to enlarge one of the multiple pages they want to display to display more content. The user experience is poor. Difference.
  • the present disclosure provides a window adjustment method, device, terminal and storage medium.
  • a window adjustment method which is applied to a terminal, wherein the window adjustment method includes:
  • Two split-screen windows are displayed on the display screen of the terminal; wherein, the two split-screen windows correspond to two active interfaces of the same preset application, and the preset loaded by the two active interfaces Application pages overlap or do not overlap;
  • the window size parameter is passed to the active interfaces respectively corresponding to the two split-screen windows, and the sizes of the two split-screen windows are adjusted.
  • the preset rules include at least one of the following:
  • the first rule is to press on the first split-screen window and slide the first distance interval toward the second split-screen window;
  • the second rule is to press on the first split-screen window and simultaneously act on the second split-screen window to slide the second distance interval;
  • the first split-screen window is any split-screen window among the two split-screen windows
  • the second split-screen window is the other split-screen window among the two split-screen windows.
  • determining the window size parameters according to the touch operation includes:
  • the width of the first split-screen window is set to the corresponding first preset width according to the first distance interval, and the width of the first split-screen window is set according to the first preset width. Assume the width to obtain the second preset width of the second split-screen window.
  • determining the window size parameters according to the touch operation includes:
  • the width of the second split-screen window is set to the corresponding third preset width according to the second distance interval, and the width of the second split-screen window is set according to the third preset width. Assume the width to obtain the fourth preset width of the first split-screen window.
  • the content displayed in the second split-screen window is a page above or below the content displayed in the first split-screen window.
  • the window adjustment method further includes:
  • a window adjustment device which is applied to a terminal, wherein the window adjustment device includes:
  • the display module is configured to display two split-screen windows on the display screen of the terminal; wherein the two split-screen windows correspond to two active interfaces of the same preset application, and the two active interfaces are The loaded pages of the preset application overlap or do not overlap;
  • the receiving module is configured to receive a touch operation acting on at least any one of the two split-screen windows;
  • the determination module is configured to, when the touch operation complies with the preset rules, determine the window size parameter according to the touch operation;
  • the adjustment module is configured to transfer the window size parameter to the active interface corresponding to the two split-screen windows respectively, and adjust the sizes of the two split-screen windows.
  • the preset rules include at least one of the following:
  • the first rule is to press on the first split-screen window and slide the first distance interval toward the second split-screen window;
  • the second rule is to press on the first split-screen window and simultaneously act on the second split-screen window to slide the second distance interval;
  • the first split-screen window is any split-screen window among the two split-screen windows
  • the second split-screen window is the other split-screen window among the two split-screen windows.
  • the determining module is configured as:
  • the width of the first split-screen window is set to the corresponding first preset width according to the first distance interval, and the width of the first split-screen window is set according to the first preset width. Assume the width to obtain the second preset width of the second split-screen window.
  • the determining module is configured as:
  • the width of the second split-screen window is set to the corresponding third preset width according to the second distance interval, and the width of the second split-screen window is set according to the third preset width. Assume the width to obtain the fourth preset width of the first split-screen window.
  • the content displayed in the second split-screen window is a page above or below the content displayed in the first split-screen window.
  • the receiving module is configured to:
  • a terminal including:
  • memory for storing instructions executable by the processor
  • the processor is configured as:
  • Two split-screen windows are displayed on the display screen of the terminal; wherein, the two split-screen windows correspond to two active interfaces of the same preset application, and the preset loaded by the two active interfaces Application pages overlap or do not overlap;
  • the window size parameter is passed to the active interfaces respectively corresponding to the two split-screen windows, and the sizes of the two split-screen windows are adjusted.
  • a non-transitory computer-readable storage medium which when instructions in the storage medium are executed by a processor of the terminal, enables the terminal to perform a window adjustment method, the Window adjustment methods include:
  • Two split-screen windows are displayed on the display screen of the terminal; wherein, the two split-screen windows correspond to two active interfaces of the same preset application, and the preset loaded by the two active interfaces Application pages overlap or do not overlap;
  • the window size parameter is passed to the active interfaces respectively corresponding to the two split-screen windows, and the sizes of the two split-screen windows are adjusted.
  • the technical solution provided by the embodiments of the present disclosure may include the following beneficial effects:
  • the terminal displays two pages of the same preset application through two split-screen windows
  • the user can perform touch operations that comply with the preset rules.
  • Adjust the size of the two split-screen windows to realize the adjustment of the size of the two split-screen windows, provide convenience for users, meet the different needs of users, and further enhance the user experience.
  • FIG. 1 is a flowchart of a window adjustment method according to an exemplary embodiment.
  • Figure 2 is a flow chart of a window adjustment method according to an exemplary embodiment.
  • FIG. 3 is a flowchart of a window adjustment method according to an exemplary embodiment.
  • Figure 4 is a block diagram of a window adjustment device according to an exemplary embodiment.
  • Figure 5 is a block diagram of a terminal according to an exemplary embodiment.
  • a window adjustment method is provided and applied to a terminal.
  • the window adjustment method may include the following steps.
  • Step S110 display two split-screen windows on the display screen of the terminal; the two split-screen windows correspond one-to-one with the two active interfaces of the same default application, and the pages of the default application loaded in the two active interfaces overlap or No overlap;
  • Step S120 receive a touch operation on at least any one of the two split-screen windows
  • Step S130 when the touch operation complies with the preset rules, determine the window size parameters according to the touch operation;
  • Step S140 Pass the window size parameters to the active interfaces corresponding to the two split-screen windows, and adjust the sizes of the two split-screen windows.
  • the active interface is a component of the Android system, which is used to load application pages and implement page management.
  • Default applications generally refer to applications installed in the terminal with a split-screen display function. That is, different pages of the default application can be loaded by different active interfaces and displayed by different split-screen windows.
  • the default application can be installed before the terminal leaves the factory, or it can be installed after the terminal leaves the factory. There is no limit to this.
  • the user can uninstall and update it, without any restrictions.
  • any one of the two split-screen windows can be recorded as the first split-screen window.
  • the other split-screen window other than the above-mentioned first split-screen window can be recorded as the second split-screen window.
  • the content displayed in the second split-screen window may be a page above or below the content displayed in the first split-screen window, and this is not limited.
  • the first-level page can be loaded by the first active interface
  • the second-level page can be loaded by the second active interface.
  • the first active interface corresponds to the first split-screen main window
  • the second active interface corresponds to the second split-screen window. That is, the first split-screen window displays the first-level page
  • the second split-screen window displays the second-level page. page. This allows two-level pages of the same preset application to be displayed on one display screen to better meet user needs.
  • the terminal before the display screen of the terminal displays two split-screen windows, the terminal can receive a split-screen operation instruction. After the terminal receives the split-screen operation instruction, it can display two split-screen windows on the display screen of the terminal based on the split-screen operation instruction.
  • the terminal when the terminal uses a default application in landscape mode, if the default application is an application that supports split-screen display, when the user can click on any link on a single window, the terminal can receive the above click. touch operation, so that when the terminal receives the split-screen operation instruction, it can enable the split-screen operation on the right side of the above-mentioned single window and turn into a split-screen display state. That is, the first split-screen window on the left continues to display the original page, and the second split-screen window on the right displays the newly opened page to provide convenience to the user.
  • step S120 the user can input a touch operation to the terminal by touching the display screen of the terminal, so that the terminal receives the touch operation.
  • the touch operation can act on the first split-screen window of the two split-screen windows, can also act on the second split-screen window of the two split-screen windows, or can act on both the first split-screen window and the second split-screen window.
  • the second split-screen window is not limited to this.
  • step S130 the terminal can set preset rules in advance. If the touch operation received by the terminal complies with the preset rules, it can determine the window size parameters according to the above touch operation.
  • the preset rules may include at least one of the following rules:
  • the first rule is to press on the first split-screen window and slide the first preset distance toward the second split-screen window;
  • the second rule is to press on the first split-screen window and simultaneously slide the second split-screen window a second preset distance.
  • the press may be a long press. That is, the first rule needs to ensure that the duration of the press on the first split-screen window is within the first time interval.
  • the first time interval may be a time range, which may be set according to actual conditions, and its specific value is not limited.
  • the first time interval may be set before the terminal leaves the factory, or may be set after the terminal leaves the factory, and there is no limit to this. In addition, after the first time interval is set, it can be modified later to better meet the different needs of users.
  • the first distance interval may be a distance range, and its setting method may refer to the setting method of the above-mentioned preset time interval, which will not be described again.
  • the press may be a long press. That is, the second rule needs to ensure that the duration of the press on the first split-screen window is within the second time interval.
  • the second time interval may be the same as the first time interval, or may be different, and is not limited thereto.
  • the setting method of the second time interval can refer to the first time interval, which will not be described again.
  • the second distance interval may be the same as the first distance interval, or may be different.
  • the setting method of the second distance interval may refer to the first distance interval, which will not be described again.
  • the preset rules may include the above-mentioned first rule or the second rule, or may include both the above-mentioned first rule and the second rule, which is not limited.
  • the preset rules may also include other rules according to the actual situation, which is not limited.
  • the terminal after the terminal receives a touch operation that complies with the preset rules, it can determine the window adjustment parameters based on the touch operation, thereby adjusting the sizes of the two split-screen windows based on the window adjustment parameters.
  • the active interface is used to manage the corresponding split-screen window.
  • the terminal determines the window adjustment parameters, it can pass the window adjustment parameters to the active interfaces corresponding to the two split-screen windows. That is, the terminal can send the window adjustment parameters of the first split-screen window to the first active interface corresponding to the first split-screen window, so as to adjust the size of the first split-screen window.
  • the terminal may send the window adjustment parameters of the second split-screen window to the second active interface corresponding to the second split-screen window to adjust the size of the second split-screen window.
  • the user when the terminal displays two pages of the same preset application through two split-screen windows, the user can adjust the size of the two split-screen windows through touch operations that comply with the preset rules, so as to realize the integration of the two split-screen windows. Adjusting the size of the screen window provides users with convenience, meets their different needs, and further enhances the user experience.
  • a window adjustment method is provided and applied to a terminal.
  • the window size parameters are determined according to the touch operation, which may include:
  • Step S210 when the touch operation complies with the first rule, set the width of the first split-screen window to the corresponding first preset width based on the first preset distance, and obtain the second split window based on the first preset width.
  • the second default width of the screen window when the touch operation complies with the first rule, set the width of the first split-screen window to the corresponding first preset width based on the first preset distance, and obtain the second split window based on the first preset width.
  • the second default width of the screen window when the touch operation complies with the first rule, set the width of the first split-screen window to the corresponding first preset width based on the first preset distance, and obtain the second split window based on the first preset width.
  • the touch operation includes a pressing operation in the first split-screen window and a sliding operation towards the second split-screen window, and the duration of the pressing operation is within the first time interval, and the distance of the sliding operation is within the first distance interval
  • This touch operation can be considered to be a touch operation that complies with the first rule, that is, the touch operation is considered to comply with the first rule.
  • the window size parameters of the two split-screen windows can be adjusted based on the first distance interval.
  • the terminal may set multiple first distance intervals, and each first distance interval corresponds to a first preset width.
  • the width of the first split-screen window can be set to the corresponding first preset width, and at the same time, the width of the second split-screen window can be adapted. sexual adjustment.
  • the setting method of the first preset width may refer to the first distance interval, which will not be described again.
  • the width of the display area of the display screen is a.
  • the terminal can set the first time interval M, and the first distance intervals N1, N2 and N3, where the first preset width corresponding to N1 can be 0.5a, and the corresponding second The preset width may be 0.5a; the first preset width corresponding to N2 may be 0.6a, and the corresponding second preset width may be 0.4a; the first preset width corresponding to N3 may be 0.8a, and the corresponding second preset width may be 0.8a.
  • the default width can be 0.2a.
  • the maximum value of N1 can be smaller than the minimum value of N2, and the maximum value of N2 can be smaller than the maximum value of N3.
  • the width of the current first split-screen window of the terminal may be 0.6a, and the width of the second split-screen window may be 0.4a.
  • the terminal receives a touch operation that complies with the first rule, which can be divided into the following three situations:
  • Case 1 If the terminal receives the pressing operation in the first split-screen window and the sliding operation towards the second split-screen window, and the duration of the pressing operation is within M, and the distance of the sliding operation is within N1, it can be considered that the terminal has received
  • a touch operation that complies with the first rule can set the width of the first split-screen window to the first preset width of 0.5a, and set the width of the second split-screen window to 0.5a. Then, based on the first preset width 0.5a and the second preset width 0.5a, the sizes of the first split-screen window and the second split-screen window are adjusted. That is, reduce the width of the first split-screen window and increase the width of the second split-screen window.
  • Case 2 If the terminal receives a pressing operation in the first split-screen window and a sliding operation towards the second split-screen window, and the duration of the pressing operation is within M, and the distance of the sliding operation is within N,2, the terminal can be considered After receiving the touch operation that complies with the first rule, the width of the first split-screen window can be set to the first preset width of 0.6a, and the width of the second split-screen window can be set to 0.4a. Then, based on the first preset width 0.6a and the second preset width 0.4a, the sizes of the first split-screen window and the second split-screen window are adjusted. That is, the size of the two split-screen windows has not changed.
  • Case 3 If the terminal receives the pressing operation in the first split-screen window and the sliding operation towards the second split-screen window, and the duration of the pressing operation is within M, and the distance of the sliding operation is within N3, it can be considered that the terminal has received
  • a touch operation that complies with the first rule can set the width of the first split-screen window to the first preset width of 0.8a, and set the width of the second split-screen window to 0.2a. Then, based on the first preset width 0.8a and the second preset width 0.2a, the sizes of the first split-screen window and the second split-screen window are adjusted. That is, increase the width of the first split-screen window and decrease the width of the second split-screen window.
  • the second preset width can be the same as the width of the display area of the display screen.
  • the second split-screen window can be adjusted to full-screen display. That is, the display shows a window.
  • the terminal can adjust the size of the first split-screen window and the second split-screen window through touch operations that comply with the first rule.
  • the operation is simple, further providing convenience to the user, meeting the different needs of the user, and further improving the user experience. usage experience.
  • a window adjustment method is provided and applied to a terminal.
  • the window size parameters are determined according to the touch operation, which may include:
  • Step S310 when the touch operation complies with the second rule, set the width of the second split-screen window to the corresponding third preset width according to the second distance interval, and obtain the first split-screen window based on the third preset width.
  • the fourth default width of the window when the touch operation complies with the second rule, set the width of the second split-screen window to the corresponding third preset width according to the second distance interval, and obtain the first split-screen window based on the third preset width.
  • the fourth default width of the window when the touch operation complies with the second rule, set the width of the second split-screen window to the corresponding third preset width according to the second distance interval, and obtain the first split-screen window based on the third preset width.
  • the touch operation includes a pressing operation on the first split-screen window and a sliding operation acting on the second split-screen window at the same time, and the duration of the pressing operation is within the second time interval, and the distance of the sliding operation is within the second distance interval, the touch operation can be considered to be a touch operation that complies with the second rule, that is, the touch operation is considered to comply with the second rule.
  • the window size parameters of the two split-screen windows can be adjusted based on the second distance interval.
  • the terminal may set multiple second distance intervals, and each second distance interval corresponds to a third preset width.
  • the width of the second split-screen window can be set to the corresponding third preset width, and at the same time, the width of the first split-screen window can be adapted. sexual adjustment.
  • the setting method of the second distance interval and the third preset width may refer to the first distance interval, which will not be described again.
  • the width of the display area of the display screen is a.
  • the terminal can set the first time interval Y, and the first distance intervals W1, W2 and W3, where the third preset width corresponding to W1 can be 0.5a, and the corresponding fourth The preset width may be 0.5a; the third preset width corresponding to W2 may be 0.6a, and the corresponding fourth preset width may be 0.4a; the third preset width corresponding to W3 may be 0.8a, and the corresponding fourth preset width may be 0.8a.
  • the default width can be 0.2a.
  • the maximum value of W1 can be less than the minimum value of W2, and the maximum value of W2 can be less than the maximum value of N3.
  • the width of the current first split-screen window of the terminal may be 0.4a, and the width of the second split-screen window may be 0.6a.
  • the terminal receives a touch operation that complies with the second rule, which can be divided into the following three situations:
  • Case 1 If the terminal receives a pressing operation in the first split-screen window and a sliding operation that simultaneously acts on the second split-screen window, and the duration of the pressing operation is within Y, and the distance of the sliding operation is within W1, the terminal can be considered After receiving the touch operation that complies with the second rule, the width of the second split-screen window can be set to the third preset width of 0.5a, and the width of the first split-screen window can be set to 0.5a. Then, based on the third preset width 0.5a and the fourth preset width 0.5a, the sizes of the first split-screen window and the second split-screen window are adjusted. That is, reduce the width of the first split-screen window and increase the width of the second split-screen window.
  • Case 2 If the terminal receives a pressing operation in the first split-screen window and a sliding operation that simultaneously acts on the second split-screen window, and the duration of the pressing operation is within Y, and the distance of the sliding operation is within W2, the terminal can be considered After receiving the touch operation that complies with the second rule, the width of the second split-screen window can be set to the third preset width of 0.6a, and the width of the first split-screen window can be set to 0.4a. Then, based on the third preset width 0.6a and the fourth preset width 0.4a, the sizes of the first split-screen window and the second split-screen window are adjusted. That is, the size of the two split-screen windows has not changed.
  • Case 3 If the terminal receives a pressing operation in the first split-screen window and a sliding operation that simultaneously acts on the second split-screen window, and the duration of the pressing operation is within Y, and the distance of the sliding operation is within W3, the terminal can be considered After receiving the touch operation that complies with the second rule, the width of the second split-screen window can be set to the third preset width of 0.8a, and the width of the first split-screen window can be set to 0.2a. Then, based on the third preset width 0.8a and the fourth preset width 0.2a, the sizes of the first split-screen window and the second split-screen window are adjusted. That is, increase the width of the first split-screen window and decrease the width of the second split-screen window.
  • the fourth preset width may be the same as the width of the display area of the display screen.
  • the first split-screen window may be adjusted to full-screen display. That is, the display shows a window.
  • the terminal can adjust the size of the first split-screen window and the second split-screen window through touch operations that comply with the first rule.
  • the operation is simple, further providing convenience to the user, meeting the different needs of the user, and further improving the user experience. usage experience.
  • a window adjustment device is provided, which is applied to a terminal.
  • the window adjustment device is used to implement the above-mentioned window adjustment method.
  • the window adjustment device 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 the display screen of the terminal; the two split-screen windows correspond one-to-one to two active interfaces of the same default application, and the default applications loaded in the two active interfaces
  • the pages overlap or do not overlap;
  • the receiving module 102 is configured to receive a touch operation acting on at least any one of the two split-screen windows;
  • the determination module 103 is configured to determine the window size parameters according to the touch operation when the touch operation complies with the preset rules
  • the adjustment module 104 is configured to transfer the window size parameters to the active interfaces respectively corresponding to the two split-screen windows, and adjust the sizes of the two split-screen windows.
  • a window adjustment device which is applied to a terminal.
  • the preset rules include at least one of the following:
  • the first rule is to press on the first split-screen window and slide the first distance interval toward the second split-screen window;
  • the second rule is to press on the first split-screen window and simultaneously act on the second split-screen window to slide the second distance interval;
  • the first split-screen window is any one of the two split-screen windows
  • the second split-screen window is the other split-screen window of the two split-screen windows.
  • a window adjustment device is provided, which is applied to a terminal.
  • the determination module 103 is configured as:
  • the width of the first split-screen window is set to the corresponding first preset width according to the first distance interval, and the second split-screen window is obtained based on the first preset width.
  • the second default width is set to the corresponding first preset width according to the first distance interval.
  • a window adjustment device is provided, which is applied to a terminal.
  • the determination module 103 is configured as:
  • the width of the second split-screen window is set to the corresponding third preset width according to the second distance interval, and the first split-screen window is obtained according to the third preset width.
  • the fourth default width is set to the corresponding third preset width according to the second distance interval, and the first split-screen window is obtained according to the third preset width.
  • a window adjustment device is provided, which is applied to a terminal.
  • the content displayed in the second split-screen window is the upper or lower level page of the content displayed in the first split-screen window.
  • a window adjustment device is provided, which is applied to a terminal.
  • the receiving module 102 is configured as:
  • a terminal is provided.
  • the terminal can be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
  • 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 , and a sensor component. 814, and communications component 816.
  • 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 , and a sensor component. 814, and communications component 816.
  • Processing component 802 generally controls the overall operations of terminal 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method.
  • processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components.
  • processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
  • Memory 804 is configured to store various types of data to support operations at 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, etc.
  • Memory 804 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EEPROM erasable programmable read-only memory
  • EPROM Programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory flash memory, magnetic or optical disk.
  • Power supply component 806 provides power to various components of terminal 800.
  • Power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 800.
  • Multimedia component 808 includes a screen that provides an output interface between the terminal 800 and the user.
  • 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 the user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action.
  • multimedia component 808 includes a front-facing camera and/or a rear-facing camera.
  • the front camera and/or the rear camera may receive external multimedia data.
  • Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
  • Audio component 810 is configured to output and/or input audio signals.
  • audio component 810 includes a microphone (MIC) configured to receive external audio signals when terminal 800 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 804 or sent via communication component 816 .
  • audio component 810 also includes a speaker for outputting audio signals.
  • the I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
  • Sensor component 814 includes one or more sensors that provide various aspects of status assessment for terminal 800 .
  • the sensor component 814 can detect the open/closed state of the device 800, the relative positioning of components, such as the display and keypad of the terminal 800, and the sensor component 814 can also detect the position change of the terminal 800 or a component of the terminal 800. , the presence or absence of user contact with the terminal 800 , the orientation or acceleration/deceleration of the terminal 800 and the temperature change of the terminal 800 .
  • Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • the communication component 816 is configured to facilitate wired or wireless communication between the terminal 800 and other devices.
  • the terminal 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communications component 816 also includes a near field communications (NFC) module to facilitate short-range communications.
  • NFC near field communications
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • the terminal 800 may be configured 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 array (FPGA), controller, microcontroller, microprocessor or other electronic components are implemented for executing the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable Gate array
  • controller microcontroller, microprocessor or other electronic components are implemented for executing the above method.
  • a non-transitory computer-readable storage medium including instructions such as a memory 804 including instructions, which can be executed by the processor 820 of the terminal 800 to complete the above method is also provided.
  • 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.
  • a non-transitory computer-readable storage medium which when instructions in the storage medium are executed by a processor of the terminal, enables the terminal to perform a window adjustment method.
  • window adjustment methods may include:
  • Two split-screen windows are displayed on the display screen of the terminal; the two split-screen windows correspond one-to-one to two active interfaces of the same preset application, and the pages of the preset application loaded in the two active interfaces overlap or do not overlap;
  • the window size parameters are determined based on the touch operation
  • the terminal displays two pages of the same preset application through two split-screen windows
  • the user can adjust the size of the two split-screen windows through touch operations that comply with the preset rules to realize the control of the two split-screen windows.
  • the adjustment of the window size provides convenience for users, meets the different needs of users, and further enhances the user experience.

Landscapes

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

Abstract

A window adjustment method, an apparatus, a terminal, and a storage medium, the window adjustment method comprising: displaying two split-screen windows on a display screen of a terminal, wherein the two split-screen windows are in on-to-one correspondence to two active interfaces of the same preset application, and pages of the preset application loaded on the two active interfaces overlap or do not overlap (S110); receiving a touch operation acting on at least any window of the two split-screen windows (S120); when the touch operation meets a preset rule, determining a window size parameter according to the touch operation (S130); and transmitting the window size parameter to the active interfaces respectively corresponding to the two split-screen windows to adjust the sizes of the two split-screen windows (S140). When the terminal displays the two pages of the same preset application by means of the two split-screen windows respectively, a user can adjust the sizes of the two split-screen windows by means of the touch operation meeting the preset rule, thus providing convenience for users, meeting different demands of users, and further improving the use experience of users.

Description

一种窗口调整方法、装置、终端及存储介质A window adjustment method, device, terminal and storage medium 技术领域Technical field
本公开涉及终端领域,尤其涉及一种窗口调整方法、装置、终端及存储介质。The present disclosure relates to the field of terminals, and in particular, to a window adjustment method, device, terminal and storage medium.
背景技术Background technique
随着通信技术的不断发展进步,用户对终端的要求也越来越高,现有的终端大都实现了分屏功能,分屏旨在将终端的一块显示屏划分为两个分屏窗口,每个分屏窗口对应一个活动界面,并用于显示此活动界面。With the continuous development and progress of communication technology, users have higher and higher requirements for terminals. Most of the existing terminals have implemented the split-screen function. The split-screen is designed to divide a display screen of the terminal into two split-screen windows. Each split-screen window corresponds to an active interface and is used to display this active interface.
相关技术中,为了使得大屏幕设备的使用体验更加好,能够将大屏设备的屏幕较大的优势发挥的更加好,在平板、折叠屏手机上,现在多种设备在横屏状态下均支持单个应用的两个活动界面(Activity)可以实现分屏显示,例如,平板在横屏状态下,可以支持在屏幕上同时显示某一应用的两个界面,也就是,单个应用的不同活动界面分别由不同分屏窗口显示。但是,当前每个分屏窗口的大小均是固定不变的,分屏窗口的大小无法调整,用户无法调整将自己期望展示的多个页面中的一个放大进而显示更多内容,用户使用体验较差。In related technologies, in order to make the experience of using large-screen devices better, the advantages of larger screens of large-screen devices can be better utilized. On tablets and folding-screen mobile phones, many devices now support horizontal screen mode. Two activity interfaces (Activities) of a single application can be displayed on a split screen. For example, when the tablet is in landscape mode, it can support displaying two interfaces of a certain application on the screen at the same time. That is, different activity interfaces of a single application can be displayed separately. Displayed by different split-screen windows. However, the size of each split-screen window is currently fixed. The size of the split-screen window cannot be adjusted. Users cannot adjust to enlarge one of the multiple pages they want to display to display more content. The user experience is poor. Difference.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供一种窗口调整方法、装置、终端及存储介质。In order to overcome the problems existing in related technologies, the present disclosure provides a window adjustment method, device, terminal and storage medium.
根据本公开实施例的第一方面,提供一种窗口调整方法,应用于终端,其中,所述窗口调整方法包括:According to a first aspect of an embodiment of the present disclosure, a window adjustment method is provided, which is applied to a terminal, wherein the window adjustment method includes:
在所述终端的显示屏显示两个分屏窗口;其中,所述两个分屏窗口与同一预设应用的两个活动界面一一对应,所述两个活动界面所装载的所述预设应用的页面重叠或不重叠;Two split-screen windows are displayed on the display screen of the terminal; wherein, the two split-screen windows correspond to two active interfaces of the same preset application, and the preset loaded by the two active interfaces Application pages overlap or do not overlap;
接收作用于所述两个分屏窗口的至少任一窗口上的触控操作;Receive a touch operation on at least any one of the two split-screen windows;
当所述触控操作符合预设规则时,根据所述触控操作,确定窗口尺寸参数;When the touch operation complies with the preset rules, determine the window size parameters according to the touch operation;
将所述窗口尺寸参数传递给所述两个分屏窗口分别对应的活动界面,调整所述两个分屏窗口的大小。The window size parameter is passed to the active interfaces respectively corresponding to the two split-screen windows, and the sizes of the two split-screen windows are adjusted.
可选地,所述预设规则,包括以下中的至少一种:Optionally, the preset rules include at least one of the following:
第一规则,在第一分屏窗口上按压并朝向第二分屏窗口滑动第一距离区间;The first rule is to press on the first split-screen window and slide the first distance interval toward the second split-screen window;
第二规则,在所述第一分屏窗口上按压以及同时作用于所述第二分屏窗口滑动第二距离区间;The second rule is to press on the first split-screen window and simultaneously act on the second split-screen window to slide the second distance interval;
其中,第一分屏窗口为所述两个分屏窗口中的任一分屏窗口,第二分屏窗口为所述两个分屏窗口中的另一分屏窗口。Wherein, the first split-screen window is any split-screen window among the two split-screen windows, and the second split-screen window is the other split-screen window among the two split-screen windows.
可选地,所述当所述触控操作符合预设规则时,根据所述触控操作,确定窗口尺寸参数,包括:Optionally, when the touch operation complies with the preset rules, determining the window size parameters according to the touch operation includes:
当所述触控操作符合所述第一规则时,则根据所述第一距离区间,设定所述第一分屏窗口的宽度为对应的第一预设宽度,并根据所述第一预设宽度得到所述第二分屏窗口的第二预设宽度。When the touch operation complies with the first rule, the width of the first split-screen window is set to the corresponding first preset width according to the first distance interval, and the width of the first split-screen window is set according to the first preset width. Assume the width to obtain the second preset width of the second split-screen window.
可选地,所述当所述触控操作符合预设规则时,根据所述触控操作,确定窗口尺寸参数,包括:Optionally, when the touch operation complies with the preset rules, determining the window size parameters according to the touch operation includes:
当所述触控操作符合所述第二规则时,则根据所述第二距离区间,设定所述第二分屏窗口的宽度为对应的第三预设宽度,并根据所述第三预设宽度得到所述第一分屏窗口的第四预设宽度。When the touch operation complies with the second rule, the width of the second split-screen window is set to the corresponding third preset width according to the second distance interval, and the width of the second split-screen window is set according to the third preset width. Assume the width to obtain the fourth preset width of the first split-screen window.
可选地,所述第二分屏窗口所显示的内容为所述第一分屏窗口所显示内容的上一级或下一级页面。Optionally, the content displayed in the second split-screen window is a page above or below the content displayed in the first split-screen window.
可选地,所述在所述终端的显示屏显示两个分屏窗口之前,所述窗口调整方法还包括:Optionally, before the display screen of the terminal displays two split-screen windows, the window adjustment method further includes:
接收分屏操作指令。Receive split-screen operation instructions.
根据本公开实施例的第二方面,提供一种窗口调整装置,应用于终端,其中,所述窗口调整装置包括:According to a second aspect of an embodiment of the present disclosure, a window adjustment device is provided, which is applied to a terminal, wherein the window adjustment device includes:
显示模块被配置为,在所述终端的显示屏显示两个分屏窗口;其中,所述两个分屏窗口与同一预设应用的两个活动界面一一对应,所述两个活动界面所装载的所述预设应用的页面重叠或不重叠;The display module is configured to display two split-screen windows on the display screen of the terminal; wherein the two split-screen windows correspond to two active interfaces of the same preset application, and the two active interfaces are The loaded pages of the preset application overlap or do not overlap;
接收模块被配置为,接收作用于所述两个分屏窗口的至少任一窗口上的触控操作;The receiving module is configured to receive a touch operation acting on at least any one of the two split-screen windows;
确定模块被配置为,当所述触控操作符合预设规则时,根据所述触控操作,确定窗口尺寸参数;The determination module is configured to, when the touch operation complies with the preset rules, determine the window size parameter according to the touch operation;
调整模块被配置为,将所述窗口尺寸参数传递给所述两个分屏窗口分别对应的活动界面,调整所述两个分屏窗口的大小。The adjustment module is configured to transfer the window size parameter to the active interface corresponding to the two split-screen windows respectively, and adjust the sizes of the two split-screen windows.
可选地,所述预设规则,包括以下中的至少一种:Optionally, the preset rules include at least one of the following:
第一规则,在第一分屏窗口上按压并朝向第二分屏窗口滑动第一距离区间;The first rule is to press on the first split-screen window and slide the first distance interval toward the second split-screen window;
第二规则,在所述第一分屏窗口上按压以及同时作用于所述第二分屏窗口滑动第二距离区间;The second rule is to press on the first split-screen window and simultaneously act on the second split-screen window to slide the second distance interval;
其中,第一分屏窗口为所述两个分屏窗口中的任一分屏窗口,第二分屏窗口为所述两个分屏窗口中的另一分屏窗口。Wherein, the first split-screen window is any split-screen window among the two split-screen windows, and the second split-screen window is the other split-screen window among the two split-screen windows.
可选地,所述确定模块被配置为:Optionally, the determining module is configured as:
当所述触控操作符合所述第一规则时,则根据所述第一距离区间,设定所述第一分屏窗口的宽度为对应的第一预设宽度,并根据所述第一预设宽度得到所述第二分屏窗口的第二预设宽度。When the touch operation complies with the first rule, the width of the first split-screen window is set to the corresponding first preset width according to the first distance interval, and the width of the first split-screen window is set according to the first preset width. Assume the width to obtain the second preset width of the second split-screen window.
可选地,所述确定模块被配置为:Optionally, the determining module is configured as:
当所述触控操作符合所述第二规则时,则根据所述第二距离区间,设定所述第二分屏窗口的宽度为对应的第三预设宽度,并根据所述第三预设宽度得到所述第一分屏窗口的第四预设宽度。When the touch operation complies with the second rule, the width of the second split-screen window is set to the corresponding third preset width according to the second distance interval, and the width of the second split-screen window is set according to the third preset width. Assume the width to obtain the fourth preset width of the first split-screen window.
可选地,所述第二分屏窗口所显示的内容为所述第一分屏窗口所显示内容的上一级或下一级页面。Optionally, the content displayed in the second split-screen window is a page above or below the content displayed in the first split-screen window.
可选地,所述接收模块被配置为:Optionally, the receiving module is configured to:
在所述终端的显示屏显示两个分屏窗口之前,接收分屏操作指令。Before the display screen of the terminal displays two split-screen windows, a split-screen operation instruction is received.
根据本公开实施例的第三方面,提供一种终端,包括:According to a third aspect of the embodiment of the present disclosure, a terminal is provided, including:
处理器;processor;
用于存储所述处理器可执行指令的存储器;memory for storing instructions executable by the processor;
其中,所述处理器被配置为:Wherein, the processor is configured as:
在所述终端的显示屏显示两个分屏窗口;其中,所述两个分屏窗口与同一预设应用的两个活动界面一一对应,所述两个活动界面所装载的所述预设应用的页面重叠或不重叠;Two split-screen windows are displayed on the display screen of the terminal; wherein, the two split-screen windows correspond to two active interfaces of the same preset application, and the preset loaded by the two active interfaces Application pages overlap or do not overlap;
接收作用于所述两个分屏窗口的至少任一窗口上的触控操作;Receive a touch operation on at least any one of the two split-screen windows;
当所述触控操作符合预设规则时,根据所述触控操作,确定窗口尺寸参数;When the touch operation complies with the preset rules, determine the window size parameters according to the touch operation;
将所述窗口尺寸参数传递给所述两个分屏窗口分别对应的活动界面,调整所述两个分屏窗口的大小。The window size parameter is passed to the active interfaces respectively corresponding to the two split-screen windows, and the sizes of the two split-screen windows are adjusted.
根据本公开实施例的第四方面,提供一种非临时性计算机可读存储介质,当所述存储介质中的指令由终端的处理器执行时,使得终端能够执行一种窗口调整方法,所述窗口调整方法包括:According to a fourth aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided, which when instructions in the storage medium are executed by a processor of the terminal, enables the terminal to perform a window adjustment method, the Window adjustment methods include:
在所述终端的显示屏显示两个分屏窗口;其中,所述两个分屏窗口与同一预设应用的两个活动界面一一对应,所述两个活动界面所装载的所述预设应用的页面重叠或不重叠;Two split-screen windows are displayed on the display screen of the terminal; wherein, the two split-screen windows correspond to two active interfaces of the same preset application, and the preset loaded by the two active interfaces Application pages overlap or do not overlap;
接收作用于所述两个分屏窗口的至少任一窗口上的触控操作;Receive a touch operation on at least any one of the two split-screen windows;
当所述触控操作符合预设规则时,根据所述触控操作,确定窗口尺寸参数;When the touch operation complies with the preset rules, determine the window size parameters according to the touch operation;
将所述窗口尺寸参数传递给所述两个分屏窗口分别对应的活动界面,调整所述两个分屏窗口的大小。The window size parameter is passed to the active interfaces respectively corresponding to the two split-screen windows, and the sizes of the two split-screen windows are adjusted.
本公开的实施例提供的技术方案可以包括以下有益效果:本公开中,在终端通过两个分屏窗口分别显示同一预设应用的两个页面时,用户可通过符合预设规则的触控操作调整两个分屏窗口的大小,以实现对两个分屏窗口的大小的调整,为用户提供方便,满足用户的不同需求,进一步提升用户的使用体验。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: In the present disclosure, when the terminal displays two pages of the same preset application through two split-screen windows, the user can perform touch operations that comply with the preset rules. Adjust the size of the two split-screen windows to realize the adjustment of the size of the two split-screen windows, provide convenience for users, meet the different needs of users, and further enhance the user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, and do not limit the present disclosure.
附图说明Description of the 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.
图1是根据一示例性实施例示出的一种窗口调整方法的流程图。FIG. 1 is a flowchart of a window adjustment method according to an exemplary embodiment.
图2是根据一示例性实施例示出的一种窗口调整方法的流程图。Figure 2 is a flow chart of a window adjustment method according to an exemplary embodiment.
图3是根据一示例性实施例示出的一种窗口调整方法的流程图。FIG. 3 is a flowchart of a window adjustment method according to an exemplary embodiment.
图4是根据一示例性实施例示出的一种窗口调整装置的框图。Figure 4 is a block diagram of a window adjustment device according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种终端的框图。Figure 5 is a block diagram of a terminal according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments 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 appended claims.
在一个示例性实施例中,提供了一种窗口调整方法,应用于终端。参考图1所示,该窗口调整方法可包括以下步骤。In an exemplary embodiment, a window adjustment method is provided and applied to a terminal. Referring to Figure 1, the window adjustment method may include the following steps.
步骤S110,在终端的显示屏显示两个分屏窗口;其中,两个分屏窗口与同一预设应用的两个活动界面一一对应,两个活动界面所装载的预设应用的页面重叠或不重叠;Step S110, display two split-screen windows on the display screen of the terminal; the two split-screen windows correspond one-to-one with the two active interfaces of the same default application, and the pages of the default application loaded in the two active interfaces overlap or No overlap;
步骤S120,接收作用于两个分屏窗口的至少任一窗口上的触控操作;Step S120, receive a touch operation on at least any one of the two split-screen windows;
步骤S130,当触控操作符合预设规则时,根据触控操作,确定窗口尺寸参数;Step S130, when the touch operation complies with the preset rules, determine the window size parameters according to the touch operation;
步骤S140,将窗口尺寸参数传递给两个分屏窗口分别对应的活动界面,调整两个分屏窗口的大小。Step S140: Pass the window size parameters to the active interfaces corresponding to the two split-screen windows, and adjust the sizes of the two split-screen windows.
在步骤S110中,活动界面是安卓系统的一种组件,其用于装载应用程序的页面,用于实现页面管理。In step S110, the active interface is a component of the Android system, which is used to load application pages and implement page management.
预设应用一般指终端中安装的具有分屏显示功能的应用,也就是,预设应用的不同页面可由不同的活动界面装载,并分别由不同分屏窗口显示。预设应用可以是终端出厂前安装的,也可以是终端出厂后安装的,对此不作限定。另外,预设应用安装完成后,用户可以对其进行卸载以及更新等操作,对此不作限定。Default applications generally refer to applications installed in the terminal with a split-screen display function. That is, different pages of the default application can be loaded by different active interfaces and displayed by different split-screen windows. The default application can be installed before the terminal leaves the factory, or it can be installed after the terminal leaves the factory. There is no limit to this. In addition, after the default application is installed, the user can uninstall and update it, without any restrictions.
其中,两个分屏窗口中的任一分屏窗口,可记为第一分屏窗口。两个分屏窗口中除上述第一分屏窗口以外的另一分屏窗口,可记为第二分屏窗口。需要说明的是,第二分屏窗口所显示的内容可以是第一分屏窗口所显示内容的上一级或下一级页面,对此不作限定。Among them, any one of the two split-screen windows can be recorded as the first split-screen window. Among the two split-screen windows, the other split-screen window other than the above-mentioned first split-screen window can be recorded as the second split-screen window. It should be noted that the content displayed in the second split-screen window may be a page above or below the content displayed in the first split-screen window, and this is not limited.
示例地,当用户使用预设应用打开两级页面时,第一级页面可由第一活动界面装载,第二级页面可由第二活动界面装载。其中,第一活动界面对应于第一分屏主窗口,第二活动界面对应于第二分屏窗口,也就是,第一分屏窗口显示第一级页面,第二分屏窗口显示第二级页面。从而实现在一个显示屏显示同一预设应用的两级页面,更好地满足用户需求。For example, when a user uses a preset application to open a two-level page, the first-level page can be loaded by the first active interface, and the second-level page can be loaded by the second active interface. Among them, the first active interface corresponds to the first split-screen main window, and the second active interface corresponds to the second split-screen window. That is, the first split-screen window displays the first-level page, and the second split-screen window displays the second-level page. page. This allows two-level pages of the same preset application to be displayed on one display screen to better meet user needs.
需要说明的是,本公开中,在终端的显示屏显示两个分屏窗口之前,终端可接收分屏操作指令。终端接收到分屏操作指令后,便可基于分屏操作指令,在终端的显示屏显示两个分屏窗口。It should be noted that in the present disclosure, before the display screen of the terminal displays two split-screen windows, the terminal can receive a split-screen operation instruction. After the terminal receives the split-screen operation instruction, it can display two split-screen windows on the display screen of the terminal based on the split-screen operation instruction.
例如,终端在横屏状态使用预设应用时,如果该预设应用是带有支持分屏显示的应用,当用户可对单一窗口上的任一链接进行点击时,终端便可接收到上述点击式的触控操作,以使得终端接收到分屏操作指令,便可在上述单一窗口的右侧开启分屏操作,变成分屏显示状态。即,左侧的第一分屏窗口继续显示原先的页面,右侧的第二分屏窗口显示新打开的页面,以为用户提供便利。For example, when the terminal uses a default application in landscape mode, if the default application is an application that supports split-screen display, when the user can click on any link on a single window, the terminal can receive the above click. touch operation, so that when the terminal receives the split-screen operation instruction, it can enable the split-screen operation on the right side of the above-mentioned single window and turn into a split-screen display state. That is, the first split-screen window on the left continues to display the original page, and the second split-screen window on the right displays the newly opened page to provide convenience to the user.
在步骤S120中,用户可通过触控终端的显示屏来向终端输入触控操作,以使得终端接收到触控操作。其中,触控操作可以作用于两个分屏窗口中的第一分屏窗口,也可以作用于两个分屏窗口的第二分屏窗口,也可以既作用于第一分屏窗口又作用于第二分屏窗口,对此不作限定。In step S120, the user can input a touch operation to the terminal by touching the display screen of the terminal, so that the terminal receives the touch operation. Among them, the touch operation can act on the first split-screen window of the two split-screen windows, can also act on the second split-screen window of the two split-screen windows, or can act on both the first split-screen window and the second split-screen window. The second split-screen window is not limited to this.
在步骤S130中,终端可提前设置预设规则,若终端接收到的触控操作符合预设规则,便可确定根据上述触控操作,确定窗口尺寸参数。In step S130, the terminal can set preset rules in advance. If the touch operation received by the terminal complies with the preset rules, it can determine the window size parameters according to the above touch operation.
其中,预设规则可包括以下中的至少一种规则:The preset rules may include at least one of the following rules:
第一规则,在第一分屏窗口上按压并朝向第二分屏窗口滑动第一预设距离;The first rule is to press on the first split-screen window and slide the first preset distance toward the second split-screen window;
第二规则,在第一分屏窗口上按压以及同时作用于第二分屏窗口滑动第二预设距离。The second rule is to press on the first split-screen window and simultaneously slide the second split-screen window a second preset distance.
在第一规则中,按压可以是长按,也就是,第一规则需要确保在第一分屏窗口上的按压的时长位于第一时间区间内。其中,第一时间区间可以是一个时长范围,其可可以根据实际情况设置,对其具体数值不作限定。第一时间区间可以是终端出厂前设置的,也可以是终端出厂后设置的,对此不作限定。另外,第一时间区间设置完成后,后续也可对其进行修改,以更好地满足用户的不同需求。In the first rule, the press may be a long press. That is, the first rule needs to ensure that the duration of the press on the first split-screen window is within the first time interval. The first time interval may be a time range, which may be set according to actual conditions, and its specific value is not limited. The first time interval may be set before the terminal leaves the factory, or may be set after the terminal leaves the factory, and there is no limit to this. In addition, after the first time interval is set, it can be modified later to better meet the different needs of users.
其中,第一距离区间可以是距离范围,其设置方式可参考上述预设时间区间的设置方式,对此不作赘述。The first distance interval may be a distance range, and its setting method may refer to the setting method of the above-mentioned preset time interval, which will not be described again.
在第二规则中,按压可以是长按,也就是,第二规则需要确保在第一分屏窗口上的按压的时长位于第二时间区间内。其中,第二时间区间可以与第一时间区间相同,也可不同,对此不作限定。第二时间区间的设置方式可参考第一时间区间,对此不作赘述。In the second rule, the press may be a long press. That is, the second rule needs to ensure that the duration of the press on the first split-screen window is within the second time interval. The second time interval may be the same as the first time interval, or may be different, and is not limited thereto. The setting method of the second time interval can refer to the first time interval, which will not be described again.
其中,第二距离区间可以与第一距离区间相同,也可不同。另外,第二距离区间的设置方式可参考第一距离区间,对此不作赘述。The second distance interval may be the same as the first distance interval, or may be different. In addition, the setting method of the second distance interval may refer to the first distance interval, which will not be described again.
需要说明的是,预设规则可以包括上述的第一规则或第二规则,也可以同时包括上述第一规则和第二规则,对此不作限定。另外,预设规则除了可包括上述规则外,也可根据实际情况包括其他规则,对此不作限定。It should be noted that the preset rules may include the above-mentioned first rule or the second rule, or may include both the above-mentioned first rule and the second rule, which is not limited. In addition, in addition to the above-mentioned rules, the preset rules may also include other rules according to the actual situation, which is not limited.
该步骤中,终端接收到符合预设规则的触控操作后,便可根据触控操作,确定窗口调整参数,从而基于窗口调整参数调整两个分屏窗口的大小。In this step, after the terminal receives a touch operation that complies with the preset rules, it can determine the window adjustment parameters based on the touch operation, thereby adjusting the sizes of the two split-screen windows based on the window adjustment parameters.
在步骤S140中,活动界面用于对相应的分屏窗口进行管理。终端确定了窗口调整参数后,可将窗口调整参数传递给两个分屏窗口分别对应的活动界面。也就是,终端可将第一分屏窗口的窗口调整参数发送至第一分屏窗口对应的第一活动界面,以实现对第一分屏窗口的大小的调整。终端可将第二分屏窗口的窗口调整参数发送至第二分屏窗口对应的第二活动界面,以实现对第二分屏窗口的大小的调整。In step S140, the active interface is used to manage the corresponding split-screen window. After the terminal determines the window adjustment parameters, it can pass the window adjustment parameters to the active interfaces corresponding to the two split-screen windows. That is, the terminal can send the window adjustment parameters of the first split-screen window to the first active interface corresponding to the first split-screen window, so as to adjust the size of the first split-screen window. The terminal may send the window adjustment parameters of the second split-screen window to the second active interface corresponding to the second split-screen window to adjust the size of the second split-screen window.
该方法中,在终端通过两个分屏窗口分别显示同一预设应用的两个页面时,用户可通过符合预设规则的触控操作调整两个分屏窗口的大小,以实现对两个分屏窗口的大小的调整,为用户提供方便,满足用户的不同需求,进一步提升用户的使用体验。In this method, when the terminal displays two pages of the same preset application through two split-screen windows, the user can adjust the size of the two split-screen windows through touch operations that comply with the preset rules, so as to realize the integration of the two split-screen windows. Adjusting the size of the screen window provides users with convenience, meets their different needs, and further enhances the user experience.
在一个示例性实施例中,提供了一种窗口调整方法,应用于终端。参考图2所示,该方法中,当触控操作符合预设规则时,根据触控操作,确定窗口尺寸参数,可包括:In an exemplary embodiment, a window adjustment method is provided and applied to a terminal. Referring to Figure 2, in this method, when the touch operation complies with the preset rules, the window size parameters are determined according to the touch operation, which may include:
步骤S210,当触控操作符合第一规则时,则根据第一预设距离,设定第一分屏窗口的宽 度为对应的第一预设宽度,并根据第一预设宽度得到第二分屏窗口的第二预设宽度。Step S210, when the touch operation complies with the first rule, set the width of the first split-screen window to the corresponding first preset width based on the first preset distance, and obtain the second split window based on the first preset width. The second default width of the screen window.
其中,若触控操作包括,在第一分屏窗口按压操作以及朝向第二分屏窗口的滑动操作,且按压操作的时长位于第一时间区间内,且滑动操作的距离位于第一距离区间,便可认为此触控操作为符合第一规则的触控操作,也就是,认为触控操作符合第一规则。Wherein, if the touch operation includes a pressing operation in the first split-screen window and a sliding operation towards the second split-screen window, and the duration of the pressing operation is within the first time interval, and the distance of the sliding operation is within the first distance interval, This touch operation can be considered to be a touch operation that complies with the first rule, that is, the touch operation is considered to comply with the first rule.
该步骤中,在确定触控操作符合第一规则时,便可基于第一距离区间,调整两个分屏窗口的窗口尺寸参数。In this step, when it is determined that the touch operation complies with the first rule, the window size parameters of the two split-screen windows can be adjusted based on the first distance interval.
其中,终端可设置多个第一距离区间,且每个第一距离区间对应一个第一预设宽度。当触控操作中的滑动距离位于第一距离区间时,便可将第一分屏窗口的宽度设置为对应的第一预设宽度,同时,便可将对第二分屏窗口的宽度作适应性调整。The terminal may set multiple first distance intervals, and each first distance interval corresponds to a first preset width. When the sliding distance in the touch operation is within the first distance interval, the width of the first split-screen window can be set to the corresponding first preset width, and at the same time, the width of the second split-screen window can be adapted. sexual adjustment.
需要说明的是,第一预设宽度的设置方式可参考第一距离区间,对此不作赘述。It should be noted that the setting method of the first preset width may refer to the first distance interval, which will not be described again.
在一些实施方式中,In some embodiments,
显示屏的显示区域的宽度为a,终端可设置第一时间区间M,以及第一距离区间N1、N2和N3,其中,且N1对应的第一预设宽度可以是0.5a,相应的第二预设宽度可以是0.5a;N2对应的第一预设宽度可以是0.6a,相应的第二预设宽度可以是0.4a;N3对应的第一预设宽度可以是0.8a,相应的第二预设宽度可以是0.2a。其中,N1的最大值可小于N2的最小值,N2的最大值可小于N3的最大值。The width of the display area of the display screen is a. The terminal can set the first time interval M, and the first distance intervals N1, N2 and N3, where the first preset width corresponding to N1 can be 0.5a, and the corresponding second The preset width may be 0.5a; the first preset width corresponding to N2 may be 0.6a, and the corresponding second preset width may be 0.4a; the first preset width corresponding to N3 may be 0.8a, and the corresponding second preset width may be 0.8a. The default width can be 0.2a. Among them, the maximum value of N1 can be smaller than the minimum value of N2, and the maximum value of N2 can be smaller than the maximum value of N3.
该实施方式中,终端当前的第一分屏窗口的宽度可以是0.6a,第二分屏窗口的宽度可以是0.4a。In this implementation, the width of the current first split-screen window of the terminal may be 0.6a, and the width of the second split-screen window may be 0.4a.
该实施方式中,终端接收到符合第一规则的触控操作可分为以下三种情况:In this implementation, the terminal receives a touch operation that complies with the first rule, which can be divided into the following three situations:
情况1,若终端接收到在第一分屏窗口按压操作以及朝向第二分屏窗口的滑动操作,且按压操作的时长位于M内,且滑动操作的距离位于N1内,便可认为终端接收到了符合第一规则的触控操作,便可设定第一分屏窗口的宽度为第一预设宽度0.5a,并设定第二分屏窗口的宽度为0.5a。然后基于上述第一预设宽度0.5a和第二预设宽度0.5a,调整第一分屏窗口和第二分屏窗口的大小。也就是,将第一分屏窗口的宽度调小,并将第二分屏窗口的宽度调大。Case 1: If the terminal receives the pressing operation in the first split-screen window and the sliding operation towards the second split-screen window, and the duration of the pressing operation is within M, and the distance of the sliding operation is within N1, it can be considered that the terminal has received A touch operation that complies with the first rule can set the width of the first split-screen window to the first preset width of 0.5a, and set the width of the second split-screen window to 0.5a. Then, based on the first preset width 0.5a and the second preset width 0.5a, the sizes of the first split-screen window and the second split-screen window are adjusted. That is, reduce the width of the first split-screen window and increase the width of the second split-screen window.
情况2,若终端接收到在第一分屏窗口按压操作以及朝向第二分屏窗口的滑动操作,且按压操作的时长位于M内,且滑动操作的距离位于N,2内,便可认为终端接收到了符合第一规则的触控操作,便可设定第一分屏窗口的宽度为第一预设宽度0.6a,并设定第二分屏窗口的宽度为0.4a。然后基于上述第一预设宽度0.6a和第二预设宽度0.4a,调整第一分屏窗口和第二分屏窗口的大小。也就是,两个分屏窗口的大小未改变。Case 2: If the terminal receives a pressing operation in the first split-screen window and a sliding operation towards the second split-screen window, and the duration of the pressing operation is within M, and the distance of the sliding operation is within N,2, the terminal can be considered After receiving the touch operation that complies with the first rule, the width of the first split-screen window can be set to the first preset width of 0.6a, and the width of the second split-screen window can be set to 0.4a. Then, based on the first preset width 0.6a and the second preset width 0.4a, the sizes of the first split-screen window and the second split-screen window are adjusted. That is, the size of the two split-screen windows has not changed.
情况3,若终端接收到在第一分屏窗口按压操作以及朝向第二分屏窗口的滑动操作,且 按压操作的时长位于M内,且滑动操作的距离位于N3内,便可认为终端接收到了符合第一规则的触控操作,便可设定第一分屏窗口的宽度为第一预设宽度0.8a,并设定第二分屏窗口的宽度为0.2a。然后基于上述第一预设宽度0.8a和第二预设宽度0.2a,调整第一分屏窗口和第二分屏窗口的大小。也就是,将第一分屏窗口的宽度调大,并将第二分屏窗口的宽度调小。Case 3: If the terminal receives the pressing operation in the first split-screen window and the sliding operation towards the second split-screen window, and the duration of the pressing operation is within M, and the distance of the sliding operation is within N3, it can be considered that the terminal has received A touch operation that complies with the first rule can set the width of the first split-screen window to the first preset width of 0.8a, and set the width of the second split-screen window to 0.2a. Then, based on the first preset width 0.8a and the second preset width 0.2a, the sizes of the first split-screen window and the second split-screen window are adjusted. That is, increase the width of the first split-screen window and decrease the width of the second split-screen window.
需要说明的是,当第一预设宽度为0时,第二预设宽度可与显示屏的显示区域的宽度相同,此情况下,可将第二分屏窗口调整为全屏显示。即,显示屏显示一个窗口。It should be noted that when the first preset width is 0, the second preset width can be the same as the width of the display area of the display screen. In this case, the second split-screen window can be adjusted to full-screen display. That is, the display shows a window.
该方法中,终端可通过符合第一规则的触控操作,来调整第一分屏窗口与第二分屏窗口的大小,操作简单,进一步为用户提供方便,满足用户的不同需求,进一步提升用户的使用体验。In this method, the terminal can adjust the size of the first split-screen window and the second split-screen window through touch operations that comply with the first rule. The operation is simple, further providing convenience to the user, meeting the different needs of the user, and further improving the user experience. usage experience.
在一个示例性实施例中,提供了一种窗口调整方法,应用于终端。参考图3所示,该方法中,当触控操作符合预设规则时,根据触控操作,确定窗口尺寸参数,可包括:In an exemplary embodiment, a window adjustment method is provided and applied to a terminal. Referring to Figure 3, in this method, when the touch operation complies with the preset rules, the window size parameters are determined according to the touch operation, which may include:
步骤S310,当触控操作符合第二规则时,则根据第二距离区间,设定第二分屏窗口的宽度为对应的第三预设宽度,并根据第三预设宽度得到第一分屏窗口的第四预设宽度。Step S310, when the touch operation complies with the second rule, set the width of the second split-screen window to the corresponding third preset width according to the second distance interval, and obtain the first split-screen window based on the third preset width. The fourth default width of the window.
其中,若触控操作包括,在第一分屏窗口按压操作以及同时作用于第二分屏窗口的滑动操作,且按压操作的时长位于第二时间区间内,且滑动操作的距离位于第二距离区间,便可认为此触控操作为符合第二规则的触控操作,也就是,认为触控操作符合第二规则。Wherein, if the touch operation includes a pressing operation on the first split-screen window and a sliding operation acting on the second split-screen window at the same time, and the duration of the pressing operation is within the second time interval, and the distance of the sliding operation is within the second distance interval, the touch operation can be considered to be a touch operation that complies with the second rule, that is, the touch operation is considered to comply with the second rule.
该步骤中,在确定触控操作符合第二规则时,便可基于第二距离区间,调整两个分屏窗口的窗口尺寸参数。In this step, when it is determined that the touch operation complies with the second rule, the window size parameters of the two split-screen windows can be adjusted based on the second distance interval.
其中,终端可设置多个第二距离区间,且每个第二距离区间对应一个第三预设宽度。当触控操作中的滑动距离位于第二距离区间时,便可将第二分屏窗口的宽度设置为对应的第三预设宽度,同时,便可将对第一分屏窗口的宽度作适应性调整。The terminal may set multiple second distance intervals, and each second distance interval corresponds to a third preset width. When the sliding distance in the touch operation is within the second distance interval, the width of the second split-screen window can be set to the corresponding third preset width, and at the same time, the width of the first split-screen window can be adapted. sexual adjustment.
需要说明的是,第二距离区间以及第三预设宽度的设置方式可参考第一距离区间,对此不作赘述。It should be noted that the setting method of the second distance interval and the third preset width may refer to the first distance interval, which will not be described again.
在一些实施方式中,In some embodiments,
显示屏的显示区域的宽度为a,终端可设置第一时间区间Y,以及第一距离区间W1、W2和W3,其中,且W1对应的第三预设宽度可以是0.5a,相应的第四预设宽度可以是0.5a;W2对应的第三预设宽度可以是0.6a,相应的第四预设宽度可以是0.4a;W3对应的第三预设宽度可以是0.8a,相应的第四预设宽度可以是0.2a。其中,W1的最大值可小于W2的最小值,W2的最大值可小于N3的最大值。The width of the display area of the display screen is a. The terminal can set the first time interval Y, and the first distance intervals W1, W2 and W3, where the third preset width corresponding to W1 can be 0.5a, and the corresponding fourth The preset width may be 0.5a; the third preset width corresponding to W2 may be 0.6a, and the corresponding fourth preset width may be 0.4a; the third preset width corresponding to W3 may be 0.8a, and the corresponding fourth preset width may be 0.8a. The default width can be 0.2a. Among them, the maximum value of W1 can be less than the minimum value of W2, and the maximum value of W2 can be less than the maximum value of N3.
该实施方式中,终端当前的第一分屏窗口的宽度可以是0.4a,第二分屏窗口的宽度可以 是0.6a。In this implementation, the width of the current first split-screen window of the terminal may be 0.4a, and the width of the second split-screen window may be 0.6a.
该实施方式中,终端接收到符合第二规则的触控操作可分为以下三种情况:In this implementation, the terminal receives a touch operation that complies with the second rule, which can be divided into the following three situations:
情况1,若终端接收到在第一分屏窗口按压操作以及同时作用于第二分屏窗口的滑动操作,且按压操作的时长位于Y内,且滑动操作的距离位于W1内,便可认为终端接收到了符合第二规则的触控操作,便可设定第二分屏窗口的宽度为第三预设宽度0.5a,并设定第一分屏窗口的宽度为0.5a。然后基于上述第三预设宽度0.5a和第四预设宽度0.5a,调整第一分屏窗口和第二分屏窗口的大小。也就是,将第一分屏窗口的宽度调小,并将第二分屏窗口的宽度调大。Case 1: If the terminal receives a pressing operation in the first split-screen window and a sliding operation that simultaneously acts on the second split-screen window, and the duration of the pressing operation is within Y, and the distance of the sliding operation is within W1, the terminal can be considered After receiving the touch operation that complies with the second rule, the width of the second split-screen window can be set to the third preset width of 0.5a, and the width of the first split-screen window can be set to 0.5a. Then, based on the third preset width 0.5a and the fourth preset width 0.5a, the sizes of the first split-screen window and the second split-screen window are adjusted. That is, reduce the width of the first split-screen window and increase the width of the second split-screen window.
情况2,若终端接收到在第一分屏窗口按压操作以及同时作用于第二分屏窗口的滑动操作,且按压操作的时长位于Y内,且滑动操作的距离位于W2内,便可认为终端接收到了符合第二规则的触控操作,便可设定第二分屏窗口的宽度为第三预设宽度0.6a,并设定第一分屏窗口的宽度为0.4a。然后基于上述第三预设宽度0.6a和第四预设宽度0.4a,调整第一分屏窗口和第二分屏窗口的大小。也就是,两个分屏窗口的大小未改变。Case 2: If the terminal receives a pressing operation in the first split-screen window and a sliding operation that simultaneously acts on the second split-screen window, and the duration of the pressing operation is within Y, and the distance of the sliding operation is within W2, the terminal can be considered After receiving the touch operation that complies with the second rule, the width of the second split-screen window can be set to the third preset width of 0.6a, and the width of the first split-screen window can be set to 0.4a. Then, based on the third preset width 0.6a and the fourth preset width 0.4a, the sizes of the first split-screen window and the second split-screen window are adjusted. That is, the size of the two split-screen windows has not changed.
情况3,若终端接收到在第一分屏窗口按压操作以及同时作用于第二分屏窗口的滑动操作,且按压操作的时长位于Y内,且滑动操作的距离位于W3内,便可认为终端接收到了符合第二规则的触控操作,便可设定第二分屏窗口的宽度为第三预设宽度0.8a,并设定第一分屏窗口的宽度为0.2a。然后基于上述第三预设宽度0.8a和第四预设宽度0.2a,调整第一分屏窗口和第二分屏窗口的大小。也就是,将第一分屏窗口的宽度调大,并将第二分屏窗口的宽度调小。Case 3: If the terminal receives a pressing operation in the first split-screen window and a sliding operation that simultaneously acts on the second split-screen window, and the duration of the pressing operation is within Y, and the distance of the sliding operation is within W3, the terminal can be considered After receiving the touch operation that complies with the second rule, the width of the second split-screen window can be set to the third preset width of 0.8a, and the width of the first split-screen window can be set to 0.2a. Then, based on the third preset width 0.8a and the fourth preset width 0.2a, the sizes of the first split-screen window and the second split-screen window are adjusted. That is, increase the width of the first split-screen window and decrease the width of the second split-screen window.
需要说明的是,当第三预设宽度为0时,第四预设宽度可与显示屏的显示区域的宽度相同,此情况下,可将第一分屏窗口调整为全屏显示。即,显示屏显示一个窗口。It should be noted that 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. In this case, the first split-screen window may be adjusted to full-screen display. That is, the display shows a window.
该方法中,终端可通过符合第一规则的触控操作,来调整第一分屏窗口与第二分屏窗口的大小,操作简单,进一步为用户提供方便,满足用户的不同需求,进一步提升用户的使用体验。In this method, the terminal can adjust the size of the first split-screen window and the second split-screen window through touch operations that comply with the first rule. The operation is simple, further providing convenience to the user, meeting the different needs of the user, and further improving the user experience. usage experience.
在一个示例性实施例中,提供了一种窗口调整装置,应用于终端。该窗口调整装置用于实施上述的窗口调整方法。示例地,参考图4所示,窗口调整装置可包括显示模块101、接收模块102、确定模块103和调整模块104。In an exemplary embodiment, a window adjustment device is provided, which is applied to a terminal. The window adjustment device is used to implement the above-mentioned window adjustment method. For example, referring to FIG. 4 , the window adjustment device may include a display module 101 , a receiving module 102 , a determining module 103 and an adjusting module 104 .
显示模块101被配置为,在终端的显示屏显示两个分屏窗口;其中,两个分屏窗口与同一预设应用的两个活动界面一一对应,两个活动界面所装载的预设应用的页面重叠或不重叠;The display module 101 is configured to display two split-screen windows on the display screen of the terminal; the two split-screen windows correspond one-to-one to two active interfaces of the same default application, and the default applications loaded in the two active interfaces The pages overlap or do not overlap;
接收模块102被配置为,接收作用于两个分屏窗口的至少任一窗口上的触控操作;The receiving module 102 is configured to receive a touch operation acting on at least any one of the two split-screen windows;
确定模块103被配置为,当触控操作符合预设规则时,根据触控操作,确定窗口尺寸参数;The determination module 103 is configured to determine the window size parameters according to the touch operation when the touch operation complies with the preset rules;
调整模块104被配置为,将窗口尺寸参数传递给两个分屏窗口分别对应的活动界面,调整两个分屏窗口的大小。The adjustment module 104 is configured to transfer the window size parameters to the active interfaces respectively corresponding to the two split-screen windows, and adjust the sizes of the two split-screen windows.
在一个示例性实施例中,提供了一种窗口调整装置,应用于终端。该装置中,预设规则,包括以下中的至少一种:In an exemplary embodiment, a window adjustment device is provided, which is applied to a terminal. In this device, the preset rules include at least one of the following:
第一规则,在第一分屏窗口上按压并朝向第二分屏窗口滑动第一距离区间;The first rule is to press on the first split-screen window and slide the first distance interval toward the second split-screen window;
第二规则,在第一分屏窗口上按压以及同时作用于第二分屏窗口滑动第二距离区间;The second rule is to press on the first split-screen window and simultaneously act on the second split-screen window to slide the second distance interval;
其中,第一分屏窗口为两个分屏窗口中的任一分屏窗口,第二分屏窗口为所述两个分屏窗口中的另一分屏窗口。Wherein, the first split-screen window is any one of the two split-screen windows, and the second split-screen window is the other split-screen window of the two split-screen windows.
在一个示例性实施例中,提供了一种窗口调整装置,应用于终端。参考图4所示,该装置中,确定模块103被配置为:In an exemplary embodiment, a window adjustment device is provided, which is applied to a terminal. Referring to Figure 4, in this device, the determination module 103 is configured as:
当触控操作符合所述第一规则时,则根据第一距离区间,设定第一分屏窗口的宽度为对应的第一预设宽度,并根据第一预设宽度得到第二分屏窗口的第二预设宽度。When the touch operation complies with the first rule, the width of the first split-screen window is set to the corresponding first preset width according to the first distance interval, and the second split-screen window is obtained based on the first preset width. The second default width.
在一个示例性实施例中,提供了一种窗口调整装置,应用于终端。参考图4所示,该装置中,确定模块103被配置为:In an exemplary embodiment, a window adjustment device is provided, which is applied to a terminal. Referring to Figure 4, in this device, the determination module 103 is configured as:
当触控操作符合所述第二规则时,则根据第二距离区间,设定第二分屏窗口的宽度为对应的第三预设宽度,并根据第三预设宽度得到第一分屏窗口的第四预设宽度。When the touch operation complies with the second rule, the width of the second split-screen window is set to the corresponding third preset width according to the second distance interval, and the first split-screen window is obtained according to the third preset width. The fourth default width.
在一个示例性实施例中,提供了一种窗口调整装置,应用于终端。该装置中,第二分屏窗口所显示的内容为第一分屏窗口所显示内容的上一级或下一级页面。In an exemplary embodiment, a window adjustment device is provided, which is applied to a terminal. In this device, the content displayed in the second split-screen window is the upper or lower level page of the content displayed in the first split-screen window.
在一个示例性实施例中,提供了一种窗口调整装置,应用于终端。参考图4所示,该装置中,接收模块102被配置为:In an exemplary embodiment, a window adjustment device is provided, which is applied to a terminal. Referring to Figure 4, in this device, the receiving module 102 is configured as:
在终端的显示屏显示两个分屏窗口之前,接收分屏操作指令。Before the terminal's display screen displays two split-screen windows, receive the split-screen operation instruction.
在一个示例性实施例中,提供了一种终端。该终端可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。In an exemplary embodiment, a terminal is provided. The terminal can be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
参照图5所示,终端800可以包括以下一个或多个组件:处理组件802,存储器804,电力组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。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 , and a sensor component. 814, and communications component 816.
处理组件802通常控制终端800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令, 以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。 Processing component 802 generally controls the overall operations of terminal 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
存储器804被配置为存储各种类型的数据以支持在设备800的操作。这些数据的示例包括用于在终端800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。 Memory 804 is configured to store various types of data to support operations at 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, etc. Memory 804 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
电源组件806为终端800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为终端800生成、管理和分配电力相关联的组件。 Power supply component 806 provides power to various components of terminal 800. Power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 800.
多媒体组件808包括在所述终端800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Multimedia component 808 includes a screen that provides an output interface between the terminal 800 and the user. 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 the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action. In some embodiments, multimedia component 808 includes a front-facing camera and/or a rear-facing camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当终端800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。 Audio component 810 is configured to output and/or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when terminal 800 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 804 or sent via communication component 816 . In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
传感器组件814包括一个或多个传感器,用于为终端800提供各个方面的状态评估。例如,传感器组件814可以检测到设备800的打开/关闭状态,组件的相对定位,例如所述组件为终端800的显示器和小键盘,传感器组件814还可以检测终端800或终端800一个组件的位置改变,用户与终端800接触的存在或不存在,终端800方位或加速/减速和终端800的温 度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor component 814 includes one or more sensors that provide various aspects of status assessment for terminal 800 . For example, the sensor component 814 can detect the open/closed state of the device 800, the relative positioning of components, such as the display and keypad of the terminal 800, and the sensor component 814 can also detect the position change of the terminal 800 or a component of the terminal 800. , the presence or absence of user contact with the terminal 800 , the orientation or acceleration/deceleration of the terminal 800 and the temperature change of the terminal 800 . Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. 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 component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件816被配置为便于终端800和其他设备之间有线或无线方式的通信。终端800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communication between the terminal 800 and other devices. The terminal 800 can 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 communications component 816 also includes a near field communications (NFC) module to facilitate short-range communications. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,终端800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, the terminal 800 may be configured 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 array (FPGA), controller, microcontroller, microprocessor or other electronic components are implemented for executing the above method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由终端800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 804 including instructions, which can be executed by the processor 820 of the terminal 800 to complete the above method is also provided. 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 an exemplary embodiment, a non-transitory computer-readable storage medium is provided, which when instructions in the storage medium are executed by a processor of the terminal, enables the terminal to perform a window adjustment method. Among them, window adjustment methods may include:
在终端的显示屏显示两个分屏窗口;其中,两个分屏窗口与同一预设应用的两个活动界面一一对应,两个活动界面所装载的预设应用的页面重叠或不重叠;Two split-screen windows are displayed on the display screen of the terminal; the two split-screen windows correspond one-to-one to two active interfaces of the same preset application, and the pages of the preset application loaded in the two active interfaces overlap or do not overlap;
接收作用于两个分屏窗口的至少任一窗口上的触控操作;Receive a touch operation on at least one of the two split-screen windows;
当触控操作符合预设规则时,根据触控操作,确定窗口尺寸参数;When the touch operation complies with the preset rules, the window size parameters are determined based on the touch operation;
将窗口尺寸参数传递给两个分屏窗口分别对应的活动界面,调整两个分屏窗口的大小。Pass the window size parameters to the active interfaces corresponding to the two split-screen windows, and adjust the sizes of the two split-screen windows.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will be readily 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 that follow the general principles of the invention and include common knowledge or customary technical means in the technical field that are not disclosed in the present disclosure. . 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 present invention is not limited to the precise construction described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
工业实用性Industrial applicability
本文中,在终端通过两个分屏窗口分别显示同一预设应用的两个页面时,用户可通过符合预设规则的触控操作调整两个分屏窗口的大小,以实现对两个分屏窗口的大小的调整,为用户提供方便,满足用户的不同需求,进一步提升用户的使用体验。In this article, when the terminal displays two pages of the same preset application through two split-screen windows, the user can adjust the size of the two split-screen windows through touch operations that comply with the preset rules to realize the control of the two split-screen windows. The adjustment of the window size provides convenience for users, meets the different needs of users, and further enhances the user experience.

Claims (14)

  1. 一种窗口调整方法,应用于终端,其中,所述窗口调整方法包括:A window adjustment method, applied to a terminal, wherein the window adjustment method includes:
    在所述终端的显示屏显示两个分屏窗口;其中,所述两个分屏窗口与同一预设应用的两个活动界面一一对应,所述两个活动界面所装载的所述预设应用的页面重叠或不重叠;Two split-screen windows are displayed on the display screen of the terminal; wherein, the two split-screen windows correspond to two active interfaces of the same preset application, and the preset loaded by the two active interfaces Application pages overlap or do not overlap;
    接收作用于所述两个分屏窗口的至少任一窗口上的触控操作;Receive a touch operation on at least any one of the two split-screen windows;
    当所述触控操作符合预设规则时,根据所述触控操作,确定窗口尺寸参数;When the touch operation complies with the preset rules, determine the window size parameters according to the touch operation;
    将所述窗口尺寸参数传递给所述两个分屏窗口分别对应的活动界面,调整所述两个分屏窗口的大小。The window size parameter is passed to the active interfaces respectively corresponding to the two split-screen windows, and the sizes of the two split-screen windows are adjusted.
  2. 根据权利要求1所述的窗口调整方法,其中,所述预设规则,包括以下中的至少一种:The window adjustment method according to claim 1, wherein the preset rules include at least one of the following:
    第一规则,在第一分屏窗口上按压并朝向第二分屏窗口滑动第一距离区间;The first rule is to press on the first split-screen window and slide the first distance interval toward the second split-screen window;
    第二规则,在所述第一分屏窗口上按压以及同时作用于所述第二分屏窗口滑动第二距离区间;The second rule is to press on the first split-screen window and simultaneously act on the second split-screen window to slide the second distance interval;
    其中,第一分屏窗口为所述两个分屏窗口中的任一分屏窗口,第二分屏窗口为所述两个分屏窗口中的另一分屏窗口。Wherein, the first split-screen window is any split-screen window among the two split-screen windows, and the second split-screen window is the other split-screen window among the two split-screen windows.
  3. 根据权利要求2所述的窗口调整方法,其中,所述当所述触控操作符合预设规则时,根据所述触控操作,确定窗口尺寸参数,包括:The window adjustment method according to claim 2, wherein when the touch operation complies with preset rules, determining window size parameters according to the touch operation includes:
    当所述触控操作符合所述第一规则时,则根据所述第一距离区间,设定所述第一分屏窗口的宽度为对应的第一预设宽度,并根据所述第一预设宽度得到所述第二分屏窗口的第二预设宽度。When the touch operation complies with the first rule, the width of the first split-screen window is set to the corresponding first preset width according to the first distance interval, and the width of the first split-screen window is set according to the first preset width. Assume the width to obtain the second preset width of the second split-screen window.
  4. 根据权利要求2所述的窗口调整方法,其中,所述当所述触控操作符合预设规则时,根据所述触控操作,确定窗口尺寸参数,包括:The window adjustment method according to claim 2, wherein when the touch operation complies with preset rules, determining window size parameters according to the touch operation includes:
    当所述触控操作符合所述第二规则时,则根据所述第二距离区间,设定所述第二分屏窗口的宽度为对应的第三预设宽度,并根据所述第三预设宽度得到所述第一分屏窗口的第四预设宽度。When the touch operation complies with the second rule, the width of the second split-screen window is set to the corresponding third preset width according to the second distance interval, and the width of the second split-screen window is set according to the third preset width. Assume the width to obtain the fourth preset width of the first split-screen window.
  5. 根据权利要求2-4任一项所述的窗口调整方法,其中,所述第二分屏窗口所显示的内容为所述第一分屏窗口所显示内容的上一级或下一级页面。The window adjustment method according to any one of claims 2 to 4, wherein the content displayed in the second split-screen window is a page above or below the content displayed in the first split-screen window.
  6. 根据权利要求1-4任一项所述的窗口调整方法,其中,所述在所述终端的显示屏显示两个分屏窗口之前,所述窗口调整方法还包括:The window adjustment method according to any one of claims 1 to 4, wherein before the display screen of the terminal displays two split-screen windows, the window adjustment method further includes:
    接收分屏操作指令。Receive split-screen operation instructions.
  7. 一种窗口调整装置,应用于终端,其中,所述窗口调整装置包括:A window adjustment device applied to a terminal, wherein the window adjustment device includes:
    显示模块被配置为,在所述终端的显示屏显示两个分屏窗口;其中,所述两个分屏窗口与同一预设应用的两个活动界面一一对应,所述两个活动界面所装载的所述预设应用的页面重叠或不重叠;The display module is configured to display two split-screen windows on the display screen of the terminal; wherein the two split-screen windows correspond to two active interfaces of the same preset application, and the two active interfaces are The loaded pages of the preset application overlap or do not overlap;
    接收模块被配置为,接收作用于所述两个分屏窗口的至少任一窗口上的触控操作;The receiving module is configured to receive a touch operation acting on at least any one of the two split-screen windows;
    确定模块被配置为,当所述触控操作符合预设规则时,根据所述触控操作,确定窗口尺寸参数;The determination module is configured to, when the touch operation complies with the preset rules, determine the window size parameter according to the touch operation;
    调整模块被配置为,将所述窗口尺寸参数传递给所述两个分屏窗口分别对应的活动界面,调整所述两个分屏窗口的大小。The adjustment module is configured to transfer the window size parameter to the active interface corresponding to the two split-screen windows respectively, and adjust the sizes of the two split-screen windows.
  8. 根据权利要求7所述的窗口调整装置,其中,所述预设规则,包括以下中的至少一种:The window adjustment device according to claim 7, wherein the preset rules include at least one of the following:
    第一规则,在第一分屏窗口上按压并朝向第二分屏窗口滑动第一距离区间;The first rule is to press on the first split-screen window and slide the first distance interval toward the second split-screen window;
    第二规则,在所述第一分屏窗口上按压以及同时作用于所述第二分屏窗口滑动第二距离区间;The second rule is to press on the first split-screen window and simultaneously act on the second split-screen window to slide the second distance interval;
    其中,第一分屏窗口为所述两个分屏窗口中的任一分屏窗口,第二分屏窗口为所述两个分屏窗口中的另一分屏窗口。Wherein, the first split-screen window is any split-screen window among the two split-screen windows, and the second split-screen window is the other split-screen window among the two split-screen windows.
  9. 根据权利要求8所述的窗口调整装置,其中,所述确定模块被配置为:The window adjustment device according to claim 8, wherein the determining module is configured to:
    当所述触控操作符合所述第一规则时,则根据所述第一距离区间,设定所述第一分屏窗口的宽度为对应的第一预设宽度,并根据所述第一预设宽度得到所述第二分屏窗口的第二预设宽度。When the touch operation complies with the first rule, the width of the first split-screen window is set to the corresponding first preset width according to the first distance interval, and the width of the first split-screen window is set according to the first preset width. Assume the width to obtain the second preset width of the second split-screen window.
  10. 根据权利要求8所述的窗口调整装置,其中,所述确定模块被配置为:The window adjustment device according to claim 8, wherein the determining module is configured to:
    当所述触控操作符合所述第二规则时,则根据所述第二距离区间,设定所述第二分屏窗口的宽度为对应的第三预设宽度,并根据所述第三预设宽度得到所述第一分屏窗口的第四预设宽度。When the touch operation complies with the second rule, the width of the second split-screen window is set to the corresponding third preset width according to the second distance interval, and the width of the second split-screen window is set according to the third preset width. Assume the width to obtain the fourth preset width of the first split-screen window.
  11. 根据权利要求8-10任一项所述的窗口调整装置,其中,所述第二分屏窗口所显示的内容为所述第一分屏窗口所显示内容的上一级或下一级页面。The window adjustment device according to any one of claims 8 to 10, wherein the content displayed in the second split-screen window is a page above or below the content displayed in the first split-screen window.
  12. 根据权利要求7-10任一项所述的窗口调整装置,其中,所述接收模块被配置为:The window adjustment device according to any one of claims 7-10, wherein the receiving module is configured to:
    在所述终端的显示屏显示两个分屏窗口之前,接收分屏操作指令。Before the display screen of the terminal displays two split-screen windows, a split-screen operation instruction is received.
  13. 一种终端,其中,包括:A terminal including:
    处理器;processor;
    用于存储所述处理器可执行指令的存储器;memory for storing instructions executable by the processor;
    其中,所述处理器被配置为:Wherein, the processor is configured as:
    在所述终端的显示屏显示两个分屏窗口;其中,所述两个分屏窗口与同一预设应用的两个活动界面一一对应,所述两个活动界面所装载的所述预设应用的页面重叠或不重叠;Two split-screen windows are displayed on the display screen of the terminal; wherein, the two split-screen windows correspond to two active interfaces of the same preset application, and the preset loaded by the two active interfaces Application pages overlap or do not overlap;
    接收作用于所述两个分屏窗口的至少任一窗口上的触控操作;Receive a touch operation on at least any one of the two split-screen windows;
    当所述触控操作符合预设规则时,根据所述触控操作,确定窗口尺寸参数;When the touch operation complies with the preset rules, determine the window size parameters according to the touch operation;
    将所述窗口尺寸参数传递给所述两个分屏窗口分别对应的活动界面,调整所述两个分屏窗口的大小。The window size parameter is passed to the active interfaces respectively corresponding to the two split-screen windows, and the sizes of the two split-screen windows are adjusted.
  14. 一种非临时性计算机可读存储介质,其中,当所述存储介质中的指令由终端的处理器执行时,使得终端能够执行一种窗口调整方法,所述窗口调整方法包括:A non-transitory computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to perform a window adjustment method, the window adjustment method includes:
    在所述终端的显示屏显示两个分屏窗口;其中,所述两个分屏窗口与同一预设应用的两个活动界面一一对应,所述两个活动界面所装载的所述预设应用的页面重叠或不重叠;Two split-screen windows are displayed on the display screen of the terminal; wherein, the two split-screen windows correspond to two active interfaces of the same preset application, and the preset loaded by the two active interfaces Application pages overlap or do not overlap;
    接收作用于所述两个分屏窗口的至少任一窗口上的触控操作;Receive a touch operation on at least any one of the two split-screen windows;
    当所述触控操作符合预设规则时,根据所述触控操作,确定窗口尺寸参数;When the touch operation complies with the preset rules, determine the window size parameters according to the touch operation;
    将所述窗口尺寸参数传递给所述两个分屏窗口分别对应的活动界面,调整所述两个分屏窗口的大小。The window size parameter is passed to the active interfaces respectively corresponding to the two split-screen windows, and the sizes of the two split-screen windows are adjusted.
PCT/CN2022/099686 2022-06-20 2022-06-20 Window adjustment method, apparatus, terminal, and storage medium WO2023245311A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2022/099686 WO2023245311A1 (en) 2022-06-20 2022-06-20 Window adjustment method, apparatus, terminal, and storage medium
CN202280004406.XA CN117616373A (en) 2022-06-20 2022-06-20 Window adjusting method, device, terminal and storage medium

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
WO2023245311A1 true WO2023245311A1 (en) 2023-12-28

Family

ID=89378893

Family Applications (1)

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

Country Status (2)

Country Link
CN (1) CN117616373A (en)
WO (1) WO2023245311A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140325436A1 (en) * 2011-11-16 2014-10-30 Samsung Electronics Co., Ltd. Mobile communication terminal for displaying event-handling view on split screen and method for controlling the same
CN107102806A (en) * 2017-01-25 2017-08-29 维沃移动通信有限公司 A kind of split screen input method and mobile terminal
CN110442293A (en) * 2019-08-02 2019-11-12 Oppo广东移动通信有限公司 Split screen application switching method, device and computer readable storage medium
CN110865744A (en) * 2019-09-30 2020-03-06 华为技术有限公司 Split-screen display method and electronic equipment
CN114281439A (en) * 2020-09-18 2022-04-05 华为技术有限公司 Screen splitting method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140325436A1 (en) * 2011-11-16 2014-10-30 Samsung Electronics Co., Ltd. Mobile communication terminal for displaying event-handling view on split screen and method for controlling the same
CN107102806A (en) * 2017-01-25 2017-08-29 维沃移动通信有限公司 A kind of split screen input method and mobile terminal
CN110442293A (en) * 2019-08-02 2019-11-12 Oppo广东移动通信有限公司 Split screen application switching method, device and computer readable storage medium
CN110865744A (en) * 2019-09-30 2020-03-06 华为技术有限公司 Split-screen display method and electronic equipment
CN114281439A (en) * 2020-09-18 2022-04-05 华为技术有限公司 Screen splitting method and device and electronic equipment

Also Published As

Publication number Publication date
CN117616373A (en) 2024-02-27

Similar Documents

Publication Publication Date Title
CN107526494B (en) Keyboard display method, device, terminal and storage medium
CN105159640B (en) Display interface rotating method and device and mobile terminal
EP3249509A1 (en) Method and device for playing live videos
JP6401785B2 (en) Liquid crystal display method and apparatus
CN111381746B (en) Parameter adjusting method, device and storage medium
JP2017520070A (en) Imaging parameter setting method, apparatus, program, and recording medium
WO2017008400A1 (en) Method and device for controlling intelligent device
WO2018000710A1 (en) Method and device for displaying wifi signal icon and mobile terminal
US20180139790A1 (en) Methods, apparatuses and storage medium for controlling a wireless connection
CN112905089A (en) Equipment control method and device
EP3846488A1 (en) Method and apparatus for controlling video
CN111522523A (en) Display processing method and device and computer storage medium
WO2023115777A1 (en) Cursor control method and apparatus, electronic device, and storage medium
WO2023245311A1 (en) Window adjustment method, apparatus, terminal, and storage medium
CN114442789A (en) Dark screen control method, device, equipment and storage medium
WO2023245310A1 (en) Window adjustment method and apparatus, and terminal and storage medium
CN111261081B (en) Screen display method and device
CN113360255A (en) Application management method and device
CN112905027A (en) Timing method and device, mobile terminal and storage medium
WO2023245334A1 (en) Screen brightness adjustment method and apparatus, and device and storage medium
CN111610899A (en) Interface display method, interface display device and storage medium
US20220291890A1 (en) Method for interaction between devices and medium
WO2023220929A1 (en) Interface display method and apparatus, terminal, and storage medium
CN106910472B (en) Control method and device for adjusting backlight
CN113744675B (en) Display effect adjusting method and device of display screen, electronic equipment and medium

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 202280004406.X

Country of ref document: CN

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

Ref document number: 22947092

Country of ref document: EP

Kind code of ref document: A1