App Window Aspect Ratio Handling to Prevent Picture Distortion
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The issue of picture stretching and compression occurs when users adjust the display ratio of windows in electronic devices displaying multiple applications simultaneously, affecting user experience.
Innovation Solution
The electronic device intercepts and corrects rendering instructions to maintain the aspect ratio of displayed pictures by recognizing the current scene and adjusting window sizes accordingly, using modules like the rendering instruction interception module and rendering ratio calibration module to prevent ratio changes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the user adjusts the display ratio of a window in split-screen or floating window mode, then the window size and layout flexibility is improved, but picture distortion (stretching and compression) occurs affecting display quality
Solution Approach 1:
The patent introduces a window management module as an intermediary between the application layer and the display layer. This module intercepts rendering instructions from applications, adjusts them according to the actual window size and aspect ratio, and then passes them to the display system. This intermediary mechanism allows the system to maintain flexible window resizing while preventing picture distortion by mediating the transformation between application rendering coordinates and actual display coordinates.
2Productivity
If the system supports multiple display modes (split-screen and floating window), then multi-tasking capability is improved, but complexity of window management increases leading to picture distortion issues
Solution Approach 1:
The patent segments the window management functionality into distinct modules: a window management module that handles window creation, resizing, and mode switching; a rendering instruction interception module that captures and modifies rendering instructions; and a display module that executes the final rendering. This segmentation allows each module to focus on specific tasks, reducing overall system complexity while supporting multiple display modes and preventing picture distortion through specialized handling at each stage.
Data Source
Figure 1
Figure 2
Figure 3(a)~3(b)
AI summary
This application provides an application picture display method and apparatus, and an electronic device. The method includes: The electronic device displays a first window in response to a first operation performed by a user, and displays a first picture of a first application in the first window, where the first picture is obtained by rendering, the first window has a preset first aspect ratio, the first aspect ratio is a ratio of a width to a height of a visible region of the first window, and the first window is a window in a split-screen mode or a window in a floating window mode. displaying, by the electronic device, the first window at a second aspect ratio in response to an adjustment operation performed by the user on the first window, determining, from the first picture, a target picture having the second aspect ratio, and displaying the target picture in the first window, where the second aspect ratio is different from the first aspect ratio. This application may resolve a problem of phenomena such as picture stretching and picture compression as a result of a user adjusting a window display ratio in some scenes.