Wallpaper screen cutting display method, device and storage medium
By displaying wallpapers with transitional animations in the wallpaper continuity mode of foldable screen devices, the problem of low utilization of the back screen is solved, improving the user experience and extending the device's battery life.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2023-09-19
- Publication Date
- 2026-04-24
AI Technical Summary
Existing foldable screen devices have low utilization of the back screen when folded, resulting in resource waste and a reduced user experience.
By using a wallpaper continuity mode to switch between the main screen and the back screen when the foldable screen device is in the folded state, displaying wallpapers with transitional animations, the utilization rate of the back screen is improved, and the device switches to the main screen mode when the user operates it.
It improves the utilization rate of the rear screen, enhances the user experience, avoids screen flickering and blackout issues, and increases the device's battery life.
Smart Images

Figure CN119718229B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a wallpaper switching display method, a foldable screen device, and a storage medium. Background Technology
[0002] Currently, there is a growing demand for foldable screen devices that combine portability and large screen size.
[0003] Take outward-folding phones as an example. When an outward-folding phone is folded, the main screen faces the user, and the back screen faces away from the user, making it similar to a candybar phone. In this situation, the user only uses the main screen and doesn't pay attention to the back screen, leaving it idle. Therefore, improving the utilization rate of the back screen is an urgent problem to be solved. Summary of the Invention
[0004] This application provides a wallpaper switching display method, a foldable screen device, and a storage medium. For a foldable screen device in a folded state, when the display mode switches between a wallpaper transition mode and a main screen mode, a wallpaper with transition animation effects is displayed on the back screen. This not only creates a cool wallpaper mode but also improves the utilization rate of the back screen.
[0005] To achieve the above objectives, this application adopts the following technical solution:
[0006] In a first aspect, embodiments of this application provide a wallpaper switching display method. This method can be applied to foldable screen devices. Taking an outward-folding screen device as an example, the outward-folding screen device can be provided with a display screen, which can include a main screen area and a back screen area. When the outward-folding screen device is in a folded state, the main screen area and the back screen area face opposite directions. The method can include: when the foldable screen device is in a folded state and the display screen is off, receiving a first operation from the user; in response to the first operation, lighting up the main screen area and the back screen area, displaying a first wallpaper in the main screen area and the back screen area, and displaying a first lock screen interface in the main screen area. Then, receiving a second operation from the user; in response to the second operation, turning off the back screen area and displaying a non-lock screen interface in the main screen area. Then, receiving a third operation from the user to close the non-lock screen interface; in response to the third operation, lighting up the back screen area, displaying a second wallpaper in the main screen area and the back screen area, and displaying a second lock screen interface in the main screen area.
[0007] In the above solution, when the foldable device is in a folded state and the display is powered off, if the user wants to use the foldable device, they can press the power button to power on the foldable device in full screen mode. This displays a single, continuous wallpaper on both the main screen and the back screen, while the main screen displays the lock screen and other layers. Furthermore, while the foldable device is in a folded state, the user can switch between wallpaper continuous mode and main screen mode by interacting with the device. When switching from wallpaper continuous mode to main screen mode, the continuous wallpaper is exited and the back screen turns off; when switching from main screen mode to wallpaper continuous mode, the back screen lights up and the continuous wallpaper is displayed. This not only creates a cool wallpaper mode but also improves the utilization of the back screen.
[0008] In one possible implementation, the second operation is a first swipe operation on the first lock screen interface, and the non-lock screen interface is a desktop interface; or, the second operation is a press operation on the power button, and the non-lock screen interface is a power-off interface; or, the second operation is a connection operation between the foldable screen device and the power adapter, and the non-lock screen interface is a charging interface; or, the second operation is a second swipe operation on the first lock screen interface, and the non-lock screen interface is a password input interface; or, the second operation is a selection operation on the first control on the first lock screen interface, and the non-lock screen interface is the interface of a third-party application corresponding to the first control; or, the second operation is a selection operation on the second control on the first lock screen interface, and the non-lock screen interface is an emergency call interface.
[0009] The desktop interface is the interface displayed after the display is unlocked; the power off interface, the charging interface, the password input interface, the interface of the third-party application corresponding to the first control, and the emergency call interface are the interfaces displayed when the display is locked.
[0010] In the above scheme, when the display mode is wallpaper-through mode, the user can trigger the foldable screen device to unlock by unlocking the lock screen, thereby switching from wallpaper-through mode to home screen mode and displaying the desktop on the home screen; the user can also trigger the foldable screen device to switch from wallpaper-through mode to home screen mode while keeping the screen locked, and display the power off screen, charging screen, password input screen, the interface of the third-party application corresponding to the first control, emergency call screen, etc. through other operations.
[0011] In one possible implementation, responding to the second operation by turning off the back screen area and displaying an unlocked interface on the main screen area, may include: responding to the second operation by displaying a first full-screen screenshot on the main screen area and the back screen area at a first time point; at a second time point by displaying a second full-screen screenshot on the main screen area and the back screen area, displaying an unlocked interface on the main screen area, and covering a first black overlay on a first region of the back screen area; wherein the transparency of the second full-screen screenshot is greater than that of the first full-screen screenshot, and the first region is not adjacent to the main screen area; at a third time point by displaying a third full-screen screenshot on the main screen area and the back screen area, displaying an unlocked interface on the main screen area, and covering a second region of the back screen area with a second black overlay; wherein the transparency of the third full-screen screenshot is greater than that of the second full-screen screenshot, the second region is not adjacent to the main screen area, and the second region may include the first region; at a fourth time point by displaying an unlocked interface on the main screen area and covering the back screen area with a third black overlay; and at a fifth time point by displaying an unlocked interface on the main screen area and turning off the back screen area. Among them, the first full-screen screenshot, the second full-screen screenshot, and the third full-screen screenshot are screenshots corresponding to the first wallpaper and the first lock screen interface.
[0012] In the above solution, during the transition from wallpaper-through mode to home screen mode, the foldable device places a black overlay on the outside of the back screen. This black overlay can then move to the right side of the back screen at a certain speed until it covers the entire back screen. In this way, the user can see the size of the black overlay gradually increase, gradually covering the back screen in a motion effect similar to a sliding door. Additionally, the foldable device can display a full-screen screenshot before the non-lock screen interface is fully rendered, thus avoiding the issue of black screen flickering.
[0013] In one possible implementation, responding to the second operation by turning off the back screen area and displaying an unlocked interface on the main screen area, may include: responding to the second operation by, at a first time point, displaying a first full-screen screenshot on both the main screen area and the back screen area, with a first black overlay covering the first full-screen screenshot on the back screen area. At a second time point, displaying a second full-screen screenshot on both the main screen area and the back screen area, displaying the unlocked interface on the main screen area, with a second black overlay covering the second full-screen screenshot on the back screen area; wherein the transparency of the second full-screen screenshot is greater than that of the first full-screen screenshot, and the transparency of the second black overlay is less than that of the first black overlay. At a third time point, displaying a third full-screen screenshot on both the main screen area and the back screen area, displaying the unlocked interface on the main screen area, with a third black overlay covering the third full-screen screenshot on the back screen area; wherein the transparency of the third full-screen screenshot is greater than that of the second full-screen screenshot, and the transparency of the third black overlay is less than that of the second black overlay. At the fourth time point, the unlocked screen is displayed on the main screen area, and a fourth black overlay is applied to the back screen area; the transparency of the fourth black overlay is less than that of the third black overlay. At the fifth time point, the unlocked screen is displayed on the main screen area, and the back screen area is turned off. The first, second, and third full-screen screenshots are screenshots corresponding to the first wallpaper and the first lock screen.
[0014] In the above solution, during the transition from wallpaper-through mode to home screen mode, the foldable device overlays a transparent, invisible black overlay on top of the back screen. This black overlay gradually decreases in transparency at a certain speed until it completely covers the back screen. In this way, the user can see the black overlay gradually becoming clearer as it covers the back screen. Additionally, the foldable device can display a full-screen screenshot before the non-lock screen interface is fully rendered, thus avoiding the issue of black screen flickering.
[0015] In one possible implementation, in response to a third operation, the back screen area is illuminated, a second wallpaper is displayed in both the main screen area and the back screen area, and a second lock screen interface is displayed in the main screen area. This can include: in response to the third operation, at a sixth time point, illuminating the back screen area, covering the back screen area with a first black overlay, and displaying a first main screen screenshot in the main screen area. At a seventh time point, displaying the second wallpaper in both the main screen area and the back screen area, displaying a second main screen screenshot and a second lock screen interface in the main screen area, and covering the second wallpaper in the back screen area with a second black overlay; wherein the transparency of the second main screen screenshot is greater than the transparency of the first main screen screenshot. At an eighth time point, displaying the second wallpaper in both the main screen area and the back screen area, displaying a third main screen screenshot and a second lock screen interface in the main screen area, and covering a third area of the back screen area with a third black overlay; wherein the transparency of the third main screen screenshot is greater than the transparency of the second main screen screenshot, and the third area is not adjacent to the main screen area. At the ninth time point, the second wallpaper is displayed in both the main screen area and the back screen area. A fourth main screen screenshot and the second lock screen interface are displayed in the main screen area. A fourth black overlay is applied to the fourth area of the back screen area. The transparency of the fourth main screen screenshot is greater than that of the third main screen screenshot. The fourth area is not adjacent to the main screen area; it belongs to the third area. At the tenth time point, the second wallpaper is displayed in both the main screen area and the back screen area, and the second lock screen interface is displayed in the main screen area. The first, second, and third main screen screenshots are screenshots corresponding to the non-lock screen interfaces.
[0016] In the above solution, during the transition from the main screen state to the wallpaper-through state, the foldable device overlays a black overlay on top of the back screen. This black overlay then moves to the left side of the back screen at a certain speed until it disappears completely. As a result, the user can see the size of the black overlay gradually decrease, and the through wallpaper gradually emerges with an effect similar to a sliding door. Additionally, the foldable device can display a screenshot of the main screen before the second wallpaper and second lock screen are fully rendered, thus avoiding the issue of black screen flickering.
[0017] In one possible implementation, in response to a third operation, the back screen area is illuminated, a second wallpaper is displayed in both the main screen area and the back screen area, and a second lock screen interface is displayed in the main screen area. This may include: in response to the third operation, at a sixth time point, illuminating the back screen area, covering the back screen area with a first black overlay, and displaying a first main screen screenshot in the main screen area. At a seventh time point, displaying the second wallpaper in both the main screen area and the back screen area, displaying a second main screen screenshot and a second lock screen interface in the main screen area, and covering the second wallpaper in the back screen area with a second black overlay; wherein the transparency of the second main screen screenshot is greater than the transparency of the first main screen screenshot, and the transparency of the second black overlay is greater than the transparency of the first black overlay. At an eighth time point, displaying the second wallpaper in both the main screen area and the back screen area, displaying a third main screen screenshot and a second lock screen interface in the main screen area, and covering the second wallpaper in the back screen area with a third black overlay; wherein the transparency of the third main screen screenshot is greater than the transparency of the second main screen screenshot, and the transparency of the third black overlay is greater than the transparency of the second black overlay. At the ninth time point, the second wallpaper is displayed in the main screen area and the back screen area, and the second lock screen interface is displayed in the main screen area. Among them, the first main screen screenshot, the second main screen screenshot, and the third main screen screenshot are screenshots corresponding to the non-lock screen interface.
[0018] In the above solution, during the transition from the main screen state to the wallpaper-through state, the foldable screen device overlays a black overlay on top of the back screen. This black overlay can then gradually increase in transparency at a certain speed until it becomes invisible to the user. In this way, the user can see the black overlay gradually disappear. Additionally, the foldable screen device can display a screenshot of the main screen before the second wallpaper and second lock screen interface are fully rendered, thus avoiding the issue of flickering black screens.
[0019] In one possible implementation, after displaying the first wallpaper in the main screen area and the back screen area, and displaying the first lock screen interface in the main screen area, the method may further include: receiving a fourth operation from the user in the back screen area, maintaining the display of the first wallpaper in the main screen area and the back screen area, and maintaining the display of the first lock screen interface in the main screen area.
[0020] In one possible implementation, after displaying the second wallpaper in the main screen area and the back screen area, and displaying the second lock screen interface in the main screen area, the method may further include: receiving a fifth operation from the user in the back screen area, maintaining the display of the second wallpaper in the main screen area and the back screen area, and maintaining the display of the second lock screen interface in the main screen area.
[0021] In the above solution, when the foldable screen device enters the wallpaper-through state from power-on, or when the foldable screen device enters the wallpaper-through state from full-screen state, the user's attention is mainly focused on the main screen, and the probability of operating the main screen is higher than the probability of operating the back screen. Therefore, setting the back screen area to not respond to user operations and making the main screen area respond to user operations can further improve the user experience.
[0022] In one possible implementation, after displaying a first wallpaper in the main screen area and the back screen area, and then displaying a first lock screen interface in the main screen area, or after displaying a second wallpaper in the main screen area and the back screen area, and then displaying a second lock screen interface in the main screen area, the method may further include: turning off the main screen area and the back screen area if no user operation is received within a preset time period.
[0023] In the above solution, after a period of time when the foldable screen device displays the wallpaper in full screen on the main screen and the back screen, if the user does not perform any operation on the foldable screen device, it means that the user may not have a need to use the foldable screen device for the time being. Therefore, the foldable screen device can power off the display screen to reduce unnecessary power consumption and improve the battery life of the foldable screen device.
[0024] Secondly, this application provides an apparatus comprising units for performing the method described in the first aspect above. This apparatus corresponds to performing the wallpaper switching display method described in the first aspect above. For a detailed description of the units within this apparatus, please refer to the description in the first aspect above; for brevity, it will not be repeated here.
[0025] Thirdly, this application provides a foldable screen device, which includes a memory and one or more processors. The memory stores computer program code, including computer instructions. When the computer instructions are invoked by the processor, the foldable screen device executes the wallpaper switching display method provided in any of the first aspects.
[0026] Fourthly, this application provides a computer-readable storage medium. The computer-readable storage medium includes computer instructions. When the computer instructions are executed on a foldable screen device, the foldable screen device causes the foldable screen device to perform the wallpaper switching display method provided in the first aspect and any possible implementation thereof.
[0027] Fifthly, this application provides a computer program product. When the computer program product is run on a computer, it causes the computer to execute the wallpaper switching display method provided in the first aspect and any possible implementation thereof.
[0028] Sixthly, this application provides a chip system. The chip system includes one or more interface circuits and one or more processors. The interface circuits and processors are interconnected via lines. The chip system can be applied to a foldable screen device including a communication module and a memory. The interface circuits are used to receive signals from the memory of the foldable screen device and send the received signals to the processor, the signals including computer instructions stored in the memory. When the processor invokes the computer instructions, the foldable screen device can execute the wallpaper screen-switching display method provided by the first aspect and any possible implementation thereof.
[0029] It is understood that the beneficial effects achieved by the apparatus of the second aspect, the foldable screen device of the third aspect, the computer-readable storage medium of the fourth aspect, the computer program product of the fifth aspect, and the chip system of the sixth aspect can be referred to the beneficial effects of the first aspect and any possible implementation thereof, which will not be repeated here. Attached Figure Description
[0030] Figures 1A-1C A schematic diagram of an outward-folding screen mobile phone provided in an embodiment of this application;
[0031] Figure 2 This is a schematic diagram illustrating a scenario where the wallpaper is displayed on the main screen when the phone is in a folded state, as provided in an embodiment of this application.
[0032] Figure 3 This is a schematic diagram illustrating the relationship between device status and display mode provided in an embodiment of this application;
[0033] Figures 4A-4F A schematic diagram of a scenario for entering a through-hole state, provided as an embodiment of this application;
[0034] Figures 5A-5D A schematic diagram of another scenario for entering the through-hole state provided in an embodiment of this application;
[0035] Figures 6A-6B This is a schematic diagram illustrating a scenario of playing a live wallpaper in a continuous state, as provided in an embodiment of this application.
[0036] Figure 7 A schematic diagram illustrating a scenario of switching from a continuous state to a main screen state, provided as an embodiment of this application;
[0037] Figure 8 A schematic diagram illustrating another scenario for switching from the through-state to the main screen state, provided as an embodiment of this application;
[0038] Figure 9 A schematic diagram illustrating another scenario for switching from the through-state to the main screen state, provided as an embodiment of this application;
[0039] Figure 10 A schematic diagram illustrating another scenario for switching from the through-state to the main screen state, provided as an embodiment of this application;
[0040] Figure 11 A schematic diagram illustrating another scenario for switching from the through-state to the main screen state, provided as an embodiment of this application;
[0041] Figure 12 A schematic diagram illustrating another scenario for switching from the through-state to the main screen state, provided as an embodiment of this application;
[0042] Figure 13 A schematic diagram illustrating a scenario of switching from the main screen state to the continuous state, provided for an embodiment of this application;
[0043] Figure 14 A schematic diagram illustrating another scenario of switching from the main screen state to the continuous state, provided for an embodiment of this application;
[0044] Figure 15 A schematic diagram illustrating the relationship between the display screen, the display area, and the projection area provided in an embodiment of this application;
[0045] Figure 16 This application provides a schematic diagram illustrating layer changes when switching from a continuous state to a main screen state, as shown in an embodiment of the present application.
[0046] Figures 17A-17D To and Figure 16 Corresponding scene illustration;
[0047] Figure 18 Another schematic diagram of layer changes when switching from a through-state to a main screen state, provided as an embodiment of this application;
[0048] Figure 19 This application provides a schematic diagram illustrating layer changes when switching from the main screen state to the continuous state, as shown in the embodiments of the present application.
[0049] Figures 20A-20F To and Figure 19 Corresponding scene illustration;
[0050] Figure 21 Another schematic diagram of layer changes when switching from the main screen state to the continuous state, provided for an embodiment of this application;
[0051] Figure 22 This is a schematic diagram of the architecture of a foldable screen device provided in an embodiment of this application;
[0052] Figure 23 A flowchart illustrating the method for switching from the through state to the main screen state provided in an embodiment of this application;
[0053] Figure 24 A flowchart illustrating the method for switching from the main screen state to the continuous state provided in an embodiment of this application;
[0054] Figure 25 This is a schematic diagram of the hardware structure of a foldable screen device provided in an embodiment of this application. Detailed Implementation
[0055] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0056] For example, Figures 1A-1C A schematic diagram of an outward-folding screen phone is shown.
[0057] Foldable screen phones have a display screen that can be bent into two display areas. Typically, the larger display area is called the main screen or main screen area, and the smaller display area is called the back screen, secondary screen, or secondary screen area. For example... Figure 1A As shown, when the back screen is folded to be flush with the surface where the rear camera is located, the folding angle between the main screen and the back screen is less than or equal to the first angle. At this moment, the outward-folding screen phone is in a folded state, and the main screen and the back screen face different directions, with the main screen facing the user and the back screen facing away from the user. Figure 1B As shown, when the outward-folding screen phone is in stand mode, the folding angle between the main screen and the back screen is greater than or equal to the first angle and less than the second angle. Figure 1C As shown, when the outward-folding screen phone is in the unfolded state, the main screen and the back screen face the same direction, and the folding angle between the two display areas is greater than or equal to a second angle. The second angle is greater than the first angle. For example, the first angle can be 30° or 45°, and the second angle can be 90° or 120°.
[0058] based on Figures 1A-1C The outward-folding screen phone provided Figure 2 This illustration shows a scenario where the wallpaper is displayed on the home screen when the outward-folding screen phone is in the folded state. For example... Figure 2 As shown, when the phone is folded, the main screen and the back screen face different directions: the main screen faces the user, and the back screen faces away. If the user powers on the phone at this time, the main screen lights up, and the back screen turns off. The phone then displays the wallpaper, status bar, and unlock screen on the main screen. The user can then unlock the phone by swiping up on the main screen, switching to the desktop or other non-lock screen interfaces. During this process, the back screen remains idle, resulting in low utilization of the back screen.
[0059] In view of the above problems, this application provides a method for full-screen wallpaper display. This method can be applied to foldable screen devices, such as outward-folding screen phones. When the foldable screen device is in a folded state and the screen is locked but on, it powers on in full screen, displaying a complete, continuous wallpaper on both the main screen and the back screen, while other layers are displayed on the main screen, thus creating a cool wallpaper mode. This not only improves the utilization rate of the back screen but also enhances the user experience when the phone screen is on.
[0060] For example, Figure 3 This diagram illustrates the relationship between the device status and display mode of a foldable screen device.
[0061] This application provides four device states: unfolded, folded, support, and tent.
[0062] After the foldable screen device is powered on, if the detected folding angle is greater than or equal to 90°, the foldable screen device enters the unfolded state. After the foldable screen device is powered on, if the detected folding angle is less than or equal to 30°, the foldable screen device enters the folded state. After the foldable screen device is powered on, if the detected folding angle is greater than 30° and less than 90°, the foldable screen device enters the stand state. In addition to these three states, this application also provides a special state: the tent state. After the foldable screen device is powered on, if the tent state conditions are met, it enters the tent state. The tent state conditions include: 1. The folding angle is within a preset angle range, for example, the preset angle range is 45° to 105°; 2. The foldable screen device is placed in a tent shape, that is, the two sides of the foldable screen device are placed on a table; 3. The static time of the foldable screen device in the tent shape is greater than or equal to a preset duration, for example, the preset duration is 300 milliseconds.
[0063] During screen activation, if the user changes the folding angle of the foldable device, the device can switch between these states. For example, initially, the foldable device is in a folded state; the user can increase the folding angle. When the folding angle exceeds 30°, the device switches from folded to stand mode. The user can then continue increasing the folding angle. When the folding angle exceeds 90°, the device switches from stand mode to unfolded mode.
[0064] This application also provides the following five display modes:
[0065] Fullscreen mode (DISPLAY_MODE_FULL) refers to a display area and logical screen that span the entire screen. In this mode, the interface is displayed in full screen, and users can interact with the entire screen. Fullscreen mode is the corresponding display mode when the foldable device is in unfolded, stand, or tent mode.
[0066] The main screen mode (DISPLAY_MODE_MAIN) refers to the display area and logical screen being on the main screen when the foldable device is in folded or tent mode, while the back screen is frozen. The user can operate the main screen. For example, when the foldable device switches from stand mode to folded mode, the corresponding display mode is the main screen mode. Another example is when the foldable device is in folded mode, with the screen on and unlocked; in this case, the corresponding display mode is the main screen mode.
[0067] Secondary screen mode (DISPLAY_MODE_SUB) refers to the situation where, when a foldable device is in a folded state, the display area and logical screen are on the secondary screen, the main screen is frozen, and the rear screen displays the interface. Users can operate on the rear screen. For example, when a user starts taking a selfie with the rear camera, the display mode is secondary screen mode.
[0068] Display mode (DISPLAY_MODE_COORDINATON) refers to a foldable screen device where both the display area and the logical screen are configured when the device is in a folded state. For example, when a user activates a selfie using both the front and rear cameras, the display mode is in display mode.
[0069] The "Paint Full-Paper" mode refers to a foldable device where, when folded, the display area spans the entire screen, with the logical screen residing on the main screen. In this mode, a single wallpaper is displayed across the entire main and rear screens, while all other layers besides the wallpaper layer are displayed on the main screen.
[0070] The following uses a foldable screen phone as an example, combined with several scenario examples to illustrate the wallpaper continuity provided in this application.
[0071] Scenario Example 1
[0072] like Figure 4A As shown, initially, the phone is in a folded state, and the entire display is powered off. If the main screen faces the user, the user will see the main screen is off. If the user flips the phone so the back screen faces them, the user will see the back screen is off. When the user wants to use the phone, as... Figure 4B As shown, users can press the power button located on the side bezel of the main screen. In response to the user's press, the screen enters wallpaper mode, powers on fully, and illuminates the backlight module. The backlight module provides sufficient brightness and evenly distributed light to ensure proper display. Figure 4C As shown, the phone displays a single wallpaper frame in full-screen mode, while other layers, such as the unlock layer and status bar layer, are displayed on the main screen. However, because the wallpaper on the back screen is covered by a black overlay, the user can only see the other layers and part of the wallpaper displayed on the main screen. Then, the black overlay can move to the left side of the display at a certain speed, for example, first displaying... Figure 4D The interface shown will then be displayed as follows: Figure 4E The interface shown below will then display as follows: Figure 4F The interface shown is as follows. Users can see the black overlay gradually shrink, and the entire wallpaper gradually unfolds with a sliding door-like animation until it fills the entire screen.
[0073] As an example, a wallpaper app can retrieve the currently set wallpaper resource. If the resolution of the current wallpaper resource is greater than or equal to the screen's resolution, then full-screen display of the wallpaper is supported, and the app can enter wallpaper-through mode. If the resolution of the current wallpaper resource is less than the screen's resolution, then full-screen display of the wallpaper is not supported, and the app can enter home screen mode, displaying the wallpaper and other layers on the home screen.
[0074] Scenario Example 2
[0075] This application also provides another solution for displaying wallpaper animation effects. In response to... Figure 4B As shown, pressing the power button enters the wallpaper-through mode and illuminates the entire screen, as indicated. Figure 5A As shown, the phone can display a single wallpaper frame in full screen, while other layers, such as the unlock layer and status bar layer, are displayed on the main screen. However, because the wallpaper on the back screen is covered by a black overlay, the user can only see the other layers and part of the wallpaper displayed on the main screen. Then, the black overlay can gradually fade out of the back screen at a certain speed. For example, at time 1, as... Figure 5A The alpha value of the black overlay shown is Alpha = 255; at time 2, as Figure 5B The alpha value of the black overlay shown is Alpha = 127; at time 3, as Figure 5C The alpha value of the black overlay shown is Alpha = 63; at time 4, as Figure 5D The black overlay shown has an alpha value of 0. Time 2 is later than time 1, time 3 is later than time 2, and time 4 is later than time 3. The alpha value represents the transparency of a color. Typically, the alpha value ranges from 0 to 255. If a color with an alpha value of 0 is drawn onto a Surface object, it has no effect because the color is completely transparent and invisible. If a color with an alpha value of 255 is drawn onto a Surface object, it will overlay other layers, making them invisible. Thus, by gradually decreasing the alpha value of the black overlay, the user can see the black overlay gradually fade out of the secondary screen.
[0076] The above scenario examples 1 and 2, based on a black overlay on the back screen, provide two animation effects. As another example, the phone can also function without a black overlay on the back screen. When the user... Figure 4B After pressing the power button as shown to illuminate the full screen, the phone may not display the following: Figures 4C-4F The sliding door animation shown does not display as... Figures 5A-5D Instead of the black overlay fading out animation, the wallpaper interface is displayed full-screen, for example, directly from... Figure 4B Switch to Figure 4F , or from Figure 4B Switch to Figure 5D .
[0077] Scenario Example 3
[0078] The above scenario examples 1 and 2 use a single frame of wallpaper as an example for illustration. This application also provides another scheme for displaying wallpaper animation effects. In scenario example 3, the wallpaper resource is a video resource, and the video resource includes multiple frames. In response to... Figure 4B As shown, pressing the power button enters the wallpaper-through mode and illuminates the entire screen, as indicated. Figure 6A As shown, the phone can display the first frame of the video resource as wallpaper in full screen, and display other layers on the main screen, such as the unlock layer and the status bar layer. Then, the phone can play each frame of the video resource sequentially, starting from the first frame, until... Figure 6B The last frame of the wallpaper is shown. During this process, other layers remain displayed on the main screen. After the animation of the video resource ends, the phone can continue to display the last frame of the wallpaper in full screen, and also continue to display other layers on the main screen. These other layers are positioned above the wallpaper layer.
[0079] In response to user requests, such as Figure 4B As shown, pressing the power button enters the wallpaper-through state, and the phone displays one frame of wallpaper in full-screen mode. Afterward, the user may or may not interact with the phone. For example, after displaying one frame of wallpaper in full-screen mode, the phone can start a timer. If the phone receives a user action to increase the folding angle within a preset time, it can switch to another device state and change the display mode; or, if the phone receives a user action to unlock within the preset time, it can remain folded and switch from wallpaper-through state to home screen state; or, if the phone receives another press of the power button within the preset time, it can power down in full-screen mode. If the phone does not receive any user action after the timer has elapsed for a duration greater than or equal to the preset time, it can power down in full-screen mode, turning off the screen and reducing overall power consumption. The preset time can be system-defined or user-set, such as 1 minute, 5 minutes, or 10 minutes.
[0080] The following is combined with Figures 7-12 The text explains how the phone's display mode switches from wallpaper mode to home screen mode when a user's operation is received within a preset time period.
[0081] Scenario Example 4
[0082] like Figure 7 As shown in (1), initially, the phone is in a folded state, and the entire display is powered off. When the user wants to use the phone, as shown in (1), the phone is folded. Figure 7 As shown in (2), the user can press the power button located on the side bezel of the main screen to power on the phone in full screen, displaying the continuous wallpaper in full screen and the lock screen interface on the main screen. Figure 7As shown in (3), when the phone is displaying a full-screen wallpaper, if the user wants to unlock the screen, they can swipe upwards a short distance from the bottom of the main screen with a single finger. In response to the user's swipe, the phone successfully recognizes the user's face through the camera, unlocks the phone, switches from the wallpaper-enabled state to the main screen state, and adds a black overlay and a full-screen screenshot. Figure 7 As shown in (4), a black overlay appears from the left side of the back screen and moves to the right. The transparency of the full-screen screenshot gradually increases, and the desktop and new wallpaper are displayed on the main screen. Figure 7 As shown in (5), the black overlay continues to move to the right until it covers the entire back screen, the full-screen screenshot disappears, and the desktop and new wallpaper are displayed on the main screen. After the black overlay covers the entire back screen, as shown in (5), the black overlay continues to move to the right until it covers the entire back screen. Figure 7 As shown in (6), when the back screen is powered off, the main screen displays the desktop layer and the new wallpaper layer after cropping.
[0083] Scenario Example 5
[0084] like Figure 8 As shown in (1), initially, the phone is in a folded state, and the entire display is powered off. When the user wants to use the phone, the user can press the power button located on the side bezel of the main screen, as shown in (1). Figure 8 As shown in (2), the phone powers on in full-screen mode and displays the continuous wallpaper in full-screen mode, as well as the lock screen interface on the main screen. Figure 8 As shown in (3), when the phone is displaying a full-screen wallpaper, if the user wants to power off, they can press and hold the power button. In response to the user's power-off operation, the phone switches from wallpaper-enabled mode to home screen mode, adding a black overlay and a full-screen screenshot. Figure 8 As shown in (4), a black overlay appears from the left side of the back screen and moves to the right. The transparency of the full-screen screenshot gradually increases, and the shutdown screen is displayed on the main screen. Figure 8 As shown in (5), the black overlay continues to move to the right until it covers the entire back screen, the full-screen screenshot disappears, and the shutdown screen is displayed on the main screen. After the black overlay covers the entire back screen, as shown in (5), the black overlay continues to move to the right until it covers the entire back screen, the full-screen screenshot disappears, and the shutdown screen is displayed on the main screen. Figure 8 As shown in (6), when the back screen is powered off, the main screen displays the power off interface.
[0085] Scenario Example 6
[0086] like Figure 9 As shown in (1), initially, the phone is in a folded state, and the entire display is powered off. When the user wants to use the phone, the user can press the power button located on the side bezel of the main screen, as shown in (1). Figure 9 As shown in (2), the phone powers on in full-screen mode and displays the continuous wallpaper in full-screen mode, as well as the lock screen interface on the main screen. Figure 9As shown in (3), when the phone is displaying a full-screen wallpaper, if the user wants to use the phone as a flashlight, they can connect the power adapter to the phone. In response to the user's charging action, the phone switches from wallpaper-enabled mode to home screen mode, adding a black overlay and a full-screen screenshot. Figure 9 As shown in (4), a black overlay appears from the left side of the back screen and moves to the right. The transparency of the full-screen screenshot gradually increases, and the charging interface is displayed on the main screen. Figure 9 As shown in (5), the black overlay continues to move to the right until it covers the entire back screen, the full-screen screenshot disappears, and the charging interface is displayed on the main screen. After the black overlay covers the entire back screen, as shown in (5), the black overlay continues to move to the right until it covers the entire back screen, the full-screen screenshot disappears, and the charging interface is displayed on the main screen. Figure 9 As shown in (6) in the figure, when the back screen is powered off, the main screen displays the charging interface.
[0087] Scenario Example 7
[0088] like Figure 10 As shown in (1), initially, the phone is in a folded state, and the entire display is powered off. When the user wants to use the phone, the user can press the power button located on the side bezel of the main screen, as shown in (1). Figure 10 As shown in (2), the phone powers on in full-screen mode and displays the continuous wallpaper in full-screen mode, as well as the lock screen interface on the main screen. Figure 10 As shown in (3), when the phone displays a full-screen wallpaper, if the user wants to use certain shortcut functions, they can swipe upwards a certain distance from the bottom of the main screen with a single finger. In response to this swipe, the phone displays a list of shortcut controls. The list includes controls such as flashlight, calculator, recorder, and camera. If the operation of a control can trigger the foreground application corresponding to that control, then... Figure 10 As shown in (4), when the user clicks the camera control, in response to the user's click, the phone switches from wallpaper mode to home screen mode, and adds a black overlay and a full-screen screenshot. Figure 10 As shown in (5), the transparency of the black overlay gradually decreases, while the transparency of the full-screen screenshot gradually increases until it disappears completely, displaying the camera interface on the main screen. After the black overlay covers the entire back screen, as shown in (5), the transparency of the black overlay gradually decreases until it disappears completely, displaying the camera interface on the main screen. Figure 10 As shown in (6), when the back screen is powered off, the main screen displays the camera interface.
[0089] It should be noted that, as Figure 10 The sliding distance shown in (3) is greater than Figure 7 The sliding distance shown in (3) means that the user can trigger the phone to perform different processing operations by changing the sliding distance of the sliding operation, such as unlocking the screen or displaying a list of shortcut controls.
[0090] Scenario Example 8
[0091] like Figure 11 As shown in (1), initially, the phone is in a folded state, and the entire display is powered off. When the user wants to use the phone, the user can press the power button located on the side bezel of the main screen, as shown in (1). Figure 11 As shown in (2), the phone powers on in full-screen mode and displays the continuous wallpaper in full-screen mode, as well as the lock screen interface on the main screen. Figure 11 As shown in (3), when the phone displays a full-screen wallpaper, if the user wants to unlock the phone, the user can swipe upwards a certain distance from the bottom of the main screen with a single finger. In response to the user's swipe, as shown in (3), Figure 11 As shown in (4), the phone displays a switch from wallpaper overlay mode to home screen mode, adds a black overlay and a full-screen screenshot, and displays the password input interface on the home screen. Then the black overlay moves to the right, and the transparency of the full-screen screenshot gradually increases. Figure 11 As shown in (5), the black overlay continues to move to the right until it covers the entire back screen, the full-screen screenshot disappears, and the password input interface is displayed on the main screen. After the black overlay covers the entire back screen, as shown in (5), the black overlay continues to move to the right until it covers the entire back screen, the full-screen screenshot disappears, and the password input interface is displayed on the main screen. Figure 11 As shown in (6), when the back screen is powered off, the main screen displays the password input interface.
[0092] Scenario Example 9
[0093] like Figure 12 As shown in (1), initially, the phone is in a folded state, and the entire display is powered off. When the user wants to use the phone, the user can press the power button located on the side bezel of the main screen, as shown in (1). Figure 12 As shown in (2), the phone powers on in full-screen mode and displays the continuous wallpaper in full-screen mode, as well as the lock screen interface on the main screen. Figure 12 As shown in (3), when the phone is displaying a full-screen wallpaper, if the user wants to turn the phone on, they can tap the emergency call control on the lock screen. In response to the user's tap, the phone switches from wallpaper mode to home screen mode, adding a black overlay and a full-screen screenshot. Figure 12 As shown in (4), a black overlay appears from the left side of the back screen and moves to the right. The transparency of the full-screen screenshot gradually increases, and the emergency call interface is displayed on the main screen. Figure 12 As shown in (5), the black overlay continues to move to the right until it covers the entire back screen, the full-screen screenshot disappears, and the emergency call interface is displayed on the main screen. After the black overlay covers the entire back screen, as shown in (5), the black overlay continues to move to the right until it covers the entire back screen, the black overlay continues to move to the right until it covers the entire back screen. Figure 12 As shown in (6), when the back screen is powered off, the main screen displays the emergency call interface.
[0094] The following is combined with Figures 13-14 This section explains how the phone's display mode switches from home screen mode to wallpaper mode.
[0095] Scenario Example 10
[0096] Referring to the description in Scenario Example 7 above, users can trigger the display of a third-party application (such as a camera application) by manipulating shortcut controls while the phone is locked. Figure 13 As shown in (1), the main screen displays the camera interface, while the back screen is off. After the user finishes using the camera application, the user swipes upwards from the bottom of the main screen with a single finger. In response to this swipe, the phone exits the camera application and switches the display mode from main screen to wallpaper overlay mode. Figure 13 As shown in (2), the phone lights up the back screen, displays a screenshot of the camera interface on the main screen, and displays a black overlay on the back screen. Figure 13 As shown in (3), the black overlay moves to the left side of the display, the size of the black overlay decreases, the transparency of the camera interface screenshot increases, and the full-screen wallpaper gradually appears. Figure 13 As shown in (4), the black overlay continues to move to the left side of the display, the size of the black overlay further decreases, and the transparency of the camera interface screenshot further increases. Figure 13 As shown in (5), the black overlay is moved off the entire display screen, the phone removes the black overlay, and the screenshot on the camera interface also disappears. Figure 13 As shown in (6), the timer starts after the black overlay is removed. If the user's unlocking operation is not received after the preset time is reached, the entire display screen is powered off.
[0097] It should be noted that scenario example 10 is illustrated by exiting a third-party application while the screen is locked, causing the display mode to switch from the home screen state to the wallpaper seamless state, and it does not limit this application. Referring to the description of the above scenario example, exiting the power off screen, the charging screen, the password input screen, or the emergency call screen while the screen is locked will all trigger the display mode to switch from the home screen state to the wallpaper seamless state, and the seamless wallpaper will gradually appear through a black overlay of a sliding door animation.
[0098] Scenario Example 11
[0099] Referring to the description of scenario example 8 above, a user can trigger the display of the password input interface by swiping up on the home screen while the phone is locked. For example... Figure 14 As shown in (1), the main screen displays the password input interface, the back screen is off, and the user slides a single finger upwards from the bottom of the main screen for a certain distance. Figure 14 As shown in (2), in response to the swipe operation, the phone lights up the back screen, switches the display mode from the main screen state to the wallpaper overlay state, displays a black overlay on the back screen, and displays a screenshot of the password input interface on the main screen. Figure 14As shown in (3), the transparency of the black overlay and the screenshot of the password input interface are increased, the wallpaper is displayed in full screen, and the lock screen interface is displayed on the main screen. Figure 14 As shown in (4), the transparency of the black overlay and the screenshot of the password input interface are further increased. Figure 14 As shown in (5), the black overlay is completely transparent and invisible, and the screenshot of the camera interface also disappears. Figure 14 As shown in (6), the timer starts after the black overlay is removed. If the user's unlocking operation is not received after the preset time is reached, the entire display screen is powered off.
[0100] The above embodiments illustrate the wallpaper's continuous and full-screen states through several scenario examples, but they do not limit this application. It should be understood that in actual implementation, the schemes for switching from continuous to full-screen mode when the phone is folded, and the schemes for switching from full-screen mode to continuous mode when the phone is folded, can also be applied to other applications, such as running game applications, map applications, or video applications, etc., and this application does not make specific limitations.
[0101] Before formally introducing the specific implementation principle of the wallpaper seamless state, let's first introduce several important concepts involved in the wallpaper seamless state: display screen, display area, and projection area. Among them, the display screen refers to the physical display screen of the foldable screen, the display area refers to the area that supports the display of projected images, and the projection area refers to the actual projection range of the projected image on the display area. The projected image is composed of multiple application layers.
[0102] Figure 15 A schematic diagram showing the relationship between the display screen, display area, and projection area of an outward-folding screen mobile phone is shown.
[0103] like Figure 15 As shown, the outward-folding screen phone has a display screen mounted on its frame. This display screen can be bent into two display areas: a main screen and a rear screen. The main screen is 2016 pixels wide and 2348 pixels high. The main screen is 1088 pixels wide and 2348 pixels high. The rear screen is 928 pixels wide and 2348 pixels high.
[0104] When the device state and / or display mode of the phone are changed, the relative position of the display screen and the display area may change. For ease of description, a first coordinate system is established with the top-left pixel of the display screen as the origin (0, 0), the x-axis extending horizontally to the right along the width direction as the x-axis, and the y-axis extending vertically downwards along the height direction as the y-axis. Using this first coordinate system as a reference, the coordinates of the top-left pixel of the display area are (x1, y1), the width of the display area is m, and the height is n.
[0105] As an example, if x1 = 0, y1 = 0, m = 2016, and n = 2348, then the display area covers the entire screen, meaning the entire screen can be used to display the interface content.
[0106] As another example, if x1 = 928, y1 = 0, m = 1088, n = 2348, then the display area covers the main screen, meaning the main screen can be used to display interface content, while the back screen cannot be used to display interface content.
[0107] As another example, if x1 = 0, y1 = 0, m = 928, n = 2348, then the display area covers the back screen, meaning the back screen can be used to display interface content, but the main screen cannot be used to display interface content.
[0108] Furthermore, the relative positions of the display area and the projection area may change. A second coordinate system is established, with the top-left pixel of the display area as the origin (0, 0), the X-axis extending horizontally to the right along the width direction, and the Y-axis extending vertically downwards along the height direction. Using this second coordinate system as a reference, when the coordinates of the top-left pixel of the projection area are (x2, y2) (0, 0), the top-left pixel of the projection area is in the same position as the top-left pixel of the display area.
[0109] It should be understood that, such as Figure 15 The diagram illustrating the relationship between the display screen, display area, and projection area is for illustrative purposes only. Changing the position of the display area within the display screen alters the actual position used for imaging, such as full-screen imaging, imaging only on the main screen, or imaging only on the rear screen. When the relative positions of the display screen and the display area are fixed, the position of the projection area within the display area can be changed. Figure 15 As shown, when the trapezoidal projection area is within the display area, the display screen can display the projected content in the projection area. However, when the entire projection area is moved outside the display area, the display screen will not be able to display the projected content in the projection area.
[0110] The following will combine Figure 16 , Figures 17A-17D , Figure 18 This paper provides an example to illustrate the specific implementation principle of switching from the wallpaper state to the main screen state.
[0111] For example, Figure 16 This diagram illustrates the layer changes when switching from wallpaper overlay mode to home screen mode.
[0112] like Figure 16As shown in (1), initially, the phone's display mode is wallpaper-through mode. The top left corner of the wallpaper layer coincides with the top left corner of the display screen, and the top left corners of all other layers coincide with the top left corner of the main screen. The width of the wallpaper layer is equal to the width of the display screen, and the height of the wallpaper layer is equal to the height of the display screen. The width of other layers is equal to the width of the main screen, and the height of other layers is equal to the height of the main screen. Thus, the wallpaper is displayed in full screen, and the lock screen interface is displayed on the main screen.
[0113] like Figure 16 As shown in (2), when the user unlocks the main screen, operates on the shortcut controls of the main screen, enters the launcher, makes an emergency call, or the phone enters charging mode, the phone switches the display mode from wallpaper mode to main screen mode. The phone takes a full-screen screenshot of the current interface displayed on the screen and sets the top left corner of the full-screen screenshot to coincide with the top left corner of the screen. In addition, the phone sets a black overlay (the width of the black overlay is equal to the width of the back screen, and the height of the wallpaper layer is equal to the height of the screen) and shifts the black overlay 928 pixels in the negative x-axis direction, that is, the coordinates of the top left corner of the black overlay are updated to (-928, 0).
[0114] like Figure 16 As shown in (3), a full-screen screenshot is displayed on the screen during the process of drawing a new wallpaper layer and other new layers on the phone, thereby preventing the black screen from flashing.
[0115] like Figure 16 As shown in (4), the phone completes the drawing of the new wallpaper layer and the new other layers. Since the full-screen screenshot is overlaid on top of the new wallpaper layer and the new other layers, the user still sees a full-screen screenshot. The width of the new wallpaper layer is equal to the width of the main screen, and the height of the new wallpaper layer is equal to the height of the main screen. The width of the new other layers is equal to the width of the main screen, and the height of the new other layers is equal to the height of the main screen. The top left corner of the new wallpaper layer and the new other layers coincides with the top left corner of the main screen.
[0116] like Figure 16 As shown in (5), the black overlay begins to enter from the left side of the display and gradually moves to the right side of the display. Users can see that the full-screen screenshot is gradually decreasing. At the same time, the position of the full-screen screenshot remains unchanged, the transparency of the full-screen screenshot increases, and users can also see the new wallpaper layer and other new layers covered by the full-screen screenshot begin to appear on the main screen.
[0117] like Figure 16As shown in (6), the black overlay continues to move to the right side of the display, and the user can see that the full-screen screenshot displayed on the back screen gradually decreases. At the same time, the transparency of the full-screen screenshot continues to increase, and the user can also see the new wallpaper layer and other new layers covered by the full-screen screenshot further displayed on the main screen.
[0118] like Figure 16 As shown in (7), the black overlay has been completely moved into the back screen. Delete the black overlay, and the back screen will power off. Additionally, the full-screen screenshot becomes completely transparent; delete the full-screen screenshot.
[0119] like Figure 16 As shown in (8), after deleting the black overlay and the full-screen screenshot, the new wallpaper layer and other new layers are displayed on the main screen, while the back screen is in an off state.
[0120] For example, Figures 17A-17D It shows the relationship with Figure 16 A diagram illustrating a corresponding scenario.
[0121] exist Figures 17A-17D In this design, the display screen has a width of 2016 pixels and a height of 2348 pixels. The display screen comprises two display areas: a main screen and a rear screen. The main screen has a width of 1088 pixels and a height of 2348 pixels. The rear screen has a width of 928 pixels and a height of 2348 pixels. In actual implementation, the width and height of the display screen can be adjusted according to usage requirements; this application does not impose specific limitations.
[0122] The first step is to set a black overlay and take a full-screen screenshot after switching from the wallpaper transition state to the home screen state.
[0123] A first coordinate system is established with the top-left pixel of the display screen as the origin (0, 0), the x-axis extending horizontally to the right along the width direction, and the y-axis extending vertically downwards along the height direction. Using this first coordinate system as a reference, if the top-left pixel coordinates of the display area are (0, 0), the width of the display area is 2016 pixels, and the height is 2348 pixels, then the entire display screen will be used as the display area, and the entire display screen will support the display of interface content.
[0124] A second coordinate system is established, with the top-left pixel of the display area as the origin (0, 0), the X-axis extending horizontally to the right along the width direction, and the Y-axis extending vertically downwards along the height direction. Using this second coordinate system as a reference, the coordinates of the top-left pixel of the projection area are (0, 0), the width of the projection area is 2016 pixels, and the height is 2348 pixels. Since the top-left corner of the display area is located at the same position as the top-left corner of the display screen, the first and second coordinate systems are identical. Using the first coordinate system as a reference, the coordinates of the top-left pixel of the projection area are still (0, 0).
[0125] First, the phone can use the `setDisplayPorjection(0,(0,0,2016,2348),(0,0,2016,2348))` function to set the display area and projection area to full screen. Then, the phone can use the `setPosition(displayContent.getSurfaceControl(),928,0)` function to move all layers 928 pixels to the right (i.e., the width of the back screen). Next, the phone can use the `setPosition(getTopVisibleWallpaper().getSurfaceControl(),-928,0)` function to offset the wallpaper layer 928 pixels to the left. After completing these settings, if the wallpaper layer and other layers are composited and displayed on the screen, the wallpaper layer will be displayed full-screen, while the other layers will be displayed on the main screen.
[0126] The phone can then create a black overlay and set its display position using the `setPosition(mBlackLayer,-928,0)` function. The black overlay has a width of 928 pixels, a height of 2348 pixels, and its initial top-left corner pixel coordinates are (0, 0). By moving the black overlay 928 pixels in the negative x-axis direction, it can be positioned outside the display screen, meaning the top-left corner coordinates are updated to (-928, 0).
[0127] Additionally, the phone can take a screenshot of all content on the current screen, obtaining a full-screen screenshot, and set the display position of the full-screen screenshot using the `setPosition(mScreenShotLayer,-928,0)` function. The width of the full-screen screenshot is 2016 pixels, the height is 2348 pixels, and the initial position of the top-left pixel coordinates of the full-screen screenshot is (928, 0). The full-screen screenshot cannot cover the back screen. The above function moves the full-screen screenshot 928 pixels to the left. The top-left pixel coordinates of the full-screen screenshot are updated to (0, 0).
[0128] After completing the above settings, as follows Figure 17A As shown, the top-left pixel coordinates of the full-screen screenshot are (0, 0), while the top-left pixel coordinates of the black overlay are (-928, 0). Since the new wallpaper layer and other new layers have not yet been drawn, if the moved full-screen screenshot is sent to the display screen, the user will see the full-screen screenshot without any flickering or black screen issues.
[0129] The second step is to shift the black overlay to the right by x pixels and increase the transparency of the full-screen screenshot.
[0130] The phone can use an interpolator to calculate the movement speed of the black overlay and the fade-out speed of a full-screen screenshot.
[0131] Then, the phone can move the black overlay to the right using the `setPosition(mBlackLayer,x,0)` function. Here, `x` represents the offset for each movement, and `x` is an integer greater than or equal to 1 pixel and less than 928 pixels.
[0132] Additionally, the phone can reduce the alpha value of full-screen screenshots using the `setAlpha(mScreenShot,0,-a)` function. Here, `a` represents the alpha value reduced each time, and `x` is a positive integer less than 255.
[0133] like Figure 17B As shown, the coordinates of the top-left pixel of the black overlay are updated to (-928+x, 0). Users can see that the black overlay is moving to the right at a speed of x pixels per frame, and the transparency of the full-screen screenshot is gradually increasing.
[0134] The third step is to shift the black overlay to the right by x pixels and further increase the transparency of the full-screen screenshot.
[0135] The phone can continue to move the black overlay to the right using the setPosition(mBlackLayer,x,0) function.
[0136] The phone can further reduce the alpha value of the full-screen screenshot using the setAlpha(mScreenShot,0,-a) function.
[0137] like Figure 17C As shown, the coordinates of the top-left pixel of the black overlay have been updated to (-928+2x, 0). Users can see that the black overlay has moved further to the right, and the transparency of the full-screen screenshot has been further increased.
[0138] Step 4: Remove the mask and turn off the back screen.
[0139] After the black overlay shifts to the right multiple times, if the coordinates of the top-left pixel of the black overlay are updated to (0, 0), it means the black overlay has completely covered the back screen, and the black overlay can be deleted. Additionally, when the alpha value of a full-screen screenshot is equal to 0, the full-screen screenshot is completely transparent and invisible to the user, and the full-screen screenshot can be deleted. For example... Figure 17D As shown, after deleting the black overlay and taking a full-screen screenshot, the back screen turns off, and the new wallpaper layer and other new layers are displayed on the main screen. At this point, the transition from wallpaper-through mode to full-screen mode is complete.
[0140] It should be noted that the above Figure 16 , Figures 17A-17D The example used is the gradual concealment of the wallpaper through a black overlay in a sliding door motion effect; it does not limit the scope of this application. Figure 18 As shown, this application also provides a solution for gradually hiding a continuous wallpaper through a black overlay with a fade-in / fade-out animation effect.
[0141] like Figure 18 As shown in (1), initially, the phone's display mode is wallpaper-through mode. The top left corner of the wallpaper layer coincides with the top left corner of the display screen, and the top left corners of all other layers coincide with the top left corner of the main screen. The width of the wallpaper layer is equal to the width of the display screen, and the height of the wallpaper layer is equal to the height of the display screen. The width of other layers is equal to the width of the main screen, and the height of other layers is equal to the height of the main screen. Thus, the wallpaper is displayed in full screen, and the lock screen interface is displayed on the main screen.
[0142] like Figure 18 As shown in (2), when the user unlocks the main screen, operates on the shortcut controls of the main screen, enters the launcher, emergency call, or the phone enters charging mode, the phone switches the display mode from wallpaper mode to main screen mode. The phone takes a full-screen screenshot of the current interface displayed on the screen and sets the top left corner of the full-screen screenshot to coincide with the top left corner of the screen. In addition, the phone sets a black overlay (the width of the black overlay is equal to the width of the back screen, and the height of the wallpaper layer is equal to the height of the screen) and shifts the black overlay 928 pixels in the negative x-axis direction, that is, the coordinates of the top left corner of the black overlay are updated to (-928, 0). Unlike the black overlay Alpha = 255 in 16, in Figure 18 In (2), the Alpha of the black overlay is 0, meaning the black overlay is completely transparent.
[0143] like Figure 18 As shown in (3), during the process of drawing new wallpaper layers and other new layers on the phone, a full-screen screenshot and a black overlay (completely transparent) are displayed on the screen to prevent black screen flickering.
[0144] like Figure 18 As shown in (4), the phone completes the drawing of the new wallpaper layer and the new other layers. Since the full-screen screenshot is overlaid on top of the new wallpaper layer and the new other layers, the user still sees a full-screen screenshot. The width of the new wallpaper layer is equal to the width of the main screen, and the height of the new wallpaper layer is equal to the height of the main screen. The width of the new other layers is equal to the width of the main screen, and the height of the new other layers is equal to the height of the main screen. The top left corner of the new wallpaper layer and the new other layers coincides with the top left corner of the main screen.
[0145] like Figure 18 As shown in (5), the positions of the black overlay and the full-screen screenshot remain unchanged, the transparency of the black overlay is reduced, and the transparency of the full-screen screenshot is increased.
[0146] like Figure 18 As shown in (6), the opacity of the black overlay continues to decrease. At the same time, the opacity of the full-screen screenshot continues to increase, allowing the user to see the new wallpaper layer and other new layers covered by the full-screen screenshot further displayed on the main screen.
[0147] like Figure 18 As shown in (7), the black overlay completely covers the back screen, and the full-screen screenshot is completely transparent. Delete the black overlay and the full-screen screenshot, and the back screen is powered off.
[0148] like Figure 18 As shown in (8), after deleting the black overlay and the full-screen screenshot, the new wallpaper layer and other new layers are displayed on the main screen, while the back screen is in an off state.
[0149] The following will combine Figure 19 , Figures 20A-20F , Figure 21 This paper provides an example to illustrate the specific implementation principle of switching from the main screen state to the wallpaper continuous state.
[0150] For example, Figure 19 This diagram illustrates the layer changes when switching from wallpaper overlay mode to home screen mode.
[0151] like Figure 19 As shown in (1), at the initial moment, the phone's display mode is the main screen mode, and the back screen is off. The top left corner of the wallpaper layer and other layers coincides with the top left corner of the main screen. The width of the wallpaper layer and other layers is equal to the width of the main screen, and the height of the wallpaper layer and other layers is equal to the height of the main screen.
[0152] like Figure 19 As shown in (2), when exiting a third-party application, the power off screen, the charging screen, the password input screen, or the emergency call screen while the phone is locked, the phone switches the display mode from home screen to wallpaper mode. The phone takes a screenshot of the current screen displayed on the home screen and sets the top left corner of the screenshot to coincide with the top left corner of the home screen. In addition, the phone sets a black overlay (the width of the black overlay is equal to the width of the back screen, and the height of the wallpaper layer is equal to the height of the back screen) and sets the top left corner of the black overlay to coincide with the top left corner of the display screen.
[0153] like Figure 19As shown in (3), during the process of drawing a new wallpaper layer and other new layers on the mobile phone, a screenshot of the main screen is displayed on the main screen and a black overlay is displayed on the back screen to prevent the black screen from flashing.
[0154] like Figure 19 As shown in (4), the phone completes the drawing of the new wallpaper layer and the new other layers. Since the main screen screenshot and the black overlay are overlaid on top of the new wallpaper layer and the new other layers, the interface seen by the user is still the main screen screenshot and the black overlay. Among them, the width of the new wallpaper layer is equal to the width of the display screen, and the height of the new wallpaper layer is equal to the height of the display screen. The width of the new other layers is equal to the width of the main screen, and the height of the new other layers is equal to the height of the main screen. The upper left corner of the new wallpaper layer coincides with the upper left corner of the display screen. The upper left corner of the new other layers coincides with the upper left corner of the main screen.
[0155] like Figure 19 As shown in (5), the black overlay begins to move to the left side of the display. Simultaneously, the position of the main screen screenshot remains unchanged, and the transparency of the main screen screenshot increases. Users can then see the new wallpaper layer and other new layers begin to appear.
[0156] like Figure 19 As shown in (6), the black overlay continues to move to the left side of the display. At the same time, the transparency of the main screen screenshot continues to increase.
[0157] like Figure 19 As shown in (7), the black overlay has been completely removed from the display screen, the main screen screenshot is completely transparent, the black overlay and the main screen screenshot are deleted, and the back screen is powered off.
[0158] like Figure 19 As shown in (8), after deleting the black overlay and the main screen screenshot, the new wallpaper layer is displayed in full screen, and other new layers are displayed on the main screen.
[0159] For example, Figures 20A-20F It shows the relationship with Figure 19 A diagram illustrating a corresponding scenario.
[0160] exist Figures 20A-20F The display screen has a width of 2016 pixels and a height of 2348 pixels. It comprises two display areas: a main screen and a rear screen. The main screen has a width of 1088 pixels and a height of 2348 pixels. The rear screen has a width of 928 pixels and a height of 2348 pixels.
[0161] The first step is to capture a screenshot of the home screen after switching from the home screen state to the wallpaper-integrated state.
[0162] Referring to the description of the above embodiments, a first coordinate system is established with the pixel at the upper left corner of the display screen as the origin (0, 0), the x-axis extending horizontally to the right along the width direction as the x-axis, and the y-axis extending vertically downward along the height direction as the y-axis.
[0163] like Figure 20A As shown, the coordinates of the top left pixel in the screenshot are (928, 0).
[0164] The second step is to switch to full-screen display and set a black overlay.
[0165] like Figure 20B As shown, the coordinates of the top left pixel of the black overlay are (0, 0).
[0166] The third step is to complete the drawing of the new wallpaper layer and other new layers.
[0167] like Figure 20C As shown, the top-left pixel coordinates of the new wallpaper layer are (0, 0), and the top-left pixel coordinates of the other new layers are (928, 0).
[0168] Fourth, shift the black overlay to the right by x pixels and increase the transparency of the main screen screenshot.
[0169] The phone can use an interpolator to calculate the movement speed of the black overlay and the fade-out speed of the main screen screenshot.
[0170] Then, the phone can move the black overlay to the left using the `setPosition(mBlackLayer,x,0)` function. Here, `x` represents the offset for each movement, and `x` is an integer greater than or equal to 1 pixel and less than 928 pixels.
[0171] Additionally, the phone can reduce the alpha value of the main screen screenshot using the `setAlpha(mScreenShot,0,-a)` function. Here, `a` represents the alpha value reduced each time, and `x` is a positive integer less than 255.
[0172] like Figure 20D As shown, the coordinates of the top-left pixel of the black overlay are updated to (-x, 0). Users can see that the black overlay is moving to the left at a speed of x pixels per frame, and the transparency of the main screen screenshot is gradually increasing.
[0173] Fifth, shift the black overlay to the left by x pixels and further increase the transparency of the main screen screenshot.
[0174] The phone can continue to move the black overlay to the left using the setPosition(mBlackLayer,x,0) function.
[0175] The phone can further reduce the alpha value of the main screen screenshot using the setAlpha(mScreenShot,0,-a) function.
[0176] like Figure 20E As shown, the coordinates of the top-left pixel of the black overlay are updated to (-2x, 0). Users can see that the black overlay has moved further to the left, and the transparency of the main screen screenshot has been further increased.
[0177] Step 6: Remove the black overlay and take a screenshot of the main screen, then turn off the back screen.
[0178] After the black overlay shifts to the left multiple times, if the coordinates of the top-left pixel of the black overlay are updated to (-928, 0), it means the black overlay has completely moved off the background screen and can be deleted. Additionally, when the alpha value of the main screen screenshot is equal to 0, the main screen screenshot is completely transparent and invisible to the user, and can be deleted. Figure 20F As shown, after deleting the black overlay and the main screen screenshot, new layers are displayed on the main screen, and a new wallpaper layer is displayed across both the main screen and the background screen. At this point, the switch from the main screen state to the wallpaper-through state is complete.
[0179] It should be noted that the above Figure 19 , Figures 20A-20F The example used is the gradual reveal of the wallpaper through a black overlay in a sliding door effect, which is used for illustration and does not limit this application. Figure 21 As shown, this application also provides a solution for gradually revealing a wallpaper through a black overlay with a fade-in / fade-out animation effect.
[0180] like Figure 21 As shown in (1), at the initial moment, the phone's display mode is the main screen mode, and the back screen is off. The top left corner of the wallpaper layer and other layers coincides with the top left corner of the main screen. The width of the wallpaper layer and other layers is equal to the width of the main screen, and the height of the wallpaper layer and other layers is equal to the height of the main screen.
[0181] like Figure 21 As shown in (2), when exiting a third-party application, the power off screen, the charging screen, the password input screen, or the emergency call screen while the phone is locked, the phone switches the display mode from home screen to wallpaper mode. The phone takes a screenshot of the current screen displayed on the home screen and sets the top left corner of the screenshot to coincide with the top left corner of the home screen. In addition, the phone sets a black overlay (the width of the black overlay is equal to the width of the back screen, and the height of the wallpaper layer is equal to the height of the back screen) and sets the top left corner of the black overlay to coincide with the top left corner of the display screen.
[0182] like Figure 21As shown in (3), during the process of drawing a new wallpaper layer and other new layers on the mobile phone, a screenshot of the main screen is displayed on the main screen and a black overlay is displayed on the back screen to prevent the black screen from flashing.
[0183] like Figure 21 As shown in (4), the phone completes the drawing of the new wallpaper layer and the new other layers. Since the main screen screenshot and the black overlay are overlaid on top of the new wallpaper layer and the new other layers, the interface seen by the user is still the main screen screenshot and the black overlay. Among them, the width of the new wallpaper layer is equal to the width of the display screen, and the height of the new wallpaper layer is equal to the height of the display screen. The width of the new other layers is equal to the width of the main screen, and the height of the new other layers is equal to the height of the main screen. The upper left corner of the new wallpaper layer coincides with the upper left corner of the display screen. The upper left corner of the new other layers coincides with the upper left corner of the main screen.
[0184] like Figure 21 As shown in (5), the positions of the black overlay and the main screen screenshot remain unchanged, while the transparency of the black overlay and the main screen screenshot is increased.
[0185] like Figure 21 As shown in (6), the positions of the black overlay and the main screen screenshot remain unchanged, and the transparency of the black overlay and the main screen screenshot is further increased.
[0186] like Figure 21 As shown in (7), the black overlay and the main screen screenshot are completely transparent. Delete the black overlay and the main screen screenshot.
[0187] like Figure 21 As shown in (8), after deleting the black overlay and the main screen screenshot, the new wallpaper layer and other new layers are displayed on the main screen, while the back screen is in an off state.
[0188] To better understand the solution for switching wallpapers between wallpaper continuity mode and home screen mode, we will first provide an example of the system architecture of foldable screen devices, and then explain the solution in detail in conjunction with the system architecture.
[0189] The software system of a foldable screen device can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This embodiment of the invention uses the layered architecture of the Android system as an example to illustrate the system structure of a foldable screen device.
[0190] Figure 22 A schematic diagram of the system architecture of a foldable screen device is shown.
[0191] like Figure 22As shown, foldable screen devices can adopt a layered architecture, dividing the software into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the software layers of the software structure are divided from top to bottom as follows: application layer, application framework (FWK) layer, native layer, hardware abstraction layer (HAL) layer, and kernel layer. This software architecture runs on top of the hardware layer, which may include a graphics processing unit (GPU), a display screen, HWC hardware modules, sensors, etc. The sensors can be used to collect the angle between two display areas of the screen; for example, the sensors can be gyroscope sensors, gravity sensors, and / or magnetic sensors.
[0192] The application layer, or application layer for short, can include a series of applications and APKs, such as the theme settings module, wallpaper application, camera application, system UI, and codec module (MediaCodec.java). When these applications and APKs are run, they can access the various service modules provided by the application framework layer through the application programming interface (API) and execute corresponding intelligent business logic. The theme settings module provides users with various theme wallpapers and sets the theme wallpaper for the display based on user actions. The wallpaper application sets the display mode based on power-on status and folding angle. The system UI is a native Android application responsible for controlling rounded corner changes, etc. The codec module is a class in the android.media framework that provides a Java API to the application side for developers to use, enabling functions such as loading video resources, configuring animation attributes, and playing wallpaper animations. It's worth noting that when the user turns on the display, the wallpaper application receives a screen-on event, also known as a unfreeze event, which triggers the display to switch from a screen-off state to a screen-on state.
[0193] The application framework layer, also known as the framework layer, supports the operation of various applications within the application layer. For example, the framework layer may include a device state manager service, a folding screen management service, a window manager service (WMS), a display manager service (DMS), a wallpaper service framework, an animation management service, a surface control service, and a video codec service (JMediaCodec.c++). The device state manager service is responsible for managing device states, such as changes in the folding angle. The folding screen management service sets display modes, such as wallpaper continuity mode, full-screen mode, and main screen mode. WMS is used to allocate and manage window attributes (such as hierarchy, size, and display order) for applications, as well as manage the display and switching of lock screen windows and wallpaper windows, and manage the display of elements above the wallpaper (such as icons). The wallpaper management service manages the operation and switching of wallpapers, and provides an interface for manipulating wallpapers to the outside world through the WallpaperManager class. When switching wallpapers through the WallpaperManager interface, the wallpaper management service determines whether the currently bound wallpaper service needs to be canceled and the new wallpaper service needs to be started. The animation management service is responsible for overlay animation effects. The Surface control service sends layer rendering and compositing tasks to SurfaceFlinger. The video codec service (JMediaCodec.C++) acts as a bridge for passing messages between the application-layer codec module (MediaCodec-java) and the native codec modules (MediaCodec.C++, ACodec.C++, OMXCllent.C++) in the native layer.
[0194] The local layer includes the local codec modules (MediaCodec.C++, ACodec.C++, OMXCllent.C++), the sensor service (SensorService), and SurfaceFlinger. SurfaceFlinger runs as a system process and is primarily responsible for allocating graphics buffers, compositing graphics buffers, and managing the vertical synchronization (Vsync) signal. The Vsync signal is a periodic signal used to control the drawing, rendering, and compositing of layers.
[0195] It should be noted that the combination of the application-layer codec module (MediaCodec.java), the application framework-layer video codec service (JMediaCodec.C++), and the local layer codec modules (MediaCodec.C++, ACodec.C++, OMXCllent.C++) is called MediaCodec. MediaCodec is an audio and video codec tool provided by the Android system. It mainly encapsulates the upper-layer interfaces for developers to use, while the actual codec functionality is performed in the local layer service.
[0196] The Hardware Abstraction Layer (HAL) is an interface layer located between the operating system kernel and the hardware circuitry. Its purpose is to abstract the hardware, hiding the hardware interface details of a specific platform. For example, the HAL may include a hardware graphics composer (HWC) and a display HAL. The HWC is the module responsible for window compositing and display, providing hardware support for the system's rendering core.
[0197] The kernel layer is the layer between hardware and software. It includes display drivers, sensor drivers, and GPU drivers, among others.
[0198] It should be noted that, Figure 22 The layers in the system architecture shown, and the components contained in each layer, do not constitute a specific limitation on the foldable screen device. In other embodiments, the foldable screen device may include more or fewer layers than shown, and each layer may include more or fewer components; this application does not impose any limitations.
[0199] It is understood that, in order to achieve the solution of displaying a continuous wallpaper across the entire screen as described in the embodiments of this application, a foldable screen device includes hardware and / or software modules that perform various functions. Based on the algorithmic steps of the examples described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments.
[0200] based on Figure 22 The system architecture of the foldable screen device shown below will be explained in detail below with reference to the interaction flow diagram, illustrating the specific interaction process between various functional structures during the implementation of the solution for switching wallpapers between wallpaper continuity mode and main screen mode.
[0201] Figure 23 A flowchart illustrating a method for displaying wallpaper when switching from wallpaper continuity mode to home screen mode is shown.
[0202] This method can be applied to foldable screen devices, such as... Figures 1A-1C The outward-folding screen device shown.
[0203] like Figure 23 As shown, the method may include A1 to A18 below.
[0204] A1. When the foldable screen device is in a folded state and the display mode is wallpaper through state, the wallpaper application receives the user's operation.
[0205] The above operations can be Figure 7 The unlock operation in the middle, or Figure 8 The shutdown operation in the middle, or Figure 9 The charging operation in the middle, or Figure 10 The selection operation of shortcut controls in the middle, or Figure 11 The operation that triggers the display of the password input screen. It should be understood that users can also trigger the phone to switch from wallpaper-through mode to home screen mode through other operations.
[0206] A2, the wallpaper application notification folding screen management service switches from wallpaper continuous state to home screen state.
[0207] Accordingly, the foldable screen management service sets the main screen mode and notifies WMS to enable the main screen animation.
[0208] A3, WMS notifies the Surface Control service to set the display area to full screen.
[0209] For example, taking a display with a width of 2016 pixels and a height of 2348 pixels as an example, WMS can use the function `setDisplayPorjection(0,(0,0,2016,2348),(0,0,2016,2348))` to notify the Surface Control Service to set the display area to full screen. The first parameter "0" in this function indicates that the display rotation angle is 0°, meaning the display is in portrait mode and has not rotated. The second parameter "(0,0,2016,2348)" indicates that in the second coordinate system, the pixel coordinates of the top-left corner of the projection area are (0,0), and the width and height of the projection area are 2016 pixels and 2348 pixels, respectively. The third parameter "(0,0,2016,2348)" indicates that in the first coordinate system, the pixel coordinates of the top-left corner of the display area are (0,0), and the width and height of the display area are 2016 pixels and 2348 pixels, respectively. The first coordinate system is established with the top-left pixel of the display screen as the origin (0, 0), the x-axis extending horizontally to the right along the width direction, and the y-axis extending vertically downwards along the height direction. The second coordinate system is established with the top-left pixel of the display area as the origin (0, 0), the x-axis extending horizontally to the right along the width direction, and the y-axis extending vertically downwards along the height direction. Since the top-left corner of the display area and the top-left corner of the display screen are located at the same position, the first and second coordinate systems are identical. This function confirms that the display screen, the display area, and the projection area are completely identical.
[0210] A4, WMS notifies the Surface Control service to move all layers to the main screen area.
[0211] All of the above layers include: the wallpaper layer, and other layers besides the wallpaper layer.
[0212] For example, WMS can use the `setPosition(displayContent, getSurfaceControl(), 928, 0)` function to move all layers to the main screen area. Here, `displayContent` is used to retrieve all layers, `getSurfaceControl()` controls the movement of all layers, the parameter "928" indicates a movement of 928 pixels along the positive x-axis, and the parameter "0" indicates a unchanged position along the y-axis. Thus, moving all layers 928 pixels in the positive x-axis direction updates the top-left pixel coordinates of each layer to (928, 0).
[0213] A5, the WMS module notifies the Surface Control service to shift the wallpaper layer to the left of the back screen area.
[0214] For example, WMS can use the `setPosition(getTopVisibleWallpaper(),-928,0)` function to shift the wallpaper layer to the left into the background area. Here, `getTopVisibleWallpaper()` retrieves the wallpaper layer, the parameter "-928" indicates a movement of 928 pixels along the negative x-axis, and the parameter "0" indicates no change along the y-axis. Thus, moving the wallpaper layer 928 pixels in the negative x-axis direction updates the top-left corner pixel coordinates of the wallpaper layer to (0, 0), while the top-left corner pixel coordinates of other layers remain (928, 0).
[0215] A6. The foldable screen management service uses the configChange() function to notify WMS to execute the main screen animation. Then, WMS notifies the screen rotation animation module in the animation management service to create a new animation for the main screen state.
[0216] The screen rotation animation module determines whether a new animation can be created. If the screen rotation animation module determines that a new animation cannot be created, proceed to step A7 below. If the screen rotation animation module determines that a new animation can be created, proceed to step A8 below.
[0217] A7, the screen rotation animation module returns a response message to the foldable screen management service that it cannot create a new animation.
[0218] A8, the screen rotation animation module notifies the outward folding screen animation module to create a new animation.
[0219] It should be noted that the screen rotation animation module is a native animation module of the Android system and does not have the ability to play screen-switching animations. Therefore, the screen rotation animation module can call the outward folding animation module to create a new animation. The outward folding animation module is a subclass of the screen rotation animation module.
[0220] In addition, WMS will also notify the screen rotation animation module to dismiss the original animation.
[0221] A9, the outward-folding animation module creates full-screen screenshots and black overlays.
[0222] The aforementioned full-screen screenshot is a screenshot of the interface content currently displayed on the screen.
[0223] The resolution of a full-screen screenshot is equal to the resolution of the display screen. For example, the width of a full-screen screenshot and the width of the display screen are both 2016 pixels, and the height of a full-screen screenshot and the display screen are both 2348 pixels.
[0224] The resolution of the black overlay is equal to the resolution of the back screen area. For example, the width of both the black overlay and the back screen area is 928 pixels, and the height of both the black overlay and the back screen area is 2348 pixels.
[0225] The A10's outward-folding animation module notifies the Surface Control service to shift the full-screen screenshot to the left of the back screen area and shift the black overlay to the left outside the back screen area.
[0226] For example, the outward-folding animation module can use the `setPosition(mScreenShotLayer,-928,0)` function to set the display position of the full-screen screenshot. The full-screen screenshot has a width of 2016 pixels, a height of 2348 pixels, and the initial position of the top-left pixel coordinates is (928, 0). The full-screen screenshot cannot cover the back screen. The above function moves the full-screen screenshot 928 pixels to the left. The top-left pixel coordinates of the full-screen screenshot are then updated to (0, 0).
[0227] Additionally, the outward-folding screen animation module can use the `setPosition(mBlackLayer,-928,0)` function to set the display position of the black overlay. The black overlay has a width of 928 pixels, a height of 2348 pixels, and its initial position (0, 0) is at the top-left corner. By moving the black overlay 928 pixels in the negative x-axis direction, it can be positioned outside the display screen, meaning the top-left corner coordinates are updated to (-928, 0).
[0228] A11, the animation implementation module in the notification animation management service of the outward folding screen animation module creates a new animation.
[0229] A12, the screen rotation animation module notifies the outward folding screen animation module to start playing the animation.
[0230] A13, the outward-folding screen animation module notifies the animation implementation module to start playing the animation.
[0231] A14, the animation implementation module uses an interpolator to calculate the movement speed of the black overlay, the fade-out speed of the full-screen screenshot, and moves the black overlay to the right according to its movement speed, and gradually decreases the alpha value of the full-screen screenshot according to its fade-out speed.
[0232] The "moving speed of new other layers" and "fade-out speed of full-screen screenshot" can be equal, that is, when the black overlay is completely moved to the back screen area, the alpha of the full-screen screenshot is 0.
[0233] A15, when the entire black overlay is moved to the back screen area and the Alpha value of the full-screen screenshot is equal to 0, the outward folding screen animation module determines that the animation has ended and notifies the folding screen management service that the animation has ended (OnAnimationEnd).
[0234] A16, the outward-folding screen animation module removes the full-screen screenshot and black overlay, and clears the animation.
[0235] A17, the outward-folding screen animation module notifies the Surface Control service to add rounded corners to the current screen.
[0236] A18, The Foldable Screen Management Service notifies the Surface Control Service to set the display area of all layers to the main screen area.
[0237] After the animation ends, the foldable screen management service can reset the display area using the following three functions:
[0238] The function setDisplayPorjection(0,(0,0,1088,2348),(928,0,1088,2348)) is used.
[0239] setPosition(displayContent.getSurfaceControl(),0,0) function;
[0240] The function setPosition(getTopVisibleWallpaper().getSurfaceControl(),-928,0) is called.
[0241] For the specific implementation of these three functions, please refer to the description in the above embodiments, which will not be repeated here.
[0242] In the solution provided in this application, when switching from wallpaper transition mode to home screen mode, the wallpaper displayed in full screen gradually transitions to the home screen display. This utilizes the coordinated display of the home screen and back screen to create a cool wallpaper mode, improving the user experience.
[0243] Figure 24 A flowchart illustrating a method for displaying wallpaper when switching from home screen mode to wallpaper continuity mode is shown.
[0244] This method can be applied to foldable screen devices, such as... Figures 1A-1C The outward-folding screen device shown.
[0245] like Figure 24 As shown, the method may include B1 to B24 as described below.
[0246] B1. When the foldable screen device is in a folded state and the display mode is full screen, the wallpaper application receives user input.
[0247] The above operations can be performed to exit the charging interface, exit third-party applications, exit the password input interface, exit the power-off interface, or exit the emergency call interface while the screen is locked. It should be understood that users can also trigger the phone to switch from home screen mode to wallpaper-integrated mode while the screen is locked through other operations.
[0248] B2, Wallpaper application notification foldable screen management service enters wallpaper integration state.
[0249] As an example, the wallpaper app can call the setFullWallPaperMode FULL_WALLPAPER interface to notify the foldable screen management service to enter the wallpaper continuity state.
[0250] B3, the rounded corners of the notification system UI for the foldable screen management service have been removed.
[0251] When entering the home screen mode, rounded corners can be trimmed to make the interface more aesthetically pleasing. When switching from the home screen mode to the wallpaper-through mode, the rounded corners must be removed first because the wallpaper needs to be displayed in full screen.
[0252] B4, Foldable screen management service notification: WMS device wallpaper continuity status. WMS full-screen power-on.
[0253] The aforementioned "full-screen power-on" refers to powering on the backlight module of the display screen to illuminate the entire screen. It should be understood that in the wallpaper-through mode, the entire display screen must be illuminated before the wallpaper can be displayed across the entire screen.
[0254] B5, the foldable screen management service sets the display mode of the screen to continuous wallpaper mode, that is, enters the continuous wallpaper state.
[0255] B6. After WMS powers on in full-screen mode, WMS notifies the screen rotation animation module in the animation management service to create a new animation for the wallpaper continuity state.
[0256] The screen rotation animation module determines whether a new animation can be created. If the screen rotation animation module determines that a new animation cannot be created, proceed to step B7 below. If the screen rotation animation module determines that a new animation can be created, proceed to step B8 below.
[0257] B7, the screen rotation animation module returns a response message to the foldable screen management service that it cannot create a new animation.
[0258] B8, the screen rotation animation module notifies the outward folding screen animation module to create a new animation.
[0259] It should be noted that the screen rotation animation module is a native animation module of the Android system and does not have the ability to play screen-switching animations. Therefore, the screen rotation animation module can call the outward folding animation module to create a new animation. The outward folding animation module is a subclass of the screen rotation animation module.
[0260] B9, WMS notification to the screen rotation animation module to dismiss the original animation.
[0261] B10, the outward-folding screen animation module creates a black overlay and a screenshot of the main screen.
[0262] The aforementioned black overlay, also known as a black mask, is essentially a black layer that is overlaid on top of the wallpaper layer.
[0263] The resolution of the black overlay is equal to the resolution of the back screen area. For example, the width of both the black overlay and the back screen area is 928 pixels, and the height of both the black overlay and the back screen area is 2348 pixels.
[0264] The resolution of the main screen screenshot is equal to the resolution of the main screen area. For example, the width of the main screen screenshot and the main screen area are both 1088 pixels, and the height of the main screen screenshot and the main screen area are both 1088 pixels.
[0265] B11, the outward-folding screen animation module notifies the Surface Control service to set the display area to full screen.
[0266] B12, the outward-folding animation module notifies the Surface Control service to move all layers to the main screen area.
[0267] B13, the outward-folding animation module notifies the Surface Control service to shift the wallpaper layer to the left into the back screen area.
[0268] The wallpaper layer's resolution is greater than or equal to the screen's resolution. For example, the wallpaper layer and the screen's width are both 2016 pixels, and the black overlay and the background area's height are both 2348 pixels.
[0269] For the implementation methods of B11-B13, please refer to the relevant descriptions of A3-A5 above, which will not be repeated here.
[0270] B14, the outward-folding screen animation module notifies the Surface Control service to set a black overlay to the back screen area.
[0271] B15, the animation implementation module in the notification animation management service of the outward-folding screen animation module creates a new animation.
[0272] B16, the screen rotation animation module notifies the outward folding screen animation module to start playing the animation.
[0273] B17, the outward-folding screen animation module notifies the animation implementation module to start playing the animation.
[0274] B18, the animation implementation module uses an interpolator to calculate the movement speed of the black overlay and the fade-out speed of the main screen screenshot, and moves the black overlay to the left according to the movement speed, and gradually decreases the alpha value of the main screen screenshot according to the fade-out speed.
[0275] The movement speed of the black overlay can be the same as the fade-out speed of the main screen screenshot.
[0276] B19, when the black overlay moves out of the back screen, or when the alpha value of the black overlay is equal to 0, the outward folding screen animation module determines that the animation has ended.
[0277] B20, the outward folding screen animation module notifies the folding screen management service that the animation has ended (OnAnimationEnd).
[0278] B21, the outward-folding screen animation module removes the black overlay and clears the animation.
[0279] B22, the outward-folding screen animation module notifies the Surface Control service to set the display area to full screen.
[0280] B23, The foldable screen management service notifies the Surface control service to move all layers to the main screen area.
[0281] B24, The Foldable Screen Management Service notifies the Surface Control Service to shift the wallpaper layer to the left into the back screen area.
[0282] After the wallpaper animation ends, the foldable screen management service can reset the display area and projection area via B22-B24. For the specific implementation details of B22-B24, please refer to A3-A5 above; they will not be elaborated upon here.
[0283] In the solution provided in this application, when switching from the main screen mode to the wallpaper seamless mode, the wallpaper displayed on the main screen gradually transitions to a full-screen seamless display. In this way, by utilizing the collaborative display of the main screen and the back screen, a cool wallpaper mode is created, improving the user experience.
[0284] It should be noted that, Figure 23 and Figure 24 The examples used here are all sliding door animations. It should be understood that in actual implementation, a fade-in / fade-out animation can also be used. The specific implementation method for a fade-in / fade-out animation is similar to that for a sliding door animation, and will not be elaborated upon here.
[0285] For example, Figure 25 A schematic diagram of the hardware structure of a foldable screen device is shown.
[0286] like Figure 25 As shown, the foldable screen device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a SIM card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, and a bone conduction sensor 180M, etc.
[0287] The processor 110 may include one or more processing units, such as a central processing unit (CPU), a graphics processing unit (GPU), an application processor (AP), an image signal processor (ISP), etc.
[0288] A GPU, also known as a graphics processing unit, visual processor, or display chip, is a microprocessor for graphics and image processing. The GPU connects to the display (I / O), processing unit (AP), and CPU. GPUs can perform complex mathematical and geometric calculations, floating-point operations, parallel computing, and graphics rendering. GPUs reduce the graphics card's reliance on the CPU, especially in 3D graphics processing. GPUs employ core technologies such as cubic environment mapping and vertex blending, thus performing some of the work that would otherwise be done by the CPU.
[0289] Internal memory 121 can be used to store computer executable program code, including instructions. Processor 110 executes various functional applications and data processing of the foldable screen device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system and at least one application (APP) required for a function, such as a photo album application. The data storage area may store configuration files for each APP, as well as data created during the use of the foldable screen device 100.
[0290] The display screen 194 may include a display panel for displaying images and videos, such as wallpapers and desktop backgrounds. In this application, the display screen 194 may include at least two display areas, such as a main screen area and a rear screen area.
[0291] The sensor module 180 can be used to collect the folding angle between the two display areas and report it to the processor 110. The processor 110 can determine that the device state has changed and switch to the display mode corresponding to the device state. For example, when the sensor module 180 collects the folding angle changing from 0° to 180° and reports it to the processor 110, the processor 110 can determine that the device state has changed from folded state to unfolded state based on the change in folding angle, and switch the display mode from wallpaper through state to full screen state.
[0292] In this embodiment, the display screen 194 may include a main screen area and a back screen area. When the foldable screen device is in a folded state, if a user's screen-on operation is received, the processor 110 controls the display screen 194 to power on full screen and controls the display of a complete continuous wallpaper in both the main screen area and the back screen area, as well as controls the overlay of other layers such as the mode bar and unlock interface on top of the wallpaper in the main screen area. In addition, in response to user operation, when switching between the continuous wallpaper mode and the main screen mode, the processor 110 can control the display of a wallpaper with transition animation effects on the back screen.
[0293] This application also provides a computer-readable storage medium storing computer instructions. When the computer-readable storage medium is operated on a foldable screen device, it causes the foldable screen device to perform the method shown in the above embodiments. The computer instructions can be stored in the computer-readable storage medium or transmitted from one computer-readable storage medium to another. The computer-readable storage medium can be any usable medium that a computer can access, or it can include one or more data storage devices such as servers or data centers that can be integrated with the medium. The usable medium can be a magnetic medium, an optical medium, or a semiconductor medium, etc.
[0294] This application also provides a computer program product, which includes computer program code. When the computer program code is run on a foldable screen device, the foldable screen device performs the methods described in the above embodiments.
[0295] This application also provides a chip coupled to a memory, which is used to read and execute computer programs or instructions stored in the memory to perform the methods described in the above embodiments. This chip can be a general-purpose processor or a dedicated processor.
[0296] The foldable screen device, computer-readable storage medium, computer program product, and chip provided in this application embodiment are all used to execute the methods provided in the above embodiments. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects corresponding to the methods provided above, and will not be repeated here.
[0297] In the description of this application, " / " means "or". For example, A / B can mean A or B. In the description of this application, "and / or" is merely a way of describing the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.
[0298] In the specification and claims of this application, the terms "first" and "second," etc., are used to distinguish different objects or to distinguish different treatments of the same object, rather than to describe a specific order of the objects. For example, "first operation" and "second operation," etc., are used to distinguish different operations, rather than to describe a specific order of operations. In the embodiments of this application, "multiple" refers to two or more.
[0299] Through the above description of the embodiments, those skilled in the art will clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0300] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for displaying wallpapers in different screens, characterized in that, The method is applied to a foldable screen device, the foldable screen device being provided with a display screen, the display screen including a main screen area and a back screen area; when the foldable screen device is in a folded state, the folding angle between the main screen area and the back screen area is less than or equal to a first angle, and the main screen area and the back screen area face opposite directions; the method includes: When the foldable screen device is in the folded state and the display screen is off, the user's first operation is received; In response to the first operation, the main screen area and the back screen area are lit up, the first wallpaper is displayed in the main screen area and the back screen area, and the first lock screen interface is displayed in the main screen area; When the foldable screen device is in the folded state and the main screen area and the back screen area are lit, the user's second operation is received; In response to the second operation, an unlocked screen interface is displayed in the main screen area, and a first black overlay is covered in the back screen area. The first black overlay moves towards the main screen area at a preset speed, or the first black overlay decreases its transparency at a preset speed; until the first black overlay covers the back screen area, the back screen area is turned off. When the foldable screen device is in the folded state and the back screen area is off, a third operation is received from the user to close the non-locked screen interface. In response to the third operation, the back screen area is lit up, a second wallpaper is displayed in the main screen area and the back screen area, and a second lock screen interface is displayed in the main screen area; a second black overlay is covered on the second wallpaper in the back screen area, and the second black overlay moves away from the main screen area at a preset speed, or the transparency of the second black overlay increases at a preset speed; until the second black overlay disappears from the back screen area.
2. The method according to claim 1, characterized in that, The second operation is a first swipe operation on the first lock screen interface, and the non-lock screen interface is the desktop interface; Alternatively, the second operation is pressing the power button, and the non-lock screen interface is the power off interface; Alternatively, the second operation is a connection operation between the foldable screen device and the power adapter, and the non-locked screen interface is a charging interface; Alternatively, the second operation is a second swipe operation on the first lock screen interface, and the non-lock screen interface is a password input interface; Alternatively, the second operation is a selection operation of the first control in the first lock screen interface, and the non-lock screen interface is the interface of a third-party application corresponding to the first control; Alternatively, the second operation is a selection operation of the second control in the first lock screen interface, and the non-lock screen interface is the emergency call interface.
3. The method according to claim 2, characterized in that, The desktop interface is the interface displayed after the display screen is unlocked; The power off screen, the charging screen, the password input screen, the interface of the third-party application corresponding to the first control, and the emergency call screen are the interfaces displayed when the display screen is locked.
4. The method according to any one of claims 1 to 3, characterized in that, In response to the second operation, an unlocked screen interface is displayed in the main screen area, and a first black overlay is covered in the back screen area. The first black overlay moves toward the main screen area at a preset speed, or the transparency of the first black overlay decreases at a preset speed. Until the first black overlay covers the back screen area, the back screen area is turned off, including: In response to the second operation, at a first time point, a first full-screen screenshot is displayed in the main screen area and the back screen area; At a second time point, a second full-screen screenshot is displayed in the main screen area and the back screen area, the unlocked screen interface is displayed in the main screen area, and the first black overlay is covered in the first area of the back screen area; wherein, the transparency of the second full-screen screenshot is greater than the transparency of the first full-screen screenshot, and the first area is not adjacent to the main screen area; At a third time point, a third full-screen screenshot is displayed in the main screen area and the back screen area, the unlocked screen interface is displayed in the main screen area, and the first black overlay is covered in the second area of the back screen area; wherein, the transparency of the third full-screen screenshot is greater than the transparency of the second full-screen screenshot, the second area is not adjacent to the main screen area, and the second area includes the first area; At the fourth time point, the unlocked screen interface is displayed in the main screen area, and the first black overlay is covered in the entire area of the back screen area. At the fifth time point, the unlocked screen interface is displayed in the main screen area, and the back screen area is turned off. The first full-screen screenshot, the second full-screen screenshot, and the third full-screen screenshot are screenshots corresponding to the first wallpaper and the first lock screen interface.
5. The method according to any one of claims 1 to 3, characterized in that, In response to the second operation, an unlocked screen interface is displayed in the main screen area, and a first black overlay is covered in the back screen area. The first black overlay moves toward the main screen area at a preset speed, or the transparency of the first black overlay decreases at a preset speed. Until the first black overlay covers the back screen area, the back screen area is turned off, including: In response to the second operation, at a first time point, a first full-screen screenshot is displayed in the main screen area and the back screen area, and the first black overlay is covered on top of the first full-screen screenshot in the back screen area; At a second time point, a second full-screen screenshot is displayed in the main screen area and the back screen area, the non-lock screen interface is displayed in the main screen area, and the first black overlay is covered on top of the second full-screen screenshot in the back screen area; wherein, the transparency of the second full-screen screenshot is greater than the transparency of the first full-screen screenshot, and the transparency of the first black overlay at the second time point is less than the transparency of the first black overlay at the first time point. At a third time point, a third full-screen screenshot is displayed in the main screen area and the back screen area, the non-lock screen interface is displayed in the main screen area, and the first black overlay is covered on top of the third full-screen screenshot in the back screen area; wherein, the transparency of the third full-screen screenshot is greater than the transparency of the second full-screen screenshot, and the transparency of the first black overlay at the third time point is less than the transparency of the first black overlay at the second time point. At the fourth time point, the unlocked screen interface is displayed in the main screen area, and the first black overlay is covered in the back screen area; wherein, the transparency of the fourth black overlay at the fourth time point is less than the transparency of the third black overlay at the third time point. At the fifth time point, the unlocked screen interface is displayed in the main screen area, and the back screen area is turned off. The first full-screen screenshot, the second full-screen screenshot, and the third full-screen screenshot are screenshots corresponding to the first wallpaper and the first lock screen interface.
6. The method according to any one of claims 1 to 3, characterized in that, In response to the third operation, the back screen area is lit up, the second wallpaper is displayed in the main screen area and the back screen area, and the second lock screen interface is displayed in the main screen area; A second black overlay is placed over the second wallpaper in the back screen area. The second black overlay moves away from the main screen area at a preset speed, or the transparency of the second black overlay increases at a preset speed. Until the second black overlay disappears from the back screen area, including: In response to the third operation, at the sixth time point, the back screen area is lit up, a second black overlay is applied to the back screen area, and a first main screen screenshot is displayed in the main screen area; At the seventh time point, a second wallpaper is displayed in the main screen area and the back screen area, a second main screen screenshot and the second lock screen interface are displayed in the main screen area, and a second black overlay is covered on top of the second wallpaper in the back screen area; wherein, the transparency of the second main screen screenshot is greater than the transparency of the first main screen screenshot; At the eighth time point, a second wallpaper is displayed in the main screen area and the back screen area, a third main screen screenshot and the second lock screen interface are displayed in the main screen area, and the second black overlay is covered in the third area of the back screen area; wherein, the transparency of the third main screen screenshot is greater than that of the second main screen screenshot, and the third area is not adjacent to the main screen area; At the ninth time point, a second wallpaper is displayed in the main screen area and the back screen area, a fourth main screen screenshot and the second lock screen interface are displayed in the main screen area, and the second black overlay is covered in the fourth area of the back screen area; wherein, the transparency of the fourth main screen screenshot is greater than the transparency of the third main screen screenshot, the fourth area is not adjacent to the main screen area, and the fourth area belongs to the third area; At the tenth time point, the second wallpaper is displayed in the main screen area and the back screen area, and the second lock screen interface is displayed in the main screen area; Among them, the first home screen screenshot, the second home screen screenshot, and the third home screen screenshot are screenshots corresponding to the non-lock screen interface.
7. The method according to any one of claims 1 to 3, characterized in that, In response to the third operation, the back screen area is lit up, the second wallpaper is displayed in the main screen area and the back screen area, and the second lock screen interface is displayed in the main screen area; A second black overlay is placed over the second wallpaper in the back screen area. The second black overlay moves away from the main screen area at a preset speed, or the transparency of the second black overlay increases at a preset speed. Until the second black overlay disappears from the back screen area, including: In response to the third operation, at the sixth time point, the back screen area is lit up, the second black overlay is covered on the back screen area, and the first main screen screenshot is displayed on the main screen area; At the seventh time point, a second wallpaper is displayed in the main screen area and the back screen area, a second main screen screenshot and a second lock screen interface are displayed in the main screen area, and a second black overlay is overlaid on the second wallpaper in the back screen area; wherein, the transparency of the second main screen screenshot is greater than the transparency of the first main screen screenshot, and the transparency of the second black overlay at the seventh time point is greater than the transparency of the second black overlay at the sixth time point; At the eighth time point, a second wallpaper is displayed in the main screen area and the back screen area, a third main screen screenshot and the second lock screen interface are displayed in the main screen area, and a second black overlay is overlaid on the second wallpaper in the back screen area; wherein, the transparency of the third main screen screenshot is greater than the transparency of the second main screen screenshot, and the transparency of the second black overlay at the eighth time point is greater than the transparency of the second black overlay at the seventh time point. At the ninth time point, the second black overlay disappears from the back screen area; the second wallpaper is displayed in the main screen area and the back screen area, and the second lock screen interface is displayed in the main screen area; Among them, the first home screen screenshot, the second home screen screenshot, and the third home screen screenshot are screenshots corresponding to the non-lock screen interface.
8. The method according to any one of claims 1 to 3, characterized in that, After displaying the first wallpaper in the main screen area and the back screen area, and displaying the first lock screen interface in the main screen area, the method further includes: receiving a fourth operation from the user in the back screen area, maintaining the display of the first wallpaper in the main screen area and the back screen area, and maintaining the display of the first lock screen interface in the main screen area; After displaying the second wallpaper in the main screen area and the back screen area, and displaying the second lock screen interface in the main screen area, the method further includes: receiving a fifth operation from the user in the back screen area, maintaining the display of the second wallpaper in the main screen area and the back screen area, and maintaining the display of the second lock screen interface in the main screen area.
9. The method according to any one of claims 1 to 3, characterized in that, The method further includes, after displaying a first wallpaper in the main screen area and the back screen area, and then displaying a first lock screen interface in the main screen area; or, after displaying a second wallpaper in the main screen area and the back screen area, and then displaying a second lock screen interface in the main screen area: If no user action is received within a preset time period, the main screen area and the back screen area will be turned off.
10. A foldable screen device, characterized in that, Includes a processor and a memory coupled to the processor; The memory stores instructions, and the processor invokes the instructions to cause the foldable screen device to execute the wallpaper screen-switching display method as described in any one of claims 1 to 9.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on a foldable screen device, causes the foldable screen device to perform the wallpaper screen-switching display method as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Electronic equipment with foldable screen and display method
CN110602315A
Method for controlling screen display and electronic equipment
CN114115587A