Rendering contiguous image elements
AssigneeFacebook, Inc.
InventorsChristopher Serge Benjamin Chedeau, Andrew Chung, Emily B. Grewal
Life of this patent
Estimating the term…
Abstract
In one embodiment, a method includes determining a sequence of image elements. For each image element in the sequence, a position in an array of contiguous image elements is determined. The position may be based on several factors, including at least: a size of the image element (large or small), an order of the image element in the sequence, and dimensions of the display array. The array of image elements may be rendered for display to the user such that the layout of the image elements is contiguous. If the user provides input re-sizing an image element or re-ordering the sequence of image elements, the array may be re-rendered.
Claims20
A method comprising:
- by a computing device, determining a sequence of image elements;
- by the computing device, determining, for each image element in the sequence, a first position in an array of contiguous image elements, the first position being based on a size of the image element, an order of the image element in the sequence, and dimensions of the array;
- by a computing device, determining, in response to an instruction to adjust the position or size of a first image element, a second position in the array for at least one second image element, the second position determined based on a rule requiring the image elements to be contiguous such that each available image position between the first image element in the sequence and the last image element in the sequence is occupied by an image element;
- and
- by the computing device, providing information to render the array of contiguous image elements.
One or more computer-readable non-transitory storage media embodying software that is operable when executed to:
- determine a sequence of image elements;
- determine, for each image element in the sequence, a first position in an array of contiguous image elements, the first position being based on a size of the image element, an order of the image element in the sequence, and dimensions of the array;
- determine, in response to an instruction to adjust the position or size of a first image element, a second position in the array for at least one second image element, the second position determined based on a rule requiring the image elements to be contiguous such that each available image position between the first image element in the sequence and the last image element in the sequence is occupied by an image element;
- and
- provide information to render the array of contiguous image elements.
A system comprising:
- one or more processors;
- and
- a memory coupled to the processors comprising instructions executable by the processors, the processors being operable when executing the instructions to:
- determine a sequence of image elements;
- determine, for each image element in the sequence, a position in an array of contiguous image elements, the position being based on a size of the image element, an order of the image element in the sequence, and dimensions of the array;
- determine, in response to an instruction to adjust the position or size of a first image element, a second position in the array for at least one second image element, the second position determined based on a rule requiring the image elements to be contiguous such that each available image position between the first image element in the sequence and the last image element in the sequence is occupied by an image element;
- and
- provide information to render the array of contiguous image elements.
Dependencies are inferred from the claim text.