Method and apparatus for setting background of ui control, and terminal
AssigneeHuawei Technologies Co., Ltd.
InventorXiangpo Yang
Life of this patent
Estimating the term…
Abstract
Embodiments of the present invention disclose a method and an apparatus for setting a background of a UI control. The method includes : acquiring, after a wallpaper of a terminal is updated, a fuzzy wallpaper obtained after fuzzy processing is performed on the updated wallpaper; capturing, according to a location of the UI control on a screen of the terminal, a wallpaper area block from the acquired fuzzy wallpaper; and setting the one captured wallpaper area block to a background of the UI control. In the embodiments of the present invention, the background of the UI control of the terminal can be enabled to dynamically change as the wallpaper changes, thereby enhancing flexibility and variability of a background image of the UI control.
Claims21
1-22. (canceled)
A method for setting a background of a user interface (UI) control, the method comprising:
- acquiring, after a wallpaper of a terminal is updated, a fuzzy wallpaper obtained after fuzzy processing is performed on the updated wallpaper;
- capturing, according to a location of the UI control on a screen of the terminal, a wallpaper area block from the acquired fuzzy wallpaper;
- and
- setting the captured wallpaper area block to a background of the UI control.
An apparatus for setting a background of a user interface (UI) control, the apparatus comprising:
- an acquisition module, configured to acquire, after a wallpaper of a terminal is updated, a fuzzy wallpaper obtained after fuzzy processing is performed on the updated wallpaper;
- an image capturing module, configured to capture, according to a location of the UI control on a screen of the terminal, a wallpaper area block from the fuzzy wallpaper acquired by the acquisition module;
- and
- a setting module, configured to set the wallpaper area block captured by the image capturing module to a background of the UI control.
A terminal, comprising:
- an input/output apparatus configured to interact with a user and receive an instruction input by the user or output data to the user;
- a memory configured to save program data having various functions;
- and
- a processor, coupled to the memory and the input/output apparatus via a bus, configured to call program data stored in the memory which, when executed by the processor, cause the processor to:
- acquire, after a wallpaper of a terminal is updated, a fuzzy wallpaper obtained after fuzzy processing is performed on the updated wallpaper;
- capture, according to a location of a user interface (UI) control on a screen of the terminal, a wallpaper area block from the acquired fuzzy wallpaper;
- and
- setting the captured wallpaper area block to a background of the UI control.
Dependencies are inferred from the claim text.