Search

CN-121996139-A - Method for displaying dock, terminal device and computer-readable storage medium

CN121996139ACN 121996139 ACN121996139 ACN 121996139ACN-121996139-A

Abstract

A method for displaying a dock, a terminal device and a computer readable storage medium, wherein the method is applied to the terminal device, the terminal device comprises a foldable display screen, the display screen comprises a first display area and a second display area, the method comprises the steps of displaying a window of a target application on the first display area according to a first size, the target application is an application which is currently used by a user, the first size is smaller than the size of the first display area, receiving a first operation, the first operation is a maximum operation or a full-screen operation which is executed by the user aiming at the window, displaying the window on the first display area according to a second size in response to the first operation, and displaying the dock on the second display area, and the second size is the size of the first display area. The method can ensure that under a specific scene, a user can be immersed in the interference-free full-screen experience, and can efficiently and conveniently use the dock function.

Inventors

  • HUANG YUSHUO
  • YANG ZHIYAN
  • LIANG HAOWEI

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260508
Application Date
20241108

Claims (14)

  1. 1. A method of displaying a dock, characterized by being applied to a terminal device, the terminal device comprising a foldable display screen, the display screen comprising a first display area and a second display area, the method comprising: displaying a window of a target application on the first display area according to a first size, wherein the first size is smaller than the size of the first display area; Receiving a first operation, wherein the first operation is a maximizing operation or a full-screen operation executed by the user aiming at the window; And in response to the first operation, displaying the window on the first display area according to a second size, and displaying a dock on the second display area, wherein the second size is the size of the first display area.
  2. 2. The method of claim 1, wherein the dock is displayed on the second display area by any one of: fixed position stops, movable stops, or floating stops.
  3. 3. The method of claim 1 or 2, wherein prior to displaying the window of the target application in the first size on the first display area, the method further comprises: Displaying the dock on the first display area.
  4. 4. The method of claim 1 or 2, wherein prior to said displaying the window of the target application on the first display area in the first size, the method further comprises: And responding to a second operation, namely, gesture operation or mouse operation, and displaying the hidden dock on the first display area.
  5. 5. The method of claim 4, wherein the gesture operation is a touch gesture operation or a non-touch gesture operation, and the mouse operation is a click operation or a swipe operation.
  6. 6. The method of claim 5, wherein the non-touch gesture operation is a hover gesture operation or a space gesture operation.
  7. 7. The method of any one of claims 1 to 6, wherein the display screen comprises a first sub-display screen and a second sub-display screen, the first display area being displayed on the first sub-display screen and the second display area being displayed on the second sub-display screen.
  8. 8. The method of any one of claims 1 to 6, wherein the display screen comprises K sub-display screens, the first display area is displayed on M sub-display screens, the second display area is displayed on N sub-display screens, a sum of M and N is less than or equal to K, K is an integer greater than 2, and M and N are both positive integers.
  9. 9. The method of claim 7 or 8, wherein the displaying a dock on the second display area comprises: and displaying a virtual keyboard on the second display area.
  10. 10. The method of any one of claims 1 to 9, wherein the first display area and the second display area are on either side of a foldable area of the foldable display screen.
  11. 11. A terminal device, characterized in that the terminal device comprises a processor and a memory for storing a computer program, the processor being adapted to call and run the computer program from the memory, so that the terminal device performs the method of any of claims 1 to 10.
  12. 12. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, causes the processor to perform the method of any of claims 1 to 10.
  13. 13. A computer program product, characterized in that it comprises computer program code which, when executed by a processor, causes the processor to perform the method of any of claims 1 to 10.
  14. 14. A chip system comprising a memory and a processor configured to execute a computer program stored in the memory to implement the method of any one of claims 1 to 10.

Description

Method for displaying dock, terminal device and computer-readable storage medium Technical Field The present application relates to the field of terminal technologies, and in particular, to a method for displaying a dock, a terminal device, and a computer-readable storage medium. Background In recent years, with the rapid development of foldable screen technology, foldable display screens have been widely used in various intelligent terminal devices. For example, a notebook computer with double folding display screens brings new use experience for users through unique portability and wide visual field conversion, is light and portable like a notebook computer when closed, and becomes an efficient workstation with wide working area after being unfolded. However, while enjoying the convenience and wide visual effect of foldable displays, some design challenges and optimization requirements are faced. For example, in a usage scenario of a terminal device (such as a notebook computer) with a dual-folded display screen, a main screen is often used to display various application windows and dock (dock) bars, where the dock bars are usually fixed at the bottom of the screen, so that a user can quickly access a common application, while a sub-screen is often used for displaying User Interface (UI) elements such as a virtual keyboard, where a user needs to display a window of a certain application on the main screen in a maximized (or full-screen) manner, a non-occlusion immersive browsing experience should be theoretically obtained, however, because the dock bars on the main screen continuously occupy the space at the bottom of the screen, the "maximized or full-screen" experience is not really realized, and the vision and the operation space of the user are limited to a certain extent. Disclosure of Invention Therefore, the application provides a method, terminal equipment and computer readable storage medium for displaying a dock, which can ensure that a user can be immersed in a full-screen experience without interference and can efficiently and conveniently use the dock function under a specific scene (such as a full-screen display scene or a maximized display scene). In order to achieve the above purpose, the application adopts the following technical scheme: in a first aspect, a method for displaying a dock is provided, applied to a terminal device, where the terminal device includes a foldable display screen, the display screen includes a first display area and a second display area, and the method includes: The method includes the steps of displaying a window of a target application on a first display area according to a first size, wherein the target application can be an application which is currently used by a user, the first size is smaller than the size of the first display area, receiving a first operation, the first operation is a maximizing operation or a full-screen operation which is executed by the user for the window, displaying the window on the first display area according to a second size in response to the first operation, and displaying a dock on the second display area, and the second size is the size of the first display area. The method may be performed by the terminal device, a module (such as a processor, a chip, or a chip system) applied in the terminal device, or a logic module or software capable of implementing all or part of the functions of the terminal device. In the use scene of foldable terminal equipment (such as a foldable notebook computer, a mobile phone and the like), conventionally, a main display area (such as a display area of the main screen) of a display screen is usually used for bearing the display tasks of an application program and a dock, and a secondary display area (such as a display area of the secondary screen) is usually used for presenting a virtual keyboard, but when the window of the application program is maximally displayed or fully displayed, the main display area can not truly realize the maximized display or fully displayed due to the occupation of the dock. In one possible implementation, the first display area and the second display area are respectively located at two sides of a foldable area of the foldable display screen. In one possible implementation, the dock is displayed on the second display area by either a fixed position dock, a movable dock, or a floating dock. In an actual application scene, the terminal equipment can display the dock in a second display area in different modes (such as a fixed-position dock mode and a movable dock mode), and the different modes have different advantages, for example, the fixed-position dock mode is beneficial to a user to quickly find the dock in a familiar position without searching again every time, the operation efficiency is improved, the movable dock mode is beneficial to the user to adjust the position of the dock according to the use habit of the user, so that the user is more in line with the