Projection display method and electronic device for immersive display effect synchronization
Abstract
A first electronic device displays a first interface including first content, where the first interface further includes a status bar and/or a navigation bar of the first electronic device. A second electronic device displays a first projection window including the first content, where the first projection window further includes any one of the status bar, the navigation bar, and a title bar of a projection application. The first electronic device switches from displaying the first interface to displaying a second interface, where the second interface includes second content, and the second interface does not include the status bar and the navigation bar. The second electronic device switches from displaying the first projection window to displaying a second projection window, where the second projection window includes the second content, and the second projection window does not include the status bar, the navigation bar, and the title bar.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A projection display method, applied to a first electronic device, wherein the first electronic device is connected to a second electronic device, and the method comprises:
displaying, by the first electronic device, a first interface comprising first content, wherein the first interface further comprises a status bar and/or a navigation bar of the first electronic device; projecting, by the first electronic device, the first content to the second electronic device and sending second status data, wherein the second status data indicates that the first electronic device does not hide the status bar and the navigation bar; switching, by the first electronic device, from displaying the first interface to displaying a second interface, wherein the second interface comprises second content and the second interface does not comprise the status bar and the navigation bar; and projecting, by the first electronic device, the second content to the second electronic device and sending, by the first electronic device, first status data to the second electronic device, wherein the first status data indicates that the first electronic device hides the status bar and the navigation bar.
2 . The method according to claim 1 , further comprising:
collecting, by the first electronic device, status data of the first electronic device, wherein the status data of the first electronic device is the first status data or the second status data.
3 . The method according to claim 2 , wherein the collecting, by the first electronic device, status data of the first electronic device comprises:
collecting, by the first electronic device, status data of the first electronic device in response to performing landscape/portrait mode switching.
4 . The method according to claim 2 , wherein the collecting, by the first electronic device, status data of the first electronic device further comprises:
collecting, by the first electronic device, status data of the first electronic device in response to receiving a first preset operation of a user.
5 . The method according to claim 2 , wherein collecting, by the first electronic device, status data of the first electronic device further comprises:
collecting status data of the first electronic device in response to a display interface of the first electronic device being switched from an interface of an application to an interface of another application.
6 . The method according to claim 2 , wherein the collecting, by the first electronic device, status data of the first electronic device further comprises:
periodically collecting, by the first electronic device, status data of the first electronic device.
7 . The method according to claim 2 , wherein:
at least one of the first interface, the second interface, a setting interface of the first electronic device, or a notification bar of the first electronic device comprises a preset function switch, wherein the preset function switch is used to start or close a preset function and the preset function is a function of synchronizing the status data of the first electronic device to the second electronic device by the first electronic device; and receiving, by the first electronic device and before the collecting status data of the first electronic device, the method further comprises an enabling operation performed by the user on the preset function switch.
8 . The method according to claim 1 , further comprising:
displaying, by the first electronic device, the first content or the second content on a virtual display that is generated in response to the first electronic device adapting to a screen size of the second electronic device; and collecting, by the first electronic device, the status data of the first electronic device after receiving a first message from the second electronic device, wherein: the status data of the first electronic device is status data of the virtual display, the status data of the virtual display is the first status data or the second status data, wherein the first status data indicates that the first electronic device hides the status bar and the navigation bar and the second status data indicates that the first electronic device does not hide the status bar and the navigation bar; the first message is sent in response to the second electronic device performing landscape/portrait mode switching, and the first message indicates to the first electronic device to update a projection interface of the virtual display in response to the landscape/portrait mode switching of the second electronic device; and the first message is further used to trigger the first electronic device to collect the status data of the virtual display.
9 . The method according to claim 1 , further comprising:
displaying, by the first electronic device, the first content or the second content on a virtual display that is generated in response to the first electronic device adapting to a screen size of the second electronic device; and collecting, by the first electronic device, the status data of the first electronic device after receiving a first message from the second electronic device, wherein: the status data of the first electronic device is status data of the virtual display, the status data of the virtual display is the first status data or the second status data, wherein the first status data indicates that the first electronic device hides the status bar and the navigation bar and the second status data indicates that the first electronic device does not hide the status bar and the navigation bar; the first message is sent in response to the second electronic device receiving a second preset operation, and the first message indicates to the first electronic device to update a projection interface of the virtual display in response to the second preset operation; and the first message is further used to trigger the first electronic device to collect the status data of the virtual display.
10 . The method according to claim 1 , wherein:
the first status data comprises an event identifier and information about a first event and the second status data comprises the event identifier and information about a second event; and the information about the first event indicates an event of hiding the status bar and the navigation bar during projection from the first electronic device to the second electronic device, and the information about the second event indicates an event of displaying the status bar and the navigation bar during projection from the first electronic device to the second electronic device.
11 . The method according to claim 1 , wherein:
the first content and the second content are interface images of a video application; or the first content and the second content are interface images of a game application.
12 . The method according to claim 1 , wherein:
the first interface further comprises third content, and the first electronic device displays the first content and the third content in two windows of the first interface on split screens; and the first interface comprises a status bar and/or a navigation bar of the first electronic device and that specifically includes each of the two windows of the first interface, wherein the each of the two windows of the first interface comprises the status bar and/or the navigation bar.
13 . The method according to claim 1 , wherein:
the second interface further comprises fourth content and the first electronic device displays the second content and the fourth content in two windows of the second interface on split screens; and the second interface does not comprise the status bar and the navigation bar and is specifically at least one of the two windows of the second interface that does not comprise the status bar and the navigation bar.
14 . A projection display method, applied to a second electronic device, wherein the second electronic device is connected to a first electronic device, and the method comprises:
receiving, by the second electronic device, first content and second status information from the first electronic device, wherein the second status data indicates that the first electronic device does not hide a first status bar and a navigation bar; displaying, by the second electronic device, a first projection window comprising the first content, wherein the first projection window further comprises any one of the status bar, the navigation bar, and a title bar of a projection application; receiving, by the second electronic device, second content and first status information from the first electronic device, wherein the first status data indicates that the first electronic device hides the status bar and the navigation bar; and switching, by the second electronic device, from displaying the first projection window to displaying a second projection window, wherein the second projection window comprises the second content, and the second projection window does not comprise the status bar, the navigation bar, and the title bar.
15 . The method according to claim 14 , wherein the method further comprises:
sending, by the second electronic device, a first message to the first electronic device in response to performing landscape/portrait mode switching, wherein the first message indicates the first electronic device to update, in response to the landscape/portrait mode switching, a projection interface of a virtual display that is generated when the first electronic device adapts to a screen size of the second electronic device; or sending, by the second electronic device, a first message to the first electronic device in response to receiving a second preset operation, wherein the first message indicates the first electronic device to update, in response to the second preset operation, a projection interface of a virtual display that is generated when the first electronic device adapts to a screen size of the second electronic device, wherein: the first message is further used to trigger the first electronic device to collect status data of the first electronic device, wherein the status data of the first electronic device is status data of the virtual display and the status data of the first electronic device is the first status data or the second status data.
16 . The method according to claim 14 , wherein:
the first status data comprises an event identifier and information about a first event, and the second status data comprises the event identifier and information about a second event; and the information about the first event indicates an event of hiding the status bar and the navigation bar during projection from the first electronic device to the second electronic device, and the information about the second event indicates an event of displaying the status bar and the navigation bar during projection from the first electronic device to the second electronic device.
17 . The method according to claim 14 , wherein:
the first content and the second content are interface images of a video application; or the first content and the second content are interface images of a game application.
18 . The method according to claim 14 , wherein the first projection window further comprises third content projected by the first electronic device, and the second electronic device displays the first content and the third content in two windows of the first projection window on split screens, wherein each of the two windows of the first projection window comprises any one of the status bar, the navigation bar, and the title bar.
19 . An electronic device, wherein the electronic device is a first electronic device, the first electronic device is connected to a second electronic device, and the first electronic device comprises:
a communication device, a display, a memory, and one or more processors, wherein the communication device, the display, the memory, and the processor are coupled, the memory is configured to store computer program code, the computer program code comprises computer instructions, and in response to the computer instructions being executed by the first electronic device, the first electronic device is enabled to perform operations comprising: displaying a first interface comprising first content, wherein the first interface further comprises a status bar and/or a navigation bar of the first electronic device; projecting the first content to the second electronic device and sending second status data to the second electronic device via the communication device, wherein the second status data indicates that the first electronic device does not hide the status bar and the navigation bar; switching from displaying the first interface to displaying a second interface, wherein the second interface comprises second content and the second interface does not comprise the status bar and the navigation bar; and projecting the second content to the second electronic device and sending first status data to the second electronic device via the communication device, wherein the first status data indicates that the first electronic device hides the status bar and the navigation bar.
20 . An electronic device, wherein the electronic device is a second electronic device, the second electronic device is connected to a first electronic device, and the second electronic device comprises:
a communication device, a display, a memory, and one or more processors, wherein the communication device, the display, the memory, and the processor are coupled, the memory is configured to store computer program code, the computer program code comprises computer instructions, and in response to the computer instructions being executed by the second electronic device, the second electronic device is enabled to perform operations comprising: receiving first content and second status information from the first electronic device via the communication device, wherein the second status data indicates that the first electronic device does not hide the first status bar and the navigation bar; displaying a first projection window comprising the first content, wherein the first projection window further comprises any one of the status bar, the navigation bar, and a title bar of a projection application; receiving second content and first status information from the first electronic device via the communication device, wherein the first status data indicates that the first electronic device hides the status bar and the navigation bar; and switching from displaying the first projection window to displaying a second projection window, wherein the second projection window comprises the second content, and the second projection window does not comprise the status bar, the navigation bar, and the title bar.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.