# US 2013/0159925 A1 · Device and Method for Resizing User Interface Content

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0159925 A1
- Document ID: US20130159925A1
- Status: Published application
- Kind: A1
- Application number: 13/769,732
- Filed: 2013-02-18
- Published: 2013-06-20
- Earliest claimed: 2009-12-16
- Assignees: Apple Inc.
- Inventors: Akiva Dov Leffert; Peter W. Rapp; Christopher D. Weeldreyer; Jay Chrisopher Capela; Jason Robert Marr
- Web page: https://patentgrep.com/patent/US20130159925A1

## CPC

- G06F 3/04847: Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
- G06F 3/04845: for image manipulation, e.g. dragging, rotation, expansion or change of colour
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Heuristics for resizing displayed objects within an electronic document are disclosed. The heuristics include resizing displayed objects to predefined ratios, resizing displayed objects by predefined increments, relating resizing of displayed objects to a global reference grid, and resizing a plurality of displayed objects aligned to an axis.

## Claims

### Claim 1

A method, comprising:
displaying on a display of an electronic device a user interface comprising a user interface element, wherein the user interface element comprises an initial aspect ratio and an initial size;
detecting a user input via a processor of the electronic device, wherein the user input comprises a moving input to resize the user interface element;
resizing the user interface element according to the detected user input; and
snapping the user interface element to a second size, wherein the second size corresponds to one of a plurality of stored aspect ratios.

### Claim 2 (depends on 1)

The method of claim 1, wherein displaying the user interface element comprises displaying a first resize handle and a second resize handle positioned on opposite portions of the user interface element, and wherein detecting the user input comprises detecting a directional movement of one or more of the first resize handle and the second resize handle of the user interface element.

### Claim 3 (depends on 1)

The method of claim 1, comprising displaying the user interface element and a second user interface element substantially simultaneously, wherein the second user interface element comprises an aspect ratio corresponding to the one of the plurality of stored aspect ratios.

### Claim 4 (depends on 1)

The method of claim 1, wherein snapping the user interface element to the second size comprises snapping the user interface element to a size corresponding to an aspect ratio different than the initial aspect ratio.

### Claim 5 (depends on 1)

The method of claim 1, wherein snapping the user interface element to the second size comprises snapping the user interface element to a size corresponding to a 1:1 aspect ratio, a 2:3 aspect ratio, a 3:2 aspect ratio, a 3:5 aspect ratio, a 5:3 aspect ratio, a 5:7 aspect ratio, a 7:5 aspect ratio, a 8:10 aspect ratio, a 10:8 aspect ratio, a 3:4 aspect ratio, a 4:3 aspect ratio, a 16:9 aspect ratio, a 9:16 aspect ratio, or any combination thereof.

### Claim 6 (depends on 1)

The method of claim 1, comprising displaying the user interface element and a second user interface element concurrently, wherein snapping the user interface element to the second size comprises snapping the second user interface to the second size substantially simultaneously.

### Claim 7 (depends on 1)

The method of claim 1, comprising displaying a plurality of lines corresponding to the stored aspect ratios while the user input is detected.

### Claim 8 (depends on 1)

The method of claim 1, comprising displaying an affordance substantially simultaneously with the user interface element, wherein the affordance is configured to display the initial size and the initial aspect ratio of the user interface element before the user interface is resized.

### Claim 9 (depends on 8)

The method of claim 8, comprising displaying the affordance comprising the second size and a second aspect ratio while resizing the user interface element.

### Claim 10

A method, comprising:
displaying on a display of an electronic device a user interface comprising a user interface element, wherein the user interface element comprises an initial aspect ratio, an initial width, and an initial height;
storing the initial aspect ratio, the initial width, and the initial height of the user interface element;
detecting a user input, wherein the user input comprises a moving input to resize the user interface element;
calculating a resizing aspect ratio, a resizing width, and a resizing height of the user interface element while resizing the user interface element according to the detected user input;
determining a difference between the initial aspect ratio and the resizing aspect ratio; and
adjusting one or more of the initial width and the initial height of the user interface element when the difference between the initial aspect ratio and the resizing aspect ratio is determined to be below a threshold aspect ratio.

### Claim 11 (depends on 10)

The method of claim 10, wherein determining the difference between the initial aspect ratio and the resizing aspect ratio comprises:
comparing the difference to a predetermined aspect ratio value;
determining whether the initial aspect ratio and the resizing aspect ratio are each within a predetermined range of aspect ratio values;
calculating a logarithm of the initial aspect ratio and the resizing aspect ratio;
or any combination thereof.

### Claim 12 (depends on 10)

The method of claim 10, comprising determining whether a plurality of gridlines within the user interface is activated.

### Claim 13 (depends on 12)

The method of claim 12, comprising:
determining that the plurality of gridlines within the user interface is activated;
rounding the resizing width of the user interface element to an even increment associated with one or more of the gridlines when the initial width of the user interface element is greater than the initial height of the user interface element; and
adjusting the resizing height of the user interface element to maintain the initial aspect ratio.

### Claim 14 (depends on 12)

The method of claim 12, comprising:
determining that the plurality of gridlines within the user interface is activated;
rounding the resizing height of the user interface element to an even increment associated with one or more of the gridlines when the initial width of the user interface element is less than or equal to the initial height of the user interface element; and
adjusting the resizing width of the user interface element to maintain the initial aspect ratio.

### Claim 15 (depends on 12)

The method of claim 12, comprising:
determining that the plurality of gridlines within the user interface is not activated; and
adjusting the resizing width and the resizing height of the user interface element to align with an intersection point of a diagonal line extending from the user interface element along a direction of the user input and a line perpendicular to the diagonal line, wherein the perpendicular line is configured to cross a current location of the user input and the diagonal line is configured to cross each of a plurality of displayed aspect ratio locations, and wherein the diagonal line and the perpendicular line are each associated with the initial aspect ratio.

### Claim 16 (depends on 10)

The method of claim 10, comprising adjusting the initial width and the initial height of the user interface element when a difference between the resizing aspect ratio and a predetermined resizing aspect ratio is below the threshold aspect ratio.

### Claim 17 (depends on 10)

The method of claim 10, comprising adjusting the resizing height and the resizing width of the user interface element to align with an intersection point of a diagonal line extending from the user interface element along a direction of the user input and a line perpendicular to the diagonal line when the difference between the resizing aspect ratio and a 1:1 aspect ratio is below the threshold aspect ratio, wherein the perpendicular line is configured to cross a current location of the user input and the diagonal line is configured to cross each of a plurality of displayed aspect ratio locations, and wherein the diagonal line and the perpendicular line are each associated with the 1:1 aspect ratio.

### Claim 18

An electronic device, comprising:
a display configured to display a user interface comprising a user interface element, wherein the user interface element comprises an initial aspect ratio, an initial width, and an initial height;
a memory configured to store the initial aspect ratio, the initial width, and the initial height of the user interface element; and
a processor configured to:
detect a user input, wherein the user input comprises a moving input to resize the user interface element;
resize the user interface element according to the detected user input;
calculate a resizing aspect ratio, a resizing width, and a resizing height of the user interface element while resizing the user interface element;
determine a difference between the initial ratio and the resizing aspect ratio; and
adjust one or more of the initial width and the initial height of the user interface element when the difference between the initial aspect ratio and the resizing aspect ratio is below a threshold aspect ratio.

### Claim 19 (depends on 18)

The electronic device of claim 18, wherein the processor is configured to adjust the initial width and the initial height of the user interface element by calculating a rounded estimate of each of the resizing width and the resizing height.

### Claim 20 (depends on 18)

The electronic device of claim 18, wherein the processor is configured to:
determine the difference between the initial aspect ratio and the resizing aspect ratio by comparing the difference to a predetermined aspect ratio value, a predetermined range of aspect ratio values, a logarithm of the initial aspect ratio and the resizing aspect ratio, or any combination thereof;
snap the user interface element to the resizing aspect ratio when the difference between the initial aspect ratio and the resizing aspect ratio is below the threshold aspect ratio; and
snap the user interface element back to the initial aspect ratio when the difference between the initial aspect ratio and the resizing aspect ratio is not below the threshold aspect ratio.
