SNAP POINTS INCLUDING RANGES
First Claim
1. A method performed at least in part on a machine, comprising,determining whether a scrolling operation has caused or will cause at least one viewing port boundary of at least two viewing port boundaries of a viewing port to correspond to a snap point range of a set of one or more snap point ranges associated with a scrollable container;
- if no viewing port boundary corresponds to a snap point range, rendering one or more container items based upon at least one of the viewing port boundaries; and
if at least one viewing port boundary corresponds to a snap point range, snapping at least one viewing port boundary into an adjusted viewing port boundary based upon a corresponding snap point range, and rendering one or more container items based upon each adjusted viewing port boundary.
1 Assignment
0 Petitions
Accused Products
Abstract
The described technology is directed towards scrollable user interface containers, and allows mixing snap items and smooth items in the same container. Snap point ranges that correspond to container snap items are specified, such as by pixel values or per container item to be rendered. When because of a scroll operation a snap item of the container overlaps a boundary of a viewing port (e.g., if rendered), the scroll position is adjusted based upon a snap point range limit to snap the snap item for rendering based upon the viewing port boundary.
-
Citations
20 Claims
-
1. A method performed at least in part on a machine, comprising,
determining whether a scrolling operation has caused or will cause at least one viewing port boundary of at least two viewing port boundaries of a viewing port to correspond to a snap point range of a set of one or more snap point ranges associated with a scrollable container; -
if no viewing port boundary corresponds to a snap point range, rendering one or more container items based upon at least one of the viewing port boundaries; and if at least one viewing port boundary corresponds to a snap point range, snapping at least one viewing port boundary into an adjusted viewing port boundary based upon a corresponding snap point range, and rendering one or more container items based upon each adjusted viewing port boundary. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A system comprising:
-
a scrolling mechanism that scrolls an item container into a scroll position relative to a viewing port; snapping logic coupled to the scrolling mechanism, the snapping logic configured to determine whether a container snap item spans or will span a viewing port boundary as a result of a scroll operation, and to adjust the scroll position into an adjusted scroll position when a container snap item spans or will span a viewing port boundary; and rendering logic that renders one or more container items in the viewing port based upon the scroll position if not adjusted, or based upon the adjusted scroll position if adjusted. - View Dependent Claims (16, 17, 18)
-
-
19. One or more machine-readable storage media having machine-executable instructions, which when executed perform steps, comprising:
-
maintaining a scrollable container having a snap item set containing one or more snap items and a non-snap item set containing at least one smooth item; determining whether scrolling to a scroll position causes or will cause a snap item to be in an overlapping state that spans a viewing boundary if rendered from the scroll position, and if so; (a) adjusting the scroll position to an adjusted scroll position to snap the snap item into a non-overlapping state, and rendering one or more of the container items based upon the adjusted scroll position, and if not; (b) rendering one or more of the container items based upon the scroll position. - View Dependent Claims (20)
-
Specification