Abstract:
A method for image processing includes determining an application picture of a target application and an actual environment for the target application as triggered by a preview event, obtaining a background picture according to the actual environment, performing an image processing on at least one of the application picture or the background picture so that a significance of the application picture is higher than a significance of the background picture, and outputting a combination of the application picture and the background picture in a preview environment.
Abstract:
The present disclosure discloses a method and a terminal device for adjusting a widget. The method includes: acquiring a size value of the widget on an interface of a terminal device after switching a grid configuration of the interface from a first grid configuration to a second grid configuration; and determining the number of grids occupied by the widget according to size values of each grid in the second grid configuration.
Abstract:
A method for image processing includes determining an application picture of a target application and an actual environment for the target application as triggered by a preview event, obtaining a background picture according to the actual environment, performing an image processing on at least one of the application picture or the background picture so that a significance of the application picture is higher than a significance of the background picture, and outputting a combination of the application picture and the background picture in a preview environment.
Abstract:
A method for controlling display of an application interface is provided. The method includes: detecting a first screen-touching operation; detecting a second screen-touching operation after detecting the first screen-touching operation; determining a movement direction and a movement distance of the second screen-touching operation; and causing the display of the application interface to be moved based on the movement direction and the movement distance of the second screen-touching operation.
Abstract:
A method for a device to arrange icons displayed on a screen of the device includes creating a buffer region in a memory of the device; marking one or more icons selected by a user as one or more icons to be arranged; storing the icons to be arranged in the buffer region; and performing an arranging operation on the icons to be arranged that are stored in the buffer region, according to an arranging instruction from the user.
Abstract:
A method for unlocking a screen of a device, including: detecting an inputting operation on the device for inputting an unlock password, the inputting operation causing one character to be inputted to the device; performing, in response to the detecting, a comparison to determine whether all input characters corresponding to a password indicator displayed on the screen match a preset password; and unlocking the screen of the device if it is determined that all the input characters corresponding to the password indicator match the preset password.
Abstract:
There is provided a method for responding to a sliding operation for use in a terminal having a touch screen and operating on an operating system including a system process, an application process, and an interface delivery process, wherein the application process is configured to draw a display content in a size larger than a size of the touch screen. The method includes: when the system process detects the sliding operation, acquiring a sliding distance and a sliding direction of the sliding operation; transmitting the sliding distance and the sliding direction of the sliding operation to each of the application process and the interface delivery process; when the interface delivery process receives the sliding distance and the sliding direction, moving a display window in the sliding direction, according to the sliding distance; and controlling the touch screen to display a display content corresponding to the moved display window.
Abstract:
The present disclosure provides a method and device for providing an image preview to improve the effect and efficiency of previewing images. The method includes: receiving a sliding gesture from a user through an interface of displaying an image; providing an image preview within a first boundary of the image if the sliding gesture is received through a first region of the interface; and providing the image preview within a second boundary of the image if the sliding gesture is received through a second region of the interface.
Abstract:
The present disclosure discloses a method and a terminal device for adjusting a widget. The method includes: acquiring a size value of the widget on an interface of a terminal device after switching a grid configuration of the interface from a first grid configuration to a second grid configuration; and determining the number of grids occupied by the widget according to size values of each grid in the second grid configuration.
Abstract:
A method for an electronic device to display notice information, includes: receiving notice information sent from an application program, the received notice information including one or more operation elements provided by the application program; and displaying, on a display of the electronic device, the received notice information in a predetermined area, the predetermined area being at least one of an area displaying a status bar or an area adjacent to the status bar, the status bar being arranged along an edge of the display.