Semantic-Aware GUI Resize Constraint Generation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional systems for generating multiple display layouts for different devices are inefficient, inaccurate, and inflexible, requiring significant designer interaction and resources, often resulting in distorted or misplaced elements due to manual resizing rules and limited adaptability.
Innovation Solution
A system that automatically resizes graphical user interface designs using dynamically generated semantic-aware resize constraints, analyzing design properties and elements to adapt to changes without user input, maintaining spatial relationships and allowing for a wide range of resizing scenarios.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If conventional manual-rule resize systems are used, then designers can control element positioning, but the systems require excessive designer interaction and time
Solution Approach 1:
The system automatically generates resize rules by analyzing the design layout and element relationships, enabling the system to serve itself without requiring designer intervention for rule creation. The algorithm independently determines pinning constraints based on element positions and design semantics.
Solution Approach 2:
The patent replaces the manual mechanical process of rule-setting with an automated computational system that uses image processing and constraint satisfaction algorithms to generate resize rules programmatically, eliminating the need for manual rule definition.
2Productivity
If simple scaling is applied to resize elements, then the resize process is simple and fast, but elements become distorted when aspect ratios differ
Solution Approach 1:
The system applies different resize strategies to different elements based on their local characteristics. Elements are analyzed individually to determine their aspect ratios and relationships, allowing each element to be resized appropriately rather than applying a uniform scaling factor to all elements.
Solution Approach 2:
The resize rules are dynamically generated based on the specific layout configuration and element relationships. The system adapts the pinning constraints and scaling factors according to the actual design semantics rather than using fixed predefined rules.
3Manufacturing precision
If manual resizing of individual elements is performed, then element positioning accuracy can be maintained, but the process requires significant time and resources
Solution Approach 1:
The system performs preliminary analysis of the design layout to pre-determine the optimal pinning constraints and resize rules before the actual resizing operation. This preliminary action captures the design semantics and element relationships, enabling accurate automated resizing without manual intervention.
Solution Approach 2:
The patent replaces manual element-by-element resizing with an automated constraint satisfaction system that uses image processing and algorithmic reasoning to determine element positions and dimensions, substituting human manual adjustment with computational automation.
4Reliability
If edge-pinning rules are used for resizing, then element positioning relative to edges is maintained, but the system cannot handle cases where elements need to be relocated or expanded beyond edges
Solution Approach 1:
The system provides a universal resize rule generation framework that handles multiple resizing scenarios including edge-pinning, element relocation, and expansion beyond original boundaries. The same algorithmic approach adapts to different design configurations and resize requirements without needing separate specialized rules.
Solution Approach 2:
The pinning constraints are dynamically determined based on the analyzed design semantics and element relationships. The system can switch between different constraint types (edge-pinning, center-pinning, ratio-maintaining) depending on the specific element and layout context, providing flexible adaptation to various resizing scenarios.
5Adaptability or versatility
If multiple display layouts are created for different devices, then device-specific optimization is achieved, but processing power, time, and storage resources increase significantly
Solution Approach 1:
The system extracts the essential design semantics and element relationships from the original layout, separating the invariant design intent from the variable display parameters. This extraction enables generation of device-specific layouts from a single source design without requiring manual creation of each variant.
Solution Approach 2:
The patent creates a universal resize rule set that can be applied across multiple device configurations and screen sizes. The same algorithmic framework generates appropriate layouts for different devices, eliminating the need for separate manual design processes for each device type.
Data Source
AI summary
The present disclosure is directed toward systems, methods, and non-transitory computer readable media that resize a graphical user interface design layout using automatically-generated semantic-aware resize constraints. In particular, systems described herein can analyze the semantics of graphical user interface design elements (e.g., including size, position, type, etc.) and relative positions of the design elements (e.g., hierarchy, offsets, nesting, etc.). The disclosed systems utilizes a heuristics system to the analyzed semantics to generate a set of automatically-defined semantic-aware resize constraints for each graphical user interface design interface. The disclosed systems additionally present a design resize interface that enables designer to manually select constraints to be applied to the design elements. The disclosed systems can toggle between applying manually-selected and automatic semantic-aware resize constraints for the design elements.


