Split-screen display method and electronic device
AssigneeHuawei Technologies Co., Ltd.
InventorsChi Guan, Jianfeng Wang, Hongkai Su
Life of this patent
Estimating the term…
Abstract
A split-screen display method and an electronic device are provided. The method may be applied to the field of human-machine interaction. The method includes: A user enters an operation for a split-screen display area, for example, taps a lock control in a split-screen display area; and the electronic device locks display content in the split-screen display area in response to the operation.
Claims20
A split-screen display method, comprising:
- displaying, by an electronic device, a first interface of a first application in a first display area of a display, and displaying a second interface of a second application in a second display area of the display;
- receiving, by the electronic device, a first operation entered by a user, and displaying, by the electronic device, a home screen of the electronic device on the display in full screen in response to the first operation;
- displaying, by the electronic device, a third interface of a third application in the first display area, and displaying a fourth interface of a fourth application in the second display area in response to a second operation entered by the user;
- switching, by the electronic device, a split screen locking control from a first display state to a second display state to enable a split screen locking function of the electronic device, in response to an operation by the user;
- receiving, by the electronic device, a third operation entered by the user in the first display area, wherein the third operation is to lock display content in the first display area;
- invoking, by the electronic device, an activity task stack corresponding to the first display area based on the third operation, to set a lock status of the activity task stack;
- switching, by the electronic device, a display status of a lock control of the first display area to a locking state based on the lock status of the activity task stack;
- receiving, by the electronic device, a fourth operation entered by the user;
- and
- in response to the fourth operation, displaying, by the electronic device, the third interface in the first display area, and displaying the home screen in the second display area, wherein an operation manner of the fourth operation is the same as an operation manner of the first operation.
An electronic device, wherein the electronic device comprises a display, a memory, and at least one processor;
- the memory is coupled to the at least one processor;
- the memory is configured to store computer program code comprising computer instructions, which when executed by the at least one processor, cause the electronic device to:
- display a first interface of a first application in a first display area of the display, and display a second interface of a second application in a second display area of the display;
- receive a first operation entered by a user, and display a home screen of the electronic device on the display in full screen in response to the first operation;
- display a third interface of a third application in the first display area, and display a fourth interface of a fourth application in the second display area in response to a second operation entered by the user;
- switch a split screen locking control from a first display state to a second display state to enable a split screen locking function of the electronic device, in response to an operation by the user;
- receive a third operation entered by the user in the first display area, wherein the third operation is to lock display content in the first display area;
- and
- invoke an activity task stack corresponding to the first display area based on the third operation, to set a lock status of the activity task stack;
- switch a display status of a lock control of the first display area to a locking state based on the lock status of the activity task stack;
- receive a fourth operation entered by the user;
- and
- in response to the fourth operation, display the third interface in the first display area, and display the home screen in the second display area, wherein an operation manner of the fourth operation is the same as an operation manner of the first operation.
A non-transitory computer-readable storage medium, comprising instructions, wherein when the instructions are run on an electronic device, the electronic device is caused to:
- display a first interface of a first application in a first display area of the display, and display a second interface of a second application in a second display area of the display;
- receive a first operation entered by a user, and display a home screen of the electronic device on the display in full screen in response to the first operation;
- display a third interface of a third application in the first display area, and display a fourth interface of a fourth application in the second display area in response to a second operation entered by the user;
- switch a split screen locking control from a first display state to a second display state to enable a split screen locking function of the electronic device, in response to an operation by the user;
- receive a third operation entered by the user in the first display area, wherein the third operation is to lock display content in the first display area;
- and
- invoke an activity task stack corresponding to the first display area based on the third operation, to set a lock status of the activity task stack;
- switch a display status of a lock control of the first display area to a locking state based on the lock status of the activity task stack;
- receive a fourth operation entered by the user;
- and
- in response to the fourth operation, display the third interface in the first display area, and display the home screen in the second display area, wherein an operation manner of the fourth operation is the same as an operation manner of the first operation.
Dependencies are inferred from the claim text.