CN117707661A - Interface display method and related device - Google Patents

Interface display method and related device Download PDF

Info

Publication number
CN117707661A
CN117707661A CN202310891320.XA CN202310891320A CN117707661A CN 117707661 A CN117707661 A CN 117707661A CN 202310891320 A CN202310891320 A CN 202310891320A CN 117707661 A CN117707661 A CN 117707661A
Authority
CN
China
Prior art keywords
interface
application
display
screen
width
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310891320.XA
Other languages
Chinese (zh)
Inventor
兰向宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310891320.XA priority Critical patent/CN117707661A/en
Publication of CN117707661A publication Critical patent/CN117707661A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

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

Abstract

The application provides an interface display method and a related device, which are applied to the technical field of terminals. The method comprises the following steps: the method comprises the steps that a first interface of a first application is displayed on a vertical screen, the first interface is a full-screen interface, a first identifier of the first application is a first value, and the first value is used for identifying that the first application does not support horizontal screen display; when the terminal equipment is switched from a vertical screen state to a horizontal screen state, if the identification of the first application is in a preset application list, calculating display related information required when the first interface is displayed on the horizontal screen; and displaying a second interface of the first application according to the display related information transverse screen. In the embodiment of the application, for the first application which does not support the horizontal screen display in the terminal equipment, when the terminal equipment is switched from the vertical screen state to the horizontal screen state, if the identifier of the first application is in the preset application list, the interface of the application can be displayed on the horizontal screen, so that the requirements of the horizontal screen of a user are met, and the user experience is improved.

Description

Interface display method and related device
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to an interface display method and a related device.
Background
The terminal equipment is provided with a plurality of applications, wherein the applications can support vertical screen display and horizontal screen display, and the applications only support vertical screen display. For the application supporting the vertical screen display and the horizontal screen display, when the terminal equipment is switched from the vertical screen state to the horizontal screen state, the interface of the application can be displayed on the horizontal screen; for the application only supporting the vertical screen display, when the terminal equipment is switched from the vertical screen state to the horizontal screen state, the interface of the application cannot be displayed on the horizontal screen, the requirement of the horizontal screen of the user cannot be met, and the user experience is poor.
Disclosure of Invention
The application only supports the application of vertical screen display in the terminal equipment, and when the terminal equipment is switched from the vertical screen state to the horizontal screen state, the interface of the application can be displayed on the horizontal screen, so that the requirements of a user on the horizontal screen can be met, and the user experience is improved.
In a first aspect, the present application proposes an interface display method, which may be applied to a terminal device. The method comprises the following steps: the method comprises the steps that a first interface of a first application is displayed on a vertical screen, the first interface is a full-screen interface, a first identifier of the first application is a first value, and the first value is used for identifying that the first application does not support horizontal screen display; when the terminal equipment is switched from a vertical screen state to a horizontal screen state, if the identification of the first application is in a preset application list, calculating display related information required when the first interface is displayed on the horizontal screen; and displaying a second interface of the first application according to the display related information transverse screen.
And if the first interface is a full-screen interface, the width of the first interface is equal to the width of the screen of the terminal equipment, and the height of the first interface is equal to the height of the screen of the terminal equipment. The first interface may also be referred to as an interface of the first application when the screen is erected, which is not limited in this application. The first identification may be used to indicate whether the first application supports a landscape display. The first identifier is a first value, and the first value is used for identifying that the first application does not support the cross screen display. The first application does not support a landscape display depending on the application itself. The second interface may also be referred to as an interface of the first application when traversing the screen, which is not limited by this application.
The preset application list is an application list preset by the terminal equipment. The preset application list may include identifiers of one or more applications, where the applications corresponding to the identifiers of the applications may support forced horizontal screen, that is, if the identifier of the first application is in the preset application list, the terminal device may display an interface of the first application on the horizontal screen, where the first application does not support horizontal screen display. The display related information is used for indicating information required by the terminal equipment when the first interface is displayed on the horizontal screen so as to realize the horizontal screen display.
According to the method, for the first application which does not support the horizontal screen display in the terminal equipment, when the terminal equipment is switched from the vertical screen state to the horizontal screen state, if the identification of the first application is in the preset application list, the interface of the application can be displayed on the horizontal screen, so that the requirements of a user on the horizontal screen can be met, and the user experience is improved.
In a possible implementation, the display related information includes display area information of the second interface, and before displaying the second interface of the first application according to the display related information across the screen, the method further includes: updating display area information bounds of the first application into display area information of the second interface; displaying a second interface of the first application according to the display related information transverse screen, comprising: and if the bounds of the first application is judged to be modified, displaying a second interface of the first application according to the related information display cross screen.
The display area information bounds of the first application may represent display area information of an interface of the first application. When the terminal equipment is vertical to the screen, bounds is the display area information of the first interface. When the terminal equipment is switched from the vertical screen state to the horizontal screen state, if the identification of the first application is in a preset application list, the terminal equipment updates the bounds into the display area information of the second interface. If the bounds of the first application is modified, the display area information of the first interface is not equal to the display area information of the second interface, and the terminal device can display the second interface of the first application on a horizontal screen.
In this implementation manner, updating the bound may indicate that the display area information of the first application changes, and may display the interface according to the changed information, which is beneficial to reducing the probability that the bound cannot be displayed on the horizontal screen due to the unchanged bound.
In one possible implementation, if it is determined that the bound of the first application is modified, displaying the second interface of the first application according to the display related information cross-screen includes: if the bounds of the first application is modified and the display area of the second interface is not full-screen display, displaying the second interface of the first application according to the display related information; the display area information of the second interface comprises the width and the height of the second interface, the width of the second interface is smaller than the width of the first interface, and the height of the second interface is smaller than the height of the first interface.
If the bound of the first application is modified and the display area of the second interface is not full-screen display, it may be stated that the terminal device may force the second interface to be displayed on a horizontal screen, and the second interface does not occupy the screen of the whole terminal device. The terminal device may display the second interface according to the width of the second interface and Gao Heng screen.
In this way, the terminal device displays the second interface on the transverse screen when the bound of the first application is modified and the display area of the second interface is not full-screen display, which is beneficial to reasonably displaying the second interface.
In one possible implementation, the height of the second interface is equal to the width of the first interface, and the width of the second interface satisfies the following formula: w (w) 2 =h 2 /(w 1 /h 1 ) Wherein w is 2 Width of the second interface, h 2 High at the second interface, w 1 Is the width of the first interface, h 1 Is high at the first interface. Thus, the method is simple and convenient to calculate, and is beneficial to quickly obtaining the width and the height of the second interface.
In a possible implementation, the second interface is displayed in a preset area of a screen of the terminal device, and an area other than the preset area in the screen displays a preset effect.
The preset effect may be a picture with a certain transparency, but the application is not limited thereto. The display area of the second interface is not full screen display, so that the terminal device can display the second interface in a preset area of the screen, in order to improve user experience, a preset effect can be displayed in an area except the preset area, and compared with a scheme that the area except the preset area is black, the user experience can be improved.
In a possible implementation, the method further includes: and if the second identifier of the first application is a second value, setting the second identifier to a third value, wherein the second value is used for identifying that the width and the height of the first interface are adjusted, and the third value is used for identifying that the width and the height of the first interface are not adjusted.
The second flag is used to indicate whether the width and height of the first interface are adjusted. If the second identifier is the second value, it may be stated that the first application itself requests to adjust the width and the height of the first interface, and the terminal device may set the second identifier to the third value, that is, not adjust the width and the height of the first interface. In this way, it is advantageous to reduce the probability that the preset effect cannot be displayed due to the adjustment of the width and height of the first interface.
In one possible implementation, if it is determined that the bound of the first application is modified, displaying the second interface of the first application according to the display related information cross-screen includes: if the bounds of the first application is modified and the display area of the second interface is full-screen display, displaying the second interface of the first application according to the display related information; the display area information of the second interface comprises the width and the height of the second interface, the width of the second interface is equal to the height of the first interface, and the height of the second interface is equal to the width of the first interface.
If the bound of the first application is modified and the display area of the second interface is full-screen display, it may be stated that the terminal device may force the second interface to be displayed on a horizontal screen, and the second interface occupies the screen of the whole terminal device. The terminal device may display the second interface according to the width of the second interface and Gao Heng screen.
In this way, the terminal device displays the second interface on the transverse screen when the bound of the first application is modified and the display area of the second interface is full-screen display, which is beneficial to reasonably displaying the second interface.
In a possible implementation, the method further includes: if the display mode corresponding to the first application in the preset application list is not full-screen display, judging that the display area of the second interface is not full-screen display; or if the display mode corresponding to the first application in the preset application list is full-screen display, judging that the display area of the second interface is full-screen display.
The applications included in the preset application list can be displayed on a horizontal screen, and the applications in the preset application list also correspond to a display mode, wherein the display mode is full-screen display or not (or proportional display). And if the display mode corresponding to the first application in the preset application list is not full-screen display, judging that the display area of the second interface is not full-screen display. And if the display mode corresponding to the first application in the preset application list is full-screen display, judging that the display area of the second interface is full-screen display.
In this way, the terminal device can determine the display mode of the second interface from the preset application list, so that the second interface can be displayed on the transverse screen according to the determined display mode.
In one possible implementation, calculating display-related information required for displaying a first interface across screen includes: the apply Association () interface is called to calculate the display related information. Therefore, the related information is calculated and displayed through the existing interface, and the method is simple and convenient.
In a possible implementation, the method further includes: the vertical screen displays a third interface of the second application, a first identifier of the second application is a fourth value, and the fourth value is used for identifying that the second application supports horizontal screen display; and when the terminal equipment is switched from the vertical screen state to the horizontal screen state, the horizontal screen displays a fourth interface of the second application.
The second application is different from the first application. The first identifier of the second application is a fourth value for indicating that the second application supports a landscape display. The second application supports a landscape display depending on the application itself.
In this way, the application method and the application device can display the interface of the second application on the horizontal screen under the condition that the terminal equipment is switched from the vertical screen state to the horizontal screen state, and can display the interface of the first application on the horizontal screen under the condition that the terminal equipment is switched from the vertical screen state to the horizontal screen state if the first application is in a preset application list, and the two methods are not mutually influenced, so that the stable operation of the terminal equipment is facilitated.
In a second aspect, the present application provides a terminal device, which may also be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), or the like. The terminal device may be a mobile phone, a smart television, a wearable device, a tablet (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self-driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), or the like.
The terminal device includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes computer-executable instructions stored in the memory to cause the terminal device to perform a method as in the first aspect.
In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon. The computer program, when executed by a processor, implements a method as in the first aspect.
In a fourth aspect, the present application provides a computer program product comprising a computer program which, when run, causes a computer to perform the method as in the first aspect.
In a fifth aspect, the present application provides a chip comprising a processor for invoking a computer program in memory to perform the method according to the first aspect.
It should be understood that, the second aspect to the fifth aspect of the present application correspond to the technical solutions of the first aspect of the present application or the technical solutions of the second aspect of the present application, and the beneficial effects obtained by each aspect and the corresponding possible implementation manner are similar, and are not repeated.
Drawings
FIG. 1 is a schematic diagram of a vertical screen state switching to a horizontal screen state;
fig. 2 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;
fig. 3 is a software structural block diagram of a terminal device provided in an embodiment of the present application;
fig. 4 is a schematic diagram of an interface display method according to an embodiment of the present application;
FIG. 5 is a schematic flow chart of an interface call provided by an embodiment of the present application;
fig. 6 is a schematic module interaction diagram of an interface display method according to an embodiment of the present application;
FIG. 7 is a schematic flow chart of another interface display method provided by an embodiment of the present application;
fig. 8 is a schematic structural diagram of a chip according to an embodiment of the present application.
Detailed Description
For the sake of clarity in describing the technical solutions of the embodiments of the present application, the following description is first made:
in the embodiments of the present application, the words "first," "second," and the like are used to distinguish between identical or similar items that have substantially the same function and effect. For example, the first application and the second application are merely for distinguishing between different applications, and are not limited in their order. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
The term "at … …" in the embodiment of the present application may be instantaneous when a certain situation occurs, or may be a period of time before and after a certain situation occurs, which is not particularly limited in the embodiment of the present application. In addition, the display interface provided in the embodiments of the present application is merely an example, and the display interface may further include more or less content.
For terminal equipment with a large screen, such as a tablet, a mobile phone with a folding screen and the like, the terminal equipment can display an interface on a vertical screen or a horizontal screen. The terminal equipment is provided with a plurality of applications, wherein the applications can support vertical screen display and horizontal screen display, and the applications only support vertical screen display. For the application supporting the vertical screen display and the horizontal screen display, when the terminal equipment is switched from the vertical screen state to the horizontal screen state, the interface of the application can be displayed on the horizontal screen; for the application only supporting the vertical screen display, when the terminal equipment is switched from the vertical screen state to the horizontal screen state, the interface of the application cannot be displayed on the horizontal screen, the horizontal screen requirement of a user cannot be met, and the user experience is poor.
In view of this, the embodiments of the present application provide an interface display method and related apparatus, which are beneficial to meeting the requirements of a user on a horizontal screen and improving the user experience, when a terminal device switches from a vertical screen state to a horizontal screen state for an application that only supports vertical screen display.
The method provided by the embodiment of the application can be called a forced transverse screen. The forced horizontal screen refers to an interface which can display the application on the horizontal screen when the terminal equipment is switched from the vertical screen state to the horizontal screen state for the application which only supports the vertical screen display in the terminal equipment.
The forced transverse screen provided by the embodiment of the application can comprise two display modes, wherein one display mode is full-screen display, and the other display mode is proportional display. The full screen display refers to an interface which can display the application in full screen when the terminal equipment is switched from the vertical screen state to the horizontal screen state for the application which only supports the vertical screen display in the terminal equipment. The proportional display refers to that for the application only supporting the vertical screen display in the terminal equipment, when the terminal equipment is switched from the vertical screen state to the horizontal screen state, an interface of the application can be displayed in the middle area of the screen, and preset effects are displayed in the two side areas of the middle area of the screen. The preset effect may be a picture with a certain transparency, which is not limited in the embodiment of the present application.
Illustratively, FIG. 1 shows a schematic diagram of a vertical screen state switching to a horizontal screen state. As shown in fig. 1, the terminal device is a tablet. As shown in the interface a in fig. 1, when the panel is vertically screen, an interface for setting an application is displayed. The setup application may be an application that supports only portrait display. When the flat plate is switched from the vertical screen state to the horizontal screen state, the flat plate can forcedly horizontally screen. In one example, when the panel is switched from the vertical screen state to the horizontal screen state, the panel may display the interface of the setup application in a proportional display manner, that is, display the interface of the setup application in the middle area of the screen, and display preset effects in both side areas of the middle area of the screen, where the preset effects may be pictures with a certain transparency, as shown in interface b in fig. 1. In another example, when the tablet is switched from the portrait state to the landscape state, the tablet may display the interface of the setup application in a full screen display method, i.e., the interface of the setup application is displayed full screen, as shown by interface c in fig. 1.
For better understanding of the embodiments of the present application, first, a hardware structure of the terminal device will be described.
Fig. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 2, the terminal device includes: the terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It will be appreciated that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. The terminal device may execute the method provided in the embodiments of the present application through the processor 110.
The terminal device implements display functions through a GPU, a display screen 194, an application processor, and the like. The terminal device may display the interface shown in fig. 1 described above via a GPU, a display screen 194, and an application processor, for example. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrixorganic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot lightemitting diodes, QLED), or the like. In some embodiments, the terminal device may include 1 or N display screens 194, N being a positive integer greater than 1.
The internal memory 121 may be used to store computer-executable program code that includes instructions. The internal memory 121 may include a storage program area and a storage data area. For example, the internal memory 121 may store codes corresponding to the methods provided in the embodiments of the present application.
In addition, above the above components, the device also runs an operating system. Such as an iOS operating system, an android operating system, or a Windows operating system, etc. Running applications may be installed on the operating system.
The software system of the terminal device may adopt a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, a cloud architecture, or the like, which will not be described herein.
In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of a terminal device is illustrated.
Fig. 3 is a software configuration block diagram of a terminal device according to an embodiment of the present application. The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, an android (android) system may be divided into five layers, from top to bottom, an application layer, an application framework layer, a hardware abstraction layer (hardware abstraction layer, HAL), a kernel layer (kernel), a hardware layer, respectively.
The application layer may include a series of application packages. The application layer runs the application by calling an application program interface (application programming interface, API) provided by the framework layer. As shown in fig. 3, the application package may include applications such as cameras, calendars, maps, phones, music, and settings.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 3, the framework layer may include a window manager (window manager service) and a display manager (display manager service), among others. Wherein the window manager is used for managing window programs. The window manager may obtain the display screen size, determine if there is a status bar, lock the screen, touch the screen, drag the screen, intercept the screen, etc. The display manager is used to manage the lifecycle of the display, it decides how to control its logical display according to the currently connected physical display device, and upon a state change, sends notifications to the system and applications, etc. In the embodiment of the application, when the terminal device displays the interface of the application, the terminal device switches from the vertical screen state to the horizontal screen state, and the window manager can respond to the switching of the terminal device from the vertical screen state to the horizontal screen state through the activity recording module_1 (actigraphy_1), judge whether the direction of the application request includes horizontal screen display, judge whether the application is in a preset application list, judge whether the application uses a compatible mode, if the direction of the application request does not support horizontal screen display, and the identification of the application is in the preset application list, the terminal device can determine the interface display mode of the application, such as full screen display or proportional display, from the preset application list, if the interface display mode of the application is proportional display, then whether the application uses the compatible mode is based on the width and the height of the interface of the application displayed during horizontal screen, calculate the width and the height of the application interface displayed during horizontal screen, and can obtain the preset effect under the condition of proportional display. The window manager may also pass the width and height of the application interface displayed when the landscape screen is passed to the activity logging module_2 through the activity logging module_1. The window manager may also pass attributes of the preset effects, which may include transparency, display area, and size, etc., to a mailbox UI controller (letters controller) in the display manager through the activity recording module_1. The window manager may determine whether a display area of the application is changed through the activity recording module_2 (actiglycord_2), and in case of the change, transfer the changed display area to the activity recording module_1. The display manager may display the preset effect based on the attribute of the preset effect through the mailbox UI controller.
The HAL layer aims at abstracting hardware, and can provide a unified interface for inquiring hardware equipment for an upper-layer application or can also provide a data storage service for the upper-layer application. As shown in FIG. 3, the HAL layer may include a display driver module, a sensor hardware abstraction (sensor his). The display driving module is used for controlling the display driving to display the contents such as pictures, interfaces, notification information and the like on the display screen. The sensor hardware abstraction can control the sensor and monitor event change notifications for sensor drives. The plurality of modules in the HAL layer may follow a hardware abstraction layer interface description language (HAL interface definition language, HIDL) or an android interface description language (Android interface definition language, AIDL).
The kernel layer is a layer between hardware and software. As shown in fig. 3, the kernel layer may include one or more of the following: sensor driving, display driving, and the like.
The hardware layer may include: and hardware such as a microphone, a camera and a display screen.
It should be understood that in some embodiments, layers that implement the same function may be referred to by other names, or layers that implement the functions of multiple layers may be taken as one layer, or layers that implement the functions of multiple layers may be divided into multiple layers. The embodiments of the present application are not limited in this regard.
The hardware structure and the software architecture of the terminal device are described above in conjunction with fig. 2 and fig. 3, and the method applicable to the terminal device provided in the embodiment of the present application will be described below in conjunction with fig. 4.
Fig. 4 is a schematic diagram of an interface display method according to an embodiment of the present application. As shown in fig. 4, the method may include the steps of:
s401, when the vertical screen displays an interface of the first application, the terminal equipment responds to the vertical screen state and switches to the horizontal screen state, and first information is obtained.
The first application may be a camera, calendar, map, phone, music or settings application as described above with respect to fig. 2. The terminal device may include an auto-rotate control that, when selected, may support a portrait display and a landscape display. When the automatic rotation control is selected, the terminal equipment can acquire the holding direction (vertical holding or user horizontal holding) of the current terminal equipment in real time or periodically, when the terminal equipment detects that the user is switched from vertical holding to horizontal holding, the terminal equipment responds to the vertical screen state to be switched to the horizontal screen state, and first information is obtained.
The first information may include an identification of the first application, whether the first application supports a landscape display, whether the first application uses a compatible mode, and wide and high information of an interface of the first application. The identifier of the first application may be a name of the application, or may be a combination of at least one of a symbol, a number, or a letter, which is not limited in the embodiment of the present application. Whether the first application supports the horizontal screen display or not refers to whether the direction requested by the first application comprises the horizontal screen or not, if the first application supports the horizontal screen display, the direction requested by the first application can be described as comprising the horizontal screen, and the first application is the application supporting the horizontal screen display; if the first application does not support the horizontal screen display, the direction requested by the application itself can be indicated to not include the horizontal screen, and the first application is an application only supporting the vertical screen display. Whether the first application supports the horizontal screen display can be indicated by a first identifier, when the first identifier is true, the first application can be indicated to support the horizontal screen display, and when the first identifier is false, the first application can be indicated to not support the horizontal screen display. Whether the first application uses the compatible mode refers to whether the interface of the first application uses the compatible mode processing. Whether the interface of the first application uses compatible mode processing may be indicated by the second identification. If the first application uses the compatible mode, for example, the second identifier is true (true), the terminal device may process the interface of the first application using the compatible mode; if the first application does not use the compatible mode, e.g. the second flag is false, the terminal device may not process the interface of the first application. The compatible mode refers to a method for adjusting a display effect of an application interface preset by the terminal device, for example, the application interface is adjusted to be displayed in a proportion of 16:9, or the application interface is adjusted to be displayed in a proportion of 16:10, or the application interface is adjusted to be displayed in a proportion of 4:3. The compatibility mode may change the width and height of the interface of the first application. Whether the first application uses a compatible mode depends on the application itself. The width and height of the interface of the first application may represent a display area of the first application and may be represented by a symbol bounds, but the embodiment of the present application is not limited thereto. It will be appreciated that the width of the interface of the first application in portrait is equal to the width of the screen of the terminal device and the height of the interface of the first application in portrait is equal to the height of the screen of the terminal device.
When the terminal device displays the interface of the first application, the terminal device may respond to the vertical screen state and switch to the horizontal screen state through the configuration interface to obtain the first information. The first information may be represented by a symbol config, but the embodiment of the present application is not limited thereto.
S402, based on the first information, the terminal equipment judges whether the first application supports the horizontal screen display.
The first information includes information whether the first application supports a landscape display. If the first application includes information that the first application supports the flat screen display, it may be described that the first application is an application supporting the flat screen display, and the terminal device may display an interface of the first application on the flat screen, that is, execute S403. If the first application includes information that the first application does not support the landscape display, it may be described that the first application is an application that only supports the portrait display, and the terminal device may determine whether the first application supports the forced landscape display, that is, execute S404.
S403, if the first application supports the horizontal screen display, the terminal device can display the interface of the first application on the horizontal screen.
And if the first application supports the horizontal screen display, the terminal equipment realizes the interface of the horizontal screen display first application. In the embodiment of the application, parameters such as a display area and a display position of an interface of the first application in the transverse screen are not limited. For an application supporting the horizontal screen display, when the terminal equipment is switched from the vertical screen state to the horizontal screen state, the terminal equipment can display an interface of the first application on the horizontal screen.
S404, if the first application does not support the horizontal screen display, the terminal equipment judges whether the first application supports the forced horizontal screen.
The terminal equipment is preset with an application list, and all the applications included in the application list can support the forced horizontal screen. The applications in the application list also correspond to display modes such as a scaled display or a full screen display.
If the first application does not support the horizontal screen display, the terminal device may determine whether the application list includes the identifier of the first application, and if the application list includes the identifier of the first application, it may be indicated that the first application supports the forced horizontal screen, and then the terminal device may further obtain a display mode of the first application from the application list, for example, proportional display or full screen display. If the first application supports forced horizontal screen and supports proportional display, the terminal device may calculate the width and height of the interface of the first application when horizontal screen based on the method of S407. If the first application supports forced horizontal screen and supports full screen display, the terminal device may calculate the width and height of the interface of the first application when horizontal screen based on the method of S412. If the application list does not include the identifier of the first application, it may be stated that the first application does not support the forced horizontal screen, and the terminal device still displays the interface of the first application on the vertical screen, that is, S416 is executed.
S405, if the first application supports the forced horizontal screen, judging whether the first application uses the compatible mode.
The first information may include a second identifier, where the second identifier is used to identify whether the first application uses the compatible mode, and if the second identifier is true, it may indicate that the first application uses the compatible mode; if the second flag is false, it may be stated that the first application does not use the compatible mode.
S406, if the first application supports the forced horizontal screen, the compatible mode is used, and the proportional display is supported, the terminal device can skip the compatible mode.
The compatible mode may be implemented through a compattmode () interface. The terminal device skips the compatible mode, that is, does not execute the compatible mode, or does not call the CompattMode () interface, and does not adjust the interface of the first application when the screen is erected through the compatible mode.
For example, the second identifier is used to identify whether the first application uses the compatible mode, if the second identifier is true (true), the first application uses the compatible mode, the terminal device may set the second identifier to false (false), and if the terminal device detects that false is false, the compatible mode is not executed.
In one example, the terminal device may invoke the resolveoverride configuration () interface implementation in S402, S404, S405, and S406 described above.
The execution sequence of S402, S404, and S405 is not limited in the embodiment of the present application, and the sequence shown in fig. 4 is merely an example.
S407, if the first application supports forced horizontal screen and supports proportional display, the terminal equipment calculates the width and height of the interface of the first application in horizontal screen based on the zoom ratio and the width and height of the interface of the first application in vertical screen.
The zoom ratio may also be referred to as an application interface display thumbnail ratio, which is not limited in this embodiment of the present application. The scaling ratio may be preset or calculated based on a preset rule, which is not limited in the embodiment of the present application. The width and height of the interface of the first application at the time of the cross screen may represent the display area of the first application at the time of the cross screen.
Illustratively, the width and height of the interface of the first application when the screen is portrait is the width and height of the terminal device screen (e.g., w 1 And h 1 ) The scaling ratio may be a ratio of width to height (e.g., w 1 /h 1 ) The height of the interface of the first application in the landscape screen is equal to the width (e.g. w) 1 =h 2 ) The height of the interface of the first application at the time of the landscape screen divided by the zoom ratio is equal to that at the time of the landscape screenThe width of the interface of the first application (e.g. h 2 /(w 1 /h 1 )=w 2 )。
For example, the terminal device may call an applymopenratio () interface to calculate the width and height of the interface of the first application at the time of the horizontal screen based on the zoom ratio and the width and height of the interface of the first application at the time of the vertical screen.
S408, the terminal equipment updates the bandwidth and the height of the interface of the first application when the bounds are updated to the horizontal screen, and judges whether the bounds are modified or not.
The first information includes a width and a height of an interface of the first application when the screen is erected, which may be represented by bounds, and the terminal device may update bounds to a width and a height of an interface of the first application when the screen is horizontally erected, in other words, bounds is used to represent the width and the height of the interface of the first application when the screen is erected before S408, and bounds is used to represent the width and the height of the interface of the first application when the screen is horizontally erected after S408.
The terminal device may determine whether the bound is modified, that is, whether the width of the interface of the first application in the vertical screen is equal to the width of the interface of the first application in the horizontal screen, and if so, it indicates that the bound is not modified, and is still a display area of the first application in the vertical screen, and the terminal device may still display the interface of the first application in the vertical screen, that is, execute S416. If there is one or both of the two are not equal, it indicates that bound is modified, and the terminal device determines whether the first application is scaled display, i.e., performs S409.
As can be seen from S407 above, the height of the interface of the first application in the landscape screen is equal to the width of the interface of the first application in the portrait screen, the height of the interface of the first application in the landscape screen divided by the zoom ratio is equal to the width of the interface of the first application in the landscape screen, the width of the interface of the first application in the portrait screen is not equal to the width of the interface of the first application in the landscape screen, the height of the interface of the first application in the portrait screen is not equal to the height of the interface of the first application in the landscape screen, and the bounds is modified, and the terminal device may execute S409.
S409, if the bounds is modified, the terminal device determines whether the first application is a scaled display.
If the display mode corresponding to the first application in the application list is proportional display, the terminal equipment judges that the first application is proportional display. And if the display mode corresponding to the first application is full-screen display, the terminal equipment judges that the first application is not proportional display.
The above S407 is performed in a case where the first application supports the scale display, the first application being the scale display.
S410, if the first application is proportional display, the terminal equipment acquires a preset effect.
Parameters such as transparency, color, display area and the like of the preset effect are preset and can be stored in a buffer area (buffer) of the terminal equipment. If the first application is proportional display, the terminal device may obtain the preset effect from the buffer. The terminal device obtains the preset effect and can be understood as loading the preset effect by the terminal device.
S411, the terminal equipment displays an interface of the first application in the middle area of the screen, and displays preset effects in the two side areas of the middle area of the screen.
The terminal device may display the interface of the first application in the middle area of the screen according to the width and height of the interface of the first application in the transverse screen calculated in S407, and display the preset effect obtained in S410 in the two side areas of the middle area of the screen.
And S412, if the first application supports forced horizontal screen and supports full screen display, the terminal equipment obtains the width and the height of the interface of the first application when the first information comprises the vertical screen, and exchanges the width and the height of the interface of the first application when the vertical screen is erected, so as to obtain the width and the height of the interface of the first application when the horizontal screen is erected.
If the first application supports forced transverse screen and supports full-screen display, the terminal device can display the interface of the first application in a full-screen mode when the first application is in the transverse screen through a full-screen display method. Before the terminal device displays the interface of the first application in a full screen mode, the width and the height of the interface of the first application in the transverse screen process can be calculated first. The terminal equipment can obtain the width and the height of the interface of the first application when the first information comprises the vertical screen, and the width of the interface of the first application when the vertical screen is w 1 High interface of first application when vertical screen Is h 1 The terminal equipment determines the width of the interface of the first application in the vertical screen as the height h of the interface of the first application in the horizontal screen 2 =w 1 Determining the height of the interface of the first application in the vertical screen as the width of the interface of the first application in the horizontal screen, namely w 2 =h 1 And obtaining the width and the height of the interface of the first application when the screen is horizontally displayed.
For example, the terminal device may call an applymectratio () interface to exchange the width and the height of the interface of the first application, so as to obtain the width and the height of the interface of the first application when the screen is horizontally displayed.
S413, the terminal equipment updates the bounds to the display area of the first application when the screen is horizontally displayed, and judges whether the bounds is modified or not.
The first information includes the width and height of the interface of the first application when the screen is erected, which may be represented by bounds, and the terminal device may update bounds to the width and height of the interface of the first application when the screen is horizontally erected, in other words, bounds is used to represent the width and height of the interface of the first application when the screen is erected before S413, and bounds is used to represent the width and height of the interface of the first application when the screen is horizontally erected after S413.
The terminal device may determine whether the bound is modified, that is, whether the width of the interface of the first application in the vertical screen is equal to the width of the interface of the first application in the horizontal screen, and if so, it indicates that the bound is not modified, and is still a display area of the first application in the vertical screen, and the terminal device may still display the interface of the first application in the vertical screen, that is, execute S416. If there is an inequality, or neither, then the description bound is modified, and the terminal device determines whether the first application is scaled display, i.e. performs S414.
In S412, the width and the height of the interface of the first application in the vertical screen are exchanged to obtain the width and the height of the interface of the first application in the horizontal screen, that is, the width of the interface of the first application in the vertical screen is not equal to the width of the interface of the first application in the horizontal screen, the height of the interface of the first application in the vertical screen is not equal to the height of the interface of the first application in the horizontal screen, and then the bound is modified, and the terminal device determines whether the first application is displayed in proportion, that is, executes S414.
S414, if the bounds is modified, the terminal device judges whether the first application is a scale display.
The above S412 is performed in a case where the first application supports full-screen display, and the first application is full-screen display, not proportional display.
And S415, if the first application is not proportional display, the terminal equipment displays the interface of the first application in a full screen mode.
The terminal device may display the interface of the first application according to the width and height of the interface of the first application when the screen is traversed, which is calculated in S412.
It should be noted that, in the case where the first application supports the proportional display, the terminal device executes S407 to S411, and in the case where the first application supports the full-screen display, the terminal device executes S412 to S415. For the same application, S407 to S411 and S412 to S415 are not executed at the same time.
S416, if the first application does not support the horizontal screen display and does not support the forced horizontal screen display, the terminal equipment still displays the interface of the first application in a vertical screen mode. Or if the first application does not support the horizontal screen display and supports the forced horizontal screen, and the bounds is not modified, the interface of the first application is still displayed on the vertical screen.
In the method shown in fig. 4, it is possible to obtain:
the terminal equipment displays an interface of the first application, and responds to the switching of the terminal equipment from a vertical screen state to a horizontal screen state, the terminal equipment can display the interface of the first application in a middle area of the screen and display preset effects in two side areas of the middle area of the screen under the conditions that the first application does not support horizontal screen display, supports forced horizontal screen display, supports proportional display and is modified.
The terminal device displays an interface of the first application, and in response to the terminal device switching from the vertical screen state to the horizontal screen state, the terminal device can display the interface of the first application in a full screen mode under the conditions that the first application does not support horizontal screen display, supports forced horizontal screen display, supports full screen display and bounds is modified.
Under the condition that the terminal equipment supports the forced horizontal screen and supports the proportional display, if the first application uses the compatible mode, the compatible mode is not executed. Under the condition that the terminal equipment supports forced transverse screen and full screen display, if the first application uses the compatible mode, the terminal equipment can execute the compatible mode.
The terminal device displays an interface of the first application, and in response to the terminal device switching from the vertical screen state to the horizontal screen state, the terminal device can still display the interface of the first application in a vertical screen mode under the condition that the first application does not support horizontal screen display and does not support forced horizontal screen. Or, the terminal device may still display the interface of the first application on the vertical screen in the case that the first application does not support the landscape screen display, supports the forced landscape screen, and the bounds is not modified.
The terminal device displays an interface of the first application, and in response to the terminal device switching from the vertical screen state to the horizontal screen state, the terminal device can display the interface of the first application on the horizontal screen under the condition that the first application supports the horizontal screen display.
According to the method provided by the embodiment of the application, the terminal equipment displays the interface of the first application, and when the terminal equipment switches the horizontal screen state from the vertical screen state, the interface of the first application can be displayed on the horizontal screen under the condition that the first application does not support the horizontal screen display and the forced horizontal screen is supported, so that the requirements of the horizontal screen of a user are met, and the user experience is improved. According to the embodiment of the application, under the condition that the first application supports the forced horizontal screen, the proportional display and the full screen display are provided, different display effects can be provided for different applications, and the flexibility is higher. If the terminal device supports the forced transverse screen and supports the proportional display, since the display position area of the preset effect under the proportional display is determined based on the width and the height of the screen of the terminal device, it is required that the width and the height of the interface of the first application included in the first information cannot be adjusted, but if the first application uses the compatible mode, the width and the height of the interface of the first application are adjusted, so that the width and the height of the application interface displayed during the transverse screen are not matched with the display area of the preset effect, and the preset effect cannot be displayed. Therefore, in the embodiment of the application, under the condition that the terminal equipment supports the forced horizontal screen and supports the proportional display, if the first application uses the compatible mode, the compatible mode is skipped, so that the influence of the compatible mode on the width and the height of the first application interface included in the first information is avoided, the width and the height of the application interface displayed when the horizontal screen is determined based on the width and the height of the application interface displayed when the vertical screen is displayed, the width and the height of the application interface displayed when the horizontal screen are matched with the display area of the wallpaper, the interface and the preset effect of the application are displayed, the probability of display errors is reduced, and the user experience is improved. In addition, the terminal equipment judges whether the bounds is modified, and displays the interface of the first application in the middle of the screen and displays the preset effect in the two side areas of the middle area of the screen under the condition that the bounds is modified, wherein the preset effect and the interface of the first application are simultaneously displayed, so that the preset effect is displayed when the screen is horizontally displayed, the preset effect is acquired under the condition that the bounds is modified, the acquisition of multiple times can be avoided, the acquisition of the preset effect can be realized when the acquisition is needed, and the display error probability is reduced.
The method provided by the embodiment of the present application is described in detail in fig. 4, and in order to better understand the method provided by the embodiment of the present application, the method provided by the embodiment of the present application is described below from the point of view of interface call in conjunction with fig. 5.
Fig. 5 shows a schematic flow chart of an interface call. As shown in fig. 5, the method may include the steps of:
s501, when the vertical screen displays an interface of a first application, the terminal equipment responds to the vertical screen state to be switched to the horizontal screen state through configuration change interface, and first information is obtained.
This step is the same as S401 described above, and will not be described here again.
The configuration change interface may be expressed as a configuration change () interface. When the terminal device displays the interface of the first application, the terminal device may respond to the vertical screen state and switch to the horizontal screen state through the configuration interface to obtain the first information. The first information may be represented by a symbol config, but the embodiment of the present application is not limited thereto.
S502, based on the first information, the terminal equipment can judge whether the first application supports the horizontal screen display or not through analyzing the coverage interface, judge whether the first application supports the forced horizontal screen or not, and judge whether the first application uses a compatible mode or not.
This step corresponds to S402, S404, and S405 described above. The embodiment of the present application does not limit the execution order of these 3 steps.
The parse coverage interface may be represented as a resolveoverrideConfiguration () interface. The terminal device may call a resolveoverrideConfiguration () interface to determine whether the first application supports a landscape display, determine whether the first application supports a forced landscape, and determine whether the first application uses a compatible mode.
If the terminal device supports the forced horizontal screen, it can be stated that the identifier of the first application is in a preset application list. The terminal device may further obtain a display mode corresponding to the first application from a preset application list, for example, full-screen display or proportional display.
S503, in addition to the situation that the first application supports the forced horizontal screen and the first application is displayed in proportion, if the first application supports the compatible mode, the terminal device can call the compatible mode interface to adjust the width and the height of the interface of the first application.
The compatible mode interface may be expressed as a CompatMode () interface. For example, in addition to the situation that the first application supports the forced horizontal screen and the first application is displayed in proportion, if the first application supports the compatible mode, the terminal device may call the compttmode () interface to adjust the width and height of the interface of the first application.
S504, if the first application supports the forced horizontal screen, the terminal equipment invokes the application aspect ratio interface to calculate the width and height of the interface of the first application when the horizontal screen is calculated.
This step corresponds to S407 or S412 described above. When the first application supports the forced horizontal screen and supports the proportional display, the terminal device calculates the width and height of the interface of the first application when the horizontal screen is displayed according to the method shown in S407. When the first application supports the forced horizontal screen and supports the full screen display, the terminal device calculates the width and height of the interface of the first application when the horizontal screen is displayed according to the method shown in S412.
The application aspect ratio interface may be denoted as an applymopenratio () interface. Illustratively, the terminal device may calculate the width and height of the interface of the first application at the time of the landscape screen through the applyiaspectratio () interface.
S505, the terminal equipment calls a display area interface to update bounds based on the width and the height of the interface of the first application when the screen is horizontally displayed.
The first information includes a width and a height of an interface of the first application when the screen is erected, which may be represented by bounds, and the terminal device may update bounds to a width and a height of an interface of the first application when the screen is horizontally erected, in other words, bounds is used to represent the width and the height of the interface of the first application when the screen is erected before S505, and bounds is used to represent the width and the height of the interface of the first application when the screen is horizontally erected after S505.
The setting display area interface may be expressed as a setsources () interface. Illustratively, the terminal device may update the bound through the setsources () interface based on the width and height of the interface of the first application at the time of the cross-screen.
S506, the terminal equipment judges whether bounds are modified or not.
The step corresponds to S408 or S413, where the terminal device determines whether the updated bound is the same as the bound before the update, in other words, whether the width of the interface of the first application in the vertical screen is equal to the width of the interface of the first application in the horizontal screen, and whether the height of the interface of the first application in the vertical screen is equal to the height of the interface of the first application in the horizontal screen.
If bounds is not modified, the terminal device still vertically displays the interface of the first application. If bounds is modified, the terminal device may determine whether the first application is scaled display, i.e. execute S507.
S507, if the bounds is modified, the terminal device judges whether the first application is a proportional display.
This step corresponds to S409 or S414 described above, and will not be described here again.
And if the first application is not proportional display, the terminal equipment displays the interface of the first application in a full screen mode. If the first application is proportional display, the terminal device may obtain a preset effect, i.e. execute S508.
S508, if the first application is proportional display, the terminal equipment acquires a preset effect.
The preset effect may be expressed as an addwallpaper, and if the first application is displayed in proportion, the terminal device may obtain the addwallpaper.
This step corresponds to S410 described above, and will not be described here again.
According to the method provided by the embodiment of the application, the terminal equipment can call various interfaces to obtain the preset effect and carry out compatible processing with the compatible mode, so that the running stability of the terminal equipment is improved.
In the embodiment of the application, the terminal device displays the interface of the first application and displays the preset effect under the conditions that the first application does not support the horizontal screen display, the forced horizontal screen display and the proportional display are supported. In order to display the interface of the first application and the preset effect at the same time as much as possible, in the embodiment of the present application, after calculating the width and height of the interface of the first application when the cross screen is calculated, the bound may be updated, and whether the bound is modified or not may be determined, and in the case that the bound is modified, the preset effect may be obtained.
The embodiment of the application will explain the scheme of obtaining the preset effect by the terminal equipment in detail. The software architecture of the terminal device may be as shown in fig. 4, and the specific interaction of the modules in fig. 4 will be described below with reference to fig. 6.
FIG. 6 shows a schematic diagram of the modular interaction of an interface display method. The application framework layer of the terminal device comprises an activity recording module_1, an activity recording module_2 and a mailbox UI controller. As shown in fig. 6, the method includes the steps of:
and S601, when the terminal equipment displays an interface of the first application, the activity recording module_1 responds to the condition that the terminal equipment is switched from a vertical screen state to a horizontal screen state, and first information is obtained.
When the terminal device displays the interface of the first application, the terminal device can respond to the switching of the terminal device from the vertical screen state to the horizontal screen state through the configurationchange () interface to obtain the first information. The first information may be represented by a symbol config, but the embodiment of the present application is not limited thereto. The first information may include information such as an identification of the first application, whether the first application supports a landscape display, whether the first application uses a compatible mode, and a size of an interface of the first application. The size of the interface of the first application may be represented by the symbol bounds.
S602, the activity recording module_1 judges whether the first application uses a compatible mode or not based on the first information.
Illustratively, the activity recording module_1 may call a resolveFixedOrientationconfiguration () interface to determine whether the first application uses the compatible mode based on the first information. The first information includes a second identifier for indicating whether the first application uses the compatible mode, and if the second identifier is true, the first application can be described as using the compatible mode; if the second flag is false, it may be stated that the first application does not use the compatible mode.
S603, under the condition that the first application does not support the horizontal screen display, the forced horizontal screen display is supported, and the proportional display is supported, the activity recording module_1 does not execute the compatible mode.
In the case where the first application does not support the landscape display, supports the forced landscape display, and supports the proportional display, the activity recording module_1 does not execute the compatible mode even if the first application uses the compatible mode. For example, in the case where the first application does not support the landscape display, supports the forced landscape display, and supports the proportional display, if the first application uses the compatible mode, the activity recording module_1 calls the isskip usecomp mode () interface to skip the compatible mode, that is, does not execute the compatible mode.
S604, calculating the width and the height of the interface of the first application when the screen is horizontally arranged based on the zoom ratio and the width and the height of the interface of the first application when the screen is vertically arranged.
Under the conditions that the first application does not support the horizontal screen display, supports the forced horizontal screen and supports the proportional display, the activity recording module_1 calculates the width and the height of the interface of the first application when the horizontal screen is displayed based on the zoom ratio and the width and the height of the interface of the first application when the vertical screen is displayed. The specific calculation process is as shown in S408, and the detailed description is not repeated here.
For example, the activity recording module_1 may call a resolveassymectrodioRestriction () interface to determine whether the first application supports the forced horizontal screen, and in the case that the first application supports the forced horizontal screen, obtain a display manner of the first application in the application list, for example, proportional display or full screen display. Under the condition that the first application does not support the horizontal screen display, supports the forced horizontal screen and supports the proportional display, the activity recording module_1 can call an applymactratio () interface to calculate the width and the height of the interface of the first application when the horizontal screen is displayed based on the zoom ratio and the width and the height of the interface of the first application when the screen is vertically displayed.
S605, the activity recording module_1 transmits the width and height of the interface of the first application when the screen is traversed to the activity recording module_2, and correspondingly, the activity recording module_2 obtains the width and height of the interface of the first application when the screen is traversed from the activity recording module_1.
For example, the activity recording module_1 may call the applyicdisplay back () interface to pass the width and height of the interface of the first application when the landscape screen is passed to the activity recording module_2.
S606, the activity recording module_2 updates bounds based on the width and height of the interface of the first application at the time of the horizontal screen.
Before S606, bounds is equal to the width and height of the interface of the first application at the time of portrait screen, and after S606 bounds is equal to the width and height of the interface of the first application at the time of landscape screen.
Illustratively, the activity recording module_2 may invoke the setsources () interface to update bounds based on the width and height of the interface of the first application at the time of the cross-screen.
S607, the activity recording module_2 determines whether bound is modified.
The activity recording module_2 determines whether the bound is modified, in other words, the activity recording module_2 determines whether the width of the interface of the first application in the vertical screen is equal to the width of the interface of the first application in the horizontal screen, and whether the height of the interface of the first application in the vertical screen is equal to the height of the interface of the first application in the horizontal screen.
For example, the activity recording module_2 may call the getappdisplaysect () interface to determine if bound is modified.
S608, if the bounds is modified, judging whether the display is proportional display or not.
This step corresponds to S409 or S414 described above, and will not be described here again.
If the bound is modified and displayed in proportion, the activity recording module_2 may transmit the updated bound to the activity recording module_1, and correspondingly, the activity recording module_1 obtains the updated bound from the activity recording module_2.
The activity recording module_2 may be represented by the following example! OutBounds.equals (containgBounds) identifies the transfer of updated bounds to active record module_1.
S610, the activity recording module_1 sets the flag to true (true) based on the updated bound.
The flag is used to indicate whether a preset effect is obtained. The flag defaults to false. If the flag is true, the activity recording module_1 may obtain the preset effect, i.e. execute S611.
Illustratively, the marker may be a shouldblowblurlpaper forLetterbox. The activity recording module_2 sets the flag to true, i.e., shouldbarw wallpaper for flag=true, based on the indication information of the bounds change.
S611, under the condition that the mark is true, the activity recording module_1 acquires a preset effect.
For example, the activity recording module_1 may call the onLeashAnimationStarting (addWallpaper) interface to obtain the preset effect if the flag is true.
S612, the activity recording module_1 transmits the attribute of the preset effect to the mailbox UI controller, and correspondingly, the mailbox UI controller obtains the attribute of the preset effect from the activity recording module_1.
The attributes of the preset effect include transparency, size, color, display area, etc. of the wallpaper. The attribute of the preset effect is preset, and when the activity recording module_1 obtains the preset effect, the attribute of the preset effect can be obtained.
Illustratively, the activity record module_1 may invoke the getLetterbloxinerBounds () interface to pass the properties of the preset effect to the mailbox UI controller.
S613, the mailbox UI controller displays the preset effect based on the attribute of the preset effect.
Illustratively, the mailbox UI controller may invoke a shouldbow Letterbox UI () interface to display a preset effect based on its properties.
According to the interface display method provided by the embodiment of the application, under the condition that the first application does not support horizontal screen display, supports forced horizontal screen display and supports proportional display, if the first application uses a compatible mode, the activity recording module_1 does not execute the compatible mode, so that the width and the height of the interface of the first application in horizontal screen are determined based on the width and the height of the interface of the first application in vertical screen, and the probability of error of a preset effect is reduced. In addition, the activity recording module_1 sets the flag to true when the bound is modified, so that the preset effect is acquired subsequently, multiple acquisitions can be avoided, and the acquisition can be performed when needed, thereby being beneficial to reducing the display error probability.
It should be noted that, the names of the modules according to the embodiments of the present application may be defined as other names, so that the functions of each module may be achieved, and the names of the modules are not specifically limited.
The software interaction flow of the interface display method of the present application is exemplarily described above with respect to each software module in the terminal device, and the interface display method of the embodiment of the present application is continuously described in detail below with respect to the step flow.
Exemplary, fig. 7 shows a schematic flowchart of an interface display method provided in an embodiment of the present application. The method is suitable for the terminal equipment. As shown in fig. 7, the method includes the steps of:
s701, displaying a first interface of a first application by a vertical screen, wherein the first interface is a full-screen interface, a first identifier of the first application is a first value, and the first value is used for identifying that the first application does not support horizontal screen display.
And if the first interface is a full-screen interface, the width of the first interface is equal to the width of the screen of the terminal equipment, and the height of the first interface is equal to the height of the screen of the terminal equipment. The first interface may be used to represent the interface of the first application when the screen is portrait in fig. 4 described above. The first identification may be used to indicate whether the first application supports a landscape display. The first identifier is a first value, where the first value is used to identify that the first application does not support a landscape display, and in one example, the first value may be false (or "0"), which is not limited by embodiments of the present application. The first application does not support a landscape display depending on the application itself.
S702, when the terminal equipment is switched from a vertical screen state to a horizontal screen state, if the identification of the first application is in a preset application list, calculating display related information required when the first interface is displayed on the horizontal screen.
The preset application list is an application list preset by the terminal equipment. The preset application list may include identifiers of one or more applications, where the applications corresponding to the identifiers of the applications may support forced horizontal screen, that is, if the identifier of the first application is in the preset application list, the terminal device may display an interface of the first application on the horizontal screen, where the first application does not support horizontal screen display. The display related information is used for indicating information required by the terminal equipment when the first interface is displayed on the horizontal screen so as to realize the horizontal screen display.
For example, the terminal device may calculate display related information required when the first interface is displayed on the screen according to S405 or S406 in fig. 4 described above.
S703, displaying a second interface of the first application according to the display related information horizontal screen.
The second interface may be used to represent the interface of the first application when the screen is traversed in fig. 4 described above. According to the method provided by the embodiment of the application, for the first application which does not support the horizontal screen display in the terminal equipment, when the terminal equipment is switched from the vertical screen state to the horizontal screen state, if the identification of the first application is in the preset application list, the interface of the application can be displayed on the horizontal screen, so that the requirements of a user on the horizontal screen can be met, and the user experience is improved.
Optionally, the display related information includes display area information of the second interface, and before displaying the second interface of the first application according to the display related information on the horizontal screen, the method further includes: updating display area information bounds of the first application into display area information of the second interface; displaying a second interface of the first application according to the display related information transverse screen, comprising: and if the bounds of the first application is judged to be modified, displaying a second interface of the first application according to the related information display cross screen.
The display area information bounds of the first application may represent display area information of an interface of the first application. When the terminal equipment is vertical to the screen, bounds is the display area information of the first interface. When the terminal equipment is switched from the vertical screen state to the horizontal screen state, if the identification of the first application is in a preset application list, the terminal equipment updates the bounds into the display area information of the second interface. If the bounds of the first application is modified, the display area information of the first interface is not equal to the display area information of the second interface, and the terminal device can display the second interface of the first application on a horizontal screen.
The specific implementation of this method may refer to S406 or S411 in fig. 4, which are not described herein in detail.
In this implementation manner, updating the bound may indicate that the display area information of the first application changes, and may display the interface according to the changed information, which is beneficial to reducing the probability that the bound cannot be displayed on the horizontal screen due to the unchanged bound.
Optionally, if it is determined that the bound of the first application is modified, displaying the second interface of the first application according to the display related information cross screen includes: if the bounds of the first application is modified and the display area of the second interface is not full-screen display, displaying the second interface of the first application according to the display related information; the display area information of the second interface comprises the width and the height of the second interface, the width of the second interface is smaller than the width of the first interface, and the height of the second interface is smaller than the height of the first interface.
If the bound of the first application is modified and the display area of the second interface is not full-screen display, it may be stated that the terminal device may force the second interface to be displayed on a horizontal screen, and the second interface does not occupy the screen of the whole terminal device. The terminal device may display the second interface according to the width of the second interface and Gao Heng screen.
In this way, the terminal device displays the second interface on the transverse screen when the bound of the first application is modified and the display area of the second interface is not full-screen display, which is beneficial to reasonably displaying the second interface.
Optionally, the height of the second interface is equal to the width of the first interface, and the width of the second interface satisfies the following formula: w (w) 2 =h 2 /(w 1 /h 1 ) Wherein w is 2 Second boundaryFace width, h 2 High at the second interface, w 1 Is the width of the first interface, h 1 Is high at the first interface.
Optionally, the second interface is displayed in a preset area of a screen of the terminal device, and an area except the preset area in the screen is displayed with a preset effect.
The preset effect may be a picture with a certain transparency, but the embodiment of the application is not limited thereto. The display area of the second interface is not full screen display, so that the terminal device can display the second interface in a preset area of the screen, in order to improve user experience, a preset effect can be displayed in an area except the preset area, and compared with a scheme that the area except the preset area is black, the user experience can be improved.
For example, the terminal device may display the second interface in the middle area of the screen, and display the preset effect in the areas other than the preset area, that is, the two side areas of the middle area, for example, as shown in the interface b in fig. 1.
Optionally, the method further comprises: and if the second identifier of the first application is a second value, setting the second identifier to a third value, wherein the second value is used for identifying that the width and the height of the first interface are adjusted, and the third value is used for identifying that the width and the height of the first interface are not adjusted.
The second flag is used to indicate whether the width and height of the first interface are adjusted. The second value may be true (true) or "1", which is not limited by the embodiments of the present application. The third value may be false (flag) or "0", which is not limited by the embodiment of the present application. In the embodiment of the application, the method for adjusting the width and the height of the first interface is a compatible mode.
If the second identifier is the second value, it may be stated that the first application itself requests to adjust the width and the height of the first interface, and the terminal device may set the second identifier to the third value, that is, not adjust the width and the height of the first interface. The method may correspond to S405 and S406 in fig. 4, where the first application does not support the landscape display, supports the forced landscape display, and supports the proportional display, if the compatible mode is used, or the second identifier is the second value, the terminal device may set the second identifier to the third value, and the compatible mode is not executed, or the compatible mode is skipped. In this way, it is advantageous to reduce the probability that the preset effect cannot be displayed due to the adjustment of the width and height of the first interface.
Optionally, if it is determined that the bound of the first application is modified, displaying the second interface of the first application according to the display related information cross screen includes: if the bounds of the first application is modified and the display area of the second interface is full-screen display, displaying the second interface of the first application according to the display related information; the display area information of the second interface comprises the width and the height of the second interface, the width of the second interface is equal to the height of the first interface, and the height of the second interface is equal to the width of the first interface.
If the bound of the first application is modified and the display area of the second interface is full-screen display, it may be stated that the terminal device may force the second interface to be displayed on a horizontal screen, and the second interface occupies the screen of the whole terminal device. The terminal device may display the second interface according to the width of the second interface and Gao Heng screen.
In this way, the terminal device displays the second interface on the transverse screen when the bound of the first application is modified and the display area of the second interface is full-screen display, which is beneficial to reasonably displaying the second interface.
Optionally, the method further comprises: if the display mode corresponding to the first application in the preset application list is not full-screen display, judging that the display area of the second interface is not full-screen display; or if the display mode corresponding to the first application in the preset application list is full-screen display, judging that the display area of the second interface is full-screen display.
The applications included in the preset application list can be displayed on a horizontal screen, and the applications in the preset application list also correspond to a display mode, wherein the display mode is full-screen display or not (or proportional display). And if the display mode corresponding to the first application in the preset application list is not full-screen display, judging that the display area of the second interface is not full-screen display. And if the display mode corresponding to the first application in the preset application list is full-screen display, judging that the display area of the second interface is full-screen display.
In this way, the terminal device can determine the display mode of the second interface from the preset application list, so that the second interface can be displayed on the transverse screen according to the determined display mode.
Optionally, calculating the display related information required when the first interface is displayed on the horizontal screen includes: the apply Association () interface is called to calculate the display related information. This step may correspond to S504 in fig. 5, which is not described herein.
Optionally, the method further comprises: the vertical screen displays a third interface of the second application, a first identifier of the second application is a fourth value, and the fourth value is used for identifying that the second application supports horizontal screen display; and when the terminal equipment is switched from the vertical screen state to the horizontal screen state, the horizontal screen displays a fourth interface of the second application.
The second application is different from the first application. The first identifier of the second application is a fourth value for indicating that the second application supports a landscape display. In one example, the fourth value may be true (true) or "1", which is not limited by embodiments of the present application. The second application supports a landscape display depending on the application itself.
In this way, the embodiment of the application can display the interface of the second application on the horizontal screen under the condition that the terminal equipment is switched from the vertical screen state to the horizontal screen state, and can also display the interface of the first application on the horizontal screen without supporting the horizontal screen display on the horizontal screen.
The interface display method according to the embodiment of the present application has been described above, and the device for executing the interface display method according to the embodiment of the present application is described below. Those skilled in the art will understand that the methods and apparatuses may be combined and referred to, and the related apparatuses provided in the embodiments of the present application may perform the steps in the interface display method described above.
In order to implement the above functions, the implementing interface display device includes a hardware structure and/or a software module that perform respective functions. Those of skill in the art will readily appreciate that the various illustrative method steps described in connection with the embodiments disclosed herein may be implemented as hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
According to the embodiment of the application, the device for realizing the interface display method may be divided into the functional modules according to the method example, for example, each functional module may be divided into the functional modules corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
Fig. 8 is a schematic structural diagram of a chip according to an embodiment of the present application. Chip 80 includes one or more (including two) processors 801, communication lines 802, communication interfaces 803, and memory 804.
In some implementations, the memory 804 stores the following elements: executable modules or data structures, or a subset thereof, or an extended set thereof.
The methods described in the embodiments of the present application may be applied to the processor 801 or implemented by the processor 801. The processor 801 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware in the processor 801 or by instructions in software. The processor 801 may be a general purpose processor (e.g., a microprocessor or a conventional processor), a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), an off-the-shelf programmable gate array (field-programmable gate array, FPGA) or other programmable logic device, discrete gates, transistor logic, or discrete hardware components, and the processor 801 may implement or perform the methods, steps, and logic diagrams associated with the various processes disclosed in the embodiments herein.
The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a state-of-the-art storage medium such as random access memory, read-only memory, programmable read-only memory, or charged erasable programmable memory (electrically erasable programmable read only memory, EEPROM). The storage medium is located in the memory 804, and the processor 801 reads information in the memory 804 and performs the steps of the method described above in combination with its hardware.
The processor 801, the memory 804, and the communication interface 803 may communicate with each other via a communication line 802.
In the above embodiments, the instructions stored by the memory for execution by the processor may be implemented in the form of a computer program product. The computer program product may be written in the memory in advance, or may be downloaded in the form of software and installed in the memory.
Embodiments of the present application also provide a computer program product comprising one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL), or wireless (e.g., infrared, wireless, microwave, etc.), or semiconductor medium (e.g., solid state disk, SSD)) or the like.
Embodiments of the present application also provide a computer-readable storage medium. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. Computer readable media can include computer storage media and communication media and can include any medium that can transfer a computer program from one place to another. The storage media may be any target media that is accessible by a computer.
As one possible design, the computer-readable medium may include compact disk read-only memory (CD-ROM), RAM, ROM, EEPROM, or other optical disk memory; the computer readable medium may include disk storage or other disk storage devices. Moreover, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, digital versatile disc (digital versatile disc, DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Claims (13)

1. An interface display method, which is applied to a terminal device, comprises the following steps:
displaying a first interface of a first application on a vertical screen, wherein the first interface is a full-screen interface, a first identifier of the first application is a first value, and the first value is used for identifying that the first application does not support horizontal screen display;
when the terminal equipment is switched from a vertical screen state to a horizontal screen state, if the identification of the first application is in a preset application list, calculating display related information required when the first interface is displayed on the horizontal screen;
And displaying a second interface of the first application according to the display related information transverse screen.
2. The method of claim 1, wherein the display-related information includes display area information of the second interface, the method further comprising, prior to the displaying the second interface of the first application according to the display-related information across a screen:
updating display area information bounds of the first application into display area information of the second interface;
the displaying the second interface of the first application according to the display related information transverse screen comprises the following steps:
and if the bound of the first application is judged to be modified, displaying a second interface of the first application according to the display related information horizontal screen.
3. The method according to claim 2, wherein if it is determined that the bound of the first application is modified, displaying the second interface of the first application according to the display-related information cross-screen comprises:
if the bound of the first application is modified and the display area of the second interface is not full-screen display, displaying the second interface of the first application according to the display related information;
The display area information of the second interface comprises the width and the height of the second interface, the width of the second interface is smaller than the width of the first interface, and the height of the second interface is smaller than the height of the first interface.
4. A method according to claim 3, wherein the height of the second interface is equal to the width of the first interface, the width of the second interface satisfying the following formula:
w 2 =h 2 /(w 1 /h 1 )
wherein w is 2 The width of the second interface, h 2 Is the height, w, of the second interface 1 Being the width of the first interface, h 1 Is high at the first interface.
5. The method according to claim 3 or 4, wherein the second interface is displayed in a preset area of a screen of the terminal device, and an area other than the preset area in the screen is displayed with a preset effect.
6. The method of claim 5, wherein the method further comprises:
and if the second identifier of the first application is a second value, setting the second identifier to a third value, wherein the second value is used for identifying that the width and the height of the first interface are adjusted, and the third value is used for identifying that the width and the height of the first interface are not adjusted.
7. The method according to claim 2, wherein if it is determined that the bound of the first application is modified, displaying the second interface of the first application according to the display-related information cross-screen comprises:
if the bound of the first application is modified and the display area of the second interface is full-screen display, displaying the second interface of the first application according to the display related information;
the display area information of the second interface comprises the width and the height of the second interface, the width of the second interface is equal to the height of the first interface, and the height of the second interface is equal to the width of the first interface.
8. The method according to any one of claims 3 to 7, further comprising:
if the display mode corresponding to the first application in the preset application list is not full-screen display, judging that the display area of the second interface is not full-screen display; or,
and if the display mode corresponding to the first application in the preset application list is full-screen display, judging that the display area of the second interface is full-screen display.
9. The method of any one of claims 1 to 8, wherein the calculating display-related information required when displaying the first interface landscape screen includes:
The display related information is calculated by calling an applymactratio () interface.
10. The method according to any one of claims 1 to 9, further comprising:
displaying a third interface of a second application by a vertical screen, wherein a first identifier of the second application is a fourth value, and the fourth value is used for identifying that the second application supports horizontal screen display;
and when the terminal equipment is switched from the vertical screen state to the horizontal screen state, displaying a fourth interface of the second application on the horizontal screen.
11. A terminal device, comprising: a processor and a memory;
the memory stores computer-executable instructions;
the processor executing computer-executable instructions stored in the memory to cause the terminal device to perform the method of any one of claims 1-10.
12. A computer readable storage medium storing a computer program, which when executed by a processor implements the method according to any one of claims 1-10.
13. A computer program product comprising a computer program which, when run, causes a computer to perform the method of any of claims 1-10.
CN202310891320.XA 2023-07-19 2023-07-19 Interface display method and related device Pending CN117707661A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310891320.XA CN117707661A (en) 2023-07-19 2023-07-19 Interface display method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310891320.XA CN117707661A (en) 2023-07-19 2023-07-19 Interface display method and related device

Publications (1)

Publication Number Publication Date
CN117707661A true CN117707661A (en) 2024-03-15

Family

ID=90148617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310891320.XA Pending CN117707661A (en) 2023-07-19 2023-07-19 Interface display method and related device

Country Status (1)

Country Link
CN (1) CN117707661A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110244996A (en) * 2019-05-14 2019-09-17 苏宁智能终端有限公司 A kind of method, apparatus and terminal of transverse screen display terminal adaptation vertical screen application program
CN113867661A (en) * 2016-01-15 2021-12-31 华为技术有限公司 Display method and terminal
CN113994317A (en) * 2019-06-19 2022-01-28 华为技术有限公司 User interface layout method and electronic equipment
CN114816602A (en) * 2021-01-27 2022-07-29 华为技术有限公司 Application display method, device, chip system, medium and program product
CN116266206A (en) * 2021-12-16 2023-06-20 北京字节跳动网络技术有限公司 Page display method and device and electronic equipment
WO2023109404A1 (en) * 2021-12-15 2023-06-22 比亚迪股份有限公司 Terminal display method and terminal display apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113867661A (en) * 2016-01-15 2021-12-31 华为技术有限公司 Display method and terminal
CN110244996A (en) * 2019-05-14 2019-09-17 苏宁智能终端有限公司 A kind of method, apparatus and terminal of transverse screen display terminal adaptation vertical screen application program
CN113994317A (en) * 2019-06-19 2022-01-28 华为技术有限公司 User interface layout method and electronic equipment
CN114816602A (en) * 2021-01-27 2022-07-29 华为技术有限公司 Application display method, device, chip system, medium and program product
WO2023109404A1 (en) * 2021-12-15 2023-06-22 比亚迪股份有限公司 Terminal display method and terminal display apparatus
CN116266206A (en) * 2021-12-16 2023-06-20 北京字节跳动网络技术有限公司 Page display method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US9997096B2 (en) Display apparatus, electronic device including the same, and method of operating the same
CN103853512B (en) A kind of method and electronic equipment for realizing split screen
CN107993616B (en) Image display method and device
US8686921B2 (en) Dynamic geometry management of virtual frame buffer for appendable logical displays
KR20180109340A (en) electronic device and method for sharing screen
CN104137050A (en) Remote display with hierarchical updating
CN102053871A (en) Application program image display method and device
WO2022017205A1 (en) Method for displaying multiple windows and electronic device
CN109840114A (en) Page processing method and mobile terminal
US10600377B2 (en) Image display method and device of determining backlight coefficient according to grayscale eigenvalues corresponding to pixels in different partition
CN105654881A (en) Method of displaying low frequency screen and electronic device for performing same
US20220312057A1 (en) Method and device for transmitting video content by using edge computing service
CN102193770A (en) Display device, terminal device, display system, display method and image modification method
CN110019464A (en) Page processing method and device
CN108021377A (en) A kind of application icon update method and device
CN110099224B (en) Pre-monitoring display method, device and system, computer equipment and storage medium
KR20190132434A (en) Method and apparatus for transmitting virtual reality images
CN113676238A (en) Method for determining angle of arrival and related product
WO2022166712A1 (en) Image display method, apparatus, readable medium, and electronic device
CN117707661A (en) Interface display method and related device
WO2023138297A1 (en) Picture display method and apparatus, and electronic device, computer-readable storage medium and computer program product
CN108664847A (en) A kind of object identifying method, equipment and system
CN116661724A (en) Screen refresh rate switching method, electronic device and computer readable storage medium
CN114666621A (en) Page processing method, device and equipment
CN112667410A (en) Cross-process communication method, terminal and computer readable storage medium

Legal Events

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