Lock Screen Wallpaper Repositioning Around Pop-Up UI Controls
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
UI controls, such as notification messages or live video windows, dynamically popping up on a lock screen interface block the subject element in the wallpaper, affecting its display.
Innovation Solution
The method involves adjusting the subject element in the wallpaper image by moving it down in the height direction of the lock screen interface to prevent overlap with UI controls, using various adjustment policies based on factors like control type, quantity, and height, ensuring the subject element is not blocked.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If UI controls are displayed on the lock screen interface in a pop-up manner, then notification functionality is improved, but the subject element in the wallpaper is blocked
Solution Approach 1:
The lock screen interface implements dynamic adjustment of the wallpaper based on the presence and position of UI controls. When UI controls are detected, the system automatically moves the subject element in the wallpaper to avoid being blocked, creating a dynamic adaptation to different display scenarios while maintaining both notification functionality and subject element visibility
Solution Approach 2:
The system applies different processing to different regions of the wallpaper. The subject element is specifically identified and adjusted independently from the rest of the wallpaper content, allowing localized modification of only the affected area (the subject element's position) while leaving other parts of the wallpaper unchanged
2Loss of information
If the subject element is moved down to avoid UI controls, then subject element visibility is improved, but the original composition of the wallpaper is altered
Solution Approach 1:
The wallpaper composition is made dynamically adjustable based on display conditions. The subject element's position is changed only when necessary (when UI controls are present and would block it), and the adjustment amount is calculated based on the UI control's position, allowing the composition to adapt while maintaining aesthetic quality
Solution Approach 2:
The system changes the position parameter of the subject element within the wallpaper image. By adjusting the y-coordinate of the subject element based on the UI control's position, the system modifies a specific parameter (position) to resolve the blocking issue while keeping other wallpaper parameters unchanged
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Embodiments of this application provide a wallpaper processing method and an electronic device, and relate to the field of terminal device technologies. The method includes: when a UI control is displayed on a lock screen interface, moving down at least a subject element in a wallpaper image on the lock screen interface, to ensure that the subject element displayed on the lock screen interface is not blocked by the UI control, to improve display effect of the subject element in the wallpaper image.