Theme wallpaper generation method and electronic device
AssigneeHuawei Technologies Co., Ltd.
InventorsMinhao Li, Miao Wang, Changjian Chen, Bo Xu
Life of this patent
Estimating the term…
Abstract
In the method, an effect of dynamic linkage in a process of switching from an always on display screen to a lock screen interface and then to an unlock interface is presented to the user based on an image processing process customized by the user, such as detection and identification of the picture and image cropping of a target element in the picture, and different transition modes and transition animations that are set by the user and that are corresponding to the process of switching from the always on display screen to the lock screen interface and then to the unlock interface of the mobile phone, to provide smooth visual experience to the user.
Claims19
A method, applied to an electronic device, wherein the method comprises:
- determining a first display area of a target picture for generating a theme wallpaper of the electronic device, and determining an unlock interface of the electronic device based on the first display area;
- detecting a target element in content of the first display area;
- zooming out or zooming in, based on a first coefficient of proportionality, on the target element to determine display content of an always on display screen of the electronic device, and determining the always on display screen to include the display content;
- determining a second display area based on a position of the target element in the target picture, and determining a lock screen interface based on the second display area, wherein a wallpaper of the lock screen interface comprises the target element and the target element is zoomed out or zoomed in based on a second coefficient of proportionality;
- displaying the always on display screen based on the display content of the always on display screen;
- receiving an unlock operation of a user, and in response to the unlock operation, performing, based on a configuration parameter corresponding to a first transition mode, switching from the always on display screen to the lock screen interface for display;
- and
- performing, based on a configuration parameter corresponding to a second transition mode, switching from the lock screen interface to the unlock interface for display, wherein a wallpaper of the unlock interface comprises the content of the first display area.
An electronic device, comprising:
- a display;
- one or more processors;
- one or more memories;
- and
- a module on which a plurality of applications are installed, wherein
- the memory stores one or more programs;
- and when the one or more programs are executed by the processor, the electronic device is enabled to perform the following steps:
- determining a first display area of a target picture for generating a theme wallpaper of the electronic device, and determining an unlock interface of the electronic device based on the first display area;
- detecting a target element in content of the first display area;
- zooming out or zooming in, based on a first coefficient of proportionality, on the target element to determine display content of an always on display screen of the electronic device, and determining the always on display screen to include the display content;
- determining a second display area based on a position of the target element in the target picture, and determining a lock screen interface based on the second display area, wherein a wallpaper of the lock screen interface comprises the target element and the target element is zoomed out or zoomed in based on a second coefficient of proportionality;
- displaying the always on display screen based on the display content of the always on display screen;
- receiving an unlock operation of a user, and in response to the unlock operation, performing, based on a configuration parameter corresponding to a first transition mode, switching from the always on display screen to the lock screen interface for display;
- and
- performing, based on a configuration parameter corresponding to a second transition mode, switching from the lock screen interface to the unlock interface for display, wherein a wallpaper of the unlock interface comprises the content of the first display area.
A non-transitory computer-readable storage medium storing computer instructions, that when executed by one or more processors of an electronic device, cause the electronic device to perform operations of:
- determining a first display area of a target picture for generating a theme wallpaper of the electronic device, and determining an unlock interface of the electronic device based on the first display area;
- detecting a target element in content of the first display area;
- zooming out or zooming in, based on a first coefficient of proportionality, on the target element to determine display content of an always on display screen of the electronic device, and determining the always on display screen to include the display content;
- determining a second display area based on a position of the target element in the target picture, and determining a lock screen interface based on the second display area, wherein a wallpaper of the lock screen interface comprises the target element and the target element is zoomed out or zoomed in based on a second coefficient of proportionality;
- displaying the always on display screen based on the display content of the always on display screen;
- receiving an unlock operation of a user, and in response to the unlock operation, performing, based on a configuration parameter corresponding to a first transition mode, switching from the always on display screen to the lock screen interface for display;
- and
- performing, based on a configuration parameter corresponding to a second transition mode, switching from the lock screen interface to the unlock interface for display, wherein a wallpaper of the unlock interface comprises the content of the first display area.
Dependencies are inferred from the claim text.