Screenshot Generating Method, Control Method, and Electronic Device
AssigneeHuawei Technologies Co., Ltd.
InventorShanru Zhou
Life of this patent
Estimating the term…
Abstract
Embodiments of this application are applied to an electronic device including a display and a camera, where a through hole is provided in the display, and the camera is embedded in the through hole. The electronic device displays an interface of the first application program; receives a screen capturing operation performed by the user; draws a screenshot of the interface of the first application program in response to the screen capturing operation, and automatically adds an image corresponding to the first application program to a position that is in the screenshot of the interface of the first application program and that corresponds to the through hole; and displays the screenshot that includes the image corresponding to the first application program.
Claims21
-29. (canceled)
An electronic device comprising:
- a memory configured to store instructions;
- a display comprising a through hole;
- a camera embedded in the through hole;
- and
- a processor coupled to the memory, the display, and the camera, wherein the instructions cause the processor to be configured to:
- display a home screen comprising a first icon of a first application program on the display;
- receive a first operation from a user on the first icon;
- display, in response to the first operation, a first interface of the first application program on the display;
- receive a screen capturing operation from the user;
- draw, in response to the screen capturing operation, a first screenshot of the first interface;
- add a first image corresponding to the first application program to a first position in the first screenshot corresponding to the through hole;
- and
- display the first screenshot comprising the first image.
An electronic device comprising:
- a memory configured to store instructions;
- a display comprising a through hole;
- a camera embedded in the through hole;
- and
- a processor coupled to the memory, the display, and the camera, wherein the instructions cause the processor to be configured to:
- display, on the display, a first interface comprising a first interface element, wherein a first display position of the first interface element encircles the through hole;
- receive a first operation from a user;
- display, on the display in response to the first operation, a second interface comprising the first interface element, wherein the second interface is of a first application program;
- receive, from the user, a second operation of enabling a first mode of the first application program;
- enable, in response to the second operation, the first mode;
- and
- display, on the second interface, a second interface element and skip displaying the first interface element, wherein the second interface element comprises first prompt information prompting that the first mode is enabled, wherein a second display position of the second interface element encircles the through hole, and wherein a second display area of the second interface element is greater than a first display area of the first interface element.
An electronic device comprising:
- a memory configured to store instructions;
- a display comprising a through hole;
- a camera embedded in the through hole;
- and
- a processor coupled to the memory, the display, and the camera, wherein the instructions cause the processor to be configured to:
- display, on the display, a first interface comprising a first interface element, wherein a first display position of the first interface element encircles the through hole;
- receive, from a user, a first operation of making a phone call;
- display, on the display in response to the first operation, a call interface comprising the first interface element;
- receive, from the user, a second operation;
- and
- display, on the display in response to the second operation, a second interface that is different from the call interface, wherein the second interface comprises a second interface element, wherein the second interface element comprises prompt information promoting that the electronic device is currently in a call or prompt call duration, wherein a second display position of the second interface element encircles the through hole, and wherein a second display area of the second interface element is greater than a first display area of the first interface element.
Dependencies are inferred from the claim text.