Window Proportion Adjustment for Android Layout Compatibility

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing electronic devices face issues with window proportions not matching the display layout, leading to incomplete page display and reduced user experience due to user-adjusted window proportions that are not supported by the Android system.

Innovation Solution

An electronic device method and apparatus that adjusts window proportions by detecting user operations to determine candidate proportions based on window types, calculating differences, and aligning the window to a target proportion supported by the Android system, ensuring compatibility and optimal display.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If the window proportion is adjusted freely by the user, then the ease of operation is improved, but the reliability of display compatibility deteriorates

Engineering Contradiction:
Improvewindow adjustment flexibilityVSAvoiddisplay layout compatibility
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The system changes the window proportion parameter from a completely free-adjustable state to a constrained state where only predefined proportions are allowed. The processor detects user operations and automatically adjusts the window proportion to match one of several candidate proportions based on the window type, ensuring display compatibility while still allowing user-initiated adjustments.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If the window proportion is fixed to match display layout, then the reliability of display compatibility is improved, but the ease of operation deteriorates

Engineering Contradiction:
Improvedisplay layout compatibilityVSAvoidwindow adjustment flexibility
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system implements a dynamic window proportion adjustment mechanism that responds to user operations. When the user interacts with the window (e.g., drags the edge), the processor detects the operation and dynamically adjusts the window proportion to the nearest candidate proportion. This creates a semi-automatic adjustment process that balances user control with system-enforced compatibility.

Inventive Principle:
Principle #15Dynamics

3Adaptability or versatility

If multiple candidate proportions are calculated, then the adaptability is improved, but the device complexity increases

Engineering Contradiction:
Improvewindow proportion optionsVSAvoidproportion calculation logic
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system pre-calculates and stores multiple candidate proportions corresponding to different window types (full-screen, split-screen, floating windows) and display orientations. These candidate proportions are prepared in advance based on the Android system's supported resolutions and aspect ratios, so that when the user adjusts the window, the system can quickly select the most appropriate pre-computed proportion without performing complex real-time calculations.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentEP4177721B1Method and apparatus for adjusting window, and computer readable storage medium
Publication Date: 2025.08.06 BEIJING XIAOMI MOBILE SOFTWARE CO LTD
  • EP4177721B1 patent drawingFigure 1(a)
  • EP4177721B1 patent drawingFigure 1(b)
  • EP4177721B1 patent drawingFigure 2~3

AI summary

A method for adjusting a window includes: in response to detecting a first operation for triggering a specified position of the window, obtaining at least one candidate proportion of the current window based on a type of the window, and obtaining an actual proportion of the window that varies with the first operation; in response to detecting a second operation for stopping triggering the window, obtaining a difference between the at least one candidate proportion and the actual proportion, and determining a candidate proportion with the smallest difference as a target proportion; and adjusting a proportion of the window from the actual proportion to the target proportion. The disclosure may achieve an effect that the proportion of the current window is matched with that of the displayed page, and avoid the problem of mismatch between the window and the page.