Search

CN-122019022-A - Display method and device

CN122019022ACN 122019022 ACN122019022 ACN 122019022ACN-122019022-A

Abstract

The embodiment of the application provides a display method and display equipment, and relates to the technical field of terminal display. The method comprises the steps that under the condition that the folding display screen is in an unfolding state, the electronic device displays a first window, and a display area of the first window is located in a part or all of a first folding area, a second folding area and a bendable area. The electronic device may update display of the first window in response to a bending operation for the folded display screen with the folded display screen in a bent state. The updated display area of the first window is located in a part or all of the first folding area or the second folding area. By avoiding the bendable region during the display of the window. The problem of inconvenient interaction of window contents corresponding to the bendable region is avoided.

Inventors

  • ZHU PEI

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260512
Application Date
20241112

Claims (15)

  1. 1. A display method, characterized in that it is applied to an electronic device, the electronic device including a folding display screen, the folding display screen including a first folding area, a second folding area, and a bendable area, the method comprising: displaying a first window when the folding display screen is in an unfolding state, wherein a display area of the first window is positioned in a part or all of the first folding area, the second folding area and the bendable area; in response to a bending operation for the folding display screen, updating and displaying the first window under the condition that the folding display screen is in a bending state; the updated display area of the first window is located in a part area or all areas in the first folding area or the second folding area.
  2. 2. The method of claim 1, wherein the updated display area of the first window is located in a partial area or an entire area of the first folding area; the included angle between the plane of the first folding area and the horizontal plane is larger than or equal to the included angle between the plane of the second folding area and the horizontal plane.
  3. 3. The method according to claim 1 or 2, characterized in that the method further comprises: And displaying a second window in response to an opening operation for the second window, wherein a display area of the second window is positioned in a part or all of the first folding area or the second folding area.
  4. 4. A method according to claim 3, wherein the display area of the second window is located in a partial area or in the entire area of the first folding area.
  5. 5. The method of any of claims 1-4, wherein displaying the first window with the folded display screen in the unfolded state comprises: displaying the first window under the condition that the electronic equipment is in a first gesture and the folding display screen is in an unfolding state, wherein the display direction of the first window is a first direction, and the first direction is a horizontal screen direction or a vertical screen direction; the step of updating and displaying the first window in response to the bending operation for the folding display screen under the condition that the folding display screen is in a bending state comprises the following steps: responsive to the electronic device changing from the first pose to a second pose, adjusting a display direction of the first window from the first direction to a second direction, the second direction being different from the first direction; and in response to a bending operation for the folding display screen, updating and displaying the first window under the condition that the folding display screen is in a bending state.
  6. 6. The method of any of claims 1-5, wherein the updating the display of the first window comprises: acquiring an initial size parameter of the first window and a region size parameter of the first folding region, wherein the initial size parameter is a size parameter displayed before updating and displaying the first window; adjusting the height of the first window to be less than or equal to the region height in the case that the height in the initial size parameter is greater than the region height in the region size parameter; and displaying the adjusted first window in the first folding area.
  7. 7. A method according to claim 3, wherein said displaying said second window comprises: Acquiring the region size parameter of the first folding region; Calculating the size parameter of the second window according to the preset proportion and the region size parameter; And displaying the second window in the first folding area according to the size parameter of the second window.
  8. 8. A method according to claim 3, wherein said displaying said second window comprises: Acquiring a size parameter of a history window, wherein the history window is a window displayed in the first folding area before the second window; and displaying the second window in the first folding area according to the size parameter of the history window.
  9. 9. The method of any of claims 1-8, wherein a bend angle between the first and second fold regions, corresponding to a bend direction, is greater than a first threshold and less than 180 degrees, or greater than 180 degrees and less than or equal to a second threshold when the folded display is in a bent state.
  10. 10. The method of claim 2, wherein after the updating displays the first window, the method comprises: In response to the folding display screen being adjusted from the bending state to the unfolding state, storing, updating and displaying display position information of the first window, wherein the display position information is used for representing that the first window is displayed in the first folding area; and responding to the folding display screen to adjust from the unfolding state to the bending state, and displaying the first window in the first folding area according to the display position information for updating and displaying the first window.
  11. 11. The method of any of claims 1-10, wherein the electronic device comprises a folding notebook computer and a folding tablet computer.
  12. 12. An electronic device comprising a collapsed display screen for displaying a first window and a second window, a memory coupled to the processor, and one or more processors, wherein the memory has stored therein computer program code comprising computer instructions that, when executed by the processor, cause the electronic device to perform the method of any of claims 1-11.
  13. 13. The device of claim 12, wherein the electronic device comprises a folding notebook computer and a folding tablet computer.
  14. 14. A computer readable medium, characterized in that the computer readable storage medium has stored therein instructions, which when run on an electronic device, cause the electronic device to perform the method of any of claims 1-11.
  15. 15. A computer program product comprising instructions which, when run on a computer or processor, cause the computer or processor to perform the method of any of claims 1-11.

Description

Display method and device Technical Field The present application relates to the field of terminal display technologies, and in particular, to a display method and apparatus. Background With the continuous development of electronic devices, the use of folding display screens for electronic devices has become a trend. The folding display screen can realize large-screen display in an unfolding state, namely, the folding display screen can be used as a whole screen for displaying. When the folding display screen is in a folding state, the bendable part can deform, the screen starts to bend, and the whole screen can be divided into two screens for displaying. Typically, the window will be centered in the screen when the display is in the unfolded state and the window will be centered in the screen when the display is in the folded state. Thus, the window will overlap the foldable area in the folded display screen, which corresponds to the foldable member. If the user wants to interact with the window content corresponding to the bendable region in the window (such as clicking on the window content), the situation that the touch operation is inconvenient (such as clicking on the window content) easily occurs. Thereby reducing the sense of use experience of the user. Disclosure of Invention The application provides a display method and a display device, which avoid bendable areas in the process of displaying windows. The problem of inconvenient interaction of window contents corresponding to the bendable region is avoided. In order to achieve the above purpose, the application adopts the following technical scheme: In a first aspect, the present application provides a display method applied to an electronic device, where the electronic device includes a folding display screen, and the folding display screen includes a first folding area, a second folding area, and a bendable area, and the method includes: and under the condition that the folding display screen is in an unfolding state, the electronic device displays a first window, and the display area of the first window is positioned in a part or all of the first folding area, the second folding area and the bendable area. The electronic device may update display of the first window in response to a bending operation for the folded display screen with the folded display screen in a bent state. The updated display area of the first window is located in a part or all of the first folding area or the second folding area. In this way, the electronic device provided by the embodiment of the application can display the first window under the condition that the folding display screen is in the unfolded state, and the display position of the first window can be in any area of the folding display screen. The user can buckle the folding display screen, the electronic equipment responds to the buckling operation aiming at the folding display screen, and the first window is updated and displayed under the condition that the folding display screen is in a buckling state, namely the display position of the first window can be avoided aiming at the bendable region. The problem of inconvenient interaction of window contents corresponding to the bendable region is avoided, and meanwhile, screen vision reflection is not generated. Further, the user does not need to operate the bendable region, and the service life of the folding display screen is prolonged. Therefore, the use experience of the user is improved. In one implementation, the updated display area of the first window is located in a partial area or an entire area of the first folding area. The included angle between the plane of the first folding area and the horizontal plane is larger than or equal to the included angle between the plane of the second folding area and the horizontal plane. In this way, the electronic device provided by the embodiment of the application can display the updated first window in a partial area or all areas in the first folding area. The included angle between the plane of the first folding area and the horizontal plane is larger than or equal to the included angle between the plane of the second folding area and the horizontal plane. On the one hand, the electronic device can avoid the bendable region in the process of displaying the updated first window. The situation that screen vision reflects light and interaction cannot be conducted on the content in the bendable region is avoided. On the other hand, when the folding display screen is in the vertical screen folding state, the electronic device can be preferentially displayed in the area above, namely the first folding area, which is more fit with the horizontal line of sight of the user and accords with the use habit of the user. Thus, the use experience of the user is improved. In one implementation, the method further includes the electronic device displaying the second window in response to an opening operation for the second win