Interface display method, interface display device and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2020-04-26
- Publication Date
- 2026-08-07
AI Technical Summary
然而,采用预设窗口部分填黑的方式,一方面影响应用的播放效果,另一方面也会存在冗余的显示区域
[0019] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects: when displaying the first application and the second application on the terminal screen, when a preset trigger operation is received, the second application interface is displayed in full screen in a preset window. The full screen display of the second application interface includes displaying the second application interface in landscape mode in the preset window, which can effectively adapt the display area of the second application displayed in the preset window to the preset window size. Therefore, it can increase the display area of the application displayed in a small window, providing higher display efficiency and a better user experience.
Smart Images

Figure CN122526461A_ABST
Abstract
Description
[0001] This disclosure is a divisional application. The original application has the application number 202010340051.4, the application date is April 26, 2020, and the invention title is "Interface display method, interface display device and storage medium". Technical Field
[0002] This disclosure relates to a display method, and more particularly to an interface display method, an interface display device, and a storage medium. Background Technology
[0003] In related technologies, Freeform provides the ability for terminals to display applications in a preset window format. However, applications displayed in a preset window format cannot fully adapt to the size of the preset window, requiring adaptation support from the terminal system. For example, landscape applications such as videos and games have poor adaptability to preset windows. When displaying landscape applications such as games or videos in the user interface, the top and bottom areas of the preset window need to be filled with black, and the game or video needs to be displayed in the middle area. When displaying full-screen videos or other main content in this way, the area of the video or content displayed in the preset window does not change; only the display position changes. Visually, other non-essential content or non-video information is hidden by blacking out. However, using a partially blacked-out preset window not only affects the playback effect of the application but also creates redundant display areas. Summary of the Invention
[0004] To overcome the problems existing in related technologies, this disclosure provides an interface display method, an interface display device, and a storage medium.
[0005] According to a first aspect of the present disclosure, a method for displaying an interface is provided, applied to a terminal, the method comprising: When the terminal screen displays the first application interface, a second application interface is displayed in a preset window on the terminal screen. The screen area occupied by the preset window is smaller than that occupied by the first application interface. When a preset trigger operation is received, the second application interface is displayed in full screen in the preset window. The full-screen display of the second application interface includes displaying the second application interface in landscape mode in the preset window.
[0006] In one embodiment, the interface display method further includes: determining the preset trigger operation based on the application type of the second application; the preset trigger operation includes triggering an operation to display the second application in the preset window or triggering a screen adjustment operation in the preset window.
[0007] In another embodiment, the application type of the second application is an application that is displayed in landscape mode when the application is launched; when a preset trigger operation is received, the second application interface is displayed in full screen in the preset window, including: when the operation to trigger the launch of the second application in the preset window is received, the current holding state of the terminal remains unchanged, and the second application interface is displayed in landscape mode and in full screen in the preset window.
[0008] In another embodiment, the second application interface includes a target display area interface and an auxiliary display area interface; Displaying the second application interface in full screen within the preset window includes: when an operation triggering screen adjustment is received in the preset window, displaying the target display area interface in full screen within the preset window.
[0009] In another embodiment, displaying the second application interface in full screen in the preset window includes: when receiving an operation that triggers screen adjustment in the preset window, keeping the current holding state of the terminal unchanged, jumping to landscape mode in the preset window and displaying the second application interface in full screen.
[0010] In another embodiment, the interface display method further includes: in response to receiving an operation from the user to change the preset window, determining the aspect ratio of the preset window, and changing the size of the preset window while keeping the aspect ratio unchanged.
[0011] According to a second aspect of the present disclosure, an interface display device is provided for use in a terminal, the device comprising: The determining unit is configured to determine that when the terminal screen displays the first application interface, the second application interface is displayed in a preset window on the terminal screen, and to determine that a preset trigger operation has been received; the display unit is configured to display the second application interface in full screen in the preset window, wherein the full screen display of the second application interface includes displaying the second application interface in landscape mode in the preset window.
[0012] In one embodiment, the determining unit is further configured to determine the preset trigger operation based on the application type of the second application; the preset trigger operation includes triggering the operation of displaying the second application in the preset window or triggering the operation of screen adjustment in the preset window.
[0013] In another embodiment, the application type of the second application is an application that is displayed in landscape mode when the application is launched; the display unit displays the interface of the second application in full screen in the preset window in the following manner: when an operation to trigger the launch of the second application in the preset window is received, the current holding state of the terminal remains unchanged, and the interface of the second application is displayed in landscape mode and in full screen in the preset window.
[0014] In another embodiment, the second application interface includes a target display area interface and an auxiliary display area interface; when the display unit receives an operation that triggers screen adjustment in the preset window, it displays the target display area interface in full screen in the preset window and hides the auxiliary display area.
[0015] In another embodiment, the display unit displays the second application interface in full screen in the preset window in the following manner: when receiving an operation that triggers screen adjustment in the preset window, the terminal's current holding state remains unchanged, and the display jumps to landscape mode in the preset window and displays the second application interface in full screen.
[0016] In another embodiment, the display unit is further configured to: in response to receiving an operation from the user to change the preset window, determine the aspect ratio of the preset window, and change the size of the preset window while keeping the aspect ratio unchanged.
[0017] According to a third aspect of the present disclosure, an interface display device is provided, comprising: Processor; memory used to store processor-executable instructions; The processor is configured to execute the interface display method described in the first aspect or any embodiment of the first aspect.
[0018] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, which, when the instructions in the storage medium are executed by the processor of a mobile terminal, enables the mobile terminal to execute the interface display method described in the first aspect or any embodiment of the first aspect.
[0019] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects: when displaying the first application and the second application on the terminal screen, when a preset trigger operation is received, the second application interface is displayed in full screen in a preset window. The full screen display of the second application interface includes displaying the second application interface in landscape mode in the preset window, which can effectively adapt the display area of the second application displayed in the preset window to the preset window size. Therefore, it can increase the display area of the application displayed in a small window, providing higher display efficiency and a better user experience.
[0020] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0021] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0022] Figure 1 This is a schematic diagram illustrating a landscape application displayed through a vertical interface according to an exemplary embodiment of the present disclosure.
[0023] Figure 2 This is a flowchart illustrating an interface display method according to an exemplary embodiment of the present disclosure.
[0024] Figure 3 This is a schematic diagram illustrating an interface display according to yet another exemplary embodiment of the present disclosure.
[0025] Figure 4 This is a block diagram of an interface display device according to an exemplary embodiment of the present disclosure.
[0026] Figure 5 This is a block diagram of an apparatus for displaying an interface, according to an exemplary embodiment of the present disclosure. Detailed Implementation
[0027] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0028] The interface display method provided in this disclosure is applied to scenarios where multiple application interfaces are simultaneously displayed on a terminal screen. In related technologies, when multiple application interfaces are triggered for display, one application is typically displayed in full screen on the main interface, while another application is displayed in a preset window (small window) with a fixed size and orientation. Figure 1 This is a schematic diagram illustrating an application displayed through a fixed preset window according to an exemplary embodiment of this disclosure. See also... Figure 1 As shown, when displaying an application using a preset window of fixed size and orientation, if the application cannot fill the preset window, the top and bottom areas of the preset window are filled with black. Since the filled-in areas are not necessary for display, this reduces the efficiency of screen display space. Furthermore, filling the top and bottom areas of the preset window with black affects the display effect of the application, such as impacting the experience of watching movies or playing games.
[0029] In view of this, this disclosure provides an interface display method that simultaneously displays multiple application interfaces on a terminal. When some application interfaces are displayed within a preset window (small window), upon receiving a preset trigger operation, the application interfaces originally displayed within the preset window are displayed in full screen. Full-screen display of the application interfaces originally displayed in the small window includes displaying the application interfaces in landscape mode within the preset window. This solution effectively utilizes the limited screen area, removes unnecessary display areas, and restores the effect of landscape display of applications.
[0030] For ease of description in this embodiment, one of the multiple application interfaces displayed simultaneously is referred to as the first application interface, and the other as the second application interface. The second application interface is displayed in a preset window, which occupies a smaller screen area than the first application interface; that is, the second application interface is displayed within a smaller window. In this embodiment, the second application and the first application can be the same application or different applications. The first application interface can be the main interface or a different window than the preset window displaying the second application.
[0031] Figure 2 This is a flowchart illustrating an interface display method according to an exemplary embodiment of the present disclosure, such as... Figure 2 As shown, the interface display method is used in the terminal and includes the following steps.
[0032] In step S11, when the terminal screen displays the first application interface, the second application interface is displayed in a preset window on the terminal screen.
[0033] The preset window containing the second application interface occupies a smaller screen area than the first application interface.
[0034] In this embodiment of the disclosure, the first application interface can be the system interface, that is, the default system interface displayed on the terminal when no application is launched. The first application interface can also be the application display interface of a launched and running application. In this embodiment of the disclosure, when the first application interface is the display interface of a launched and allowed application, the first application can be a landscape-style application or a portrait-style application.
[0035] Furthermore, the first application interface can be either a landscape-style application interface or a portrait-style application interface.
[0036] Furthermore, in the embodiments of this disclosure, when the terminal displays the second application interface in a preset window, the terminal can be held in either a landscape or portrait orientation, and the interface display method provided in the embodiments of this disclosure is applicable to both.
[0037] In step S12, when a preset trigger operation is received, the second application interface is displayed in full screen in a preset window.
[0038] In this embodiment, a preset trigger operation can be initiated to display the second application interface in full-screen mode within a preset window. When the preset trigger operation is received, the second application interface is displayed in full-screen mode within the preset window. Specifically, in this embodiment, displaying the second application interface in full-screen mode within the preset window means that the second application interface is displayed in a manner that occupies the maximum area of the preset window. Furthermore, in this embodiment, the preset window that receives the preset trigger operation to display the second application interface in full-screen mode can be a new window different from the existing window displaying the second application interface, or it can be the existing window displaying the second application interface.
[0039] In this embodiment of the disclosure, displaying the second application interface in full screen within a preset window includes displaying the second application interface in landscape mode within the preset window.
[0040] In this embodiment of the disclosure, when the second application interface is displayed horizontally in a preset window, it is independent of the terminal's holding state, the display state of the first application on the terminal's display screen, and the orientation display attribute of the second application itself. The horizontal display of the second application interface in the preset window is related to the content of the displayed second application and the size of the preset window; that is, the content of the second application is displayed horizontally within a preset window whose height is less than its width.
[0041] Furthermore, the aforementioned preset triggering operation can be either triggering the launch of a second application displayed in a preset window, or triggering a screen adjustment operation within the preset window. For example, triggering the launch of a small window could be triggering the display of a small window. Similarly, triggering a screen adjustment operation within the preset window could be triggering the display of the application in full-screen mode within the small window.
[0042] Furthermore, the preset triggering operation mentioned above in this embodiment can also be a triggering operation for changing the display mode of the second application. For example, a change in the terminal's holding state from portrait to landscape mode triggers a triggering operation for the second application to display in full screen.
[0043] In this embodiment of the disclosure, a preset operation to trigger a preset window to display the second application in full screen can be determined based on the application type of the second application. The application type of the second application can be customizable. For example, the application type of the second application can be an application that displays in landscape mode upon startup, such as a game application. Alternatively, the application type of the second application can be an application that displays in portrait mode upon startup, but whose landscape mode can be triggered by user interaction, such as a video application.
[0044] In this embodiment of the disclosure, the type of the preset trigger operation can be determined according to the application type of the second application, and once the terminal determines the type of the trigger operation, the second application can be displayed in the preset window in a way that adapts to the second application according to the type of the trigger operation.
[0045] In this embodiment of the present disclosure, when the terminal detects a preset trigger operation, it displays the second application interface in full screen in a preset window to ensure that the second application is displayed in the preset window in a way that occupies the maximum display area of the preset window.
[0046] The following will describe the interface display method involved in the above embodiments in conjunction with practical applications.
[0047] In this embodiment of the disclosure, when displaying the second application interface in full screen in a preset window, the full screen display can be performed according to the type of the second application.
[0048] In one embodiment, the second application is an application that is displayed in landscape mode upon startup, such as a game application. In this case, the preset trigger operation can be a small window launch operation, for example, triggering the launch of the second application interface displayed in a preset window. Applications that are displayed in landscape mode upon startup are defaulted to landscape display when opened on the terminal device. Therefore, similarly, in the preset window, when such a second application is triggered to open or moved into the preset window for display, the appropriate preset window will also be selected to display the second application in landscape mode. Therefore, in this embodiment, for applications that are displayed in landscape mode upon startup, when a preset trigger operation is received, such applications are displayed in landscape mode in the preset window. Furthermore, in this embodiment, when displaying applications that are displayed in landscape mode upon startup in the preset window, the terminal's holding state is not limited. That is, in this embodiment, the second application interface can be displayed in landscape mode and in full screen in the preset window while maintaining the current holding state of the terminal. For example, when a second application is launched and is displayed in landscape mode, if an operation is received to trigger the launch of the second application in a preset window, the current holding state of the terminal remains unchanged, and the interface of the second application is displayed in landscape mode and in full screen in the preset window.
[0049] In this embodiment of the disclosure, the second application displayed on the second application interface has a direction attribute, which distinguishes the second application into two categories: landscape display applications or portrait display applications. In other words, in this embodiment of the disclosure, the second application can be an application with landscape display attributes or an application with portrait display attributes.
[0050] In this context, landscape-oriented applications will set the screen orientation to "landscape" (android:screenOrientation="landscape") in their AndroidManifest file, thus being recognized as having a landscape display attribute. For example, a second application with a landscape display attribute could be a game application. Normally, when a device launches such a game application, it will display in landscape mode. For this type of second application with a landscape display attribute, the device can determine the application's orientation attribute by checking the screen orientation (screenOrientation) in the application's ActivityInfo file, thereby determining that the second application needs to be displayed in landscape mode. If the game application is launched within a preset window, the preset window will initially be sized to fit the application and display it in landscape mode, thus meeting the requirement for landscape display of this type of application. In other words, the initially launched preset window is set with a fixed aspect ratio (length > width) to accommodate the landscape display of this type of application within the preset window.
[0051] It is understood that, in this embodiment of the present disclosure, if the application type of the second application is an application that is displayed in portrait mode when the application starts, such as a video application, then when the second application interface is displayed in full screen in the preset window, the preset window adapted to the portrait mode application is triggered to be displayed in full screen.
[0052] In this embodiment of the disclosure, when the application type of the second application changes, i.e., from a portrait-oriented application to a landscape-oriented application, the state of the preset window will also change accordingly. The state of the preset window will jump from the preset window adapted to the portrait-oriented application at initial startup to the preset window adapted to the landscape display. For example, when a video application starts full-screen video display (when the user clicks the full-screen button or the terminal's grip changes), the video full-screen is displayed in landscape mode. That is, when the application type changes from a portrait-oriented application to a landscape-oriented application, the user will jump to the new preset window to display the second application's interface in landscape mode.
[0053] Typically, when an application with portrait-oriented display attributes is triggered to switch to landscape mode, the terminal calls the `setRequestedOrientation` statement to change the display orientation of the application on the screen. For example, when a user performs a full-screen operation on a video application with portrait-oriented display attributes, the video application will call the `setRequestedOrientation` statement to change the orientation of the video displayed on the screen to landscape mode, thus confirming that the application needs to be displayed in landscape mode.
[0054] In another embodiment of this disclosure, when the second application display interface is displayed in full-screen mode within a preset window, the full-screen display can be performed based on the content area displayed by the second application interface. For example, the second application display interface includes a target display area and an auxiliary display area. When a preset trigger operation is received, the target display area is displayed in full-screen mode within the preset window according to the preset trigger operation. For example, for video applications, the target display area can be a video playback content display area, and the auxiliary display area can be a video playlist or other display area. The video application is displayed in the preset window (displaying the video playback content display area and the video playlist or other auxiliary display areas). When the user performs an operation (e.g., a full-screen display operation), the video playback content area is displayed in full-screen mode within the preset window.
[0055] Furthermore, in this embodiment of the present disclosure, when the video playback content display area is displayed in full screen, other unnecessary content can be hidden, such as hiding the auxiliary display area.
[0056] In this embodiment of the disclosure, the process of displaying the second application interface in full screen within a preset window can be understood as a process of jumping to a new window for interface display. When jumping to a new window to display the second application interface, the area of the target display area can be significantly larger than the combined display area of the target display area and auxiliary display area when displayed in the preset window before the jump.
[0057] In one embodiment, when the second application is a video application, if the video is triggered to be displayed in landscape mode while it is being displayed vertically in a preset window (the user triggers full-screen video in the preset window or the user changes the terminal holding state from portrait to landscape), then the application jumps to a new preset window to display the video in full screen. When the application jumps to the new preset window to display the video, the display direction of the video does not change, but it is directly displayed in full screen in the preset window.
[0058] Furthermore, in the application scenario of Embodiment 1 of this disclosure, when the second application interface is displayed in landscape mode and full screen in a preset window, the current holding state of the terminal is not limited. For example, when an operation is received that triggers the second application interface to be displayed in landscape mode within the preset window, the current holding state of the terminal can be maintained, and the terminal can be switched to the preset window to display the second application interface in landscape mode and full screen.
[0059] In this embodiment of the disclosure, the operation of determining that the second application interface on the terminal is displayed in landscape mode within a preset window can be an operation that triggers the landscape display while the second application is displayed in a small window, such as the user clicking the full-screen display operation.
[0060] Figure 3 This is a schematic diagram illustrating an interface display according to yet another exemplary embodiment of this disclosure. For example... Figure 3As shown, when the preset window changes its state according to user operation, that is, when the second application attribute changes from a portrait-type display application to a landscape-type display application according to user operation, the preset window state also changes from the initial preset window size to the window size adapted to landscape display. At this time, the content that the second application wants to display is adapted to the window size, and the window utilization rate is high and the user experience is good.
[0061] Furthermore, in this embodiment of the present disclosure, the size of the preset window displaying the second application interface can be changed based on user operations. For example, in response to receiving a user operation that modifies the preset window, the aspect ratio of the preset window is determined, and the size of the preset window is changed while keeping the aspect ratio unchanged.
[0062] In one embodiment, once the second application is displayed in the preset window, the terminal receives a user-triggered operation to change the size of the window and responds by changing the preset window size accordingly. For example, the user can modify the size of the preset window by dragging, while ensuring that the aspect ratio of the preset window remains unchanged. This makes the interface display more flexible and improves the user experience. For example, when playing videos or displaying games using the interface display method disclosed in this embodiment, the problem of video content being too small when third-party applications use picture-in-picture mode can be overcome. Users can change the size themselves and obtain a user experience consistent with that of watching videos or playing games in landscape mode.
[0063] In one embodiment, when the first application is displayed in a window, the interface of the second application can be dynamically displayed within the window, and the interactive elements in the second application's interface can still recognize user operations and change their display content according to the user's actions. If the display content of the second application is dynamically changing, that content can also be dynamically displayed in the window. The user can also perform effective interactive operations on the second application displayed in the window.
[0064] The interface display method provided in this disclosure enables landscape applications to be displayed horizontally within a preset window. Compared to traditional technologies where floating windows can only display portrait applications (whose orientation is fixed), this method allows for better compatibility with landscape applications and provides a better user experience. For example, the interface display method provided in this disclosure has the following advantages: 1. The completed landscape window occupies a smaller screen area, leaving a larger display area for the application content displayed in full screen on the main interface of the terminal.
[0065] 2. It can effectively utilize the limited terminal screen window to perform multiple application tasks in parallel, reserving only the necessary display area.
[0066] 3. Display applications in landscape mode using the default window format to maintain the same experience as full-screen landscape applications on the terminal (such as watching videos or playing games).
[0067] 4. Users can change the size of the preset window themselves, overcoming the problem of third-party applications displaying too small when using picture-in-picture.
[0068] Based on the same concept, this disclosure also provides an interface display device.
[0069] It is understood that the interface display device provided in this disclosure includes hardware structures and / or software modules corresponding to each function in order to achieve the above-mentioned functions. In conjunction with the units and algorithm steps of the various examples disclosed in this disclosure, this disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solutions of this disclosure.
[0070] Figure 4 This is a block diagram illustrating an interface display device according to an exemplary embodiment of the present disclosure. (Refer to...) Figure 4 The device 400 includes a determining unit 401 and a display unit 402.
[0071] The determining unit 401 is used to determine that when the terminal screen displays the first application interface, the second application interface is displayed in a preset window on the terminal screen, and to determine that a preset trigger operation has been received. The display unit 402 is used to display the second application interface in full screen in the preset window, wherein displaying the second application interface in full screen includes displaying the second application interface in landscape mode in the preset window.
[0072] In one embodiment, the determining unit is further configured to determine a preset trigger operation based on the application type of the second application. The preset trigger operation includes triggering an operation to display the second application in a preset window or triggering a screen adjustment operation in the preset window.
[0073] In another embodiment, the second application is an application that is displayed in landscape mode upon startup. The display unit 402 displays the second application interface in full screen in a preset window in the following manner: when it receives an operation to trigger the display of the second application in the preset window, it maintains the current holding state of the terminal and displays the second application interface in landscape mode and in full screen in the preset window.
[0074] In another embodiment, the second application interface includes a target display area interface and an auxiliary display area interface. When the display unit 402 receives an operation that triggers screen adjustment in the preset window, it displays the target display area interface in full screen within the preset window.
[0075] In another embodiment, the display unit 402 displays the second application interface in full screen in a preset window in the following manner: when receiving an operation that triggers screen adjustment in the preset window, the terminal's current holding state remains unchanged, and the display jumps to landscape mode in the preset window and displays the second application interface in full screen.
[0076] In another embodiment, the display unit 402 is further configured to: in response to receiving an operation by the user to change the preset window, determine the aspect ratio of the preset window, and change the size of the preset window while keeping the aspect ratio unchanged.
[0077] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0078] Figure 5 This is a terminal structure block diagram illustrating an exemplary embodiment of the present disclosure for an interface display device 500. For example, device 500 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0079] Reference Figure 5 The device 500 may include one or more of the following components: a processing component 502, a memory 504, a power component 506, a multimedia component 508, an audio component 510, an input / output (I / O) interface 512, a sensor component 514, and a communication component 516.
[0080] Processing component 502 typically controls the overall operation of device 500, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 502 may include one or more modules to facilitate interaction between processing component 502 and other components. For example, processing component 502 may include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.
[0081] Memory 504 is configured to store various types of data to support the operation of device 500. Examples of this data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, etc. Memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0082] The power supply component 506 provides power to the various components of the device 500. The power supply component 506 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 500.
[0083] Multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 508 includes a front-facing camera and / or a rear-facing camera. When the device 500 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0084] Audio component 510 is configured to output and / or input audio signals. For example, audio component 510 includes a microphone (MIC) configured to receive external audio signals when device 500 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 504 or transmitted via communication component 516. In some embodiments, audio component 510 also includes a speaker for outputting audio signals.
[0085] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, start buttons, and lock buttons.
[0086] Sensor assembly 514 includes one or more sensors for providing status assessments of various aspects of device 500. For example, sensor assembly 514 may detect the on / off state of device 500, the relative positioning of components such as the display and keypad of device 500, changes in the position of device 500 or a component of device 500, the presence or absence of user contact with device 500, the orientation or acceleration / deceleration of device 500, and temperature changes of device 500. Sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 514 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0087] Communication component 516 is configured to facilitate wired or wireless communication between device 500 and other devices. Device 500 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 516 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 516 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0088] In an exemplary embodiment, the apparatus 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0089] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, which can be executed by a processor 520 of the device 500 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0090] It can be further understood that in this disclosure, "multiple" refers to two or more, and other quantifiers are similar. "And / or" describes the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. The singular forms "a," "the," and "the" are also intended to include the plural forms unless the context clearly indicates otherwise.
[0091] It is further understood that the terms "first," "second," etc., are used to describe various types of information, but this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another, and do not indicate a specific order or degree of importance. In fact, the expressions "first," "second," etc., are completely interchangeable. For example, without departing from the scope of this disclosure, first information can also be referred to as second information, and similarly, second information can also be referred to as first information.
[0092] It is further understood that although operations are described in a specific order in the accompanying drawings in the embodiments of this disclosure, this should not be construed as requiring these operations to be performed in the specific order or serial order shown, or requiring all of the shown operations to be performed to obtain the desired result. In certain environments, multitasking and parallel processing may be advantageous.
[0093] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0094] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for displaying an interface, characterized in that, Applied to a terminal, the method includes: When the terminal screen displays the first application interface, a second application interface is displayed in a preset window on the terminal screen, and the screen area occupied by the preset window is smaller than the screen area occupied by the first application interface. When a preset trigger operation is received, the preset window is changed from the initial preset window size to a window size that adapts to landscape mode and displays the second application in full screen. The second application interface is displayed in landscape and full-screen mode in the preset window after the window size is changed.
2. The interface display method according to claim 1, characterized in that, The method further includes: In response to receiving an operation from the user to change the preset window of the second application interface displayed in landscape and full screen, the aspect ratio of the preset window of the second application interface displayed in landscape and full screen is determined, and the size of the preset window of the second application interface displayed in landscape and full screen is changed while keeping the aspect ratio unchanged.
3. The interface display method according to claim 1 or 2, characterized in that, The method further includes: The preset trigger operation is determined based on the application type of the second application; The preset trigger operation includes triggering the operation of displaying the second application in the preset window or triggering the operation of adjusting the screen in the preset window.
4. The interface display method according to claim 3, characterized in that, The step of displaying the second application interface in landscape and full-screen mode within a preset window after resizing includes: When the preset trigger operation includes triggering the operation of displaying the second application in the preset window, the current holding state of the terminal remains unchanged, and the second application interface is displayed in landscape and full screen in the preset window after the window size is changed.
5. The interface display method according to claim 3, characterized in that, The second application interface is displayed in landscape and full-screen mode in the preset window after the window size is changed, including: When the preset trigger operation includes triggering screen adjustment in the preset window, the current holding state of the terminal remains unchanged, and the second application interface is displayed in landscape mode and in full screen in the preset window after the window size is changed.
6. An interface display device, characterized in that, Applied to a terminal, the device includes: A determining unit is used to determine that when the terminal screen displays the first application interface, a second application interface is displayed in a preset window on the terminal screen, wherein the screen area occupied by the preset window is smaller than the screen area occupied by the first application interface. The display unit is used to change the size of the preset window from the initial preset window size to a window size that adapts to landscape mode and displays the second application in full screen when a preset trigger operation is received, and to display the interface of the second application in landscape mode and in full screen in the preset window after the window size is changed.
7. The interface display device according to claim 6, characterized in that, The display unit is also used for: In response to receiving an operation from the user to change the preset window of the second application interface displayed in landscape and full screen, the aspect ratio of the preset window of the second application interface displayed in landscape and full screen is determined, and the size of the preset window of the second application interface displayed in landscape and full screen is changed while keeping the aspect ratio unchanged.
8. The interface display device according to claim 6 or 7, characterized in that, The determining unit is further configured to determine the preset trigger operation based on the application type of the second application; The preset trigger operation includes triggering the operation of displaying the second application in the preset window or triggering the operation of adjusting the screen in the preset window.
9. The interface display device according to claim 8, characterized in that, The display unit displays the second application interface in landscape and full-screen mode within a preset window after the window size has been changed, in the following manner: When the preset trigger operation includes triggering the operation of displaying the second application in the preset window, the current holding state of the terminal remains unchanged, and the second application interface is displayed in landscape and full screen in the preset window after the window size is changed.
10. The interface display device according to claim 8, characterized in that, The display unit displays the second application interface in landscape and full-screen mode within the preset window after the window size has been changed, in the following manner: When the preset trigger operation includes triggering screen adjustment in the preset window, the current holding state of the terminal remains unchanged, and the second application interface is displayed in landscape mode and in full screen in the preset window after the window size is changed.
11. An interface display device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to execute the interface display method according to any one of claims 1-5.
12. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal is able to perform the interface display method according to any one of claims 1-5.