Abstract:
A method includes displaying a drawing aid in a sketch area on a touch-sensitive display, and receiving one or more drawing inputs. In response to receiving the one or more drawing inputs, the device displays marks based on the drawing inputs that are constrained based on the drawing aid. While displaying the drawing aid in the sketch area, the device detects a touch gesture at a location corresponding to a location of the drawing aid. In response to detecting the touch gesture: if the touch gesture is a pinch gesture, the device ceases to display the drawing aid in the sketch area; and if the touch gesture is a rotational gesture, the device rotates the drawing aid relative to the sketch area in accordance with the movement of at least one contact in the touch gesture while maintaining display of the drawing aid in the sketch area.
Abstract:
A method includes displaying a drawing aid in a sketch area on a touch-sensitive display, and receiving one or more drawing inputs. In response to receiving the one or more drawing inputs, the device displays marks based on the drawing inputs that are constrained based on the drawing aid. While displaying the drawing aid in the sketch area, the device detects a touch gesture at a location corresponding to a location of the drawing aid. In response to detecting the touch gesture: if the touch gesture is a pinch gesture, the device ceases to display the drawing aid in the sketch area; and if the touch gesture is a rotational gesture, the device rotates the drawing aid relative to the sketch area in accordance with the movement of at least one contact in the touch gesture while maintaining display of the drawing aid in the sketch area.
Abstract:
Various techniques are disclosed for managing and modifying data items. In some embodiments, a first data item can be selected for password protection via establishing an active secured user session according to a set of user credentials. Thereafter, subsequent data items can be selected for password protection using the same set of user credentials while the secured user session remains active. In some embodiments, a gesture input can be received by a touch interface. The input can be detected, and when the input is recognized as a command for creating an extension of a work space associated with a data item, then the extension of the work space is generated. In some embodiments, the gesture input received by the touch interface is recognized as a command for creating a new work space associated with the data item such that a new work space is generated upon recognizing the input.
Abstract:
A method performed by an electronic device having a display, a touch-sensitive surface, and one or more processors includes, while displaying text in a content presentation area, the displayed text including first handwritten text, receiving handwritten strokes at an insertion location positioned within a range of locations corresponding to the first handwritten text. In response to receiving the handwritten strokes, the device determines whether the handwritten strokes is textual input, and in accordance with a determination by the device that the plurality of handwritten strokes is textual input, comprising newly entered second handwritten text, the device inserts the second handwritten text at the insertion location and moves the first handwritten text to accommodate the second handwritten text. In some embodiments, after inserting the second handwritten text, the device removes one or more white spaces between the first handwritten text and the second handwritten text.
Abstract:
An electronic device, when in a first tilted state, displays a content page in a sketch mode, which includes displaying a zoomed view of a portion of the content page, and configuring the zoomed view of the portion of the content page to accept user inputs modifying content in the first portion of the content page. While displaying the content page in the sketch mode, the device detects that it is tilted from the first tilted state to a distinct second tilted state, and in response, displays the content page in an overview mode, which includes zooming out to display an overview of the content page. Optionally, displaying the content page in the overview mode includes displaying an input position indicator over the overview of the content page to indicate the portion of the content page previously displayed in the zoomed view.
Abstract:
A method of emulating an input device. The method receives a set of data associated with a touch input. The set of data includes a set of coordinates of each data point, the force applied at each data point, and the time the data for each data point is received. The method adds several data points to the first set of data points to create a second set of data points. For each data point in the second set of data points, the method calculates a set of parameters based on the set of data associated with the data point. The method provides a subset of the calculated parameters and the data associated with a subset of the second set of data to an application to emulate the input device.
Abstract:
A device implementing a system for rendering animated user input strokes includes at least one processor configured to receive input stroke data. The at least one processor is configured to render, in a first rendering stage within a frame rendering period, a first portion of the input stroke data. The at least one processor is configured to render, in a second rendering stage within the frame rendering period, a second portion of the input stroke data, the second rendering stage being after, and temporally separate from, the first rendering stage.
Abstract:
A method includes detecting first movement of a first contact on an on-screen ruler in a first direction around a pivot location; in response to the first movement: rotating the ruler by an angular amount according to the first movement; and when the ruler has entered a snap zone associated with a snap angle upon rotation by the first angular amount, rotating the ruler by a first adjusted amount to bring the ruler into alignment with the first snap angle; detecting second movement of the first contact in a second direction and the second movement satisfies unsnapping criteria; and in response to the second movement, rotating the ruler by a second adjusted amount to bring the ruler into alignment with the first contact.
Abstract:
A first electronic device with a display maintains a consistent output based on concurrent textual edits received at multiple collaborating devices. The first device maintains a directed acyclic graph to represent a textual string concurrently edited by the first device and at least a second device of the multiple collaborating devices. The directed acyclic graph includes: a plurality of nodes each representing a respective character input received from one or more of the multiple collaborating devices, and multiple parallel paths each including at least one node that represents a respective one of multiple concurrent character inputs received from distinct devices of the multiple collaborating devices. The first device topologically traverses the directed acyclic graph in accordance with a predetermined ordering rule to deterministically sort the plurality of nodes into a string sequence. The first device displays the textual string in accordance with the deterministically obtained string sequence.
Abstract:
Embodiments of the present disclosure relate to a method for generating a simulated shadow for a digital object on a virtual curved surface in a digital canvas. A base image is generated by removing color from the digital object. An initial shadow image is generated by identifying the virtual curved surface on the digital canvas and projecting the base image onto the virtual curved surface. A plurality of blurred images is generated by blurring the initial shadow image to different percentages of blur for each of the plurality of blurred images. A mathematical function is applied for generating the simulated shadow on the virtual curved surface, wherein the mathematical function interpolates between the initial shadow image and the plurality of blurred images at different points on the virtual curved surface.