WO2020062908A1 - 一种显示方向控制方法、***及移动终端 - Google Patents

一种显示方向控制方法、***及移动终端 Download PDF

Info

Publication number
WO2020062908A1
WO2020062908A1 PCT/CN2019/089986 CN2019089986W WO2020062908A1 WO 2020062908 A1 WO2020062908 A1 WO 2020062908A1 CN 2019089986 W CN2019089986 W CN 2019089986W WO 2020062908 A1 WO2020062908 A1 WO 2020062908A1
Authority
WO
WIPO (PCT)
Prior art keywords
focus window
display
display direction
window
terminal
Prior art date
Application number
PCT/CN2019/089986
Other languages
English (en)
French (fr)
Inventor
李同喜
付亮晶
林志泳
敬雷
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP19865743.9A priority Critical patent/EP3859522A4/en
Publication of WO2020062908A1 publication Critical patent/WO2020062908A1/zh
Priority to US17/211,436 priority patent/US20210208740A1/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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1626Constructional details or arrangements for portable computers with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2200/00Indexing scheme relating to G06F1/04 - G06F1/32
    • G06F2200/16Indexing scheme relating to G06F1/16 - G06F1/18
    • G06F2200/161Indexing scheme relating to constructional details of the monitor
    • G06F2200/1614Image rotation following screen orientation, e.g. switching from landscape to portrait mode

Definitions

  • the present application belongs to the field of display technology, and in particular, relates to a display direction control method, system, and mobile terminal.
  • a first aspect of the embodiments of the present application provides a display direction control method, including:
  • Detecting a direction adjustment event for a focus window where the focus window refers to a window currently being operated by the user, and the direction adjustment event refers to an event that triggers a terminal to adjust a display direction of the focus window;
  • the display direction of the underlying application corresponding to the focus window is adaptively adjusted according to the display direction of the focus window.
  • a second aspect of the embodiments of the present application provides a display direction control system, including:
  • a detection module configured to detect a direction adjustment event for a focus window, where the focus window refers to a window currently being operated by the user, and the direction adjustment event refers to an event that triggers a terminal to adjust a display direction of the focus window;
  • a window direction determining module configured to determine a display direction of the focus window according to the direction adjustment event
  • An application direction adjustment module is configured to adaptively adjust the display direction of the underlying application corresponding to the focus window according to the display direction of the focus window.
  • a third aspect of the embodiments of the present application provides a mobile terminal including a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor executes the computer program, Implement the steps of the method as described above.
  • a fourth aspect of the embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the steps of the foregoing method.
  • FIG. 1 is a schematic flowchart of an implementation process of a display direction control method according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of another implementation process of a display direction control method according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a free window display interface in a horizontal screen direction and a vertical screen direction according to an embodiment of the present application
  • FIG. 4 is a schematic structural diagram of a display direction control system according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
  • This embodiment provides a display direction control method, which can be applied to any mobile terminal having a multi-window display function, such as a mobile phone, a tablet computer, a personal digital assistant, and the like.
  • the mobile terminal may specifically be an Android terminal supporting four display modes: full screen, split screen, picture-in-picture, and FreeForm mode.
  • the window displayed by the mobile terminal in FreeForm mode is FreeForm window, also known as As a free window or a dynamic window, the size of the FreeForm window can be freely scaled and dragged at will.
  • the display direction control method provided in this embodiment includes:
  • Step S101 Detect a direction adjustment event for a focus window, where the focus window refers to a window that a user is currently operating, and the direction adjustment event refers to an event that triggers a terminal to adjust a display direction of the focus window.
  • the focus window refers to the window that the user is currently operating. If the user is not currently operating any window, the focus window may be the window that is currently displayed in the foreground and that was operated by the user last time.
  • the multi-window display of the Android system is implemented based on a multi-stack (Stack) scheme, that is, there are multiple Activity Stacks.
  • There will only be one Focus Stack and one Focus Activity in the entire Android system that is, the entire system will only have one focus at the same time, corresponding to one focus window. In which activity the user operates, the focus activity points to the activity, and the focus stack points to the stack to which the focus activity belongs, that is, in which window the user operates, which window is the focus window.
  • the direction adjustment event for the focus window refers to an event that triggers the terminal to adjust the display direction of the focus window.
  • the terminal can adjust the display direction of the focus window.
  • the orientation adjustment event for the focus window may include a change in the screen orientation of the terminal, receiving a direction adjustment instruction for the focus window, and a touch event for the focus window, etc., wherein the touch event for the focus window may be based on the user ’s Actual usage habits are set in advance.
  • the touch event for the focus window can be set to long-press the blank area of the focus window, single or multi-touch and rotate the blank area of the focus window, single-point or multi-touch and rotate the focus window. Corner areas and other unusual touch operations. By setting the touch event for the focus window to a non-conventional touch operation, the same as other regular operations can be avoided to effectively prevent misoperations.
  • Step S102 When the direction adjustment event is detected, determine a display direction of the focus window according to the direction adjustment event.
  • the display direction of the focus window can be determined according to the direction adjustment event. Different direction adjustment events are specifically used to adjust the display direction of the focus window to which direction. Actually needs to be set in advance.
  • the display direction of the focus window can usually be adjusted to the horizontal or vertical screen direction that is the same as the screen direction of the terminal.
  • the correspondence between the orientation adjustment event and the display direction of the focus window can be set in advance. For example, when the orientation adjustment event is the change in the screen orientation of the terminal, the correspondence between the orientation adjustment event and the display direction of the focus window can be:
  • the display direction of the focus window changes following the screen direction of the terminal, and the display direction of the focus window is the same as the screen direction of the terminal.
  • Step S103 Adjust the display direction of the underlying application corresponding to the focus window adaptively according to the display direction of the focus window.
  • the display direction of the underlying application corresponding to the focus window may be adaptively adjusted according to the corresponding relationship between the preset display direction of the focus window and the display direction of the underlying application corresponding to the focus window.
  • the correspondence between the display direction of the focus window and the display direction of the underlying application corresponding to the focus window may be: the display direction of the underlying application corresponding to the focus window changes following the display direction of the focus window, and the display direction of the focus window corresponds to the focus window
  • the underlying application has the same display orientation.
  • step S102 the method further includes:
  • the display direction of the underlying application corresponding to the non-focus window is adaptively adjusted according to the display direction of the non-focus window.
  • non-focus windows include windows that are not currently operated by the user running in the foreground.
  • the display direction of the non-focus window running in the foreground By adjusting the display direction of the non-focus window running in the foreground to be the same as the display direction of the focus window, the display directions of all windows on the current display interface can be made consistent and the display effect can be improved.
  • the underlying application running in the background is not displayed on the current display interface, it will not affect the display effect.
  • the display direction display will affect the display effect of the screen. Therefore, when adjusting the display direction of the focus window, the display direction of the underlying application running in the background should also be adjusted accordingly to switch the foreground application running in the background to the foreground display. , Can show a good display effect.
  • the focus window includes a free window.
  • the display direction of the free window is usually determined by the display direction of the underlying application. If the display direction and related orientation settings of the underlying application are not changed, the display direction of the free window will usually remain unchanged.
  • the freedom is determined by adjusting the event according to the direction
  • the display direction of the window and its corresponding underlying application can make the display direction of the free window not restricted by the display direction of its underlying application, and can also change the display direction of the underlying application to follow the display direction of its corresponding free window.
  • the display direction control method further includes:
  • the display direction of the new focus window is adaptively adjusted according to the display direction of the focus window.
  • the new focus window when a new focus window is opened or the currently displayed focus window is switched to any of the non-focus windows to display the new focus window, the new focus window can be adaptively adjusted according to the display direction of the currently displayed focus window.
  • the display direction of the focus window is that the display direction of the new focus window can be consistent with the display direction of the currently displayed focus window, so that the display effect of the new focus window can be improved.
  • steps S101 to S103 can be performed on the new focus window to adaptively adjust the display direction of the underlying application corresponding to the new focus window.
  • the focus window can be realized by detecting a direction adjustment event for the focus window, determining the display direction of the focus window according to the direction adjustment event, and adaptively adjusting the display direction of the underlying application corresponding to the focus window according to the display direction of the focus window.
  • the flexible control of the display direction can also make the underlying application correspond to the display direction of the focus window, which can effectively improve the display effect and user experience, thereby effectively solving the limitation of the display direction of the window of the mobile terminal to the underlying application corresponding to the window
  • the display direction cannot be controlled flexibly, and the user experience is poor.
  • the orientation adjustment event for the focus window in Embodiment 1 includes changing the screen orientation of the terminal
  • step S101 includes:
  • Step S201 Detect whether the screen orientation of the terminal changes
  • step S102 includes:
  • Step S202 When the screen orientation of the terminal changes, adjust the display direction of the focus window to the current screen orientation of the terminal.
  • the screen orientation of the terminal and changes in the screen orientation may be detected by a gravity sensor and / or a gyroscope provided on the terminal.
  • the screen orientation generally includes a landscape orientation and a portrait orientation.
  • the screen orientation may also include an oblique orientation. The angle between the oblique direction and the landscape orientation and portrait orientation is greater than 0 ° and less than 90 °.
  • the method includes:
  • Step S203 When the screen orientation of the terminal is switched from a landscape orientation to a portrait orientation, adjust the current lateral width of the focus window to be less than or equal to the current lateral width of the terminal;
  • Step S204 When the screen orientation of the terminal is switched from a portrait orientation to a landscape orientation, adjust the current vertical width of the focus window to be less than or equal to the current vertical width of the terminal.
  • the current horizontal width of the focus window may be greater than the current horizontal width of the terminal , which causes the focus window to be displayed incomplete in the horizontal direction and affects the display effect. Therefore, the current horizontal width of the focus window needs to be adjusted accordingly, and the current horizontal width of the focus window is adjusted to be less than or equal to the current horizontal width of the terminal, so that the focus window is It can be displayed completely in the horizontal direction to improve the display effect.
  • the current vertical width of the focus window may be larger than the current vertical orientation of the terminal. Width, resulting in the incomplete display of the focus window in the vertical direction, which affects the display effect. Therefore, the current vertical width of the focus window needs to be adjusted accordingly.
  • the current vertical width of the focus window must be less than or equal to the current vertical width of the terminal. The focus window can be completely displayed in the vertical direction, improving the display effect.
  • FIG. 3 a schematic diagram of a free window display interface in a landscape orientation and a portrait orientation is exemplarily shown; wherein, the left diagram exemplarily shows that the screen orientation of the terminal is the portrait orientation and the current focus window If the horizontal width is smaller than the current horizontal width of the terminal, the arrow ( ⁇ ) in the left image indicates the horizontal width direction, and the dashed box indicates the size of the focus window before adjustment; the right image exemplarily shows that the screen orientation of the terminal is horizontal. In the case where the current vertical width of the focus window is smaller than the current vertical width of the terminal, the arrow ( ⁇ ) direction in the right figure indicates the vertical width direction, and the dashed box indicates the size of the focus window before adjustment.
  • the horizontal and vertical width adjustment methods of the underlying application corresponding to the focus window, the non-focus window, and the underlying application corresponding to the non-focus window are the same as those of the focus window, and are not repeated here.
  • the direction adjustment event for the focus window includes receiving a direction adjustment instruction for the focus window
  • step S101 includes:
  • direction adjustment instruction refers to an instruction that triggers the terminal to adjust the display direction of the focus window
  • step S102 includes:
  • the display direction of the focus window is adjusted to the display direction corresponding to the direction adjustment instruction.
  • the direction adjustment instruction may be input through a direction adjustment instruction input button or a toolbar of a current display interface or an area where a focus window is located, and may also be input through a terminal system setting interface, or may be input through voice control or gesture control.
  • the direction adjustment instruction may specifically be text information, voice information, or gestures corresponding to the direction to be adjusted. For example, if text information indicating rotation to the left is input through the toolbar of the current display interface or the area where the focus window is located, the focus window rotates to the left
  • the specific rotation angle can be set according to actual needs, and the rotation angle is usually 90 °.
  • the direction adjustment event for the focus window includes a touch event for the focus window
  • step S102 includes:
  • the specific touch operation included in the touch event can be set in advance according to the user's actual usage habits.
  • the touch event may be an operation of single-pointing a corner region of the focus window and sliding, and the sliding direction is the rotation direction of the focus window, and the rotation angle is positively related to the sliding distance in the sliding direction.
  • this embodiment provides a display direction control system 4 for performing the method steps in Embodiment 1 or Embodiment 2.
  • the display direction control system 4 may be any one having a multi-window display function.
  • the display direction control system 4 includes:
  • a detection module 401 is configured to detect a direction adjustment event for a focus window, where the focus window refers to a window currently being operated by a user, and the direction adjustment event refers to an event that triggers a terminal to adjust a display direction of the focus window;
  • a window direction determining module 402 configured to determine a display direction of the focus window according to the direction adjustment event when the direction adjustment event is detected;
  • An application direction adjustment module 403 is configured to adaptively adjust the display direction of the underlying application corresponding to the focus window according to the display direction of the focus window.
  • the detection module may include a terminal gyroscope, a gravity sensor, an acceleration sensor, a touch chip, a keyboard, a button, a microphone, a camera, and other devices.
  • the orientation adjustment event for the focus window includes a change in the screen orientation of the terminal
  • the detection module is specifically configured to detect whether the screen orientation of the terminal has changed
  • the window orientation determination module is specifically configured to adjust the display direction of the focus window to the current screen orientation of the terminal when the screen orientation of the terminal changes.
  • the display direction control system further includes a direction adjustment module for:
  • the current vertical width of the focus window is adjusted to be less than or equal to the current vertical width of the terminal.
  • the window direction determining module is further configured to adjust the display direction of the non-focus window to be the same as the display direction of the focus window if a non-focus window exists;
  • the application direction adjustment module is further configured to adaptively adjust the display direction of the underlying application corresponding to the non-focus window according to the display direction of the non-focus window.
  • the direction adjustment event for the focus window includes receiving a direction adjustment instruction for the focus window
  • the detection module is specifically configured to detect whether a direction adjustment instruction for the focus window is received, where the direction adjustment instruction refers to an instruction that triggers the terminal to adjust the display direction of the focus window;
  • the window direction determining module is specifically configured to adjust a display direction of the focus window to a display direction corresponding to the direction adjustment instruction when a direction adjustment instruction for the focus window is received.
  • the direction adjustment event for the focus window includes a touch event for the focus window
  • the window direction determining module is specifically configured to adjust a display direction of the focus window to a display direction corresponding to the touch event according to the touch event.
  • the window direction determining module is further configured to adaptively adjust a display direction of the new focus window according to a display direction of the focus window when the focus window is switched to a new focus window.
  • the detection module, the window direction determination module, and the application direction adjustment module may be software program modules in the processor of the terminal, or processors that are independently provided.
  • the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), and field programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • This embodiment detects a direction adjustment event for a focus window.
  • the display direction of the focus window is determined according to the direction adjustment event, and the underlying application corresponding to the focus window is adaptively adjusted according to the display direction of the focus window.
  • the display direction can realize flexible control of the display direction of the focus window, and can also make the underlying application correspond to the display direction of the focus window, which can effectively improve the display effect and user experience.
  • this embodiment provides a mobile terminal 5 including a processor 50, a memory 51, and a computer program 52 stored in the memory 51 and executable on the processor 50, such as a display Direction control program.
  • the processor 50 executes the computer program 52
  • the steps in the foregoing embodiments of the display direction control method are implemented, for example, steps S101 to S103 shown in FIG.
  • the processor 50 executes the computer program 52
  • the functions of the modules in the foregoing device embodiments are implemented, for example, the functions of modules 401 to 403 shown in FIG. 4.
  • the computer program 52 may be divided into one or more modules, and the one or more modules are stored in the memory 51 and executed by the processor 50 to complete the present application.
  • the one or more modules may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe an execution process of the computer program 52 in the mobile terminal 5.
  • the computer program 52 may be divided into a detection module, a window direction determination module, and an application direction adjustment module. The specific functions of each module are as follows:
  • a detection module configured to detect a direction adjustment event for a focus window, where the focus window refers to a window currently being operated by the user, and the direction adjustment event refers to an event that triggers a terminal to adjust a display direction of the focus window;
  • a window direction determining module configured to determine a display direction of the focus window according to the direction adjustment event when the direction adjustment event is detected
  • An application direction adjustment module is configured to adaptively adjust the display direction of the underlying application corresponding to the focus window according to the display direction of the focus window.
  • the mobile terminal 5 may include, but is not limited to, a processor 50 and a memory 51. Those skilled in the art can understand that FIG. 5 is only an example of the mobile terminal 5 and does not constitute a limitation on the mobile terminal 5. It may include more or fewer components than shown in the figure, or combine some components, or different components. For example, the mobile terminal may further include an input / output device, a network access device, a bus, and the like.
  • the processor 50 may be a central processing unit, or may be other general-purpose processors, digital signal processors, application specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components. Wait.
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory 51 may be an internal storage unit of the mobile terminal 5, such as a hard disk or a memory of the mobile terminal 5.
  • the memory 51 may also be an external storage device of the mobile terminal 5, such as a plug-in hard disk, a Smart Media Card (SMC), and a Secure Digital (SD) provided on the mobile terminal 5. Card, flash card, etc.
  • the memory 51 may include both an internal storage unit of the mobile terminal 5 and an external storage device.
  • the memory 51 is configured to store the computer program and other programs and data required by the mobile terminal.
  • the memory 51 may also be used to temporarily store data that has been output or is to be output.
  • the disclosed system / mobile terminal and method can be implemented in other ways.
  • the system / mobile terminal embodiments described above are only schematic.
  • the division of the modules or units is only a logical function division.
  • components can be combined or integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • the functional units in the embodiments of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
  • the integrated module When the integrated module is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, this application implements all or part of the processes in the method of the above embodiment, and can also be completed by a computer program instructing related hardware.
  • the computer program can be stored in a computer-readable storage medium.
  • the computer When the program is executed by a processor, the steps of the foregoing method embodiments can be implemented. .
  • the computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file, or some intermediate form.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electric carrier signals, telecommunication signals, and software distribution media.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • electric carrier signals telecommunication signals
  • software distribution media any entity or device capable of carrying the computer program code
  • a recording medium a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electric carrier signals, telecommunication signals, and software distribution media.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本申请适用于显示技术领域,提供了一种显示方向控制方法、***及移动终端,本申请实施例通过检测针对焦点窗口的方向调整事件,当检测到方向调整事件时,根据方向调整事件确定焦点窗口的显示方向,并根据焦点窗口的显示方向适应性的调整焦点窗口对应的底层应用的显示方向,可以实现对焦点窗口的显示方向的灵活控制,同时也可以使底层应用与焦点窗口的显示方向相对应,可以有效提高显示效果和用户体验。

Description

一种显示方向控制方法、***及移动终端 技术领域
本申请属于显示技术领域,尤其涉及一种显示方向控制方法、***及移动终端。
背景技术
随着移动终端的屏幕的不断大屏化,以及各种功能应用的不断普及,在移动终端的屏幕上同时显示多种应用对应的窗口成为可能,为用户带来了良好的视觉和操作体验。
发明内容
本申请实施例的第一方面提供了一种显示方向控制方法,其包括:
检测针对焦点窗口的方向调整事件,所述焦点窗口是指用户当前正在操作的窗口,所述方向调整事件是指触发终端调整焦点窗口的显示方向的事件;
根据所述方向调整事件确定所述焦点窗口的显示方向;
根据所述焦点窗口的显示方向适应性的调整所述焦点窗口对应的底层应用的显示方向。
本申请实施例的第二方面提供了一种显示方向控制***,其包括:
检测模块,用于检测针对焦点窗口的方向调整事件,所述焦点窗口是指用户当前正在操作的窗口,所述方向调整事件是指触发终端调整焦点窗口的显示方向的事件;
窗口方向确定模块,用于根据所述方向调整事件确定所述焦点窗口的显示方向;
应用方向调整模块,用于根据所述焦点窗口的显示方向适应性的调整所述焦点窗口对应的底层应用的显示方向。
本申请实施例的第三方面提供了一种移动终端,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述方法的步骤。
本申请实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述方法的步骤。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的显示方向控制方法的一种实现流程示意图;
图2是本申请实施例提供的显示方向控制方法的另一种实现流程示意图;
图3是本申请实施例提供的横屏方向和竖屏方向的自由窗口显示界面的示意图;
图4是本申请实施例提供的显示方向控制***的结构示意图;
图5是本申请实施例提供的移动终端的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含一系列步骤或单元的过程、方法或***、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。
实施例1
本实施例提供一种显示方向控制方法,其可以应用于任意的具备多窗口显示功能的移动终端,例如,手机、平板电脑、个人数字助理等。
在应用中,移动终端具体可以为支持全屏、分屏、画中画和FreeForm模式共四种显示模式的安卓(Android)终端;其中,移动终端在FreeForm模式下显示的窗口为FreeForm窗口,又称为自由窗口或动态窗口,FreeForm窗口的大小可自由缩放且可以随意拖动。
如图1所示,本实施例所提供的显示方向控制方法,包括:
步骤S101、检测针对焦点窗口的方向调整事件,所述焦点窗口是指用户当前正在操作的窗口,所述方向调整事件是指触发终端调整焦点窗口的显示方向的事件。
在本实施例中,焦点窗口是指用户当前正在操作的窗口,若用户当前没有操作任何窗口,则焦点窗口可以是当前在前台显示且用户最近一次操作的窗口。
在应用中,安卓***的多窗口显示是基于多栈(Stack)方案来实现,即存在多个活动栈(ActivityStack)。活动栈是一个抽象的栈,每个栈都有自己的屏幕区域bound和id(身份标识号或唯一编码),Activity(活动)是以Task(任务)方式组织并放在某一个Stack(栈)中的。例如,桌面启动器(Launcher)、近期任务栏(RecentsActivity)属于id=HOME_STACK的栈中;上下分屏模式对应上下两个栈,屏幕被分割成上下两部分bound。整个安卓***中只会有一个焦点栈(Focus Stack),一个焦点活动(Focus Activity),即整个***在同一时刻只会有一个焦点,对应一个焦点窗口。用户在哪个活动中操作,焦点活动便指向该活动,焦点栈便指向焦点活动所属的栈,即用户在哪个窗口中操作,哪个窗口就是焦点窗口。
在本实施例中,针对焦点窗口的方向调整事件,是指触发终端调整焦点窗口的显示方向的事件,检测到该方向调整事件,即可触发终端调整焦点窗口的显示方向。
在应用中,针对焦点窗口的方向调整事件可以包括终端的屏幕方向发生改变、接收到针对焦点窗口的方向调整指令和针对焦点窗口的触摸事件等;其中,针对焦点窗口的触摸事件可以根据用户的实际使用习惯事先设置,例如,针对焦点窗口的触摸事件可以设置为长按焦点窗口的空白区域、单点或多点触摸并旋转焦点窗口的空白区域、单点或多点触摸并旋转焦点窗口的边角区域等非常规触摸操作。通过将针对焦点窗口的触摸事件设置为非常规触摸操作,可以避免与其他常规操作相同,以有效防止误操作。
步骤S102、当检测到所述方向调整事件时,根据所述方向调整事件确定所述焦点窗口的显示方向。
在应用中,在检测到针对焦点窗口的方向调整事件时,即可根据方向调整事件确定焦点窗口的显示方向,不同的方向调整事件具体用于将焦点窗口的显示方向调整到哪个方向,可以根据实际需要事先设定。焦点窗口的显示方向通常可以调整为与终端的屏幕方向相同的横屏方向或竖屏方向。可以事先设定方向调整事件与焦点窗口的显示方向之间的对应关系,例如,方向调整事件为终端的屏幕方向发生改变时,方向调整事件与焦点窗口的显示方向之间的对应关系可以为:焦点窗口的显示方向跟随终端的屏幕方向改变,并且焦点窗口的的显示方向与终端的屏幕方向相同。
步骤S103、根据所述焦点窗口的显示方向适应性的调整所述焦点窗口对应的底层应用的显示方向。
在应用中,可以根据预先设定的焦点窗口的显示方向与焦点窗口对应的底层应用的显示方向之间的对应关系,来适应性的调整焦点窗口对应的底层应用的显示方向。焦点窗口的显示方向与焦点窗口对应的底层应用的显示方向之间的对应关系可以为:焦点窗口对应的底层应用的显示方向跟随焦点窗口的显示方向改变,并且焦点窗口的显示方向与焦点窗口对应的底层应用的显示方向相同。
在一个实施例中,步骤S102之后,还包括:
若存在非焦点窗口,则将非焦点窗口的显示方向调整为与所述焦点窗口的显示方向相同;
根据所述非焦点窗口的显示方向适应性的调整所述非焦点窗口对应的底层应用的显示方向。
在应用中,非焦点窗口包括在前台运行的用户当前未操作的窗口。通过将在前台运行的非焦点窗口的显示方向调整为与焦点窗口的显示方向相同,可以使当前显示界面上的所有窗口的显示方向一致,提高显示效果。运行于后台的底层应用虽然未显示在当前显示界 面上,不会影响显示效果,但是当用户将运行于后台的底层应用切换到前台通过窗口显示时,若运行于后台的底层应用依然以之前的显示方向显示,则会影响到屏幕的显示效果,因此,在调整焦点窗口的显示方向时,也应对应调整运行于后台的底层应用的显示方向,以在运行于后台的底层应用切换到前台显示时,可以呈现出良好的显示效果。
在一个实施例中,所述焦点窗口包括自由窗口。
在应用中,自由窗口的显示方向通常由其底层应用的显示方向决定,如果不更改底层应用的显示方向和相关方向设置,自由窗口的显示方向通常会保持不变,通过根据方向调整事件确定自由窗口及其对应的底层应用的显示方向,可以使自由窗口的显示方向不受其底层应用的显示方向的限制,并且还能使底层应用的显示方向跟随其对应的自由窗口的显示方向变化。
在一个实施例中,所述显示方向控制方法,还包括:
当所述焦点窗口切换为新的焦点窗口时,根据所述焦点窗口的显示方向适应性的调整所述新的焦点窗口的显示方向。
在应用中,当开启新的焦点窗口或将当前显示的焦点窗口切换为非焦点窗口中的任一个,以显示新的焦点窗口时,可以根据当前显示的焦点窗口的显示方向适应性的调整新的焦点窗口的显示方向,即可以使新的焦点窗口的显示方向与当前显示的焦点窗口的显示方向保持一致,从而可以提高新的焦点窗口的显示效果。调整新的焦点窗口的显示方向之后,即可针对新的焦点窗口执行步骤S101~S103,以适应性的调整新的焦点窗口对应的底层应用的显示方向。
本实施例通过检测针对焦点窗口的方向调整事件,根据方向调整事件确定焦点窗口的显示方向,并根据焦点窗口的显示方向适应性的调整焦点窗口对应的底层应用的显示方向,可以实现对焦点窗口的显示方向的灵活控制,同时也可以使底层应用与焦点窗口的显示方向相对应,可以有效提高显示效果和用户体验,从而有效解决了移动终端的窗口的显示方向受限于窗口对应的底层应用的显示方向,无法灵活控制,用户体验较差的问题。
实施例2
如图2所示,在本实施例中,实施例一中的针对焦点窗口的方向调整事件包括终端的屏幕方向发生改变;
对应的,步骤S101包括:
步骤S201、检测终端的屏幕方向是否发生改变;
对应的,步骤S102包括:
步骤S202、当终端的屏幕方向发生改变时,将所述焦点窗口的显示方向调整为所述终 端的当前屏幕方向。
在应用中,终端的屏幕方向和屏幕方向的变化情况可以通过设置于终端的重力传感器和/或陀螺仪来检测。屏幕方向通常包括横屏方向和竖屏方向,屏幕方向也可以包括倾斜方向,倾斜方向与横屏方向和竖屏方向的夹角均大于0°且小于90°。通过将焦点窗口的显示方向调整为终端的当前屏幕方向,使焦点窗口的显示方向跟随当前屏幕方向变化,可以呈现最佳的显示效果。
如图2所示,在本实施例中,步骤S202之后,包括:
步骤S203、当所述终端的屏幕方向由横屏方向切换为竖屏方向时,将所述焦点窗口的当前横向宽度调整为小于或等于所述终端的当前横向宽度;
步骤S204、当所述终端的屏幕方向由竖屏方向切换为横屏方向时,将所述焦点窗口的当前竖向宽度调整为小于或等于所述终端的当前竖向宽度。
在应用中,当终端的屏幕方向由横屏方向切换为竖屏方向时,若仅使焦点窗口的显示方向跟随终端的屏幕方向改变,可能会导致焦点窗口的当前横向宽度大于终端的当前横向宽度,从而导致焦点窗口在横向上显示不完全,影响显示效果,因而需要对应调整焦点窗口的当前横向宽度,将焦点窗口的当前横向宽度调整为小于或等于终端的当前横向宽度,以使焦点窗口在横向上能够完全显示,提高显示效果。
同理,当终端的屏幕方向由竖屏方向切换为横屏方向时,若仅使焦点窗口的显示方向跟随终端的屏幕方向改变,可能会导致焦点窗口的当前竖向宽度大于终端的当前竖向宽度,从而导致焦点窗口在竖向上显示不完全,影响显示效果,因而需要对应调整焦点窗口的当前竖向宽度,将焦点窗口的当前竖向宽度调整为小于或等于终端的当前竖向宽度,以使焦点窗口在竖向上能够完全显示,提高显示效果。
如图3所示,示例性的示出了横屏方向和竖屏方向的自由窗口显示界面的示意图;其中,左图示例性的示出了终端的屏幕方向为竖屏方向且焦点窗口的当前横向宽度小于终端的当前横向宽度的情况,左图中箭头(→)方向表示横向宽度方向,虚线框表示调整之前的焦点窗口的大小;右图示例性的示出了终端的屏幕方向为横屏方向且焦点窗口的当前竖向宽度小于终端的当前竖向宽度的情况,右图中箭头(→)方向表示竖向宽度方向,虚线框表示调整之前的焦点窗口的大小。
在应用中,焦点窗口对应的底层应用、非焦点窗口以及非焦点窗口对应的底层应用的横向宽度和竖向宽度的调整方式与焦点窗口相同,此处不再赘述。
在一个实施例中,所述针对焦点窗口的方向调整事件包括接收到针对焦点窗口的方向调整指令;
对应的,步骤S101包括:
检测是否接收到针对焦点窗口的方向调整指令,所述方向调整指令是指触发终端调整焦点窗口的显示方向的指令;
对应的,步骤S102包括:
当接收到针对焦点窗口的方向调整指令时,将所述焦点窗口的显示方向调整为所方向调整指令对应的显示方向。
在应用中,方向调整指令可以通过当前显示界面或焦点窗口所在区域的方向调整指令输入按钮或工具栏来输入,还可以通过终端的***设置界面输入,也可以通过语音控制或手势控制方式输入。方向调整指令具体可以为与需要调整的方向对应的文字信息、语音信息或手势,例如,通过当前显示界面或焦点窗口所在区域的工具栏输入表示向左旋转的文字信息,则焦点窗口向左旋转,具体旋转角度可以根据实际需要进行设置,旋转角度通常为90°。
在一个实施例中,所述针对焦点窗口的方向调整事件包括针对焦点窗口的触摸事件;
对应的,步骤S102包括:
根据所述触摸事件,将所述焦点窗口的显示方向调整为与所述触摸事件对应的显示方向。
在应用中,触摸事件所包括的具体触摸操作可以根据用户的实际使用习惯事先设置。例如,触摸事件可以为单点触摸焦点窗口的边角区域并滑动的操作,滑动方向为焦点窗口的旋转方向,旋转角度与在滑动方向上的滑动距离正相关。
本实施例通过根据终端的屏幕方向来调整焦点窗口的显示方向和显示大小,可以在灵活改变焦点窗口的显示方向的同时保证焦点窗口能够完全显示,始终呈现最佳显示效果。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
实施例3
如图4所示,本实施例提供一种显示方向控制***4,用于执行实施例一或实施例二中的方法步骤,所述显示方向控制***4可以是任意的具备多窗口显示功能的移动终端中的软件程序***。所述显示方向控制***4包括:
检测模块401,用于检测针对焦点窗口的方向调整事件,所述焦点窗口是指用户当前正在操作的窗口,所述方向调整事件是指触发终端调整焦点窗口的显示方向的事件;
窗口方向确定模块402,用于当检测到所述方向调整事件时,根据所述方向调整事件确定所述焦点窗口的显示方向;
应用方向调整模块403,用于根据所述焦点窗口的显示方向适应性的调整所述焦点窗 口对应的底层应用的显示方向。
在应用中,检测模块可以包括终端的陀螺仪、重力传感器、加速度传感器、触控芯片、键盘、按键、麦克风、摄像头等器件。
在一个实施例中,所述针对焦点窗口的方向调整事件包括终端的屏幕方向发生改变;
对应的,所述检测模块具体用于检测终端的屏幕方向是否发生改变;
对应的,所述窗口方向确定模块具体用于当终端的屏幕方向发生改变时,将所述焦点窗口的显示方向调整为所述终端的当前屏幕方向。
在一个实施例中,所述显示方向控制***还包括方向调整模块,用于:
当所述终端的屏幕方向由横屏方向切换为竖屏方向时,将所述焦点窗口的当前横向宽度调整为小于或等于所述终端的当前横向宽度;
当所述终端的屏幕方向由竖屏方向切换为横屏方向时,将所述焦点窗口的当前竖向宽度调整为小于或等于所述终端的当前竖向宽度。
在一个实施例中,所述窗口方向确定模块还用于若存在非焦点窗口,则将非焦点窗口的显示方向调整为与所述焦点窗口的显示方向相同;
所述应用方向调整模块还用于根据所述非焦点窗口的显示方向适应性的调整所述非焦点窗口对应的底层应用的显示方向。
在一个实施例中,所述针对焦点窗口的方向调整事件包括接收到针对焦点窗口的方向调整指令;
对应的,所述检测模块具体用于检测是否接收到针对焦点窗口的方向调整指令,所述方向调整指令是指触发终端调整焦点窗口的显示方向的指令;
对应的,所述窗口方向确定模块具体用于当接收到针对焦点窗口的方向调整指令时,将所述焦点窗口的显示方向调整为所方向调整指令对应的显示方向。
在一个实施例中,所述针对焦点窗口的方向调整事件包括针对焦点窗口的触摸事件;
对应的,所述窗口方向确定模块具体用于根据所述触摸事件,将所述焦点窗口的显示方向调整为与所述触摸事件对应的显示方向。
在一个实施例中,所述窗口方向确定模块还用于当所述焦点窗口切换为新的焦点窗口时,根据所述焦点窗口的显示方向适应性的调整所述新的焦点窗口的显示方向。
在应用中,检测模块、窗口方向确定模块及应用方向调整模块可以是终端的处理器中的软件程序模块,也可以是相互独立设置的处理器。处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻 辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
本实施例通过检测针对焦点窗口的方向调整事件,当检测到方向调整事件时,根据方向调整事件确定焦点窗口的显示方向,并根据焦点窗口的显示方向适应性的调整焦点窗口对应的底层应用的显示方向,可以实现对焦点窗口的显示方向的灵活控制,同时也可以使底层应用与焦点窗口的显示方向相对应,可以有效提高显示效果和用户体验。
实施例4
如图5所示,本实施例提供一种移动终端5,其包括:处理器50、存储器51以及存储在所述存储器51中并可在所述处理器50上运行的计算机程序52,例如显示方向控制程序。所述处理器50执行所述计算机程序52时实现上述各个显示方向控制方法实施例中的步骤,例如图1所示的步骤S101至S103。或者,所述处理器50执行所述计算机程序52时实现上述各装置实施例中各模块的功能,例如图4所示模块401至403的功能。
示例性的,所述计算机程序52可以被分割成一个或多个模块,所述一个或者多个模块被存储在所述存储器51中,并由所述处理器50执行,以完成本申请。所述一个或多个模块可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序52在所述移动终端5中的执行过程。例如,所述计算机程序52可以被分割成,检测模块,窗口方向确定模块,应用方向调整模块,各模块具体功能如下:
检测模块,用于检测针对焦点窗口的方向调整事件,所述焦点窗口是指用户当前正在操作的窗口,所述方向调整事件是指触发终端调整焦点窗口的显示方向的事件;
窗口方向确定模块,用于当检测到所述方向调整事件时,根据所述方向调整事件确定所述焦点窗口的显示方向;
应用方向调整模块,用于根据所述焦点窗口的显示方向适应性的调整所述焦点窗口对应的底层应用的显示方向。
所述移动终端5可包括,但不仅限于,处理器50、存储器51。本领域技术人员可以理解,图5仅仅是移动终端5的示例,并不构成对移动终端5的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述移动终端还可以包括输入输出设备、网络接入设备、总线等。
所称处理器50可以是中央处理单元,还可以是其他通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述存储器51可以是所述移动终端5的内部存储单元,例如移动终端5的硬盘或内存。 所述存储器51也可以是所述移动终端5的外部存储设备,例如所述移动终端5上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器51还可以既包括所述移动终端5的内部存储单元也包括外部存储设备。所述存储器51用于存储所述计算机程序以及所述移动终端所需的其他程序和数据。所述存储器51还可以用于暂时地存储已经输出或者将要输出的数据。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述***中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的实施例中,应该理解到,所揭露的***/移动终端和方法,可以通过其它的方式实现。例如,以上所描述的***/移动终端实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各 个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的模块如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括是电载波信号和电信信号。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种显示方向控制方法,其特征在于,包括:
    检测针对焦点窗口的方向调整事件,所述焦点窗口是指用户当前正在操作的窗口,所述方向调整事件是指触发终端调整焦点窗口的显示方向的事件;
    当检测到所述方向调整事件时,根据所述方向调整事件确定所述焦点窗口的显示方向;
    根据所述焦点窗口的显示方向适应性的调整所述焦点窗口对应的底层应用的显示方向。
  2. 如权利要求1所述的显示方向控制方法,其特征在于,所述针对焦点窗口的方向调整事件包括终端的屏幕方向发生改变;
    对应的,检测针对焦点窗口的方向调整事件,包括:
    检测终端的屏幕方向是否发生改变;
    对应的,根据所述方向调整事件确定所述焦点窗口的显示方向,包括:
    当终端的屏幕方向发生改变时,将所述焦点窗口的显示方向调整为所述终端的当前屏幕方向。
  3. 如权利要求2所述的显示方向控制方法,其特征在于,当终端的屏幕方向发生改变时,将所述焦点窗口的显示方向调整为所述终端的当前屏幕方向之后,包括:
    当所述终端的屏幕方向由横屏方向切换为竖屏方向时,将所述焦点窗口的当前横向宽度调整为小于或等于所述终端的当前横向宽度;
    当所述终端的屏幕方向由竖屏方向切换为横屏方向时,将所述焦点窗口的当前竖向宽度调整为小于或等于所述终端的当前竖向宽度。
  4. 如权利要求2所述的显示方向控制方法,其特征在于,所述终端的屏幕方向包括倾斜方向,倾斜方向与横屏方向和竖屏方向的夹角均大于0°且小于90°。
  5. 如权利要求1所述的显示方向控制方法,其特征在于,根据所述方向调整事件确定所述焦点窗口的显示方向之后,还包括:
    若存在非焦点窗口,则将非焦点窗口的显示方向调整为与所述焦点窗口的显示方向相同;
    根据所述非焦点窗口的显示方向适应性的调整所述非焦点窗口对应的底层应用的显示方向。
  6. 如权利要求1所述的显示方向控制方法,其特征在于,所述针对焦点窗口的方向调整事件包括接收到针对焦点窗口的方向调整指令,所述方向调整指令是指触发终端调整焦点窗口的显示方向的指令;
    对应的,检测针对焦点窗口的方向调整事件,包括:
    检测是否接收到针对焦点窗口的方向调整指令;
    对应的,根据所述方向调整事件确定所述焦点窗口的显示方向,包括:
    当接收到针对焦点窗口的方向调整指令时,将所述焦点窗口的显示方向调整为所方向调整指令对应的显示方向。
  7. 如权利要求6所述的显示方向控制方法,其特征在于,所述方向调整指令通过当前显示界面或焦点窗口所在区域的方向调整指令输入按钮或工具栏输入;
    或者,所述方向调整指令通过终端的***设置界面输入;
    或者,所述方向调整指令通过语音控制方式输入;
    或者,所述方向调整指令通过手势控制方式输入。
  8. 如权利要求6所述的显示方向控制方法,其特征在于,所述方向调整指令包括文字信息、语音信息或手势。
  9. 如权利要求8所述的显示方向控制方法,其特征在于,当所述方向调整指令包括表示向左旋转的文字信息时,所述焦点窗口向左旋转。
  10. 如权利要求1所述的显示方向控制方法,其特征在于,所述针对焦点窗口的方向调整事件包括针对焦点窗口的触摸事件;
    对应的,根据所述方向调整事件确定所述焦点窗口的显示方向,包括:
    根据所述触摸事件,将所述焦点窗口的显示方向调整为与所述触摸事件对应的显示方向。
  11. 如权利要求10所述的显示方向控制方法,其特征在于,所述触摸事件包括长按所述焦点窗口的空白区域的操作;
    或者,单点或多点触摸并旋转所述焦点窗口的空白区域的操作;
    或者,单点或多点触摸并旋转所述焦点窗口的边角区域的操作。
  12. 如权利要求10所述的显示方向控制方法,其特征在于,所述触摸事件包括单点触摸所述焦点窗口的边角区域并滑动的操作。
  13. 如权利要求12所述的显示方向控制方法,其特征在于,滑动方向为所述焦点窗口的旋转方向,旋转角度与在滑动方向上的滑动距离正相关。
  14. 如权利要求1~13任一项所述的显示方向控制方法,其特征在于,所述焦点窗口包括自由窗口。
  15. 如权利要求1~13任一项所述的显示方向控制方法,其特征在于,还包括:
    当所述焦点窗口切换为新的焦点窗口时,根据所述焦点窗口的显示方向适应性的调整所述新的焦点窗口的显示方向。
  16. 如权利要求1~13任一项所述的显示方向控制方法,其特征在于,所述终端包括移动终端。
  17. 如权利要求16所述的显示方向控制方法,其特征在于,所述移动终端支持全屏、分屏、画中画和FreeForm模式共四种显示模式。
  18. 如权利要求17所述的显示方向控制方法,其特征在于,所述移动终端包括安卓终端。
  19. 一种显示方向控制***,其特征在于,包括:
    检测模块,用于检测针对焦点窗口的方向调整事件,所述焦点窗口是指用户当前正在操作的窗口,所述方向调整事件是指触发终端调整焦点窗口的显示方向的事件;
    窗口方向确定模块,用于当检测到所述方向调整事件时,根据所述方向调整事件确定所述焦点窗口的显示方向;
    应用方向调整模块,用于根据所述焦点窗口的显示方向适应性的调整所述焦点窗口对应的底层应用的显示方向。
  20. 一种移动终端,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至18任一项所述方法的步骤。
PCT/CN2019/089986 2018-09-27 2019-06-04 一种显示方向控制方法、***及移动终端 WO2020062908A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP19865743.9A EP3859522A4 (en) 2018-09-27 2019-06-04 DISPLAY AND MOBILE TERMINAL CONTROL PROCESS AND SYSTEM
US17/211,436 US20210208740A1 (en) 2018-09-27 2021-03-24 Method, Mobile Terminal, and Non-Transitory Computer-Readable Storage Medium for Controlling Displaying Direction

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811130200.3A CN109117241B (zh) 2018-09-27 2018-09-27 一种显示方向控制方法、***及移动终端
CN201811130200.3 2018-09-27

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/211,436 Continuation US20210208740A1 (en) 2018-09-27 2021-03-24 Method, Mobile Terminal, and Non-Transitory Computer-Readable Storage Medium for Controlling Displaying Direction

Publications (1)

Publication Number Publication Date
WO2020062908A1 true WO2020062908A1 (zh) 2020-04-02

Family

ID=64856812

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/089986 WO2020062908A1 (zh) 2018-09-27 2019-06-04 一种显示方向控制方法、***及移动终端

Country Status (4)

Country Link
US (1) US20210208740A1 (zh)
EP (1) EP3859522A4 (zh)
CN (1) CN109117241B (zh)
WO (1) WO2020062908A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117241B (zh) * 2018-09-27 2020-08-21 Oppo广东移动通信有限公司 一种显示方向控制方法、***及移动终端
CN110427150A (zh) * 2019-08-08 2019-11-08 北京字节跳动网络技术有限公司 应用程序的显示方法、装置、电子设备及计算机可读介质
CN112256173A (zh) * 2020-10-20 2021-01-22 北京字节跳动网络技术有限公司 电子设备的窗口显示方法、装置、终端和存储介质
CN113467666B (zh) * 2021-09-06 2021-11-16 北京鲸鲮信息***技术有限公司 一种调整应用窗口的方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090138819A1 (en) * 2007-11-26 2009-05-28 A Foundry Technology Co., Ltd. Window switch system
CN104978115A (zh) * 2014-04-02 2015-10-14 腾讯科技(深圳)有限公司 内容显示方法及装置
CN107357540A (zh) * 2017-06-30 2017-11-17 维沃移动通信有限公司 一种显示方向的调整方法及移动终端
CN109117241A (zh) * 2018-09-27 2019-01-01 Oppo广东移动通信有限公司 一种显示方向控制方法、***及移动终端

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9213365B2 (en) * 2010-10-01 2015-12-15 Z124 Method and system for viewing stacked screen displays using gestures
US7441204B2 (en) * 2004-02-06 2008-10-21 Microsoft Corporation Method and system for automatically displaying content of a window on a display that has changed orientation
CA2681856A1 (en) * 2008-10-07 2010-04-07 Research In Motion Limited A method and handheld electronic device having a graphic user interface with efficient orientation sensor use
US20140320536A1 (en) * 2012-01-24 2014-10-30 Google Inc. Methods and Systems for Determining Orientation of a Display of Content on a Device
CN104615336B (zh) * 2015-02-15 2019-01-15 联想(北京)有限公司 一种信息处理方法及电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090138819A1 (en) * 2007-11-26 2009-05-28 A Foundry Technology Co., Ltd. Window switch system
CN104978115A (zh) * 2014-04-02 2015-10-14 腾讯科技(深圳)有限公司 内容显示方法及装置
CN107357540A (zh) * 2017-06-30 2017-11-17 维沃移动通信有限公司 一种显示方向的调整方法及移动终端
CN109117241A (zh) * 2018-09-27 2019-01-01 Oppo广东移动通信有限公司 一种显示方向控制方法、***及移动终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3859522A4 *

Also Published As

Publication number Publication date
US20210208740A1 (en) 2021-07-08
CN109117241B (zh) 2020-08-21
EP3859522A1 (en) 2021-08-04
CN109117241A (zh) 2019-01-01
EP3859522A4 (en) 2021-11-24

Similar Documents

Publication Publication Date Title
WO2020062908A1 (zh) 一种显示方向控制方法、***及移动终端
US10928985B2 (en) User terminal device and displaying method thereof
US11216158B2 (en) Method and apparatus for multitasking
WO2018157662A1 (zh) 一种移动终端的显示控制方法及移动终端
US10996834B2 (en) Touchscreen apparatus user interface processing method and touchscreen apparatus
CN112947840B (zh) 包括触敏显示器的电子装置及操作该电子装置的方法
US10042391B2 (en) Electronic device with foldable display and method of operating the same
CN110471596B (zh) 一种分屏切换方法、装置、存储介质及电子设备
US10635295B2 (en) Device including plurality of touch screens and screen change method for the device
EP2940572A1 (en) Method and electronic device for managing display objects
EP4187378A1 (en) Application interface switching method and apparatus, and terminal and storage medium
US20210191741A1 (en) Window Switching Method, Terminal and Non-Transitory Computer-Readable Storage Medium
US10067666B2 (en) User terminal device and method for controlling the same
CN108463799B (zh) 电子设备的柔性显示器及其操作方法
CN110377220B (zh) 一种指令响应方法、装置、存储介质及电子设备
US20180307387A1 (en) Electronic device and method for operating the electronic device
EP3015969B1 (en) Method for scrolling
US9411399B2 (en) Portable electronic device and method of providing remaining amount of electric power of battery in portable electronic device
JP2013109421A (ja) 電子機器、電子機器の制御方法、電子機器の制御プログラム
WO2022100275A1 (zh) 移动终端上的多窗口处理方法、装置、移动终端及介质
WO2016173307A1 (zh) 一种消息复制方法和装置、以及智能终端
WO2024088317A1 (zh) 应用界面显示方法、装置、电子设备及存储介质
WO2023093661A1 (zh) 界面控制方法、装置、电子设备及存储介质
WO2020019337A1 (zh) 智能手表及其界面控制方法
WO2019051655A1 (zh) 一种屏幕亮度调整方法及终端

Legal Events

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

Ref document number: 19865743

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019865743

Country of ref document: EP

Effective date: 20210428

ENP Entry into the national phase

Ref document number: 2019865743

Country of ref document: EP

Effective date: 20210426