Handwriting input on electronic devices
By receiving and interpreting handwritten input on electronic devices, text conversion and menu management of handwritten input are realized, solving the problems of low user interaction efficiency and battery power waste, and improving device usage efficiency and battery life.
Patent Information
- Application Number
- CN202210131407.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-05-05
- Filing Date
- 2020-05-06
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-05-06
AI Technical Summary
Existing technologies struggle to effectively receive and interpret handwritten input, resulting in inefficient user interaction and a waste of processor power and battery power on battery-powered devices.
By enabling the reception and interpretation of handwritten input on electronic devices, including using a stylus to select and delete text, inserting pre-existing text, managing the conversion of handwritten input into font-based text, and presenting handwritten input menus and automatic completion in the user interface. Full recommendations.
Improves user interaction efficiency, reduces the need for redundant user input processing, and reduces device battery consumption.
Smart Images

Figure CN114564113B_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with application number 202080049378.4, application date May 6, 2020, and invention name “Handwriting input on electronic devices”.
[0002] CROSS-REFERENCE TO RELATED APPLICATIONS
[0003] This patent application claims the benefit of U.S. Provisional Patent Application 62 / 843,976 filed on May 6, 2019, U.S. Provisional Patent Application 62 / 859,413 filed on June 10, 2019, and U.S. Provisional Patent Application 63 / 020,496 filed on May 5, 2020, the contents of which are hereby incorporated by reference in their entirety for all purposes. Technical Field
[0004] The present invention generally relates to electronic devices that accept handwriting input, and user interaction with such devices. Background Art
[0005] In recent years, the interaction between users and electronic devices has increased significantly. These devices can be devices such as computers, tablet computers, televisions, multimedia devices, mobile devices, etc.
[0006] In some cases, users want to input text on an electronic device or otherwise interact with the electronic device using a stylus. In some cases, users want to handwrite the desired text on a touch screen display of an electronic device using a stylus or other handwriting device. Enhancing these interactions can improve the user's experience with the device and reduce the user interaction time, which is particularly important when the input device is battery-powered.
[0007] It is understood that the use of personally identifiable information should be subject to privacy policies and practices that are generally recognized to meet or exceed industry or government requirements for maintaining user privacy. Specifically, personally identifiable information data should be managed and processed to minimize the risk of unintentional or unauthorized access or use, and the nature of the authorized use should be clearly stated to users. Summary of the invention
[0008] Some embodiments described in the present disclosure relate to receiving handwriting input in a text input field and converting the handwriting input to font-based text. Some embodiments described in the present disclosure relate to selecting and deleting text using a stylus. Some embodiments of the present disclosure relate to inserting text into pre-existing text using a stylus. Some embodiments of the present disclosure relate to managing the timing of converting handwriting input to font-based text. Some embodiments of the present disclosure relate to presenting a handwriting input menu on an electronic device. Some embodiments of the present disclosure relate to controlling features of a handwriting input based on a selection on a handwriting input menu. Some embodiments of the present disclosure relate to presenting auto-completion suggestions. Some embodiments of the present disclosure relate to converting handwriting input to font-based text. Some embodiments of the present disclosure relate to displaying options in a content input control panel. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] For a better understanding of the various described embodiments, reference should be made to the following detailed description taken in conjunction with the following drawings, in which like reference numerals designate corresponding parts throughout the several views.
[0010] Figure 1A is a block diagram showing a portable multifunction device with a touch-sensitive display according to some embodiments.
[0011] Figure 1B is a block diagram illustrating example components for event processing according to some embodiments.
[0012] Figure 2 A portable multifunction device with a touch screen according to some embodiments is shown.
[0013] Figure 3 is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface according to some embodiments.
[0014] Figure 4A An exemplary user interface for an application menu on a portable multifunction device according to some embodiments is shown.
[0015] Figure 4B An exemplary user interface is shown for a multifunction device having a touch-sensitive surface separate from the display according to some embodiments.
[0016] Figure 5A A personal electronic device according to some embodiments is shown.
[0017] Figure 5B is a block diagram illustrating a personal electronic device according to some embodiments.
[0018] FIG. 5C to FIG. 5DExample components of a personal electronic device with a touch-sensitive display and an intensity sensor are shown according to some embodiments.
[0019] FIG. 5E to FIG. 5H Exemplary components and user interfaces of a personal electronic device according to some embodiments are shown.
[0020] Fig.5I A block diagram is shown of an exemplary architecture for a device according to some embodiments of the present disclosure.
[0021] Figures 6A to 6YY An exemplary manner in which an electronic device converts handwriting input into font-based text according to some embodiments is shown.
[0022] 7A to 7I is a flowchart illustrating a method of converting handwriting input to font-based text according to some embodiments.
[0023] Figures 8A to 8MM An exemplary manner in which an electronic device interprets handwriting input to select or delete text according to some embodiments is shown.
[0024] FIG. 9A to FIG. 9G is a flowchart illustrating a method of interpreting handwriting input to select or delete text according to some embodiments.
[0025] Figures 10A to 10SSS An exemplary manner in which an electronic device according to some embodiments inserts handwriting input into pre-existing text is shown.
[0026] FIG. 11A to FIG. 11M is a flowchart illustrating a method of inserting handwriting input into pre-existing text according to some embodiments.
[0027] Figures 12A to 12SS An exemplary manner is shown in which an electronic device manages the timing of converting handwritten text to font-based text according to some embodiments.
[0028] FIG. 13A to FIG. 13G is a flowchart illustrating a method for managing the timing of converting handwritten text to font-based text according to some embodiments.
[0029] Figures 14A to 14V An exemplary manner in which an electronic device presents a handwriting input menu according to some embodiments is shown.
[0030] FIG. 15A to FIG. 15F is a flowchart illustrating a method of presenting a handwriting input menu according to some embodiments.
[0031] FIG. 16A to FIG. 16Dis a flowchart illustrating a method for controlling features of handwriting input based on selections on a handwriting input menu according to some embodiments.
[0032] FIG. 17A to FIG. 17W An exemplary manner in which an electronic device presents auto-completion suggestions according to some embodiments is shown.
[0033] FIG. 18A to FIG. 18I is a flowchart illustrating a method of presenting auto-completion suggestions according to some embodiments.
[0034] FIG. 19A to FIG. 19BB An exemplary manner in which an electronic device converts handwriting input into font-based text according to some embodiments is shown.
[0035] FIG. 20A to FIG. 20D is a flowchart illustrating a method of converting handwriting input to font-based text according to some embodiments.
[0036] FIGS. 21A to 21DD An exemplary manner in which an electronic device displays options in a content input control panel according to some embodiments is shown.
[0037] FIG. 22A to FIG. 22J is a flow chart illustrating a method of displaying options in a content input control panel according to some embodiments. DETAILED DESCRIPTION
[0038] The following description sets forth exemplary methods, parameters, etc. However, it should be appreciated that such description is not intended to limit the scope of the present disclosure, but is provided as a description of exemplary embodiments.
[0039] There is a need for electronic devices that provide efficient methods for receiving and interpreting handwriting input (e.g., from a stylus or other handwriting input device). Such techniques can reduce the cognitive burden on users of such devices. In addition, such techniques can reduce processor power and battery power that would otherwise be wasted on redundant user input.
[0040] Although the following description uses the terms "first", "second", etc. to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another element. For example, a first touch can be named a second touch and similarly a second touch can be named a first touch without departing from the scope of the various described embodiments. Both the first touch and the second touch are touches, but they are not the same touch.
[0041] The terms used in the description of various described embodiments herein are only for the purpose of describing specific embodiments, and are not intended to be limited. As used in the description of various described embodiments and in the appended claims, the singular forms "one" and "the" are intended to also include plural forms, unless the context clearly indicates otherwise. It will also be understood that the term "and / or" used herein refers to and encompasses any and all possible combinations of one or more items in the associated listed items. It will also be understood that the term "includes", "including", "comprises" and / or "comprising" when used in this specification specifies the presence of stated features, integers, steps, operations, elements and / or parts, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or their grouping.
[0042] The term "if" is optionally interpreted to mean "when," "upon," or "in response to determining," or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined that ..." or "if [a stated condition or event] is detected" are optionally interpreted to mean "upon determining that ..." or "in response to determining that ..." or "upon detecting [a stated condition or event]," or "in response to detecting [a stated condition or event]," depending on the context.
[0043] Embodiments of electronic devices, user interfaces for such devices, and associated processes for using such devices are described herein. In some embodiments, the device is a portable communication device, such as a mobile phone, that also includes other functions, such as a PDA and / or a music player function. Exemplary embodiments of portable multifunction devices include, but are not limited to, the Apple iPod from Apple Inc. (Cupertino, California). equipment, Equipment, and Device. Other portable electronic devices, such as laptops or tablets with touch-sensitive surfaces (e.g., touch screen displays and / or trackpads) are optionally used. It should also be understood that in some embodiments, the device is not a portable communication device, but a desktop computer with a touch-sensitive surface (e.g., touch screen displays and / or trackpads).
[0044] In the following discussion, an electronic device including a display and a touch-sensitive surface is described. However, it should be understood that the electronic device optionally includes one or more other physical user interface devices, such as a physical keyboard, mouse and / or joystick.
[0045] The device typically supports a variety of applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disk editing application, a spreadsheet application, a gaming application, a telephony application, a video conferencing application, an email application, an instant messaging application, a fitness support application, a photo management application, a digital camera application, a digital video camera application, a web browsing application, a digital music player application, and / or a digital video player application.
[0046] Various applications executed on the device optionally use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the device are optionally adjusted and / or varied for different applications, and / or adjusted and / or varied within the respective applications. In this way, the common physical architecture of the device (such as a touch-sensitive surface) optionally supports a variety of applications with a user interface that is intuitive and clear to the user.
[0047] Attention is now turned to embodiments of portable devices having touch-sensitive displays. Figure 1A is a block diagram showing a portable multifunction device 100 with a touch-sensitive display system 112 according to some embodiments. The touch-sensitive display 112 is sometimes referred to as a "touch screen" for convenience, and is sometimes referred to as or referred to as a "touch-sensitive display system." The device 100 includes a memory 102 (which optionally includes one or more computer-readable storage media), a memory controller 122, one or more processing units (CPUs) 120, a peripheral device interface 118, an RF circuit 108, an audio circuit 110, a speaker 111, a microphone 113, an input / output (I / O) subsystem 106, other input control devices 116, and an external port 124. The device 100 optionally includes one or more optical sensors 164. The device 100 optionally includes one or more contact force sensors 165 for detecting the intensity of contact on the device 100 (e.g., a touch-sensitive surface, such as the touch-sensitive display system 112 of the device 100). Device 100 optionally includes one or more tactile output generators 167 for generating tactile output on device 100 (e.g., generating tactile output on a touch-sensitive surface such as touch-sensitive display system 112 of device 100 or touch pad 355 of device 300). These components optionally communicate via one or more communication buses or signal lines 103.
[0048] As used in this specification and claims, the term "intensity" of a contact on a touch-sensitive surface refers to the force or pressure (force per unit area) of a contact (e.g., a finger contact) on the touch-sensitive surface, or to a surrogate (surrogate) of the force or pressure of a contact on the touch-sensitive surface. The intensity of a contact has a range of values that includes at least four different values and more typically includes hundreds of different values (e.g., at least 256). The intensity of a contact is optionally determined (or measured) using various methods and various sensors or combinations of sensors. For example, one or more force sensors below or adjacent to the touch-sensitive surface are optionally used to measure the force at different points on the touch-sensitive surface. In some implementations, force measurements from multiple force sensors are combined (e.g., weighted averaged) to determine an estimated contact force. Similarly, the pressure-sensitive tip of a stylus is optionally used to determine the pressure of the stylus on the touch-sensitive surface. Alternatively, the size of the contact area detected on the touch-sensitive surface and / or its change, the capacitance of the touch-sensitive surface near the contact and / or its change, and / or the resistance of the touch-sensitive surface near the contact and / or its change are optionally used as a substitute for the force or pressure of the contact on the touch-sensitive surface. In some embodiments, the substitute measurement of the contact force or pressure is used directly to determine whether the intensity threshold has been exceeded (e.g., the intensity threshold is described in units corresponding to the substitute measurement). In some embodiments, the substitute measurement of the contact force or pressure is converted into an estimated force or pressure, and the estimated force or pressure is used to determine whether the intensity threshold has been exceeded (e.g., the intensity threshold is a pressure threshold measured in units of pressure). Using the intensity of the contact as an attribute of the user input allows the user to access additional device functions that would otherwise be inaccessible to the user on a smaller device with limited real estate, which is used to display an enable indication (e.g., on a touch-sensitive display) and / or receive user input (e.g., via a touch-sensitive display, a touch-sensitive surface, or a physical control / mechanical control, such as a knob or button).
[0049] As used in this specification and claims, the term "tactile output" refers to a physical displacement of a device relative to a previous position of the device, a physical displacement of a component of the device (e.g., a touch-sensitive surface) relative to another component of the device (e.g., a housing), or a displacement of a component relative to the center of mass of the device, which will be detected by a user using the user's sense of touch. For example, in the case where a device or a component of the device is in contact with a user's touch-sensitive surface (e.g., a finger, palm, or other part of the user's hand), the tactile output generated by the physical displacement will be interpreted by the user as a tactile sensation corresponding to a perceived change in a physical characteristic of the device or component of the device. For example, movement of a touch-sensitive surface (e.g., a touch-sensitive display or trackpad) is optionally interpreted by the user as a "press click" or "release click" to a physical actuation button. In some cases, the user will feel a tactile sensation, such as a "press click" or "release click", even when the physical actuation button associated with the touch-sensitive surface that is physically pressed (e.g., displaced) by the user's movement does not move. As another example, even when there is no change in the smoothness of the touch-sensitive surface, movement of the touch-sensitive surface may optionally be interpreted or sensed by the user as "roughness" of the touch-sensitive surface. Although such a user's interpretation of touch will be limited by the user's individualized sensory perceptions, many sensory perceptions of touch are common to most users. Thus, when a tactile output is described as corresponding to a particular sensory perception of a user (e.g., "press click," "release click," "roughness"), unless otherwise stated, the generated tactile output corresponds to a physical displacement of the device or a component thereof that would generate that sensory perception for a typical (or average) user.
[0050] It should be understood that device 100 is merely one example of a portable multifunction device, and that device 100 optionally has more or fewer components than shown, optionally combines two or more components, or optionally has a different configuration or arrangement of the components. Figure 1A The various components shown in the EMBODIMENTS 2000 are implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.
[0051] Memory 102 optionally includes high-speed random access memory, and optionally also includes non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state memory devices. Memory controller 122 optionally controls other components of device 100 to access memory 102.
[0052] The peripheral device interface 118 can be used to couple the input peripheral devices and output peripheral devices of the device to the CPU 120 and the memory 102. The one or more processors 120 run or execute various software programs and / or instruction sets stored in the memory 102 to perform various functions of the device 100 and process data. In some embodiments, the peripheral device interface 118, the CPU 120, and the memory controller 122 are optionally implemented on a single chip such as the chip 104. In some other embodiments, they are optionally implemented on separate chips.
[0053] RF (radio frequency) circuit 108 receives and sends RF signals, also referred to as electromagnetic signals. RF circuit 108 converts electrical signals into / converts electromagnetic signals into electrical signals, and communicates with communication networks and other communication devices via electromagnetic signals. RF circuit 108 optionally includes well-known circuits for performing these functions, including but not limited to antenna systems, RF transceivers, one or more amplifiers, tuners, one or more oscillators, digital signal processors, codec chipsets, user identity modules (SIM) cards, memories, and the like. RF circuit 108 optionally communicates with networks and other devices via wireless communications, such as the Internet (also referred to as the World Wide Web (WWW)), intranets, and / or wireless networks (such as cellular telephone networks, wireless local area networks (LANs), and / or metropolitan area networks (MANs)). RF circuit 108 optionally includes well-known circuits for detecting near field communications (NFC) fields, such as through short-range communications radio components. Wireless communication optionally uses any of a variety of communication standards, protocols and technologies, including, but not limited to, Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), High Speed Downlink Packet Access (HSDPA), High Speed Uplink Packet Access (HSUPA), Evolution, Data-Only (EV-DO), HSPA, HSPA+, Dual Cell HSPA (DC-HSPDA), Long Term Evolution (LTE), Near Field Communication (NFC), Wideband Code Division Multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Bluetooth, Bluetooth Low Energy (BTLE), Wireless Fidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, IEEE 802.11d), IEEE 802.11e, IEEE 802.11f, IEEE 802.11g, IEEE 802.11g). 802.11n and / or IEEE 802.11ac), Voice over Internet Protocol (VoIP), Wi-MAX, email protocols (e.g., Internet Message Access Protocol (IMAP) and / or Post Office Protocol (POP)), instant messaging (e.g., Extensible Messaging and Presence Protocol (XMPP), Session Initiation Protocol for Instant Messaging and Presence Utilizing Extensions (SIMPLE), Instant Messaging and Presence Service (IMPS)), and / or Short Message Service (SMS), or any other suitable communication protocol including communication protocols that have not been developed as of the filing date of this document.
[0054] The audio circuit 110, speaker 111, and microphone 113 provide an audio interface between a user and the device 100. The audio circuit 110 receives audio data from the peripheral device interface 118, converts the audio data into electrical signals, and transmits the electrical signals to the speaker 111. The speaker 111 converts the electrical signals into sound waves audible to humans. The audio circuit 110 also receives electrical signals converted from sound waves by the microphone 113. The audio circuit 110 converts the electrical signals into audio data and transmits the audio data to the peripheral device interface 118 for processing. The audio data is optionally retrieved from and / or transmitted to the memory 102 and / or the RF circuit 108 by the peripheral device interface 118. In some embodiments, the audio circuit 110 also includes a headset jack (e.g., Figure 2 The headset jack provides an interface between the audio circuit 110 and a removable audio input / output peripheral device, such as an output-only headset or a headset having both output (e.g., a single or dual-ear headset) and input (e.g., a microphone).
[0055] The I / O subsystem 106 couples input / output peripherals on the device 100, such as a touch screen 112 and other input control devices 116, to a peripheral device interface 118. The I / O subsystem 106 optionally includes a display controller 156, an optical sensor controller 158, an intensity sensor controller 159, a tactile feedback controller 161, and one or more input controllers 160 for other input or control devices. The one or more input controllers 160 receive / send electrical signals from other input control devices 116. The other input control devices 116 optionally include physical buttons (e.g., push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels, etc. In some alternative embodiments, the input controller 160 is optionally coupled to any of the following (or none of the following): a keyboard, an infrared port, a USB port, and a pointing device such as a mouse. One or more buttons (e.g., Figure 2 208) optionally includes an increase / decrease button for volume control of the speaker 111 and / or the microphone 113. The one or more buttons optionally include a push button (e.g., Figure 2 206).
[0056] A quick press of the push button optionally disengages the lock of the touch screen 112 or optionally begins the process of unlocking the device using gestures on the touch screen, as described in U.S. Patent Application 11 / 322,549, filed on December 23, 2005, entitled "Unlocking a Device by Performing Gestures on an Unlock Image" (i.e., U.S. Patent No. 7,657,849), which is hereby incorporated by reference in its entirety. A long press of the push button (e.g., 206) optionally turns the device 100 on or off. The functions of one or more buttons are optionally user-customizable. The touch screen 112 is used to implement virtual buttons or soft buttons and one or more soft keyboards.
[0057] The touch-sensitive display 112 provides an input interface and an output interface between the device and the user. The display controller 156 receives electrical signals from the touch screen 112 and / or sends electrical signals to the touch screen 112. The touch screen 112 displays visual output to the user. The visual output optionally includes graphics, text, icons, videos, and any combination thereof (collectively referred to as "graphics"). In some embodiments, some or all of the visual output optionally corresponds to user interface objects.
[0058] The touch screen 112 has a touch-sensitive surface, sensor, or sensor group that accepts input from a user based on tactile and / or haptic contact. The touch screen 112 and display controller 156 (together with any associated modules and / or instruction sets in memory 102) detect contact on the touch screen 112 (and any movement or interruption of the contact) and convert the detected contact into interaction with a user interface object (e.g., one or more soft keys, icons, web pages, or images) displayed on the touch screen 112. In an exemplary embodiment, the point of contact between the touch screen 112 and the user corresponds to a finger of the user.
[0059] The touch screen 112 optionally uses LCD (liquid crystal display) technology, LPD (light emitting polymer display) technology, or LED (light emitting diode) technology, although other display technologies are used in other embodiments. The touch screen 112 and display controller 156 optionally use any of a variety of touch sensing technologies now known or later developed, including but not limited to capacitive, resistive, infrared, and surface acoustic wave technologies, as well as other proximity sensor arrays or other elements for determining one or more points of contact with the touch screen 112 to detect contact and any movement or interruption thereof. In an exemplary embodiment, projected mutual capacitance sensing technology is used, such as in the Apple ® from Apple Inc. (Cupertino, California). and The technology used in.
[0060] The touch-sensitive display in some embodiments of the touch screen 112 is optionally similar to the multi-touch-sensitive trackpad described in the following U.S. Patents: 6,323,846 (Westerman et al.), 6,570,557 (Westerman et al.), and / or 6,677,932 (Westerman et al.), and / or U.S. Patent Publication 2002 / 0015024A1, each of which is hereby incorporated by reference in its entirety. However, the touch screen 112 displays visual output from the device 100, while the touch-sensitive trackpad does not provide visual output.
[0061] In some embodiments, the touch-sensitive display of the touch screen 112 is as described in the following patent applications: (1) U.S. patent application No. 11 / 381,313, entitled “Multipoint Touch Surface Controller,” filed on May 2, 2006; (2) U.S. patent application No. 10 / 840,862, entitled “Multipoint Touchscreen,” filed on May 6, 2004; (3) U.S. patent application No. 10 / 903,964, entitled “Gestures For Touch Sensitive Input Devices,” filed on July 30, 2004; (4) U.S. patent application No. 11 / 048,264, entitled “Gestures For Touch Sensitive Input Devices,” filed on January 31, 2005; (5) U.S. patent application No. 11 / 086,874, entitled “Mode-Based Graphical User Interfaces For Touch Sensitive Input Devices,” filed on January 18, 2005 and (9) U.S. patent application No. 11 / 367,749, filed on March 3, 2006, entitled “Multi-Functional Hand-Held Device.” All of these applications are hereby incorporated by reference in their entirety.
[0062] The touch screen 112 optionally has a video resolution of more than 100 dpi. In some embodiments, the touch screen has a video resolution of about 160 dpi. The user optionally uses any suitable object or attachment such as a stylus, finger, etc. to contact the touch screen 112. In some embodiments, the user interface is designed to work primarily through finger-based contacts and gestures, which may not be as precise as stylus-based input due to the larger contact area of the finger on the touch screen. In some embodiments, the device converts rough finger-based input into precise pointer / cursor positions or commands for performing the actions desired by the user.
[0063] In some embodiments, in addition to the touch screen, the device 100 optionally includes a touchpad (not shown) for activating or deactivating specific functions. In some embodiments, the touchpad is a touch-sensitive area of the device that, unlike the touch screen, does not display visual output. The touchpad is optionally a touch-sensitive surface that is separate from the touch screen 112 or an extension of the touch-sensitive surface formed by the touch screen.
[0064] The device 100 also includes a power system 162 for powering the various components. The power system 162 optionally includes a power management system, one or more power sources (e.g., batteries, alternating current (AC)), a recharging system, a power fault detection circuit, a power converter or inverter, a power status indicator (e.g., a light emitting diode (LED)), and any other components associated with the generation, management, and distribution of power in a portable device.
[0065] Device 100 optionally also includes one or more optical sensors 164 . Figure 1AAn optical sensor coupled to an optical sensor controller 158 in the I / O subsystem 106 is shown. The optical sensor 164 optionally includes a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The optical sensor 164 receives light projected through one or more lenses from the environment and converts the light into data representing an image. In conjunction with the camera module 143 (also called an imaging module), the optical sensor 164 optionally captures a static image or video. In some embodiments, the optical sensor is located on the rear of the device 100, opposite to the touch screen display 112 on the front of the device, so that the touch screen display can be used as a viewfinder for static images and / or video image acquisition. In some embodiments, the optical sensor is located on the front of the device so that the user's image is optionally obtained for video conferencing while the user views other video conference participants on the touch screen display. In some embodiments, the position of the optical sensor 164 can be changed by the user (e.g., by rotating the lens and sensor in the device housing) so that a single optical sensor 164 is used with the touch screen display for both video conferencing and static image and / or video image acquisition.
[0066] Device 100 optionally also includes one or more contact intensity sensors 165 . Figure 1A A contact force sensor is shown coupled to a force sensor controller 159 in the I / O subsystem 106. Contact force sensor 165 optionally includes one or more piezoresistive strain gauges, capacitive force sensors, electrical force sensors, piezoelectric force sensors, optical force sensors, capacitive touch-sensitive surfaces, or other force sensors (e.g., sensors for measuring the force (or pressure) of contact on a touch-sensitive surface). Contact force sensor 165 receives contact force information (e.g., pressure information or a surrogate for pressure information) from the environment. In some embodiments, at least one contact force sensor is juxtaposed or adjacent to a touch-sensitive surface (e.g., touch-sensitive display system 112). In some embodiments, at least one contact force sensor is located on the back of device 100, opposite to touch screen display 112 located on the front of device 100.
[0067] Device 100 optionally also includes one or more proximity sensors 166 . Figure 1AA proximity sensor 166 is shown coupled to the peripherals interface 118. Alternatively, the proximity sensor 166 is optionally coupled to the input controller 160 in the I / O subsystem 106. The proximity sensor 166 is optionally implemented as described in the following U.S. patent applications: No. 11 / 241,839, entitled "Proximity Detector In Handheld Device"; No. 11 / 240,788, entitled "Proximity Detector In Handheld Device"; No. 11 / 620,702, entitled "Using Ambient Light Sensor To Augment Proximity Sensor Output"; No. 11 / 586,862, entitled "Automated Response To And Sensing Of User Activity In Portable Devices"; and No. 11 / 638,251, entitled "Methods And Systems For Automatic Configuration Of Peripherals", which are hereby incorporated by reference in their entirety. In some embodiments, when the multifunction device is placed near the user's ear (e.g., when the user is on a phone call), the proximity sensor turns off and disables the touch screen 112.
[0068] Device 100 optionally also includes one or more tactile output generators 167 . Figure 1AA tactile output generator is shown coupled to a tactile feedback controller 161 in the I / O subsystem 106. The tactile output generator 167 optionally includes one or more electroacoustic devices such as a speaker or other audio component; and / or an electromechanical device for converting energy into linear motion such as a motor, solenoid, electroactive polymer, piezoelectric actuator, electrostatic actuator, or other tactile output generating component (e.g., a component for converting an electrical signal into a tactile output on the device). The contact force sensor 165 receives tactile feedback generation instructions from the tactile feedback module 133 and generates a tactile output on the device 100 that can be felt by a user of the device 100. In some embodiments, at least one tactile output generator is arranged in parallel or adjacent to a touch-sensitive surface (e.g., a touch-sensitive display system 112) and optionally generates a tactile output by moving the touch-sensitive surface vertically (e.g., inward / outward of the surface of the device 100) or laterally (e.g., backward and forward in the same plane as the surface of the device 100). In some embodiments, at least one tactile output generator sensor is located on the back of the device 100, opposite the touch screen display 112 located on the front of the device 100.
[0069] Device 100 optionally also includes one or more accelerometers 168 . Figure 1A An accelerometer 168 is shown coupled to the peripherals interface 118. Alternatively, the accelerometer 168 is optionally coupled to the input controller 160 in the I / O subsystem 106. The accelerometer 168 optionally implements as described in the following U.S. Patent Publication No. 20050190059, entitled "Acceleration-based Theft Detection System for Portable Electronic Devices" and U.S. Patent Publication No. 20060017692, entitled "Methods And Apparatuses For Operating A Portable Device Based On An Accelerometer", both of which are incorporated herein by reference in their entirety. In some embodiments, information is displayed in a portrait view or a landscape view on the touch screen display based on analysis of data received from one or more accelerometers. Device 100 optionally includes a magnetometer (not shown) and a GPS (or GLONASS or other global navigation system) receiver (not shown) in addition to accelerometer 168 for obtaining information about the position and orientation (e.g., portrait or landscape) of device 100.
[0070] In some embodiments, the software components stored in memory 102 include an operating system 126, a communication module (or instruction set) 128, a contact / motion module (or instruction set) 130, a graphics module (or instruction set) 132, a text input module (or instruction set) 134, a global positioning system (GPS) module (or instruction set) 135, and an application (or instruction set) 136. In addition, in some embodiments, memory 102 ( Figure 1A ) or 370( Figure 3 ) storage device / global internal state 157, such as Figure 1A and Figure 3 . The device / global internal state 157 includes one or more of the following: an active application state, which indicates which applications (if any) are currently active; a display state, which indicates what applications, views, or other information occupy various areas of the touch screen display 112; a sensor state, including information obtained from the device's various sensors and input control devices 116; and position information about the device's position and / or posture.
[0071] The operating system 126 (e.g., Darwin, RTXC, LINUX, UNIX, OS X, iOS, WINDOWS, or an embedded operating system such as VxWorks) includes various software components and / or drivers for controlling and managing general system tasks (e.g., memory management, storage device control, power management, etc.), and facilitating communication between various hardware components and software components.
[0072] The communication module 128 facilitates communication with other devices through one or more external ports 124, and also includes various software components for processing data received by the RF circuit 108 and / or the external port 124. The external port 124 (e.g., Universal Serial Bus (USB), FireWire, etc.) is suitable for coupling directly to other devices, or indirectly through a network (e.g., the Internet, wireless LAN, etc.). In some embodiments, the external port is connected to (trademark of Apple Inc.) devices.
[0073] The contact / motion module 130 optionally detects contact with the touch screen 112 (in conjunction with the display controller 156) and other touch-sensitive devices (e.g., a touchpad or physical click wheel). The contact / motion module 130 includes various software components for performing various operations related to contact detection, such as determining whether contact has occurred (e.g., detecting a finger press event), determining the contact strength (e.g., the force or pressure of the contact, or a substitute for the force or pressure of the contact), determining whether there is movement of the contact and tracking the movement on the touch-sensitive surface (e.g., detecting one or more finger drag events), and determining whether the contact has stopped (e.g., detecting a finger lift event or contact disconnection). The contact / motion module 130 receives contact data from the touch-sensitive surface. Determining the movement of a contact point optionally includes determining a rate (magnitude), velocity (magnitude and direction), and / or acceleration (change in magnitude and / or direction) of the contact point, the movement of which is represented by a series of contact data. These operations are optionally applied to a single point of contact (e.g., a single finger contact) or multiple points of simultaneous contact (e.g., "multi-touch" / multiple finger contacts). In some embodiments, the contact / motion module 130 and display controller 156 detect contact on a touch pad.
[0074] In some embodiments, the contact / motion module 130 uses a set of one or more intensity thresholds to determine whether an operation has been performed by a user (e.g., to determine whether a user has "clicked" an icon). In some embodiments, at least a subset of the intensity thresholds are determined based on software parameters (e.g., the intensity thresholds are not determined by the activation thresholds of specific physical actuators and can be adjusted without changing the physical hardware of the device 100). For example, without changing the touchpad or touchscreen display hardware, the mouse "click" threshold of a touchpad or touchscreen can be set to any one of a large range of predefined thresholds. In addition, in some specific implementations, a software setting is provided to the user of the device for adjusting one or more intensity thresholds in a set of intensity thresholds (e.g., by adjusting individual intensity thresholds and / or by utilizing a system-level click on an "intensity" parameter to adjust multiple intensity thresholds at once).
[0075] The contact / motion module 130 optionally detects gesture input by the user. Different gestures on the touch-sensitive surface have different contact patterns (e.g., different motions, timings, and / or intensities of the detected contacts). Therefore, gestures are optionally detected by detecting specific contact patterns. For example, detecting a finger tap gesture includes detecting a finger press event, and then detecting a finger lift (lift-off) event at the same location (or substantially the same location) as the finger press event (e.g., at the location of an icon). As another example, detecting a finger swipe gesture on the touch-sensitive surface includes detecting a finger press event, then detecting one or more finger drag events, and then detecting a finger lift (lift-off) event.
[0076] The graphics module 132 includes various known software components for rendering and displaying graphics on the touch screen 112 or other display, including components for changing the visual impact (e.g., brightness, transparency, saturation, contrast, or other visual attributes) of the displayed graphics. As used herein, the term "graphics" includes any object that can be displayed to a user, including, but not limited to, text, web pages, icons (such as user interface objects including soft keys), digital images, videos, animations, etc.
[0077] In some embodiments, the graphics module 132 stores data representing graphics to be used. Each graphic is optionally assigned a corresponding code. The graphics module 132 receives one or more codes for specifying the graphics to be displayed from an application program, etc., and also receives coordinate data and other graphic attribute data together if necessary, and then generates screen image data to be output to the display controller 156.
[0078] Haptic feedback module 133 includes various software components for generating instructions used by tactile output generator 167 to produce tactile output at one or more locations on device 100 in response to user interaction with device 100 .
[0079] Text input module 134, which is optionally a component of graphics module 132, provides a soft keyboard for entering text in various applications (e.g., contacts 137, email 140, IM module 141, browser 147, and any other application requiring text input).
[0080] The GPS module 135 determines the location of the device and provides this information for use in various applications (e.g., to the phone module 138 for use in location-based dialing; to the camera module 143 as picture / video metadata; and to applications that provide location-based services, such as the Weather widget, the Local Pages widget, and the Maps / Navigation widget).
[0081] The application 136 optionally includes the following modules (or instruction sets) or a subset or superset thereof:
[0082] Contacts module 137 (sometimes called address book or contact list);
[0083] Telephone module 138;
[0084] Video conferencing module 139;
[0085] Email client module 140;
[0086] Instant messaging (IM) module 141;
[0087] Fitness support module 142;
[0088] A camera module 143 for still images and / or video images;
[0089] Image management module 144;
[0090] Video player module;
[0091] Music player module;
[0092] Browser module 147;
[0093] Calendar module 148;
[0094] A widget module 149, which optionally includes one or more of the following: a weather widget 149-1, a stock widget 149-2, a calculator widget 149-3, an alarm widget 149-4, a dictionary widget 149-5, and other widgets acquired by the user, and a user-created widget 149-6;
[0095] A widget creator module 150 for forming a user-created widget 149-6;
[0096] Search module 151;
[0097] Video and music player module 152, which merges the video player module and the music player module;
[0098] Notepad module 153;
[0099] Map module 154; and / or
[0100] Online video module 155.
[0101] Examples of other applications 136 optionally stored in memory 102 include other word processing applications, other image editing applications, drawing applications, rendering applications, JAVA-enabled applications, encryption, digital rights management, voice recognition, and voice replication.
[0102] In conjunction with the touch screen 112, display controller 156, touch / motion module 130, graphics module 132, and text input module 134, the contact module 137 is optionally used to manage an address book or contact list (e.g., stored in the application internal state 192 of the contact module 137 in memory 102 or memory 370), including: adding one or more names to the address book; deleting names from the address book; associating telephone numbers, email addresses, physical addresses, or other information with names; associating images with names; categorizing and classifying names; providing telephone numbers or email addresses to initiate and / or facilitate communications via the telephone module 138, video conferencing module 139, email 140, or IM module 141; and the like.
[0103] In conjunction with RF circuitry 108, audio circuitry 110, speaker 111, microphone 113, touch screen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, phone module 138 is optionally used to enter a sequence of characters corresponding to a phone number, access one or more phone numbers in contact module 137, modify an entered phone number, dial a corresponding phone number, conduct a conversation, and disconnect or hang up when the conversation is complete. As described above, wireless communication optionally uses any of a variety of communication standards, protocols, and technologies.
[0104] In combination with the RF circuit 108, the audio circuit 110, the speaker 111, the microphone 113, the touch screen 112, the display controller 156, the optical sensor 164, the optical sensor controller 158, the contact / motion module 130, the graphics module 132, the text input module 134, the contact module 137 and the telephone module 138, the video conferencing module 139 includes executable instructions for initiating, conducting and terminating a video conference between a user and one or more other participants in accordance with user instructions.
[0105] In conjunction with RF circuit 108, touch screen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, email client module 140 includes executable instructions for creating, sending, receiving, and managing emails in response to user instructions. In conjunction with image management module 144, email client module 140 makes it very easy to create and send emails with still images or video images captured by camera module 143.
[0106] In conjunction with RF circuit 108, touch screen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, instant messaging module 141 includes executable instructions for the following operations: inputting a character sequence corresponding to an instant message, modifying previously input characters, transmitting a corresponding instant message (e.g., using a short message service (SMS) or multimedia message service (MMS) protocol for phone-based instant messaging or using XMPP, SIMPLE, or IMPS for Internet-based instant messaging), receiving instant messages, and viewing received instant messages. In some embodiments, the transmitted and / or received instant messages optionally include graphics, photos, audio files, video files, and / or other attachments supported in MMS and / or enhanced messaging services (EMS). As used herein, "instant messaging" refers to both phone-based messages (e.g., messages sent using SMS or MMS) and Internet-based messages (e.g., messages sent using XMPP, SIMPLE, or IMPS).
[0107] In combination with the RF circuit 108, the touch screen 112, the display controller 156, the contact / motion module 130, the graphics module 132, the text input module 134, the GPS module 135, the map module 154 and the music player module, the fitness support module 142 includes executable instructions for creating a fitness (e.g., with time, distance and / or calorie burn goals); communicating with fitness sensors (sports equipment); receiving fitness sensor data; calibrating sensors for monitoring fitness; selecting and playing music for fitness; and displaying, storing and transmitting fitness data.
[0108] In conjunction with the touch screen 112, display controller 156, optical sensor 164, optical sensor controller 158, contact / motion module 130, graphics module 132 and image management module 144, the camera module 143 includes executable instructions for the following operations: capturing still images or videos (including video streams) and storing them in the memory 102, modifying the characteristics of the still images or videos, or deleting the still images or videos from the memory 102.
[0109] In conjunction with touch screen 112, display controller 156, touch / motion module 130, graphics module 132, text input module 134, and camera module 143, image management module 144 includes executable instructions for arranging, modifying (e.g., editing), or otherwise manipulating, labeling, deleting, presenting (e.g., in a digital slideshow or album), and storing still images and / or video images.
[0110] In combination with the RF circuit 108, the touch screen 112, the display controller 156, the touch / motion module 130, the graphics module 132 and the text input module 134, the browser module 147 includes executable instructions for browsing the Internet in accordance with user instructions, including searching, linking to, receiving and displaying web pages or portions thereof, as well as attachments and other files linked to web pages.
[0111] In combination with the RF circuit 108, the touch screen 112, the display controller 156, the touch / motion module 130, the graphics module 132, the text input module 134, the email client module 140 and the browser module 147, the calendar module 148 includes executable instructions for creating, displaying, modifying and storing calendars and data associated with the calendar (e.g., calendar entries, to-do items, etc.) in accordance with user instructions.
[0112] In conjunction with the RF circuit 108, the touch screen 112, the display controller 156, the contact / motion module 130, the graphics module 132, the text input module 134, and the browser module 147, the desktop widget module 149 is a mini-application that is optionally downloaded and used by the user (e.g., the weather desktop widget 149-1, the stock desktop widget 149-2, the calculator desktop widget 149-3, the alarm desktop widget 149-4, and the dictionary desktop widget 149-5) or a mini-application created by the user (e.g., the user-created desktop widget 149-6). In some embodiments, the desktop widget includes an HTML (Hypertext Markup Language) file, a CSS (Cascading Style Sheets) file, and a JavaScript file. In some embodiments, the desktop widget includes an XML (Extensible Markup Language) file and a JavaScript file (e.g., the Yahoo! desktop widget).
[0113] In combination with the RF circuit 108, touch screen 112, display controller 156, touch / motion module 130, graphics module 132, text input module 134 and browser module 147, the desktop widget creator module 150 is optionally used by a user to create a desktop widget (e.g., converting a user-specified portion of a web page into a desktop widget).
[0114] In combination with the touch screen 112, display controller 156, contact / motion module 130, graphics module 132 and text input module 134, the search module 151 includes executable instructions for searching the memory 102 for text, music, sound, images, videos and / or other files that match one or more search criteria (e.g., one or more user-specified search terms) in accordance with user instructions.
[0115] In conjunction with touch screen 112, display controller 156, contact / motion module 130, graphics module 132, audio circuitry 110, speaker 111, RF circuitry 108, and browser module 147, video and music player module 152 includes executable instructions that allow a user to download and play back recorded music and other sound files stored in one or more file formats, such as MP3 or AAC files, and executable instructions for displaying, presenting, or otherwise playing back video (e.g., on touch screen 112 or on an external display connected via external port 124). In some embodiments, device 100 optionally includes the functionality of an MP3 player, such as an iPod (trademark of Apple Inc.).
[0116] In conjunction with the touch screen 112, display controller 156, contact / motion module 130, graphics module 132 and text input module 134, the notepad module 153 includes executable instructions for creating and managing notes, to-do lists, etc. according to user instructions.
[0117] In combination with the RF circuit 108, the touch screen 112, the display controller 156, the touch / motion module 130, the graphics module 132, the text input module 134, the GPS module 135 and the browser module 147, the map module 154 is optionally used to receive, display, modify and store maps and data associated with the maps (e.g., driving directions, data relating to stores and other points of interest at or near a particular location, and other location-based data) in accordance with user instructions.
[0118] In conjunction with touch screen 112, display controller 156, contact / motion module 130, graphics module 132, audio circuit 110, speaker 111, RF circuit 108, text input module 134, email client module 140, and browser module 147, online video module 155 includes instructions for performing the following operations: allowing a user to access, browse, receive (e.g., by streaming and / or downloading), playback (e.g., on the touch screen or on an external display connected via external port 124), send an email with a link to a specific online video, and otherwise manage online videos in one or more file formats such as H.264. In some embodiments, instant messaging module 141 is used instead of email client module 140 to send a link to a specific online video. Additional descriptions of online video applications can be found in U.S. Provisional Patent Application No. 60 / 936,562, filed on June 20, 2007, entitled “Portable Multifunction Device, Method, and Graphical User Interface for Playing Online Videos,” and U.S. Patent Application No. 11 / 968,067, filed on December 31, 2007, entitled “Portable Multifunction Device, Method, and Graphical User Interface for Playing Online Videos,” the contents of which are hereby incorporated by reference in their entirety.
[0119] Each of the modules and applications described above corresponds to an executable instruction set for performing one or more of the functions described above and the methods described in this patent application (e.g., the computer-implemented methods and other information processing methods described herein). These modules (e.g., instruction sets) do not have to be implemented as independent software programs, processes, or modules, so various subsets of these modules are optionally combined or otherwise rearranged in various embodiments. For example, a video player module is optionally combined with a music player module into a single module (e.g., Figure 1A In some embodiments, the memory 102 optionally stores a subset of the above modules and data structures. In addition, the memory 102 optionally stores additional modules and data structures not described above.
[0120] In some embodiments, the device 100 is a device on which operation of a predefined set of functions is performed exclusively through a touch screen and / or a touch pad. By using a touch screen and / or a touch pad as the primary input control device for operating the device 100, the number of physical input control devices (e.g., push buttons, dials, etc.) on the device 100 is optionally reduced.
[0121] A predefined set of functions that are performed exclusively through the touch screen and / or trackpad optionally includes navigation between user interfaces. In some embodiments, the trackpad, when touched by the user, navigates the device 100 to a main menu, a home menu, or a root menu from any user interface displayed on the device 100. In such embodiments, a "menu button" is implemented using a trackpad. In some other embodiments, the menu button is a physical push button or other physical input control device, rather than a trackpad.
[0122] Figure 1B 1 is a block diagram illustrating exemplary components for event processing according to some embodiments. In some embodiments, memory 102 ( Figure 1A ) or memory 370( Figure 3 ) includes an event classifier 170 (e.g., in the operating system 126) and a corresponding application 136-1 (e.g., any one of the aforementioned applications 137 to 151, 155, 380 to 390).
[0123] Event classifier 170 receives event information and determines the application 136-1 and the application view 191 of application 136-1 to which the event information is to be delivered. Event classifier 170 includes event monitor 171 and event distributor module 174. In some embodiments, application 136-1 includes application internal state 192, which indicates one or more current application views displayed on touch-sensitive display 112 when the application is active or executing. In some embodiments, device / global internal state 157 is used by event classifier 170 to determine which application(s) is currently active, and application internal state 192 is used by event classifier 170 to determine the application view 191 to which the event information is to be delivered.
[0124] In some embodiments, the application internal state 192 includes additional information, such as one or more of the following: resumption information to be used when the application 136-1 resumes execution, user interface state information indicating that information is being displayed or is ready to be displayed by the application 136-1, a state queue for enabling a user to return to a previous state or view of the application 136-1, and a repeat / undo queue of previous actions taken by the user.
[0125] Event monitor 171 receives event information from peripherals interface 118. Event information includes information about sub-events (e.g., user touches on touch-sensitive display 112 as part of a multi-touch gesture). Peripherals interface 118 transmits information it receives from I / O subsystem 106 or sensors such as proximity sensor 166, one or more accelerometers 168, and / or microphone 113 (through audio circuit 110). The information that peripherals interface 118 receives from I / O subsystem 106 includes information from touch-sensitive display 112 or a touch-sensitive surface.
[0126] In some embodiments, event monitor 171 sends requests to peripheral device interface 118 at predetermined intervals. In response, peripheral device interface 118 transmits event information. In other embodiments, peripheral device interface 118 transmits event information only when there is a significant event (e.g., receiving an input above a predetermined noise threshold and / or receiving an input for more than a predetermined duration).
[0127] In some embodiments, the event classifier 170 also includes a hit view determination module 172 and / or an active event identifier determination module 173.
[0128] When the touch-sensitive display 112 displays more than one view, the hit view determination module 172 provides software procedures for determining where within one or more views a sub-event has occurred. A view consists of controls and other elements that a user can see on the display.
[0129] Another aspect of the user interface associated with an application is a set of views, sometimes also referred to herein as application views or user interface windows, in which information is displayed and touch-based gestures occur. The application views (of the respective application) in which a touch is detected optionally correspond to a programmatic level within the programmatic or view hierarchy of the application. For example, the lowest level view in which a touch is detected is optionally referred to as a hit view, and the set of events recognized as correct input is optionally determined at least in part based on the hit view of the initial touch that started the touch-based gesture.
[0130] Hit view determination module 172 receives information related to sub-events of touch-based gestures. When an application has multiple views organized in a hierarchy, hit view determination module 172 identifies the hit view as the lowest view in the hierarchy where the sub-events should be processed. In most cases, the hit view is the lowest level view in which the initiating sub-event (e.g., the first sub-event in a sequence of sub-events that form an event or potential event) occurs. Once a hit view is identified by hit view determination module 172, the hit view typically receives all sub-events related to the same touch or input source for which it was identified as the hit view.
[0131] Active event recognizer determination module 173 determines which view or views within the view hierarchy should receive a particular sequence of sub-events. In some embodiments, active event recognizer determination module 173 determines that only the hit view should receive a particular sequence of sub-events. In other embodiments, active event recognizer determination module 173 determines that all views that include the physical location of the sub-event are actively participating views, and therefore determines that all actively participating views should receive a particular sequence of sub-events. In other embodiments, even if a touch sub-event is completely confined to an area associated with one particular view, higher views in the hierarchy will still remain as actively participating views.
[0132] Event distributor module 174 distributes event information to event recognizers (e.g., event recognizers 180). In embodiments including active event recognizer determination module 173, event distributor module 174 delivers the event information to the event recognizers determined by active event recognizer determination module 173. In some embodiments, event distributor module 174 stores the event information in an event queue, which is retrieved by corresponding event receivers 182.
[0133] In some embodiments, operating system 126 includes event classifier 170. Alternatively, application 136-1 includes event classifier 170. In yet another embodiment, event classifier 170 is a standalone module or is part of another module stored in memory 102, such as contact / motion module 130.
[0134] In some embodiments, application 136-1 includes multiple event handlers 190 and one or more application views 191, each of which includes instructions for handling touch events occurring in a corresponding view of the user interface of the application. Each application view 191 of application 136-1 includes one or more event recognizers 180. Typically, the corresponding application view 191 includes multiple event recognizers 180. In other embodiments, one or more event recognizers in event recognizers 180 are part of an independent module, which is a higher-level object such as a user interface toolkit (not shown) or application 136-1 from which methods and other properties are inherited. In some embodiments, the corresponding event handler 190 includes one or more of the following: data updater 176, object updater 177, GUI updater 178, and / or event data 179 received from event classifier 170. Event handler 190 optionally utilizes or calls data updater 176, object updater 177 or GUI updater 178 to update application internal state 192. Alternatively, one or more of the application views in application view 191 include one or more corresponding event handlers 190. In addition, in some embodiments, one or more of data updater 176, object updater 177, and GUI updater 178 are included in the corresponding application view 191.
[0135] The corresponding event identifier 180 receives event information (e.g., event data 179) from the event classifier 170 and identifies the event based on the event information. The event identifier 180 includes an event receiver 182 and an event comparator 184. In some embodiments, the event identifier 180 also includes metadata 183 and at least a subset of event delivery instructions 188 (which optionally include sub-event delivery instructions).
[0136] Event receiver 182 receives event information from event classifier 170. Event information includes information about sub-events such as touch or touch movement. Depending on the sub-event, the event information also includes additional information, such as the location of the sub-event. When the sub-event involves the movement of the touch, the event information optionally also includes the speed and direction of the sub-event. In some embodiments, the event includes the device rotating from one orientation to another orientation (for example, from a longitudinal orientation to a transverse orientation, or vice versa), and the event information includes corresponding information about the current orientation of the device (also referred to as the device posture).
[0137] Event comparator 184 compares event information with predefined event or sub-event definitions, and determines an event or sub-event based on the comparison, or determines or updates the state of an event or sub-event. In some embodiments, event comparator 184 includes event definition 186. Event definition 186 includes the definition of an event (e.g., a predefined sequence of sub-events), such as event 1 (187-1), event 2 (187-2), and others. In some embodiments, sub-events in event (187) include, for example, touch start, touch end, touch move, touch cancel, and multi-touch. In one example, the definition of event 1 (187-1) is a double-click on a displayed object. For example, a double-click includes a first touch (touch start) of a predetermined duration on a displayed object, a first lift-off (touch end) of a predetermined duration, a second touch (touch start) of a predetermined duration on a displayed object, and a second lift-off (touch end) of a predetermined duration. In another example, the definition of event 2 (187-2) is a drag on a displayed object. For example, dragging includes a touch (or contact) of a predetermined duration on a displayed object, movement of the touch on the touch-sensitive display 112, and lifting of the touch (touch end). In some embodiments, the event also includes information for one or more associated event handlers 190.
[0138] In some embodiments, the event 187 definition includes a definition of an event for a corresponding user interface object. In some embodiments, the event comparator 184 performs a hit test to determine which user interface object is associated with a sub-event. For example, in an application view displaying three user interface objects on the touch-sensitive display 112, when a touch is detected on the touch-sensitive display 112, the event comparator 184 performs a hit test to determine which of the three user interface objects is associated with the touch (sub-event). If each displayed object is associated with a corresponding event handler 190, the event comparator uses the result of the hit test to determine which event handler 190 should be activated. For example, the event comparator 184 selects an event handler associated with the sub-event and the object that triggered the hit test.
[0139] In some embodiments, the definition of the corresponding event (187) also includes a delay action that delays the delivery of the event information until it has been determined that the sub-event sequence does or does not correspond to the event type of the event identifier.
[0140] When a corresponding event recognizer 180 determines that a sequence of sub-events does not match any event in event definition 186, the corresponding event recognizer 180 enters an event impossible, event failed, or event ended state, after which subsequent sub-events of the touch-based gesture are ignored. In this case, other event recognizers (if any) that remain active for the hit view continue to track and process sub-events of the ongoing touch-based gesture.
[0141] In some embodiments, the corresponding event recognizers 180 include metadata 183 with configurable properties, flags, and / or lists that indicate how the event delivery system should perform sub-event delivery to actively participating event recognizers. In some embodiments, metadata 183 includes configurable properties, flags, and / or lists that indicate how event recognizers interact or can interact with each other. In some embodiments, metadata 183 includes configurable properties, flags, and / or lists that indicate whether sub-events are delivered to different levels in a view or programmatic hierarchy.
[0142] In some embodiments, when one or more specific sub-events of an event are identified, the corresponding event recognizer 180 activates an event handler 190 associated with the event. In some embodiments, the corresponding event recognizer 180 delivers event information associated with the event to the event handler 190. Activating the event handler 190 is different from sending (and deferred sending) the sub-events to the corresponding hit view. In some embodiments, the event recognizer 180 throws a tag associated with the identified event, and the event handler 190 associated with the tag obtains the tag and performs a predefined process.
[0143] In some embodiments, the event delivery instructions 188 include a sub-event delivery instruction that delivers event information about a sub-event without activating an event handler. Instead, the sub-event delivery instruction delivers the event information to an event handler associated with a sub-event sequence or to an actively participating view. The event handler associated with the sub-event sequence or with an actively participating view receives the event information and performs a predetermined process.
[0144] In some embodiments, data updater 176 creates and updates data used in application 136-1. For example, data updater 176 updates phone numbers used in contact module 137 or stores video files used in video player module. In some embodiments, object updater 177 creates and updates objects used in application 136-1. For example, object updater 177 creates new user interface objects or updates the position of user interface objects. GUI updater 178 updates the GUI. For example, GUI updater 178 prepares display information and sends the display information to graphics module 132 for display on a touch-sensitive display.
[0145] In some embodiments, event handler 190 includes or has access to data updater 176, object updater 177, and GUI updater 178. In some embodiments, data updater 176, object updater 177, and GUI updater 178 are included in a single module of the corresponding application 136-1 or application view 191. In other embodiments, they are included in two or more software modules.
[0146] It should be understood that the above discussion of event processing of user touches on a touch-sensitive display also applies to other forms of user input that utilize input devices to operate the multifunction device 100, and not all user input is initiated on the touch screen. For example, mouse movement and mouse button presses, optionally in conjunction with single or multiple keyboard presses or hold; contact movement on a touch pad, such as tapping, dragging, scrolling, etc.; stylus input; movement of the device; verbal commands; detected eye movement; biometric input; and / or any combination thereof are optionally used as input corresponding to sub-events defining the event to be recognized.
[0147] Figure 2A portable multifunction device 100 with a touch screen 112 according to some embodiments is shown. The touch screen optionally displays one or more graphics within a user interface (UI) 200. In this embodiment and other embodiments described below, a user can select one or more of these graphics by, for example, making gestures on the graphics using one or more fingers 202 (not drawn to scale in the figure) or one or more styluses 203 (not drawn to scale in the figure). In some embodiments, selection of one or more graphics will occur when the user interrupts contact with the one or more graphics. In some embodiments, gestures optionally include one or more taps, one or more swipes (from left to right, from right to left, up and / or down) and / or rolling of fingers that have been in contact with the device 100 (from right to left, from left to right, up and / or down). In some specific implementations or in some cases, inadvertent contact with a graphic will not select the graphic. For example, when the gesture corresponding to the selection is a tap, a swipe gesture that sweeps over an application icon optionally does not select the corresponding application.
[0148] In some embodiments, stylus 203 is an active device and includes one or more electronic circuits. For example, stylus 203 includes one or more sensors and one or more communication circuits (such as communication module 128 and / or RF circuit 108). In some embodiments, stylus 203 includes one or more processors and a power system (e.g., similar to power system 162). In some embodiments, stylus 203 includes an accelerometer (such as accelerometer 168), a magnetometer, and / or a gyroscope that can determine the positioning, angle, position, and / or other physical characteristics of stylus 203 (e.g., such as whether the stylus is put down, tilted toward or away from the device, and / or close to or away from the device). In some embodiments, stylus 203 communicates with the electronic device (e.g., via a communication circuit, through a wireless communication protocol such as Bluetooth) and transmits sensor data to the electronic device. In some embodiments, stylus 203 can determine (e.g., via an accelerometer or other sensor) whether the user is holding the device. In some embodiments, stylus 203 can accept tap input (e.g., a single or double tap) from a user on stylus 203 (e.g., received by an accelerometer or other sensor) and interpret the input as a command or request to perform a function or change to a different input mode.
[0149] The device 100 optionally also includes one or more physical buttons, such as a "home" or menu button 204. As previously described, the menu button 204 is optionally used to navigate to any application 136 in a set of applications that are optionally executed on the device 100. Alternatively, in some embodiments, the menu button is implemented as a soft key in a GUI displayed on the touch screen 112.
[0150] In some embodiments, the device 100 includes a touch screen 112, a menu button 204, a push button 206 for turning the device on / off and for locking the device, one or more volume adjustment buttons 208, a user identity module (SIM) card slot 210, an earphone jack 212, and a docking / charging external port 124. The push button 206 is optionally used to turn the device on / off by pressing the button and keeping the button in a pressed state for a predefined time interval; lock the device by pressing the button and releasing the button before the predefined time interval passes; and / or unlock the device or initiate an unlocking process. In an alternative embodiment, the device 100 also accepts voice input for activating or deactivating certain functions through a microphone 113. The device 100 also optionally includes one or more contact strength sensors 165 for detecting the strength of contact on the touch screen 112, and / or one or more tactile output generators 167 for generating tactile output for a user of the device 100.
[0151] Figure 3 300 is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface according to some embodiments. Device 300 does not have to be portable. In some embodiments, device 300 is a laptop, a desktop computer, a tablet computer, a multimedia player device, a navigation device, an educational device (such as a children's learning toy), a game system, or a control device (e.g., a home controller or an industrial controller). Device 300 typically includes one or more processing units (CPUs) 310, one or more network or other communication interfaces 360, a memory 370, and one or more communication buses 320 for interconnecting these components. The communication bus 320 optionally includes circuits (sometimes referred to as a chipset) that interconnect system components and control communications between system components. Device 300 includes an input / output (I / O) interface 330 with a display 340, which is typically a touch screen display. The I / O interface 330 also optionally includes a keyboard and / or a mouse (or other pointing device) 350 and a touchpad 355, a tactile output generator 357 for generating tactile output on the device 300 (e.g., similar to the above reference Figure 1A The tactile output generator 167 described above), sensor 359 (e.g., optical sensor, acceleration sensor, proximity sensor, touch sensor and / or contact intensity sensor (similar to the above reference Figure 1AThe memory 370 may include a high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid-state memory devices; and may optionally include a non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 370 may optionally include one or more storage devices located away from the CPU 310. In some embodiments, the memory 370 stores data related to the portable multifunction device 100 ( Figure 1A ) or a subset thereof. In addition, memory 370 optionally stores additional programs, modules, and data structures not present in memory 102 of portable multifunction device 100. For example, memory 370 of device 300 optionally stores a drawing module 380, a presentation module 382, a word processing module 384, a website creation module 386, a disk editing module 388, and / or a spreadsheet module 390, while portable multifunction device 100 ( Figure 1A )'s memory 102 optionally does not store these modules.
[0152] Figure 3 Each element in the above-mentioned elements in is optionally stored in one or more memory devices of the previously mentioned memory device. Each module in the above-mentioned modules corresponds to the instruction set for performing the above-mentioned functions. The above-mentioned modules or programs (e.g., instruction sets) do not have to be implemented as independent software programs, processes or modules, and therefore the various subsets of these modules are optionally combined or otherwise rearranged in various embodiments. In some embodiments, memory 370 optionally stores the subset of the above-mentioned modules and data structures. In addition, memory 370 optionally stores additional modules and data structures not described above.
[0153] Attention is now turned to an embodiment of a user interface that is optionally implemented on, for example, portable multifunction device 100.
[0154] Figure 4A An exemplary user interface of an application menu on portable multifunction device 100 according to some embodiments is shown. A similar user interface is optionally implemented on device 300. In some embodiments, user interface 400 includes the following elements, or a subset or superset thereof:
[0155] Signal strength indicators 402 for wireless communications such as cellular signals and Wi-Fi signals;
[0156] Time 404;
[0157] Bluetooth indicator 405;
[0158] Battery status indicator 406;
[0159] A tray 408 with icons for commonly used applications, such as:
[0160] o An icon 416 of the phone module 138 labeled "Phone," which optionally includes an indicator 414 of the number of missed calls or voicemails;
[0161] o an icon 418 of the email client module 140 labeled “Mail”, the icon 418 optionally including an indicator 410 of the number of unread emails;
[0162] o An icon 420 labeled "Browser" of the browser module 147; and
[0163] o An icon 422 labeled “iPod” for a video and music player module 152 (also referred to as an iPod (trademark of Apple Inc.) module 152); and
[0164] Icons for other apps, such as:
[0165] o Icon 424 labeled "Message" of IM module 141;
[0166] o An icon 426 labeled “Calendar” of the calendar module 148;
[0167] o Icon 428 labeled “Photos” of the image management module 144;
[0168] o An icon 430 labeled “Camera” of the camera module 143;
[0169] ○ Icon 432 labeled “Online Video” of the online video module 155;
[0170] ○ Icon 434 labeled “Stock Market” of the Stock Market Desktop Applet 149-2;
[0171] o An icon 436 labeled “Map” of the map module 154;
[0172] ○ Icon 438 labeled “Weather” of the Weather widget 149-1;
[0173] ○ Icon 440 labeled as “Clock” of the alarm clock desktop applet 149-4;
[0174] o An icon 442 labeled “Fitness Support” of the fitness support module 142;
[0175] o An icon 444 labeled "Notepad" of the Notepad module 153; and
[0176] o An icon 446 labeled “Settings” for a settings application or module that provides access to settings for the device 100 and its various applications 136 .
[0177] It should be noted that Figure 4A The icon labels shown in are exemplary only. For example, icon 422 of video and music player module 152 is labeled "Music" or "Music Player". Other labels are optionally used for various application icons. In some embodiments, the label of a corresponding application icon includes the name of the application corresponding to the corresponding application icon. In some embodiments, the label of a particular application icon is different from the name of the application corresponding to the particular application icon.
[0178] Figure 4B A touch-sensitive surface 451 (eg, touch screen display 112) is shown having a touch-sensitive surface 451 (eg, Figure 3 tablet or touch pad 355) device (e.g., Figure 3 Device 300 also optionally includes one or more contact intensity sensors (e.g., one or more of sensors 359) for detecting intensity of contacts on touch-sensitive surface 451 and / or one or more tactile output generators 357 for generating tactile output for a user of device 300.
[0179] Although some of the examples below are given with reference to input on a touch screen display 112 (where a touch-sensitive surface and a display are combined), in some embodiments, the device detects input on a touch-sensitive surface that is separate from the display, such as Figure 4B In some embodiments, the touch-sensitive surface (e.g., Figure 4B 451) has a main axis (e.g., Figure 4B 453) corresponding to the principal axis (for example, Figure 4B According to these embodiments, the device detects a position corresponding to a corresponding position on the display (e.g., Figure 4B 460 corresponds to 468 and 462 corresponds to 470) in contact with touch-sensitive surface 451 (e.g., Figure 4B Thus, when the touch-sensitive surface (e.g., Figure 4B 451) and a display of a multi-function device (e.g., Figure 4BWhen the user input detected by the device on the touch-sensitive surface (e.g., contacts 460 and 462 and their movement) is separated, the device is used to manipulate the user interface on the display. It should be understood that similar methods are optionally used for other user interfaces described herein.
[0180] In addition, although the following examples are primarily given with reference to finger inputs (e.g., finger contacts, single-finger tap gestures, finger swipe gestures), it should be understood that in some embodiments, one or more of these finger inputs are replaced by input from another input device (e.g., mouse-based input or stylus input). For example, a swipe gesture is optionally replaced by a mouse click (e.g., instead of contact), followed by movement of the cursor along the path of the swipe (e.g., instead of movement of the contact). As another example, a tap gesture is optionally replaced by a mouse click when the cursor is over the location of the tap gesture (e.g., instead of detecting contact, followed by ceasing to detect contact). Similarly, when multiple user inputs are detected simultaneously, it should be understood that multiple computer mice are optionally used simultaneously, or a mouse and finger contact are optionally used simultaneously.
[0181] Figure 5A An exemplary personal electronic device 500 is shown. Device 500 includes a body 502. In some embodiments, device 500 may include a body 502 relative to devices 100 and 300 (e.g., Figures 1A to 4B ) some or all of the features described in the foregoing. In some embodiments, device 500 has a touch-sensitive display screen 504, referred to hereinafter as touch screen 504. As an alternative or in addition to touch screen 504, device 500 has a display and a touch-sensitive surface. As with devices 100 and 300, in some embodiments, touch screen 504 (or touch-sensitive surface) optionally includes one or more strength sensors for detecting the intensity of contact (e.g., touch) applied. One or more strength sensors of touch screen 504 (or touch-sensitive surface) can provide output data representing the intensity of touch. The user interface of device 500 can respond to touch based on the intensity of the touch, which means that touches of different intensities can invoke different user interface operations on device 500.
[0182] Exemplary techniques for detecting and processing touch intensity are found, for example, in the following related patent applications: International Patent Application Serial No. PCT / US2013 / 040061, filed on May 8, 2013, entitled “Device, Method, and Graphical User Interface for Displaying User Interface Objects Corresponding to an Application,” published as WIPO Patent Publication No. WO / 2013 / 169849; and International Patent Application Serial No. PCT / US2013 / 069483, filed on November 11, 2013, entitled “Device, Method, and Graphical User Interface for Transitioning Between Touch Input to Display Output Relationships,” published as WIPO Patent Publication No. WO / 2014 / 105276, each of which is hereby incorporated by reference in its entirety.
[0183] In some embodiments, the device 500 has one or more input mechanisms 506 and 508. The input mechanisms 506 and 508 (if included) can be physical. Examples of physical input mechanisms include push buttons and rotatable mechanisms. In some embodiments, the device 500 has one or more attachment mechanisms. Such attachment mechanisms (if included) can allow the device 500 to be attached to, for example, hats, glasses, earrings, necklaces, shirts, jackets, bracelets, watchbands, bracelets, pants, belts, shoes, wallets, backpacks, etc. These attachment mechanisms allow the user to wear the device 500.
[0184] Figure 5B An exemplary personal electronic device 500 is shown. In some embodiments, the device 500 may include a reference Figure 1A , Figure 1B and Figure 3Some or all of the components described. Device 500 has a bus 512 that operatively couples an I / O portion 514 to one or more computer processors 516 and a memory 518. I / O portion 514 may be connected to a display 504, which may have a touch-sensitive component 522 and optionally a strength sensor 524 (e.g., a contact strength sensor). In addition, I / O portion 514 may be connected to a communication unit 530 for receiving application and operating system data using Wi-Fi, Bluetooth, near field communication (NFC), cellular and / or other wireless communication technologies. Device 500 may include input mechanisms 506 and / or 508. For example, input mechanism 506 is optionally a rotatable input device or a depressible input device and a rotatable input device. In some examples, input mechanism 508 is optionally a button.
[0185] In some examples, input mechanism 508 is optionally a microphone. Personal electronic device 500 optionally includes various sensors, such as GPS sensor 532, accelerometer 534, orientation sensor 540 (e.g., compass), gyroscope 536, motion sensor 538, and / or combinations thereof, all of which are operably connected to I / O portion 514.
[0186] The memory 518 of the personal electronic device 500 may include one or more non-transitory computer-readable storage media for storing computer-executable instructions, which, when executed by one or more computer processors 516, may, for example, cause the computer processors to perform the techniques described below, including processes 700, 900, 1100, 1300, 1500, 1600, 1800, 2000, and 2200 (Figures 7, 9, 11, 13, 15, 16, 18, 20, and 22). A computer-readable storage medium may be any medium that can tangibly contain or store computer-executable instructions for use by or in conjunction with an instruction execution system, device, or apparatus. In some examples, the storage medium is a transient computer-readable storage medium. In some examples, the storage medium is a non-transitory computer-readable storage medium. Non-transitory computer-readable storage media may include, but are not limited to, magnetic storage devices, optical storage devices, and / or semiconductor storage devices. Examples of such storage devices include magnetic disks, optical disks based on CD, DVD or Blu-ray technology, and persistent solid-state memory such as flash memory, solid-state drives, etc. The personal electronic device 500 is not limited to Figure 5B components and configurations, but may include other components or additional components in a variety of configurations.
[0187] As used herein, the term "indicative representation" refers to an optional feature of the apparatus 100, 300, and / or 500 ( Figure 1A , Figure 3 and FIG. 5A to FIG. 5B) is a user-interactive graphical user interface object displayed on a display screen of a computer. For example, an image (e.g., an icon), a button, and text (e.g., a hyperlink) optionally each constitute an affordance.
[0188] As used herein, the term "focus selector" refers to an input element used to indicate the current portion of a user interface with which a user is interacting. In some implementations that include a cursor or other position marker, the cursor acts as a "focus selector" such that when the cursor is over a particular user interface element (e.g., a button, window, slider, or other user interface element), a focus selector is displayed on a touch-sensitive surface (e.g., Figure 3 Touchpad 355 or Figure 4B In the event that an input (e.g., a press input) is detected on the touch-sensitive surface 451 in the display, the particular user interface element is adjusted according to the detected input. In the case that a touch-screen display (e.g., Figure 1A A touch-sensitive display system 112 or Figure 4A In some implementations of the touch screen 112 in FIG. 1 , a contact detected on the touch screen acts as a “focus selector” such that when an input (e.g., a press input by the contact) is detected at the location of a particular user interface element (e.g., a button, window, slider, or other user interface element) on the touch screen display, the particular user interface element is adjusted in accordance with the detected input. In some implementations, the focus moves from one area of the user interface to another area of the user interface without corresponding movement of a cursor or movement of a contact on the touch screen display (e.g., by using a tab key or arrow keys to move the focus from one button to another); in these implementations, the focus selector moves in accordance with the movement of the focus between different areas of the user interface. Regardless of the specific form the focus selector takes, the focus selector is typically a user interface element (or contact on the touch screen display) that is controlled by the user to deliver the user's intended interaction with the user interface (e.g., by indicating to the device the element of the user interface with which the user desires to interact). For example, when a press input is detected on a touch-sensitive surface (e.g., a trackpad or touch screen), the position of a focus selector (e.g., a cursor, contact, or selection box) over a corresponding button will indicate that the user intends to activate the corresponding button (rather than other user interface elements shown on the device display).
[0189] As used in the specification and claims, the term "characteristic intensity" of a contact refers to a characteristic of a contact based on one or more intensities of the contact. In some embodiments, the characteristic intensity is based on multiple intensity samples. The characteristic intensity is optionally based on a predefined number of intensity samples or a set of intensity samples collected during a predetermined time period (e.g., 0.05 seconds, 0.1 seconds, 0.2 seconds, 0.5 seconds, 1 second, 2 seconds, 5 seconds, 10 seconds) relative to a predefined event (e.g., after contact is detected, before contact is detected to be lifted off, before or after contact starts to move, before contact ends, before or after contact intensity is detected to increase, and / or before or after contact intensity is detected to decrease). The characteristic intensity of a contact is optionally based on one or more of the following: the maximum value of the intensity of the contact, the mean value of the intensity of the contact, the average value of the intensity of the contact, the value at the top 10% of the intensity of the contact, the half-maximum value of the intensity of the contact, the 90% maximum value of the intensity of the contact, etc. In some embodiments, the duration of the contact is used when determining the characteristic intensity (e.g., when the characteristic intensity is the average value of the intensity of the contact over time). In some embodiments, the feature strength is compared to a set of one or more strength thresholds to determine whether the user has performed an operation. For example, the set of one or more strength thresholds optionally includes a first strength threshold and a second strength threshold. In this example, a contact whose feature strength does not exceed the first threshold results in a first operation, a contact whose feature strength exceeds the first strength threshold but does not exceed the second strength threshold results in a second operation, and a contact whose feature strength exceeds the second threshold results in a third operation. In some embodiments, a comparison between the feature strength and one or more thresholds is used to determine whether to perform one or more operations (e.g., whether to perform the corresponding operation or to abandon the corresponding operation) rather than to determine whether to perform the first operation or the second operation.
[0190] Figure 5C Detecting multiple contacts 552A-552E on touch-sensitive display screen 504 using multiple intensity sensors 524A-524D is shown. Figure 5C Also included is an intensity graph that shows the current intensity measurements of intensity sensors 524A-524D relative to intensity units. In this example, the intensity measurements of intensity sensors 524A and 524D are each 9 intensity units, and the intensity measurements of intensity sensors 524B and 524C are each 7 intensity units. In some implementations, the cumulative intensity is the sum of the intensity measurements of multiple intensity sensors 524A-524D, which is 32 intensity units in this example. In some embodiments, each contact is assigned a corresponding intensity, which is a portion of the cumulative intensity. Figure 5DThe cumulative strength assigned to contacts 552A-552E based on their distance from the center of force 554 is shown. In this example, each of contacts 552A, 552B, and 552E is assigned a contact strength of 8 strength units of the cumulative strength, and each of contacts 552C and 552D is assigned a contact strength of 4 strength units of the cumulative strength. More generally, in some embodiments, each contact j is assigned a corresponding strength Ij, which is a portion of the cumulative strength A, according to a predefined mathematical function Ij=A·(Dj / ΣDi), where Dj is the distance of the corresponding contact j from the center of force, and ΣDi is the sum of the distances of all corresponding contacts (e.g., i=1 to the last) from the center of force. The reference may be performed using an electronic device similar to or equivalent to device 100, 300, or 500. Figure 5C-5D In some embodiments, the characteristic intensity of the contact is based on one or more intensities of the contact. In some embodiments, the intensity sensor is used to determine a single characteristic intensity (e.g., a single characteristic intensity of a single contact). It should be noted that the intensity map is not part of the displayed user interface, but is included in the Figure 5C-5D To assist the readers.
[0191] In some embodiments, a portion of a gesture is identified for determining characteristic strength. For example, the touch-sensitive surface optionally receives a continuous swipe contact that transitions from a starting position and reaches an end position, where the contact strength increases. In this example, the characteristic strength of the contact at the end position is optionally based only on a portion of the continuous swipe contact, rather than the entire swipe contact (e.g., only the portion of the swipe contact at the end position). In some embodiments, a smoothing algorithm is optionally applied to the strength of the swipe contact before determining the characteristic strength of the contact. For example, a smoothing algorithm optionally includes one or more of the following: an unweighted sliding average smoothing algorithm, a triangular smoothing algorithm, a median filter smoothing algorithm, and / or an exponential smoothing algorithm. In some cases, these smoothing algorithms eliminate narrow peaks or depressions in the strength of the swipe contact to achieve the purpose of determining the characteristic strength.
[0192] The intensity of contact on the touch-sensitive surface is optionally characterized relative to one or more intensity thresholds such as a contact detection intensity threshold, a light press intensity threshold, a deep press intensity threshold, and / or one or more other intensity thresholds. In some embodiments, the light press intensity threshold corresponds to an intensity at which the device will perform an operation typically associated with clicking a button of a physical mouse or trackpad. In some embodiments, the deep press intensity threshold corresponds to an intensity at which the device will perform an operation different from the operation typically associated with clicking a button of a physical mouse or trackpad. In some embodiments, when a contact having a characteristic intensity lower than the light press intensity threshold (e.g., and higher than a nominal contact detection intensity threshold, contacts lower than the nominal contact detection intensity threshold are no longer detected) is detected, the device will move the focus selector according to the movement of the contact on the touch-sensitive surface without performing an operation associated with the light press intensity threshold or the deep press intensity threshold. Generally speaking, unless otherwise stated, these intensity thresholds are consistent between different groups of user interface illustrations.
[0193] An increase in contact feature intensity from an intensity below a light press intensity threshold to an intensity between the light press intensity threshold and the deep press intensity threshold is sometimes referred to as a "light press" input. An increase in contact feature intensity from an intensity below a deep press intensity threshold to an intensity above the deep press intensity threshold is sometimes referred to as a "deep press" input. An increase in contact feature intensity from an intensity below a contact detection intensity threshold to an intensity between the contact detection intensity threshold and the light press intensity threshold is sometimes referred to as detecting contact on the touch surface. A decrease in contact feature intensity from an intensity above the contact detection intensity threshold to an intensity below the contact detection intensity threshold is sometimes referred to as detecting contact lifted from the touch surface. In some embodiments, the contact detection intensity threshold is zero. In some embodiments, the contact detection intensity threshold is greater than zero.
[0194] In some embodiments described herein, one or more operations are performed in response to detecting a gesture that includes a corresponding press input or in response to detecting a corresponding press input performed using a corresponding contact (or multiple contacts), wherein the corresponding press input is detected at least in part based on detecting that the strength of the contact (or multiple contacts) increases to above a press input strength threshold. In some embodiments, the corresponding operation is performed in response to detecting that the strength of the corresponding contact increases to above the press input strength threshold (e.g., a "down stroke" of the corresponding press input). In some embodiments, the press input includes an increase in the strength of the corresponding contact to above the press input strength threshold and the strength of the contact subsequently decreases to below the press input strength threshold, and the corresponding operation is performed in response to detecting that the strength of the corresponding contact subsequently decreases to below the press input threshold (e.g., an "up stroke" of the corresponding press input).
[0195] Figure 5E-Figure 5HDetection of a gesture is shown, the gesture comprising contact 562 with an intensity from below Figure 5E The light press intensity threshold in L ”) increases to a strength higher than Figure 5H The deep compression intensity threshold in D ”). On the displayed user interface 570 including application icons 572A-572D displayed in the predefined area 574, when the cursor 576 is displayed above the application icon 572B corresponding to application 2, a gesture performed using contact 562 is detected on the touch-sensitive surface 560. In some embodiments, the gesture is detected on the touch-sensitive display 504. The intensity sensor detects the intensity of the contact on the touch-sensitive surface 560. The device determines whether the intensity of the contact 562 is within the deep press intensity threshold (for example, “IT D ”) reaches a peak above. Contact 562 is maintained on touch-sensitive surface 560. In response to detecting the gesture, and according to the intensity increasing to a deep press intensity threshold (e.g., “IT D ”) above contact 562, displays scaled representations 578A-578C (e.g., thumbnails) of documents recently opened for application 2, such as FIG. 5F to FIG. 5I In some embodiments, the intensity is a characteristic intensity of the contact compared to one or more intensity thresholds. It should be noted that the intensity map for contact 562 is not part of the displayed user interface, but is included in the Figure 5E-Figure 5H To assist the readers.
[0196] In some embodiments, the display of representations 578A-578C includes animation. For example, representation 578A is initially displayed near application icon 572B, such as Fig. 5F As the animation progresses, representation 578A moves upward and representation 578B is displayed near application icon 572B, as shown. Figure 5G Then, representation 578A moves upward, 578B moves upward toward representation 578A, and representation 578C is displayed near application icon 572B, as shown in FIG. Figure 5H 578A-578C form an array above icon 572B. In some embodiments, the animation progresses according to the intensity of contact 562, such as Figure 5F-5G , where representations 578A-578C appear and increase as the strength of contact 562 approaches a deep press strength threshold (eg, “IT D ”) increases and moves upward. In some embodiments, the intensity according to which the animation progresses is the characteristic intensity of the contact. The reference may be performed using an electronic device similar to or equivalent to device 100, 300, or 500. FIG. 5E to FIG. 5H The operation described.
[0197] Fig.5I A block diagram of an exemplary architecture for device 580 according to some embodiments of the present disclosure is shown. Fig.5I In the embodiment of the present invention, media content or other content is optionally received by device 580 via network interface 582, which is optionally a wireless connection or a wired connection. One or more processors 584 optionally execute any number of programs stored in memory 586 or a storage device, which optionally include instructions for performing one or more of the methods and / or processes described herein (e.g., methods 700, 900, 1100, 1300, 1500, 1600, 1800, 2000, and 2200).
[0198] In some embodiments, the display controller 588 causes various user interfaces of the present disclosure to be displayed on the display 594. In addition, input to the device 580 is optionally provided by a remote control 590 via a remote control interface 592, which is optionally a wireless or wired connection. In some embodiments, the input to the device 580 is provided by a multifunction device 591 (e.g., a smart phone) on which a remote control application is running that configures the multifunction device to simulate remote control functions, as will be described in more detail below. In some embodiments, the multifunction device 591 corresponds to Figure 1A and Figure 2 Device 100, Figure 3 The device 300 and Figure 5A It should be understood that Fig.5I The embodiments are not meant to limit the features of the device disclosed herein, and other components that facilitate other features described in the present disclosure are optionally included in the Fig.5I In some embodiments, device 580 optionally corresponds to Figure 1A and Figure 2 The multifunctional device 100, Figure 3 The device 300 and Figure 5A One or more of the devices 500 in; the network interface 582 optionally corresponds to Figure 1A and Figure 2 RF circuit 108, external port 124 and peripheral device interface 118 in Figure 3 One or more of the network communication interfaces 360 in; the processor 584 optionally corresponds to Figure 1A The processor 120 and Figure 3 One or more of the CPUs 310 in; the display controller 588 optionally corresponds to Figure 1A The display controller 156 and Figure 3One or more of the I / O interfaces 330 in; the memory 586 optionally corresponds to Figure 1A The memory 102 and Figure 3 One or more of the memories 370 in; the remote control interface 592 optionally corresponds to Figure 1A The peripheral device interface 118 and the I / O subsystem 106 (and / or its components) in Figure 3 One or more of the I / O interfaces 330 in the remote control 590; the remote control 590 optionally corresponds to and / or includes one or more of the following: Figure 1A Speaker 111, touch-sensitive display system 112, microphone 113, optical sensor 164, contact intensity sensor 165, tactile output generator 167, other input control device 116, accelerometer 168, proximity sensor 166 and I / O subsystem 106, and Figure 3 4; and display 594 optionally corresponds to Figure 1A and Figure 2 The touch-sensitive display system 112 and Figure 3 Display 340 in.
[0199] In some embodiments, the device employs intensity hysteresis to avoid unexpected inputs sometimes referred to as "jitter," where the device defines or selects a hysteresis intensity threshold that has a predefined relationship to a press input intensity threshold (e.g., the hysteresis intensity threshold is X intensity units lower than the press input intensity threshold, or the hysteresis intensity threshold is 75%, 90%, or some reasonable proportion of the press input intensity threshold). Thus, in some embodiments, a press input includes an increase in the intensity of the corresponding contact to above the press input intensity threshold and a subsequent decrease in the intensity of the contact to below the hysteresis intensity threshold corresponding to the press input intensity threshold, and a corresponding operation is performed in response to detecting that the intensity of the corresponding contact subsequently decreases to below the hysteresis intensity threshold (e.g., an "upward stroke" of the corresponding press input). Similarly, in some embodiments, a press input is detected only when the device detects that the contact intensity increases from an intensity equal to or below the hysteresis intensity threshold to an intensity equal to or above the press input intensity threshold and, optionally, that the contact intensity subsequently decreases to an intensity equal to or below the hysteresis intensity, and a corresponding operation is performed in response to detecting the press input (e.g., an increase in contact intensity or a decrease in contact intensity, depending on the circumstances).
[0200] For ease of explanation, optionally, a description of an operation performed in response to a press input associated with a press input intensity threshold or in response to a gesture including a press input is triggered in response to detecting any of the following: contact intensity increasing to above the press input intensity threshold, contact intensity increasing from an intensity below a hysteresis intensity threshold to an intensity above the press input intensity threshold, contact intensity decreasing to below the press input intensity threshold, and / or contact intensity decreasing to below a hysteresis intensity threshold corresponding to the press input intensity threshold. Additionally, in examples where an operation is described as being performed in response to detecting that the intensity of the contact decreases below the press input intensity threshold, the operation is optionally performed in response to detecting that the intensity of the contact decreases below a hysteresis intensity threshold that corresponds to and is less than the press input intensity threshold.
[0201] As used herein, an "installed application" refers to a software application that has been downloaded to an electronic device (e.g., device 100, 300, and / or 500) and is ready to be launched (e.g., become open) on the device. In some embodiments, a downloaded application becomes an installed application using an installer that extracts program portions from a downloaded software package and integrates the extracted portions with the operating system of a computer system.
[0202] As used herein, the term "open application" or "executing application" refers to a software application that has retained state information (e.g., as part of device / global internal state 157 and / or application internal state 192). An open or executing application is optionally any of the following types of applications:
[0203] The active application currently displayed on the display of the device on which the application is being used;
[0204] Background applications (or background processes), which are not currently displayed but one or more processes of the application are being processed by one or more processors; and
[0205] Not running but stored in memory (volatile and non-volatile respectively)
[0206] A suspended or dormant application that contains status information that can be used to resume execution of the application.
[0207] As used herein, the term "closed application" refers to a software application that does not have retained state information (e.g., the state information of a closed application is not stored in the memory of the device). Therefore, closing an application includes stopping and / or removing the application process of the application and removing the state information of the application from the memory of the device. Generally speaking, when in a first application, opening a second application does not close the first application. When the second application is displayed and the first application stops being displayed, the first application becomes a background application.
[0208] Attention is now turned to embodiments of a user interface ("UI") and associated processes implemented on an electronic device, such as portable multifunction device 100, device 300, or device 500.
[0209] User interface and associated processes
[0210] Convert handwriting to text
[0211] The user interacts with the electronic device in a variety of different ways, including inputting text into the electronic device. In some embodiments, the electronic device provides a virtual keyboard (e.g., a soft keyboard), which simulates the layout of a physical keyboard and allows the user to select letters to be input. The embodiments described below provide a way for an electronic device to accept handwriting input from a handwriting input device (e.g., a stylus) and convert the handwriting input into a font-based text (e.g., computer text, digital text, etc.). Enhanced interaction with the device reduces the amount of time required for the user to perform an operation, thereby reducing the power consumption of the device and extending the battery life of a battery-powered device. It should be understood that people use the device. When a person uses the device, this person is optionally referred to as a user of the device.
[0212] Figures 6A to 6YY An exemplary manner in which an electronic device converts handwriting input into font-based text is shown. The embodiments in these figures are used to illustrate the process described below, including reference Figure 7A-Figure 7I The process described.
[0213] Figures 6A to 6YY The operation of the electronic device 500 to convert handwriting input into font-based text is shown. Fig. 6A An exemplary device 500 is shown including a touch screen 504. Fig. 6A As shown, electronic device 500 presents user interface 600. In some embodiments, user interface 600 is any user interface including one or more text input fields (e.g., text input area). In some embodiments, text input field (e.g., text input area) is a user interface element in which a user can input text (e.g., letters, characters, words, etc.). For example, a text input field can be a text field on a form, a URL input element on a browser, a login field, etc. In other words, it can be any user interface element in which a user can input text and can edit, delete, copy, cut, etc. or perform any other text-based operation. It should be understood that a text input field (e.g., text input area) is not limited to a user interface element that only accepts text, but is also capable of accepting and displaying audio and / or visual media.
[0214] In some embodiments, such as Fig. 6AAs shown, user interface 600 is a user interface of an Internet browser application that displays (e.g., navigates to) a passenger information input user interface (e.g., for purchasing an airline ticket). It should be understood that Figures 6A to 6YY The examples shown are exemplary and should not be considered limited to the user interfaces and / or applications shown. In some embodiments, the user interface 600 includes text input fields 602-1 to 602-9, in which the user can enter text to fill in the corresponding text input fields (e.g., information for two passengers).
[0215] exist Figure 6B , user input from stylus 203 is received (e.g., detected) on touch screen 504. Figure 6B As shown, stylus 203 is touching touch screen 504. In some embodiments, stylus 203 touches touch screen 504 to provide handwriting input 604-1. Figure 6B As shown, handwriting input 604-1 consists of the character "12". In some embodiments, if handwriting input is performed completely within the text input field, the handwriting input is interpreted as a request to enter text in the corresponding text input field. In some embodiments, if handwriting input is performed in the threshold area around the border of the text input field, the handwriting input is still interpreted as a request to enter text in the corresponding text input field. In some embodiments, the text input field has an error or tolerance margin so that handwriting input that slightly exceeds the literal border of the text input field (e.g., 1mm, 2mm, 3mm, 5mm, 3 points, 6 points, 12 points, etc.) will still be considered as a request to enter text in the corresponding text input field. In some embodiments, handwriting input that starts outside the border of the text input field but enters the border of the text input field is considered as a request to enter text in the corresponding text input field. In some embodiments, handwriting input with most of the strokes in the text input field is considered as a request to enter text in the corresponding text input field. In some embodiments, handwriting input that begins in a text input field but extends outside the text input field and optionally into another text input field is still considered a request to enter text within the corresponding text input field (e.g., rather than within another text input field). In some embodiments, providing an error or tolerance margin around the borders of a text input field allows the system to accept handwriting input that is not completely within the text input field (e.g., is larger than the text input field, "misses" the text input field, or unintentionally extends beyond the borders of a text input field).
[0216] like Figure 6BAs shown, handwriting input 604-1 is directed to text input field 602-3. In some embodiments, handwriting input 604-1 starts slightly beyond text input field 602-3 (e.g., but within the error or tolerance margin of text input field 602-3) and / or optionally most of the strokes are within the boundaries of text input field 602-3. Therefore, in some embodiments, handwriting input 602-1 is interpreted as a request to enter the character "12" into text input field 602-3.
[0217] exist Figure 6C , the user continues handwriting input 604-1 and writes "1234" into text input field 602-3. In some embodiments, the user also provides handwriting input 604-2 corresponding to "E". In some embodiments, handwriting input 604-2 starts outside the boundary of text input field 602-3, but most of handwriting input 604-2 is within the boundary of 602-3, so that handwriting input 604-2 is considered to be a request to enter text into text input field 602-3. In some embodiments, whether handwriting input is considered to be a request to enter text into a specific text input field is based on an analysis of each letter (e.g., whether each letter is considered to point to the corresponding text input field), each word (e.g., whether each word as a whole is considered to point to the corresponding text input field), or the entire handwriting input sequence (e.g., whether the entire sequence from the initial touch to the handwriting input pause threshold time amount (e.g., 0.5 seconds, 1 second, 2 seconds, 3 seconds, 5 seconds) or termination is considered to point to the corresponding text input field).
[0218] exist Fig.6D, the user continues handwriting 604-2 and writes "Elm" into text input field 602-3. In some embodiments, after a threshold amount of time (e.g., 0.5 seconds, 1 second, 2 seconds, 3 seconds, 5 seconds) has passed since the user entered handwriting input 604-1 (e.g., "1234"). In some embodiments, after the threshold amount of time, device 500 determines that handwriting input 604-1 corresponds to the characters "1234". In other words, device 500 analyzes handwriting input 604-1 and recognizes the user's writing as the characters "1234". In some embodiments, handwriting input 604-1 changes color and / or opacity to indicate that handwriting input 604-1 is recognized by device 500 and / or handwriting input 604-1 will be converted into font-based text (e.g., computer text, digital text). For example, when handwriting input 604-1 is converted to font-based text or as handwriting input 604-1 is being converted to font-based text, handwriting input 604-1 turns gray. In some embodiments, the change in color and / or opacity is part of an animation that converts handwriting input 604-1 to font-based text (e.g., during the animation that converts handwriting input to font-based text, the handwriting input turns gray for a short period of time (e.g., 0.2 seconds, 0.3 seconds, 0.5 seconds, 1 second)). In some embodiments, when handwriting input is received, an animation of the handwriting input changing color and / or opacity (e.g., such as an ink drying effect) is displayed, similar to what is described below with respect to method 2000 (e.g., and / or with respect to FIG. 19B to FIG. 19I In some embodiments, an animation of the ink drying effect is performed when handwriting input is received (e.g., optionally before the device begins a process for converting the handwriting input to font-based text). In some embodiments, an animation of the ink drying effect is performed when the handwriting input is converted to font-based text (e.g., as part of an animation of the handwriting input being converted to font-based text).
[0219] exist Fig. 6E , the user enters handwriting input 604-3 corresponding to the word "Streat". In some embodiments, handwriting input 604-3 starts within the boundaries of text input field 602-3 and ends outside the boundaries of text input field 602-3 and enters the boundaries of text input field 602-4. In some embodiments, handwriting input 604-3 is considered a request to enter text into text input field 602-3 (e.g., point to text input field 602-3) even if handwriting input 604-3 leaves the boundaries of text input field 602-3 and enters the boundaries of text input field 602-4.
[0220] In some embodiments, handwriting input 604-1 is converted to font-based text. In some embodiments, font-based text is text entered when using a traditional text input system such as a physical keyboard or a soft keyboard. In some embodiments, the text is formatted using a specific font style. For example, font-based text is Times New Roman with a size of 12 or Arial with a size of 10, etc. In some embodiments, after a threshold delay amount (e.g., 0.5 seconds, 1 second, 2 seconds, 3 seconds, 5 seconds), handwriting input 604-3 is converted. In some embodiments, the visual features of handwriting input 604-3 are modified to indicate that handwriting input 604-3 will be converted (e.g., as Fig.6D After the handwriting input 604-3 is converted, in some embodiments, the visual features of the handwriting input 604-3 are not changed before the conversion.
[0221] In some embodiments, after being converted, the size of the handwriting input is the default font size for the text input field. In some embodiments, the size of the handwriting input changes before the handwriting input is converted to font-based text. In some embodiments, the size of the font-based text matches the size of the handwriting input, and then the size of the font-based text changes to match the default size for the text input field (e.g., after the animation of changing the handwriting input to font-based text, the size changes). In some embodiments, the size changes during the animation of changing the handwriting input to font-based text. In some embodiments, the animation of converting the handwriting input to font-based text includes transforming the handwriting input into font-based text. In some embodiments, the handwriting input is dispersed (e.g., dispersed into fragments or particles) and reassembled into font-based text (e.g., such as described below with respect to method 2000). In some embodiments, the handwriting input dissolves or fades out, and the font-based text dissolves or fades in. In some embodiments, the handwriting input moves toward the final location of the font-based text as it dissolves (e.g., aligns itself with the text input area or any pre-existing text), and the font-based text appears simultaneously as the handwriting input moves toward the final location. Thus, in some embodiments, during at least a portion of the animation, the handwriting input and the font-based text may be displayed simultaneously on the display (e.g., to reduce animation time).
[0222] exist Fig. 6F, the user enters handwriting input 604-4 corresponding to the letters "Apt." In some embodiments, handwriting input 604-4 is completely outside any text input field (e.g., both text input fields 604-3 and 602-4). In some embodiments, handwriting input 604-4 is performed in rapid succession after handwriting input 604-3, so that it is considered to be in the same handwriting input sequence as handwriting input 604-3 (e.g., 0.25 seconds, 0.5 seconds, 1 second, 2 seconds, 5 seconds after writing handwriting input 604-3). In some embodiments, because handwriting input 604-4 is considered to be in the same input sequence as handwriting input 604-3, handwriting input 604-4 is also considered to be a request to enter text into text input field 602-3 (e.g., pointing to text input field 602-3).
[0223] Figure 6G The user is shown lifting the stylus 203 away from the touch screen 504 after completing the writing handwriting input 602-4 to 604-4. In some embodiments, in response to the stylus 203 being lifted off the touch screen 504 for a threshold amount of time (e.g., 0.5 seconds, 1 second, 2 seconds, 3 seconds, 5 seconds), the device 500 analyzes, interprets and converts the handwriting input into font-based text, such as Figure 6H As shown. Figure 6H As shown, each of converted handwriting inputs 604-2 through 604-4 is entered into text input field 602-3 and visually aligned with text input field 602-3 and, optionally, with converted handwriting input 604-1.
[0224] exist Fig.6I , after the stylus 203 is lifted off the touch screen 504 for a threshold amount of time (e.g., 0.5 seconds, 1 second, 2 seconds, 3 seconds, 5 seconds), the user continues to enter handwriting input 604-5. However, because the user has paused handwriting input, any additional handwriting input is no longer considered to be in the same handwriting input sequence as handwriting input 604-3 and handwriting input 604-4. Fig.6I In the example shown, additional handwriting inputs such as handwriting input 604-5 are analyzed separately to determine which text input field the handwriting input is directed to (eg, in this case, to text input field 602-4).
[0225] exist Figure 6JIn some embodiments, when the user enters handwriting input 604-5 at or near the end of the text input field 602-4 (e.g., within 1 mm, 2 mm, 3 mm, etc.), the text input field 602-4 will expand horizontally to accommodate the additional handwriting input. For example, after the user writes the character "1", the text input field 602-4 optionally expands to provide the user with space to write the character "2", etc. Alternatively, in some embodiments, after the user writes the character "1", the text input field 602-4 does not expand; but after the user writes the character "2" outside the text input field 602-4, the text input field 602-4 will expand to encompass the character "2".
[0226] exist Figure 6K , the user continues to enter handwriting input 604-5 to write "1234". In some embodiments, because handwriting input 604-5 has reached the end of touch screen 504, text input field 602-4 cannot be further expanded horizontally, so text input field 602-4 is expanded vertically to provide additional lines for the user to continue entering handwriting input, such as Figure 6K shown.
[0227] In some embodiments, after the user lifts the stylus 203 off the touch screen 504 for a threshold amount of time (e.g., 0.5 seconds, 1 second, 2 seconds, 3 seconds, 5 seconds), the device 500 analyzes, interprets and converts the handwriting input into font-based text (e.g., handwriting input 604-5). In some embodiments, as described above, handwriting input 604-5 is entered into text input field 602-4 instead of text input field 602-3 because the user pauses handwriting input for a threshold amount of time (e.g., 0.5 seconds, 1 second, 2 seconds, 3 seconds, 5 seconds), so that handwriting input 604-5 is not considered to be a continuation of handwriting input 604-3 or handwriting input 604-5 (e.g., this will optionally cause the handwriting input to be entered into text input field 602-3). In some embodiments, while or after handwriting input 604-5 is converted into font-based text, text input field 602-4 returns to its original size.
[0228] FIG. 6M to FIG. 6O An alternative approach is shown in which device 500 provides additional space for continued handwriting input when the handwriting input approaches or reaches the end of the text input field. Figure 6M , the user provides handwriting input 604-5 at or near the end of text input field 602-4. In some embodiments, such as Figure 6NAs shown, the handwriting input 604-5 is shifted to the left from the end of the text input field 602-4 to provide space for the user to continue entering the handwriting input. In some embodiments, the handwriting input 604-5 is shifted to the left after the user completes writing the letter (e.g., after a short lift-off of 0.2 seconds, 0.4 seconds, 0.6 seconds, 1 second, 2 seconds, etc.). In some embodiments, the handwriting input is shifted to the left simultaneously with the text input field expansion. In some embodiments, after the user lifts the stylus 203 from the touch screen 504 for a threshold amount of time (e.g., 0.5 seconds, 1 second, 2 seconds, 3 seconds, 5 seconds), the device 500 converts the handwriting input 604-5 into font-based text, such as Fig.6O shown.
[0229] exist Figure 6P , handwriting input 604-6 is detected (e.g., received) at text input field 602-5 on touch screen 504. In some embodiments, handwriting input 604-6 is difficult to recognize. For example, device 500 has a confidence level in the handwritten letters in handwriting input 604-6 that is lower than a threshold confidence level (e.g., 25% confidence, 50% confidence, 75% confidence, etc.). In some embodiments, if the confidence level of the letters written by the user is lower than the threshold confidence level, a pop-up window with suggested font-based text is displayed to the user, such as Figure 6Q shown.
[0230] In some embodiments, pop-up window 606 is displayed above handwriting input 604-6 or otherwise displayed near handwriting input 604-6 (e.g., within 5mm, 1cm, 1.5cm, 3cm, etc.). In some embodiments, the word or letter associated with pop-up window 606 is highlighted. In some embodiments, pop-up window 606 includes the highest confidence interpretation of handwriting input 604-6 (e.g., "Salem"). In some embodiments, pop-up window 606 includes more than one potential interpretation of handwriting input 604-6 (e.g., corresponding to one or more selectable options). In some embodiments, pop-up window 606 can be selected so that handwriting input 604-6 is converted to the selected interpretation (e.g., rather than converted after a threshold time delay or other time-based heuristics). In some embodiments, pop-up window 606 is displayed after the user has lifted stylus 203 from touch screen 504 and device 500 has had the opportunity to analyze and interpret the entire handwriting sequence (e.g., an entire word, an entire sentence, a sequence of letters, etc.). In some embodiments, pop-up window 606 is displayed at any time when the user is performing handwriting input, and the pop-up window is updated as the user writes additional letters recognized by device 500. For example, pop-up window 606 optionally initially appears and displays "Sa" after the user has written "Sa". In such an example, after the user writes "l", pop-up window 606 is updated to display "Sal". In some embodiments, after the user writes "em", pop-up window 606 is updated to display "Salem" (for example, in some embodiments, the pop-up window is updated to have new letters after each letter or after a few letters). In some embodiments, pop-up window 606 is displayed regardless of the confidence level of the interpretation of the handwriting input (for example, pop-up window 606 is optionally always displayed, and it provides the user with a method of "accepting" the suggested font-based text and causing the handwriting input to be converted to the suggested font-based text, regardless of the timer being used to determine when the handwritten text is converted to font-based text). In some embodiments, pop-up window 606 includes a selectable option to reject the suggestion or otherwise dismiss pop-up window 606. In some embodiments, dismissing the pop-up window or rejecting the suggestion does not cause handwriting input 604-6 to never be converted. In some embodiments, dismissing the pop-up window or rejecting the suggestion causes handwriting input 604-6 to not be converted at that point in time, but handwriting input 604-6 is still optionally converted at a later point in time based on other heuristics (such as a timer-based conversion heuristic).
[0231] like Figure 6RAs shown, device 500 detects a tap from stylus 203 on touch screen 504 selecting pop-up window 606. In some embodiments, in response to user input selecting pop-up window 606 (e.g., selecting a selectable option corresponding to the suggested font-based text "Salem"), device 500 replaces handwritten input 604-6 with font-based text, such as Figure 6S As shown. In some embodiments, as described above, replacing (e.g., converting) handwriting input to font-based text optionally includes changing the size and / or shape of the handwriting input, optionally includes performing an animation that converts the handwriting input to font-based text, and optionally includes aligning the font-based text with a text input field (e.g., text input field 602-5) or optionally aligning the font-based text with any pre-existing text in the text input field (optionally in a manner similar to the process described below with respect to method 2000).
[0232] In some embodiments, the converted font-based text is placed in different positions in the text input field based on the confidence level of the device 500 in the handwritten letters in the handwriting input 604-6. For example, if the confidence level of the device 500 is below a threshold level (e.g., a 25% confidence level, a 50% confidence level, a 75% confidence level, etc.), the converted font-based text is not aligned with any pre-existing text or text input field. On the contrary, in some embodiments, the converted font-based text is left in the same position as the original handwriting input, thereby indicating to the user that the device 500 has no confidence in the conversion. In some embodiments, if the confidence level is above the threshold level, the converted font-based text is aligned with any pre-existing text in the text input field or remains aligned with the text input field (e.g., if there is no pre-existing text).
[0233] Figures 6T to 6W An embodiment is shown in which a text input field extends its borders to provide a more comfortable or natural writing position based on the location of the text input field on the display. Figure 6T, user input from the stylus 203 pressing the touch screen 504 (e.g., a tap input, a long press input (e.g., tap and hold), etc.) is detected at the text input field 602-8. In some embodiments, the text input field 602-8 is located at or near the bottom (e.g., the bottom third, the bottom half, the bottom quarter, etc.) of the touch screen 504. In some embodiments, it is awkward to write by hand using the stylus 203 in the bottom part of the touch screen 504 because there is almost no surface on which the user rests the palm of the user when writing by hand. Therefore, in some embodiments, the device 500 determines that the text input field should extend upward based on the position of the text input field with which the user interacts, so that the user can provide handwriting input in a less uncomfortable position. Therefore, as Figure 6U As shown, in response to receiving an input of tapping or selecting text input field 602-8, the border of text input field 602-8 extends vertically upward. In some embodiments, text input field 602-8 extends to the middle point of the screen, two-thirds point of the screen, etc. In some embodiments, text input field 602-8 extends horizontally and vertically.
[0234] exist Figure 6V , user input is received from the stylus 203 providing handwriting input 604-7 writing the word "Bob" into the extended text input field 602-8. In some embodiments, the determination of whether the handwriting input points to or corresponds to a request to enter text into the extended text input field 602-8 is the same as the determination for entering text into an unextended text input field. In some embodiments, after the handwriting input 604-7 is completed (e.g., the stylus 203 is lifted and / or no additional handwriting input is detected within a threshold amount of time (e.g., 0.5 seconds, 1 second, 2 seconds, 3 seconds, 5 seconds)), the handwriting input 604-7 is converted to font-based text and the text input field 602-8 returns to its original size and shape (e.g., simultaneously with, after, or before the conversion), as shown. Figure 6W shown.
[0235] exist Figure 6X, user input from the stylus 203 is detected outside the boundaries of any text input field on the touch screen 504. In some embodiments, if the user input does not meet any of the criteria for determining that the user input is directed to a text input field or that the user input is a request to enter text into a text input field, the user input is not considered to be handwritten text input. In some embodiments, if the user input is not handwritten text input, the gesture performed by the user input is not displayed on the screen. In some embodiments, when the user is performing handwritten text input, the letters and words handwritten by the user appear on the screen at the location and time when the input is received. In contrast, in some embodiments, when the user is not performing handwritten text input, the user's gestures do not appear on the screen. Similarly, in some embodiments, based on the elements with which the user is interacting and the characteristics of the input, the user input is interpreted as a non-text input command or a non-text input gesture. For example, in Figure 6X In some embodiments, in response to the upward scrolling input from the stylus 203, the user interface 600 scrolls upward according to the movement of the scrolling input, such as Figure 6Y As shown. Figure 6X to Figure 6Y As shown, an upward gesture when a user touches down on the touch screen 504 is not displayed on the touch screen 504 (eg, unlike when the user is using the stylus 203 to perform text input).
[0236] Figure 6Z to Figure 6MM An exemplary method of receiving handwriting input in a multi-line text input field is shown. Figure 6Z In FIG. 5 , device 500 is displaying user interface 610 including text input fields 612-1 and 612-2. In some embodiments, text input field 612-2 is a multi-line text input field capable of accepting and displaying multiple lines of text. Figure 6AA , text input field 612-1 is filled with text 616-1, and text input field 612-2 has received handwriting input 616-2. In some embodiments, if handwriting input 616-2 reaches or begins to reach the horizontal end of text input field 612-2, a pop-up window 618 is displayed to present a selectable option for creating a new line of text for input. In some embodiments, creating a new line of text includes vertically increasing the size of the text input field to accept additional handwriting input (e.g., optionally based on the size of the handwriting input). For example, if Figure 6BBAs shown, a user input is detected by the stylus 203 selecting the pop-up window 618 for creating (e.g., inserting) a new text line. In some embodiments, as a result of the user input, the text input field 612-2 extends its lower border downward to create a text line for the user to provide additional handwriting input, such as Figure 6CC shown.
[0237] exist Figure 6DD , additional handwriting input 616-3 from stylus 203 is received into the newly created space in text input field 612-2. Figure 6EE As shown, device 500 receives handwriting input 616-4. In some embodiments, handwriting input 616-4 is received at a vertical position in text input field 612-2 that is lower than handwriting input 616-3. However, in some embodiments, because handwriting input 616-4 is not at a threshold distance below handwriting input 616-3 (e.g., at least partially overlapping the vertical space of handwriting input 616-3, 1 mm below handwriting input 616-3, 2 mm below handwriting input 616-3, etc.), handwriting input 616-4 is not considered to be written on a different line from handwriting input 616-3, and is not considered to be a request to insert a new line of text.
[0238] exist Figure 6FF , handwriting input 616-5 is received more than a threshold distance below handwriting input 616-3 (e.g., 1 mm, 2 mm, 3 mm, etc. below handwriting input 616-3). In some embodiments, because, for example, handwriting input 616-5 is entered shortly after handwriting input 616-4 and without much delay and / or there is no additional text input field below text input field 612-2, even though handwriting input 616-5 is generally received outside the boundaries of text input field 612-2 (e.g., only slightly overlapping the area of text input field 612-2), handwriting input 616-5 is considered a request to enter text into a new line in text input field 612-2. In some embodiments, in response to receiving handwriting input 616-5 at a threshold distance below handwriting input 616-3, text input field 612-2 creates a new line of text to encompass handwriting input 616-5, such as Figure 6GG shown.
[0239] exist Figure 6HH In some embodiments, in response to receiving the tap input (e.g., or long press input), the text input field 612-2 further expands the text input field 612-2 to create space for the new text line, such as Fig. 6II As shown. Figures 6JJ to 6KK In , handwriting input 616-6 is received in the space of the new text line. Figure 6LL In the embodiment, after the user has completed the handwriting input and has lifted the stylus 203 from the touch screen 504, the device 500 optionally converts the handwriting input into font-based text. In some embodiments, after the handwriting input is converted into font-based text, the text input field 612-2 returns to its original size and shape, such as Figure 6MM In some embodiments, if the text in the text input field 612-2 overflows the size of the text input field 612-2, a scroll bar or navigation element (not shown) is provided to allow the user to view the overflowing text.
[0240] Figure 6NN to Figure 6RR An exemplary standard for converting handwriting input to font-based text is shown. Figure 6NN , the device 500 is displaying a user interface 620 corresponding to a note taking application. In some embodiments, the user interface 620 includes a text input area 622 in which a user can enter multiple lines of text. Figure 6OO In the text input area 622, handwriting input 624-1 is received. In some embodiments, the handwriting input 624-1 includes punctuation marks after one or more letters or words (e.g., Figure 6OO In some embodiments, in response to detecting a punctuation mark, the handwritten input before and including the punctuation mark is analyzed and converted to font-based text, such as Figure 6PP In some embodiments, the conversion is performed after a short delay (eg, according to method 1300).
[0241] exist Figure 6PP In the text input area 622, additional handwriting input 624-2 is received. In some embodiments, after a certain time delay after the user completes writing the handwriting input 624-2, the handwriting input 624-2 is converted, such as Figure 6QQ In some embodiments, the device 500 recognizes the handwriting input 624-2 as a word that the user has finished writing, and the handwriting input 624-2 is converted. In some embodiments, the handwriting input 624-2 is converted after the device 500 detects that the user has started writing on a line different from the handwriting input 624-2 (for example, the handwriting input 624-3). Figure 6QQ, handwriting input 624-3 is received in text input area 622. In some embodiments, handwriting input 624-3 includes a word to which additional letters cannot be added (e.g., "o'clock"). In some embodiments, when device 500 detects a recently written word to which additional letters cannot be added, the handwriting input up to and including the word to which additional letters cannot be added is analyzed and converted into font-based text, such as Figure 6RR As shown. In some embodiments, the words to which letters cannot be added are those words in the default dictionary based on the device to which no additional letters can be added to create a valid word. In other words, adding any additional letters to the word will produce a non-existent word (e.g., the combination of additional letters will not produce a valid word). In some embodiments, alternatively, because the user has written a threshold number of words (e.g., 3 words, 5 words, 6 words, etc.), the handwriting input 624-3 is converted to font-based text.
[0242] Figure 6SS to Figure 6YY An exemplary method of transferring font-based text from a first electronic device to a second electronic device is shown. Figure 6SS , device 500 communicates with device 631. In some embodiments, device 631 is a set-top box or other electronic device (e.g., such as device 580) that communicates with display 632. In some embodiments, device 500 communicates with device 631 wirelessly via a wireless communication protocol (e.g., WiFi, WiFi Direct, NFC, IR, RF, etc.). In some embodiments, device 631 communicates with other electronic devices (such as device 590 and / or device 591) that can remotely control device 631. In some embodiments, as Figure 6SS 634. Thus, in some embodiments, device 631 expects user input to enter text into text input field 636. In some embodiments, device 500 is displaying user interface 630 corresponding to a remote control application for remotely controlling device 631. In some embodiments, user interface 630 includes a text input area that can accept handwritten input. For example, in Figure 6TT , handwriting input 638 is detected in the text input area of user interface 630. In some embodiments, after receiving handwriting input 638 (or alternatively, when receiving handwriting input 638), handwriting input 638 is converted into font-based text, such as Figure 6UUIn some embodiments, in response to (or concurrently with) converting handwriting input 638 to font-based text, the text is transmitted to device 631 and optionally entered into text input field 636 and displayed therein.
[0243] Figure 6VV to Figure 6YY An alternative exemplary method of transferring font-based text from a first electronic device to a second electronic device is shown. In some embodiments, Figure 6VV As shown, device 631 displays one or more text input fields (e.g., text input fields 644-1 to 644-4) on user interface 642. In some embodiments, device 631 transmits data of the one or more text input fields to device 500 (or device 500 receives data about the one or more text input fields in other ways). In some embodiments, device 500 displays the one or more text input fields on user interface 640. In some embodiments, the one or more text input fields simulate the position and placement of corresponding text input fields on display 632. In some embodiments, device 500 does not simulate the position and placement of text input fields.
[0244] exist Figure 6WW , handwriting input 648 is received in text input field 646-1 on user interface 640 of device 500. In some embodiments, after the user has completed handwriting input 648 and lifted off stylus 203 (e.g., Figure 6XX ), the device 500 converts the handwriting input 648 into font-based text, such as Figure 6YY In some embodiments, after or simultaneously with converting handwriting input 648 to font-based text, device 500 transmits the text to device 631. In some embodiments, in response to receiving the text, device 631 enters and displays the received text into text input field 644-1 (e.g., corresponding to text input field 646-1).
[0245] 7A to 7I is a flow chart showing a method 700 for converting handwriting input into font-based text. Method 700 is optionally performed at an electronic device such as device 100, device 300, device 500, device 501, device 510, and device 591, as described above with reference to Figure 1A to Figure 1B , Figures 2 to 3 , FIG. 4A to FIG. 4B and FIG. 5A to FIG. 5I Some operations in method 700 are optionally combined, and / or the order of some operations is optionally changed.
[0246] As described below, method 700 provides a way to convert handwriting input into font-based text. The method reduces the cognitive burden on the user when interacting with the device user interface of the present disclosure, thereby creating a more efficient human-computer interface. For battery-powered electronic devices, improving the efficiency of user interaction with the user interface saves power and increases the time between battery charges.
[0247] In some embodiments, an electronic device that communicates with a touch-sensitive display (e.g., an electronic device including a touch screen, a mobile device (e.g., a tablet, a smart phone, a media player, or a wearable device), or a computer including a touch screen, such as device 100, device 300, device 500, device 501, or device 591) displays a user interface (702) including a first text input area on the touch-sensitive display, such as Fig. 6A As shown (e.g., a user interface with a text field or text input area in which a user can enter text). For example, the user interface is a table with multiple text fields (or text input areas), and selection of a particular text field (e.g., using a finger) optionally displays a soft keyboard for entering text into the text field. In some embodiments, text is optionally entered into the corresponding text field using a physical keyboard.
[0248] In some embodiments, while displaying the user interface, the electronic device receives user input via the touch-sensitive display, the user input comprising handwriting input (704) directed to the first text input area, such as Figure 6BAs shown (e.g., handwriting input is received on or near a text field (or text input area)). In some embodiments, user input from a stylus or other writing device is received. In some embodiments, user input from a finger is received. In some embodiments, when handwriting input is received at a position on or near a text field (or text input area), the handwriting input points to the first text input field. In some embodiments, a handwriting input indicating a request to enter text into a text input field (or text input area) is considered to point to the first text input field. For example, a handwriting input that starts in a text field (or text input area) optionally indicates that the entire handwriting input sequence is intended to be entered into the text field (or text input area), even if a portion (e.g., some or all) of the handwriting input extends outside the text field (or text input area). In some embodiments, a user input that starts outside a text field (or text input area) but a large amount of handwriting input falls into the text field (or text input area) (e.g., 30%, 50%, etc. falls into the text field or text input area) is optionally considered to intend to enter text into the text field (or text input area). In some embodiments, the text input field (or text input area) includes a predetermined margin of error, in which handwritten input within a certain distance from the text input field (or text input area) will be considered to be handwritten input within the text input field (or text input area). In some embodiments, if the input timing indicates that the input is a continuation of handwritten input that should be entered into the text field (e.g., the user continues to write without a pause or a short pause, and the writing extends beyond the text field), user input that is completely outside the text field (or text input area) is considered to be intended to enter text into the text field (or text input area).
[0249] In some embodiments, upon receiving user input, the electronic device displays a representation of the handwriting input at a location in the user interface corresponding to the text input area (706), such as Figure 6BAs shown (e.g., displaying a trace of the handwriting input at the location where the handwriting input was received on the display when the input is received). In some embodiments, when the user "draws" on the touch-sensitive display, the display displays the user's handwriting input at the location where the input was received. In some embodiments, if handwriting input is received in a text field, a handwriting input trace is displayed within the text field. More generally, in some embodiments, a handwriting input trace is displayed anywhere on the touch-sensitive display where handwriting input is received. In some embodiments, displaying the handwriting input occurs after each letter, each word, or each sentence, etc. is received. In some embodiments, user input made using an input device (e.g., a stylus, a finger, etc.) that is not determined to be handwriting input (e.g., input that does not point to a text input field or area) will not cause a trace of the input to be displayed at the same time.
[0250] In some embodiments, after displaying a representation of the handwriting input in the user interface (708), such as Fig. 6E As shown (e.g., after handwriting input ends or after handwriting input begins and while the user is still entering additional handwriting input), based on determining that the user input satisfies one or more first criteria (e.g., replacing the handwriting input with text (e.g., computer text)) optionally depending on multiple criteria, including the timing of writing, the use of particular words and / or letters, punctuation, sentence structure of the handwriting input, and / or interaction with other user interface elements), the electronic device stops displaying at least a portion of the representation of the handwriting input in the text input area and displays font-based text (710) corresponding to at least a portion of the representation of the handwriting input, such as Fig. 6E The invention further comprises: displaying (e.g., removing at least a portion of the handwriting input on the display and displaying computerized text (e.g., font-based text) corresponding to the removed portion of the handwriting input in the text input field.
[0251] In some embodiments, replacement occurs when input is received (e.g., replacing a first portion of handwriting input while a user is still entering a second portion of handwriting input). In some embodiments, replacement occurs after input ends (e.g., after a threshold amount of time without receiving handwriting input, after a user finishes writing a word or sentence, or after some other input termination criteria is met). In some embodiments, replacement occurs after suggested text is displayed to the user and input is received selecting or confirming the suggested text.
[0252] In some embodiments, the system determines the letters and / or words written by the user in the handwriting input, and converts them into computerized text. For example, the handwriting input is optionally replaced with a text with, for example, a 12th Times New Roman font (or other suitable fonts). In some embodiments, the text based on the font is a text of a size of 10, a size of 12, etc., and is optionally Arial, Calibri, Times New Roman, etc. In some embodiments, the computerized text (e.g., the text based on the font) replaces the handwriting input. In some embodiments, before or after (e.g., 0.5 seconds before or after, 1 second before or after, 3 seconds before or after, etc.) the part of the handwriting input is removed from the display, the text based on the font is displayed. In some embodiments, an animation is shown that the handwriting input is converted into computerized text or otherwise removed and the computerized text is displayed. In some embodiments, the position of the computerized text overlaps with the position where the handwriting input existed before the conversion. In some embodiments, the size of the computerized text is smaller than the handwriting input (e.g., the font size is smaller than the handwriting input). In some embodiments, the handwriting input is converted to font-based text having the same size as the handwriting input (e.g., the size of the font-based text matches the handwriting input), and the font-based text is then updated to its final size (e.g., the default size of the font-based text or the default size of the text input area). In some embodiments, the size of the handwriting input is modified to the final size of the font-based text (e.g., the default size of the font-based text or the default size of the text input area), and then the handwriting input is converted to font-based text (e.g., converted to its final size—the final size matches the final size of the handwriting input). In some embodiments, the size of the handwriting input is not changed, and the font-based text already appears at its final size without matching the size of the handwriting input and without changing from an initial size to a final size. Similarly, in some embodiments, the position of the text is optionally updated before or after the conversion. In some embodiments, the handwriting input is moved to a final position before conversion, the font-based text appears (e.g., when it is converted) at the position of the handwriting input and then moves to its final position, or the font-based text appears (e.g., when it is converted) at the final position without an animation of moving the font-based text from an initial position to a final position. In some embodiments, the animation includes changing the size and / or position of the handwriting input or font-based text from an initial position and size of the handwriting input (e.g., in any order) to produce any combination of final positions and sizes. In some embodiments, the representation of the handwritten text is displayed at the final size of the font-based text (e.g., a default size for the font-based text or a default size for the text input area) regardless of the size at which the user writes.In some embodiments, as a result of the conversion operation, the font-based text is provided as text input to the text input or text input area. In some embodiments, the animation of converting the handwritten text to the font-based text is similar to or shares similar features with the conversion of the handwritten input to the font-based text described below with respect to method 2000. In some embodiments, when the handwriting input is converted to font-based text, an animation is displayed in which the handwriting input dissolves into particles and moves to the location where the font-based text appears, where the location where the font-based text appears is similar to the animation described below with respect to method 2000 (e.g., and / or below with respect to 19I to. Fig.19N and / or relative to Figures 19O to 19V animation described above).
[0253] In some embodiments, after displaying a representation of the handwriting input in the user interface (708), such as Figure 6C As shown (e.g., after the handwriting input ends or after the handwriting input begins and while the user is still inputting additional handwriting input), based on determining that the user input does not meet the one or more first criteria, the electronic device continues to display the representation of the handwriting input without displaying the font-based text in the text input area (712), such as Figure 6C In some embodiments, the handwriting input is converted to font-based text (e.g., if the criteria for converting text are not met, the handwriting input is not converted to font-based text). In some embodiments, the handwriting input is converted at a later time after the criteria are met (e.g., if the criteria are time-dependent or additional input is required to meet the criteria for converting text). In some embodiments, the handwriting input cannot be recognized and is not converted to computer text. In some embodiments, unrecognized handwriting input is ignored or interpreted as a command. In some embodiments, a trace of the handwriting input is maintained on the display and is not removed. For example, the handwriting input is interpreted as a drawing rather than handwriting input, so the drawing remains displayed in the text input area.
[0254] The above-mentioned method of converting handwriting input into text (for example, by receiving input at or near a text input field and replacing the handwriting input with text if certain criteria are met) allows the electronic device to provide the user with the ability to write directly into the user interface to enter text (for example, by accepting handwriting input and automatically determining the text corresponding to the handwriting input and entering the text into the corresponding text input field), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by allowing the user to handwrite text directly onto the touch screen display without the user selecting the corresponding text field and then using a keyboard (for example, a physical or virtual keyboard) to enter the text into the text field), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in the use of the device.
[0255] In some embodiments, while continuing to receive handwriting input, displaying font-based text corresponding to at least a portion of the representation of the handwriting input in the text input area (714) occurs, such as Figure 6B In some embodiments, the handwriting input is converted in "real time" as the input is being received. In some embodiments, the conversion occurs after each word (or optionally, after every two words, three words, four words, etc.). In some embodiments, the conversion occurs after a specific time delay. In some embodiments, the conversion occurs after some triggering event. In some embodiments, if the conversion is "real time," the handwriting input is converted to font-based text while the user is still writing additional words or letters.
[0256] The above-mentioned manner of converting handwriting input into text (for example, by displaying font-based text while continuing to receive handwriting input) allows the electronic device to provide the user with the ability to receive instant feedback on the text the user is writing (for example, by accepting handwriting input and converting the handwriting input into text while the user is still continuing to provide handwriting input), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by allowing the user to verify whether the conversion is correct without having to wait until all inputs are converted at once or perform separate inputs to trigger the conversion), and by enabling users to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in the use of the device.
[0257] In some embodiments, in response to detecting a pause in the handwriting input that is longer than a time threshold (e.g., 0.5 seconds, 1 second, 2 seconds, 3 seconds, 5 seconds), font-based text corresponding to at least the portion of the representation of the handwriting input is displayed in the text input area (716), such as Figure 6H In some embodiments, the system may be configured to perform a conversion from handwriting input to font-based text (e.g., performing a conversion from handwriting input to font-based text after the user has paused handwriting input for a particular time threshold). For example, if a user writes a particular phrase and stops writing for a threshold amount of time, the system converts the phrase to font-based text. In some embodiments, recognition of text is improved by considering word strings and converting handwritten text after a pause, thereby providing a balance between improving text recognition and reducing delays in converting handwritten text.
[0258] The above-mentioned manner of converting handwriting input into text (for example, by displaying font-based text after the handwriting input is paused) allows the electronic device to convert handwritten text without unnecessarily distracting the user's attention (for example, by converting the handwritten text after the user has paused the handwriting input), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by allowing the user to complete their current input before performing the conversion, which reduces the possibility of distracting the user's attention while improving the accuracy of the conversion and balancing the provision of feedback to the user about the user's handwriting input), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in the use of the device.
[0259] In some embodiments, after displaying a representation of the handwriting input in the user interface, the electronic device simultaneously displays (718) on the touch-sensitive display, such as Figure 6Q As shown: at least a portion of a representation of a handwritten input (720), such as Figure 6Q and a selectable option corresponding to font-based text (724) corresponding to at least the portion of the representation of the handwritten input, such as Figure 6QAs shown (e.g., displaying a pop-up window or other type of dialog box with one or more selectable options that, when selected, cause the system to convert that portion of the representation of the handwriting input to font-based text. In some embodiments, the selectable options are suggestions to convert that portion of the handwriting input to font-based text. In some embodiments, the pop-up window is displayed when the confidence in the recognition of the handwriting input is below a certain threshold. For example, if the system is unsure what the user's handwriting input is, the pop-up window can provide the user with one or more choices of what to convert the handwriting input to. In some embodiments, if the user continues to input handwriting while the pop-up window is displayed, the suggested text in the pop-up window continues to be updated based on the continued handwriting input. For example, the handwriting input continues to be interpreted and evaluated, and the suggestions continue to be updated to reflect new letters or words added to the handwriting input. In some embodiments, the pop-up window is displayed for each word. In some embodiments, the pop-up window is displayed for the entire handwriting input. In some embodiments, the pop-up window is displayed for a subset of words of the handwriting input (e.g., two words, three words, four words, etc.).
[0260] In some embodiments, in response to detecting selection of the selectable option, ceasing to display at least the portion of the representation of the handwriting input and displaying font-based text corresponding to at least the portion of the representation of the handwriting input in the text input area (726), such as Figure 6S In some embodiments, the user is presented with a suggestion of a font-based text, and the option selected by the user is the option that is displayed.
[0261] The above-mentioned manner of presenting handwriting conversion options to the user (for example, by displaying an optional option to convert handwritten text) allows the electronic device to present to the user options of whether to convert handwritten text and what to convert the handwritten text to (for example, by converting the handwritten text when the user selects the optional option to confirm the conversion), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by allowing the user to visually verify the conversion and affirm and / or confirm the conversion without requiring the user to verify the conversion after the conversion and then make any required edits when the conversion is incorrect), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in device use.
[0262] In some embodiments, the text input area includes a text input field (728), such as Figure 6G As shown (e.g., font-based text is entered into the text field pointed to by the user's handwriting input). In some embodiments, it is determined which text field the user's handwriting input is directed to based on the characteristics of the handwriting input. In some embodiments, if the handwriting input is biased towards a given text field, the font-based text is entered into the given text field. In some embodiments, if the handwriting input starts in a given text field, the font-based text is entered into the given text field. In some embodiments, if the handwriting input ends in a given text field, the font-based text is entered into the given text field. In some embodiments, if the handwriting input overlaps with two or more text input fields, the font-based text is entered into the text input field where more content in the handwriting input overlaps with it. In some embodiments, if the handwriting input is completely outside the text input field, but a portion of a determined word sequence will be entered into a given text input field, the handwriting input that is completely outside the text input is also entered into the given text field.
[0263] The above-mentioned manner of inputting font-based text (e.g., by converting and inputting font-based text into a text input field) allows the electronic device to input the user's handwriting input into an appropriate text field (e.g., by converting the handwritten text into font-based text and displaying it in a text input field that accepts font-based text), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (e.g., by inputting the converted text into an appropriate text field without requiring the user to provide the handwriting input precisely in the desired text input field, and without requiring the user to move the converted text separately to the text input field after conversion), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0264] In some embodiments, at least the portion of the handwriting input includes handwriting input detected within the boundaries of the text input area and handwriting input detected outside the boundaries of the text input area (730), such as Figure 6GAs shown (e.g., handwritten text that partially overlaps a given text input area but also extends outside the given text input area is optionally entered into the given text input area). In some embodiments, if the handwriting input starts in a given text field, the font-based text is entered into the given text field. In some embodiments, if the handwriting input ends in a given text field, the font-based text is entered into the given text field. In some embodiments, if the handwriting input overlaps two or more text input fields, the font-based text is entered into the text input field with which more of the handwriting input overlaps.
[0265] The above-mentioned manner of accepting handwriting input (for example, by recognizing handwriting input both within the text input area and outside the text input area as pointing to the text input area) allows the electronic device to provide users with compatibility with natural handwriting features (for example, by accepting handwritten text that potentially extends outside the text input area and is not completely within the text input area), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by accepting natural handwriting input that may be large and extends outside a given text input area without requiring the user to write perfectly within the given text input area in order for the handwriting input to be accepted), and by enabling users to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0266] In some embodiments, handwriting input detected within an error margin area that is larger than the text input area and surrounds the text input area is eligible to be converted to font-based text in the text input area, and handwriting input detected outside the error margin area is not eligible to be converted to font-based text in the text input area (732), such as Figure 6B As shown (e.g., handwriting is accepted as pointing to a given text input area of a predetermined size that is larger than the text input area (e.g., 10%, 20%, 30% larger). In some embodiments, if a portion of the user's handwriting input extends beyond the given text input area but remains within the error margin area of the text input area, the entire handwriting input will be recognized as pointing to the given text input area. In some embodiments, if the handwriting input extends beyond the error margin area, the handwriting input is not considered to be pointing to the given text input area. In some embodiments, if the handwriting input extends beyond the error margin area, the portion of the handwriting input within the error margin area is processed and optionally converted, while the portion of the handwriting input outside the error margin area is not processed or optionally converted (optionally, the portion of the handwriting input remains on the display).
[0267] The above-mentioned manner of accepting handwriting input (for example, by providing an error margin area around a text input area, in which handwriting input is eligible to be converted into font-based text) allows the electronic device to provide users with compatibility with natural handwriting features (for example, by accepting handwritten text that potentially extends outside the text input area and is not completely within the text input area), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by accepting natural handwriting input that may be large and extends outside a given text input area without requiring the user to write perfectly within the given text input area in order for the handwriting input to be accepted), and by enabling users to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0268] In some embodiments, the electronic device receives a second user input via the touch-sensitive display, the second user input comprising handwriting input (734) directed to a second text input area in the user interface, such as Fig. 6E In some embodiments, the second user input is an input within a sequence of one or more handwriting inputs. In some embodiments, the second user input is performed in quick succession after the first user input. In some embodiments, the second user input does not point to the first text input area. In some embodiments, the second user input points to the second text input area or does not even point to any text input area (e.g., a space on the user interface that is not associated with a text input area, such as the space between two text fields).
[0269] In some embodiments, after receiving the second user input (736), based on determining that the second user input satisfies one or more second criteria, including criteria that are satisfied when the second user input is detected within a time threshold of the user input, the electronic device displays font-based text corresponding to the second user input in the text input area (738), such as Figure 6H As shown (for example, if a second user input is received that the system determines is associated with a handwriting input sequence directed to a text input area (for example, within a time threshold of a previous handwriting input), the converted text is entered into the text input area rather than the second input area, even if the second user input is directed to the second text input area). In some embodiments, the time threshold is 0.5 seconds, 1 second, 2 seconds, 3 seconds, 5 seconds, etc.
[0270] In some embodiments, after receiving the second user input (736), based on determining that the second user input does not satisfy the one or more second criteria, the electronic device displays font-based text corresponding to the second user input in the second text input area (740), such as Figure 6L As shown (for example, if the second user input is received after a threshold delay amount, the second user input is not considered to be associated with a handwriting input sequence directed to the text input area). In some embodiments, the second user input is then interpreted as being directed to the second text input area, and the converted text is entered into the second text input area rather than into the text input area.
[0271] The above-mentioned manner of converting handwriting input (for example, by inputting subsequent handwriting input into a given text input area, even if the subsequent handwriting input points to another text input area) allows the electronic device to provide users with compatibility with natural handwriting features (for example, by accepting continued handwriting text that is completely outside the given text input area and potentially points to another text input area, as long as the continued handwriting text is within a specific time threshold from the previous handwriting text that points to the given text input area), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by accepting natural handwriting input without requiring the user to pause their handwriting input and reposition the handwriting input to the desired text input area, or moving the converted text from the second text input area to the text input area separately after conversion), and by enabling users to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0272] In some embodiments, the one or more second criteria include being satisfied when a majority of the second user input is directed to the text input area rather than the second text input area, such as Figure 6G , and the criteria (742) are not met when a majority of the second user input is directed to the second text input area rather than the text input area, such as Figure 6K As shown (for example, if the second (e.g., continued) handwriting input is performed more within the text input area (e.g., with or without a margin of error) and not more within the second text input area (e.g., taking into account or not taking into account the space between the text input area and the second text input area), the second criterion is met so that the converted text of the second user input is entered into the text input area rather than the second text input area). In some embodiments, if a majority of the second user input is within the second input area (e.g., with or without a margin of error), the second criterion is not met and the converted text is optionally entered into the second user input.
[0273] The above-mentioned manner of converting handwriting input (for example, by inputting subsequent handwriting input into a given text input area when most of the subsequent handwriting input points to the given text input area rather than another text input area) allows the electronic device to provide users with compatibility with natural handwriting features (for example, by accepting continued handwriting text extending outside the given text input area when most of the continued handwriting text is within the given text input area), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by continuing natural handwriting input without the user pausing their handwriting input and repositioning the handwriting input to the desired text input area, or moving the converted text from the second text input area to the text input area separately after conversion), and by enabling users to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0274] In some embodiments, displaying font-based text corresponding to at least the portion of the representation of the handwriting input in the text input area includes (744), such as FIG. 6D to FIG. 6E After detecting the font-based text corresponding to at least the portion of the representation of the handwriting input, but before committing the font-based text to the text input area, displaying the font-based text at a first value of the visual characteristic (746), such as Fig.6D as shown (e.g., updating one or more visual features of the handwriting input to indicate that the handwriting input has been detected as text that can be interpreted and converted to font-based text); and after the font-based text is submitted to the text input area, displaying the font-based text with a second value of the visual feature that is different from the first value (748), such as Fig. 6E As shown (e.g., updating one or more visual features of the font-based text to indicate that the font-based text is now submitted to (e.g., entered into) the text input area). In some embodiments, updating the handwriting input includes changing the color and / or opacity of the handwriting input. In some embodiments, alternatively or in addition to this, (e.g., after converting the handwriting input) the displayed font-based text is displayed with specific visual features (e.g., gray) to indicate that the font-based text is tentatively suggested font-based text and will be submitted (e.g., formally entered into the text input area) after a specific time delay (e.g., 0.5 seconds, 1 second, 2 seconds, 3 seconds, 5 seconds). In some embodiments, the font-based text is updated to black or otherwise updated to the default color and / or size of the text input area.
[0275] The above-mentioned manner of displaying font-based text (for example, by displaying the font-based text with a first visual feature before submitting the text to a text input field and by displaying the font-based text with a second visual feature after submitting the text to the text input field) allows the electronic device to provide feedback to the user about the progress of converting the user's handwritten text (for example, by displaying the font-based text with a first visual feature before submission and displaying the font-based text with a second visual feature after submitting the font-based text to the text input area), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by providing the user with visual feedback about the progress of converting handwritten input into font-based text), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0276] In some embodiments, displaying font-based text corresponding to at least the portion of the representation of the handwriting input in the text input area includes (750), such as Fig.6D and Figure 6H As shown: Based on determining that the detection of the font-based text has a first confidence level, displaying the font-based text with a first value of the corresponding visual feature (752), such as Fig.6D as shown (e.g., based on a confidence level of the interpretation of the handwriting input, displaying the font-based text with a particular color or opacity); and based on determining that the detection of the font-based text has a second confidence level different from the first confidence level, displaying the font-based text with a second value of the corresponding visual feature different from the first value (754), such as Figure 6H As shown (e.g., if the system does not have high confidence in the conversion of the handwriting input (e.g., if the handwriting input is illegible or otherwise difficult to interpret), the font-based text is displayed with different visual characteristics than when the system has high confidence in the interpretation). For example, if the system has high confidence in the conversion of the handwriting input to a given font-based text, the font-based text is displayed in black. For example, if the system has low confidence, the font-based text is displayed in gray or red.
[0277] The above-mentioned manner of providing visual feedback (for example, by displaying font-based text with a first visual feature when the confidence in the interpretation and conversion is at a first level, and by displaying font-based text with a second visual feature when the confidence in the interpretation and conversion is at a second level) allows the electronic device to provide visual feedback of the confidence and / or accuracy of the conversion to the user, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by providing the user with a visual cue of the confidence level of the conversion of the user's handwritten user input, thereby providing the user with an indication of whether to confirm that the conversion is accurate), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in the use of the device.
[0278] In some embodiments, displaying font-based text corresponding to at least the portion of the representation of the handwriting input in the text input area includes (756), such as Figure 6S As shown: Based on determining that the detection of the font-based text has a first confidence level, displaying the font-based text at a first position in the text input area (758), such as Figure 6S as shown (e.g., based on the confidence level of the conversion, displaying the font-based text at a different location in the text input area); and based on determining that the detection of the font-based text has a second confidence level different from the first confidence level, displaying the font-based text at a second location in the text input area different from the first location (760), such as Figure 6S As shown (e.g., if the confidence level of the conversion is low, the font-based text optionally remains in the same position as the original handwriting input). For example, if the confidence level of the conversion is high, the font-based text is moved to left-align in the text input area (e.g., if the text input area is empty) or otherwise aligned with other text in the text input area. In some embodiments, if the confidence level of the conversion is low, the handwriting input is converted and left in the same position to allow the user to verify that the conversion is accurate before aligning the text with other text in the text input area (e.g., if the text input area is empty, the text is left-aligned). In some embodiments, separate user input is required to confirm or otherwise accept font-based text with low confidence.
[0279] The above-mentioned manner of displaying font-based text (for example, by displaying font-based text at a position based on the confidence level of converting text from handwriting input) allows the electronic device to provide the user with visual feedback of the confidence and / or accuracy of the conversion, which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by not moving the font-based text to its final position to provide the user with a visual cue of the confidence level of the conversion of the user's handwritten user input, thereby providing the user with an indication of whether to confirm that the conversion is accurate), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in the use of the device.
[0280] In some embodiments, such as Figures 6A to 6RR As shown, the one or more first criteria include timing characteristics based on the handwriting input (e.g., converting text after the handwriting input stops for a predetermined period of time), context associated with the handwriting input (e.g., if no additional letters can be added to a word that the user has written, converting the word to font-based text), punctuation in the handwriting input (e.g., if the user writes punctuation such as a period, converting the text that has been written up to and including the punctuation), the distance of the stylus from the touch-sensitive display (e.g., if the user puts the stylus down or moves the stylus away from the device by a threshold distance (e.g., 6 inches, 12 inches, 2 feet, etc.), converting the handwriting input that has been entered so far), input directed to a second text input area in the user interface (e.g., if the user begins entering text in another text input area, converting the handwritten text that has been entered into the first text input area) , input from a scrolling user interface (e.g., if the user interacts with the user interface to scroll the user interface or otherwise navigate around the user interface, converting the handwriting input entered so far), the angle of the stylus (e.g., if the user is pointing the stylus away from the device, converting the handwriting input entered so far), the distance of the handwriting input from an edge of the text input area (e.g., converting text more quickly when the user reaches the end of the text input area to free up space for the user to perform more handwriting input), a gesture detected on the stylus (e.g., detecting user input of a tap on the stylus causes conversion of the handwriting input entered so far), or input from a finger detected on the touch-sensitive display (e.g., receiving user input from a finger rather than the stylus, converting handwritten text entered by the stylus prior to the user input from the finger).
[0281] The above-mentioned manner of converting handwritten input (for example, by converting handwritten text based on multiple different factors) allows the electronic device to select the most appropriate time to convert handwritten text based on the situation (for example, by converting text based on the timing of the input, context, punctuation, distance and angle of the stylus, input interacting with other elements, etc.), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by converting text at a time that least disturbs the user while balancing the speed of converting the text), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0282] In some embodiments, upon receiving the user input, based on determining that one or more second criteria are met, the electronic device moves at least a portion of the representation of the handwriting input in the user interface to reveal space in the user interface for receiving additional handwriting input (764), such as Figure 6N As shown (e.g., when receiving handwritten user input, move the handwritten user input to provide space in the text input area for the user to continue to provide additional handwritten input). For example, when receiving handwritten user input, the previously provided handwritten input is scrolled to the left. In some embodiments, as a result of the scrolling, the user can continue writing in the same position or only shift their writing slightly to the right. In some embodiments, the text scrolling to the left scrolls beyond the boundary of the text input area, in which case the text is displayed above the text input area (e.g., scrolled beyond the text input area and not hidden and not displayed) or behind the text input area (e.g., scrolled beyond the text input area, but any text that exceeds the boundary of the text input area is displayed as hidden by the boundary of the text input area).
[0283] The above-mentioned manner of receiving handwriting input (for example, by moving the previous handwriting input when receiving handwriting input to provide space for more handwriting input) allows the electronic device to provide space to the user to provide handwriting input (for example, by spatially moving the previously input handwriting input to provide space for receiving additional handwriting input), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by allowing the user to continue to provide handwriting input without having to reposition the user input to ensure that it remains within the text input area), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0284] In some embodiments, upon receiving the user input, based on determining that one or more third criteria are met, the electronic device expands the boundaries of the text input area to create space in the text input area for receiving additional handwriting input (766), such as Figure 6J As shown (e.g., when the user reaches the boundary of the text input area, the text input area is expanded horizontally and / or vertically to provide space for the user to continue entering handwriting input). In some embodiments, the text input area expands into the area of another text input area, in which case the text input area will cover the other text input area or otherwise be displayed above the other text input area. In some embodiments, after the user completes the handwriting input and / or the handwriting input is converted to font-based text, the text input area will shrink back to its original size.
[0285] The above-mentioned manner of receiving handwriting input (for example, by expanding the size of the text input area) allows the electronic device to provide space to the user to provide handwriting input (for example, by horizontally expanding and / or vertically expanding the text input area when the user begins to reach the boundary of the text input area to provide space for receiving additional handwriting input), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by allowing the user to continue to provide handwriting input into the text input area), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0286] In some embodiments, the borders of the text input area are extended, such as Figure 6J As shown, including (768) based on determining that the text input area is located at a first position in the user interface, extending a first boundary of the text input area (770), such as Figure 6J As shown (e.g., if the text input area is located at a specific predefined position on the touch screen, such as in the lower third of the touch screen, the text input area is expanded vertically upward). In some embodiments, expanding the text input area vertically upward allows the user to provide handwriting input in a more comfortable or natural handwriting position. For example, writing in the bottom third of the touch screen may be awkward or uncomfortable, and expanding the text input area vertically upward allows the user to avoid an awkward or uncomfortable handwriting position.
[0287] In some embodiments, the borders of the text input area are extended, such as Figure 6K As shown, including (768) based on determining that the text input area is located at a second position in the user interface different from the first position, extending the second boundary of the text input area without extending the first boundary of the text input area (772), such as Figure 6KAs shown (for example, if the text input area is not located at a predefined position on the touch screen, such as in the lower third of the touch screen, the text input area is not expanded vertically upward). In some embodiments, the text input area expands vertically downward and / or horizontally to the right to provide a naturally expanding space for handwriting (for example, natural handwriting progress is from left to right and from top to bottom, so the natural expansion of the text input area is horizontally to the right and vertically downward, rather than vertically upward when the text input area is in the lower third of the touch screen).
[0288] The above-mentioned manner of receiving handwriting input (for example, by extending the boundaries of the text input area based on the position of the text input area on the screen) allows the electronic device to provide space to the user to provide handwriting input (for example, by moving the corresponding boundaries of the text input area based on the position of the text input area to provide the most natural position to perform handwriting input), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by providing the user with a space in which to perform handwriting input comfortably and naturally without the user having to write in an awkward position), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0289] In some embodiments, displaying a representation of handwriting input in a user interface upon receiving user input includes displaying an animation (774) in which one or more visual features of the representation of the handwriting input change as time passes since the corresponding handwriting input is received, such as Fig.6D In some embodiments, the handwriting input is displayed in a manner similar to ink writing, and the animation appears as if the ink writing dries over time. In some embodiments, the color and / or opacity of the handwriting input changes to reach a final color and / or opacity level. In some embodiments, the animation of the visual feature (e.g., the ink dries) is similar to or shares similar features with the conversion of handwriting input to font-based text described below with respect to method 2000 (e.g., the handwriting input becomes gray).
[0290] The above-mentioned manner of displaying handwriting input (for example, by changing the visual characteristics of the handwriting input over time) allows the electronic device to provide the user with visual cues about how long it has been since the handwriting input has been received and how long the handwriting input has been processed (for example, by displaying an animation of the handwriting input changing visual characteristics based on how long it has been since the handwriting input was received), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by providing the user with a visual indication of the time that has passed since the handwriting input was received), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0291] In some embodiments, ceasing to display at least the portion of the representation of the handwriting input and displaying font-based text corresponding to at least the portion of the representation of the handwriting input in the text input area includes displaying an animation (776) of the representation of the handwriting input changing into the font-based text, such as Fig.6D As shown (e.g., animating the conversion of handwriting input into font-based text). In some embodiments, the handwriting input changes shape and size to produce font-based text. In some embodiments, the animation includes changing the size, shape, color, and / or opacity of the handwriting input. In some embodiments, the handwriting input appears to be dispersed and reassembled into font-based text (e.g., dispersed into large pieces, small pieces, particles, atomized, any combination of the above, etc. and reassembled, such as described below with respect to method 2000). In some embodiments, the handwriting input fades out and the font-based text fades in. In some embodiments, during the animation, font-based text is displayed on the display at the same time as the handwriting input (e.g., when the handwriting input is removed from the display, font-based text is being displayed on the display, so that at a certain point in time, both font-based text and handwriting input are displayed on the display at the same time). In some embodiments, the animation of handwriting input transforming into font-based text is similar to or shares similar features with the conversion of handwriting input into font-based text described below with respect to method 2000 (e.g., the handwriting input dissolves into particles and moves toward where the font-based text appears).
[0292] The above-mentioned manner of displaying handwriting input (for example, by displaying an animation of handwriting input changing into font-based text) allows the electronic device to provide the user with a visual prompt that the handwriting input is converted into font-based text (for example, by displaying an animation of handwriting input changing into font-based text), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by providing the user with a visual indication that the user's handwriting input is being processed, interpreted and converted into font-based text), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0293] In some embodiments, at least the portion of the handwriting input corresponds to font-based text that includes typographical errors, and displaying the font-based text corresponding to at least the portion of the representation of the handwriting input in the text input area includes displaying the font-based text (778) with the typographical errors corrected, such as Figure 6H (e.g., in some embodiments, if the handwritten input includes typographical errors in which the system is able to determine correct input, the process of converting the handwritten text to font-based text also automatically corrects the typographical errors.) In some embodiments, automatic correction of the conversion is performed if the confidence of the corrected input is above a certain threshold confidence level (e.g., a high confidence level).
[0294] The above-mentioned way of converting handwriting input (for example, by removing typing errors when converting handwriting input into font-based text) allows the electronic device to automatically provide font-based error-free text to the user (for example, by automatically removing typing errors when converting handwriting input into font-based text), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by automatically removing the user's typing errors without the user having to separately determine whether there are typing errors and perform additional input to edit the font-based text and remove the typing errors), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0295] In some embodiments, after displaying a representation of the handwriting input in the user interface (780), based on determining that the user input satisfies one or more first criteria (782), the electronic device transmits font-based text corresponding to at least the portion of the representation of the handwriting input to a second electronic device (784) separate from the electronic device, such as Figure 6UUAs shown (for example, if the device is controlling (for example, wirelessly or wired) a second electronic device and requests the second electronic device to perform text input, after converting the handwriting input to font-based text, the text is transmitted to the second electronic device to satisfy the text input request). For example, if the second electronic device is a set-top box and the user has requested a search user interface on the second electronic device, the user is able to use the electronic device to remotely transmit text to a search field on the search user interface of the second electronic device.
[0296] The above-mentioned method of transmitting text to a second electronic device (for example, by receiving handwriting input on the electronic device, converting it into font-based text, and transmitting the font-based text to the second electronic device) allows the electronic device to provide the user with a handwriting input method for inputting text on the second electronic device (for example, by receiving handwriting input from the user, converting the handwriting input into font-based text, and transmitting the text to the second electronic device), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by accepting the user's handwriting input and transmitting font-based text to the second electronic device without the user using a virtual keyboard or using a traditional remote controller to input text on the second electronic device), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0297] In some embodiments, the second electronic device is displaying a user interface including one or more corresponding text input areas, the one or more corresponding text input areas including a corresponding text input area (786) corresponding to the text input area displayed by the electronic device, such as Figure 6SS As shown (eg, the second electronic device is displaying one or more text input areas).
[0298] In some embodiments, the electronic device detects, at the electronic device, the one or more corresponding text input areas displayed by the second electronic device (788), such as Figure 6VV In some embodiments, in response to detecting the one or more corresponding text input areas displayed by the second electronic device, the electronic device displays one or more text input areas in the user interface, including a text input area (790) corresponding to the one or more corresponding text input areas, such as Figure 6VVAs shown (e.g., extracting a text input area from the user interface of the second electronic device and displaying it on the electronic device). In some embodiments, the electronic device mirrors the user interface of the second electronic device, including any labels, text, graphics, etc., so that the electronic device displays the same user interface as the second electronic device. In some embodiments, the electronic device does not mirror the user interface of the second electronic device, but only displays a portion of the elements of the user interface of the second electronic device (e.g., displaying a text field and text field label from the user interface of the second electronic device, and not displaying other elements of the user interface of the second electronic device).
[0299] In some embodiments, transmitting the font-based text corresponding to at least the portion of the representation of the handwritten input to the second electronic device includes transmitting the font-based text to a corresponding text input area (792) on the second electronic device, such as Figure 6YY As shown (for example, an electronic device receives handwriting input directed to a corresponding text input area, and after converting the handwriting input into font-based text, transmits the font-based text to a second electronic device to be input into a corresponding text input area on a user interface of the second electronic device).
[0300] The above-mentioned manner of transferring text to a second electronic device (for example, by displaying on the electronic device the same text input area as is being displayed on the second electronic device) allows the electronic device to provide the user with an intuitive interface for transferring text to the second electronic device (for example, by mirroring the user interface of the second electronic device to the electronic device and transferring the text from the electronic device to the appropriate text input area on the second electronic device), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by providing on the electronic device the same user interface as that shown on the first electronic device, so that the user can easily and intuitively select the text input area in which to enter text, without the user having to perform additional input or use a traditional remote controller to select the text input area in which to enter text), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0301] In some embodiments, the text input area is a multi-line text input area, and font-based text corresponding to at least the portion of the representation of the handwriting input is displayed in the first line of the multi-line text input area (794), such as shown in FIGAA (e.g., the text input area supports multi-line text).
[0302] In some embodiments, while displaying font-based text corresponding to at least the portion of the representation of the handwriting input in a first line of a multi-line text input area, the electronic device receives a second user input via the touch-sensitive display, the second user input comprising handwriting input directed to the first text input area (796), such as Figure 6DD As shown (e.g., after detecting handwriting input directed to the text input area, receiving a second input directed to the text input area). In some embodiments, the second input corresponds to a request to insert a second row below the previous handwriting input. In some embodiments, the request to insert the second row includes a tap below the previous handwriting input. In some embodiments, the request includes receiving additional handwriting input below the previous handwriting input. In some embodiments, the request includes selecting an optional option to create a second row. In some embodiments, creating the second row includes vertically expanding the size of the text input area.
[0303] In some embodiments, after receiving the second user input (798), based on determining that one or more second criteria are met, the electronic device displays font-based text corresponding to the second user input in a second row of the multi-line text input area that is different from the first row (798-2), such as Figure 6LL As shown (e.g., converting the handwriting input entered by the second user and entering the converted text into a second row of the text input area (e.g., a row below a previous row of handwritten text)). In some embodiments, the one or more second criteria are met when the second user input includes a tap in the space below a previous row of handwritten text, includes a selection of a selectable option to create a new row, and / or includes handwriting input at a threshold distance (e.g., 6 points, 12 points, 18 points, 24 points, etc.) below a previous row of handwritten text.
[0304] In some embodiments, after receiving the second user input (798), based on determining that one or more second criteria are satisfied, and based on determining that the one or more second criteria are not satisfied, the electronic device displays font-based text corresponding to the second user input in the first line of the multi-line text input area (798-4), such as Figure 6EE (e.g., if the second user input does not reflect input to enter text in the second line, the font-based text is entered into the same line as the previous line of handwritten text.) For example, if the user continues handwriting input slightly below the previous line, but not far enough below the previous line that the second user input should be entered into the previous line (e.g., it appears as if the user intended to continue writing on the previous line), the converted text will continue to be entered into the previous line.
[0305] The above-mentioned manner of inputting handwritten text (for example, by entering text into the second line of a text input area that supports multiple lines of text when a user input indicates a request to input text in the second line) allows the electronic device to provide the user with an intuitive method of inputting multiple lines of text (for example, by entering text in the second line of the text input area when specific criteria for handwriting input are met), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by determining whether a new line should be created and entering text into the new line without the user having to perform additional user input or wait until the handwritten text is converted to manually edit the font-based text to insert a line break at the desired location), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0306] In some embodiments, the one or more second criteria are met when the second user input is detected more than a threshold distance (e.g., 6 points, 12 points, 18 points, 20 points, 24 points, etc.) below the user input, and the one or more second criteria are not met when the second user input is detected less than the threshold distance below the user input (798-6), such as Figures 6EE to 6FF As shown (for example, if the second user input is more than a threshold distance below the previous handwritten text, the second user input indicates a request to insert text in a second line (for example, below the previous line of handwritten text)). In some embodiments, if the second user input is no more than a threshold distance below the previous handwritten text, the second user input indicates a request to continue inserting text in the previous line of text.
[0307] The above-mentioned method of inputting multiple lines of handwritten text (for example, by entering text into a second line of a text input area upon receiving user input at a distance exceeding a threshold below a previous line of text, indicating a request to enter text in the second line) allows the electronic device to provide the user with an intuitive method of inputting multiple lines of text (for example, by accepting handwritten text below a previous line of text and interpreting the input as a request to enter the handwritten text into a line below the previous line of text), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by entering text into a new line upon receiving handwritten text at a threshold distance below a previous line of text, without the need for the user to perform additional user input or wait until the handwritten text is converted to manually edit the font-based text to insert a line break at a desired position), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0308] In some embodiments, the one or more second criteria are satisfied when the second user input includes stylus input detected at a second line in the multi-line text input area, and the one or more second criteria are not satisfied when the second user input does not include stylus input detected at a second line in the multi-line text input area (798-8), such as Figure 6FF as shown (e.g., if the second user input includes a tap, a long press, or an input above a certain force threshold at a location below the previous text line, the second user input is interpreted as including a request to insert a second text line below the previous text line).
[0309] The above-mentioned method of inputting multiple lines of handwritten text (for example, by receiving a tap at a second line indicating a request to input text in a second line and inserting text in the second line of the text input area) allows the electronic device to provide the user with an intuitive method of inputting multiple lines of text (for example, by accepting gesture input below a previous text line and interpreting the input as a request to enter handwritten text into a line below the previous text line), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by entering text into a new line when a tap is received below a previous text line, without the need for the user to perform additional user input or wait until the handwritten text is converted to manually edit the font-based text to insert a line break at the desired location), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0310] In some embodiments, a selectable option for moving to the second line and font-based text corresponding to at least the portion of the representation of the handwriting input are displayed simultaneously, and the one or more second criteria are satisfied when the selectable option is selected, and the one or more second criteria are not satisfied when the selectable option is not selected (798-10), such as Figure 6BB In some embodiments, in response to receiving a tap input or other indication of a request to insert a new line of text, the selectable options are displayed or otherwise presented. In some embodiments, in response to receiving a user input selecting the selectable option to insert a new line of text, the font-based text is inserted into the new line of text below the previous line of text.
[0311] The above-mentioned manner of inputting multiple lines of handwritten text (for example, by receiving a selection of an optional option for inserting a new line of text below a previous line of text) allows the electronic device to provide the user with a simple method of inputting multiple lines of text (for example, by providing an optional option that can be selected to insert handwritten text into a line below a previous line of text), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by providing an optional option to enter a new line of text and enter text into the new line in response to receiving a selection of the optional option, without the need for the user to manually edit the font-based text to insert a line break at the desired position after the handwritten text has been converted into font-based text), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0312] In some embodiments, the electronic device receives a second user input via the touch-sensitive display (798-12), such as Figure 6B In some embodiments, in response to receiving a second user input (798-14), based on determining that the second user input is detected in an area of the user interface corresponding to the corresponding text input area, the electronic device performs a handwriting input operation (798-16) in the corresponding text input area based on the second user input, such as Figure 6C As shown (for example, if the user input points to the text input area, the user input is interpreted as handwriting input or otherwise interpreted as a request to enter text in the text input area). In some embodiments, in response to receiving user input pointing to the text input area, the input is then accepted as handwriting input.
[0313] In some embodiments, in response to receiving a second user input (798-14), based on determining that the second user input is detected in an area of the user interface that does not correspond to the text input area, the electronic device performs a scrolling operation (798-18) in the user interface based on the second user input, such as Figure 6Y As shown (e.g., if the user input does not point to a text input area, the user input is not interpreted as a request to insert text). For example, if the user interacts with another user element that is not a text input area, the handwriting conversion process is not performed. In some embodiments, for example, if the user performs a scroll or other type of navigation gesture, navigation is performed based on the user input rather than inserting font-based text based on the handwriting input.
[0314] The above-mentioned manner of interpreting user input (for example, by interpreting the input as handwritten text when handwritten text is received in a text input area, but not interpreting the input as handwritten text when handwritten text is received in a non-text input area) allows the electronic device to provide the user with a simple method of inputting text (for example, by allowing the user to interact with the device in a non-text method when the input does not indicate a request to input text, but also allowing handwritten input to be accepted when the input indicates a request to input text), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by automatically determining whether the user is requesting to input text or requesting to interact with the user interface in other ways without the user having to perform additional input to switch to a text input mode or interact with a separate user interface or use a separate device to input text), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0315] In some embodiments, the animation of the representation of the handwriting input changing to font-based text includes (798-20): based on determining that the text input area does not yet include font-based text, animating the representation of the handwriting input to (e.g., directly) change to font-based text located at a final position in the text input area and at a final size, the font-based text to be displayed at the final size (798-22), such as Fig. 6E As shown (for example, if the text input area does not have any font-based text (or the line pointed to by the handwriting input does not have any text), the animation is that the handwritten text simultaneously changes size and shape to the font-based text and moves to the final position of the font-based text (for example, left-aligned in the text input area). Therefore, in some embodiments, the animation is performed in one step. In some embodiments, the animation of transforming the handwriting input into font-based text is similar to or shares similar features with the conversion of the handwriting input into font-based text described below with respect to method 2000. In some embodiments, if the text input area has font-based text, the animation is that the handwritten text changes shape to the font-based text and then changes size to match the size of the pre-existing font-based text.
[0316] The above-mentioned manner of converting handwriting input into text (for example, by displaying an animation of the handwriting input simultaneously changing to the final size of the font-based text and moving to the final position) allows the electronic device to provide the user with a visual prompt that the handwriting input is converted into font-based text (for example, by displaying an animation of the handwriting input changing into font-based text in one step), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by providing the user with a visual indication that the user's handwriting input is being processed, interpreted and converted into font-based text), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in the use of the device.
[0317] In some embodiments, the animation of the representation of handwriting input changing into font-based text includes (798-24): based on determining that the text input area does not yet include font-based text, animating the representation of the handwriting input changing into font-based text at an intermediate size based on the size of the representation of the handwriting input, and then animating the font-based text at the intermediate size changing into font-based text at a final position in the text input area and at a final size different from the intermediate size, the font-based text to be displayed at the final size (798-26), such as Fig. 6E As shown (e.g., if the text input area does not have any font-based text (or the line pointed to by the handwriting input does not have any text), the animation is that the handwriting text first changes shape to font-based text and changes size to a size between the final size and the original handwriting size (e.g., and optionally remains in the same position as the original handwriting input)). In some embodiments, after changing the shape to font-based text, the animation continues and changes the text to the final size and moves the text to the final position of the font-based text (e.g., left-aligned in the text input area). Therefore, in some embodiments, the animation is performed in two steps. In some embodiments, the animation of transforming the handwriting input into font-based text is similar to or shares similar features with the conversion of handwriting input to font-based text described below with respect to method 2000. For example, in some embodiments, a first animation similar to the animation described in method 2000 is performed to convert the handwriting input into font-based text having the same size as the handwriting input, and after the first animation, a second animation (e.g., optionally similar to the animation described in method 2000) is performed to transform the size of the resulting font-based text to a final size of the font-based text (e.g., from 36 font size to 12 font size, from 24 font size to 12 font size, etc.).
[0318] The above-mentioned way of converting handwriting input into text (for example, by showing that the handwriting input is first converted into font-based text with an intermediate size (between the final size and the size of the handwriting input) and then an animation of converting from the intermediate size to the final size and moving to the final position) allows the electronic device to provide the user with a visual prompt that the handwriting input is converted into font-based text (for example, by showing an animation of the handwriting input changing into font-based text in two steps to emphasize that the process both converts the handwriting input into font-based text and adjusts the font-based text to the appropriate size and moves the font-based text to the appropriate position), which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient. By enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in the use of the device.
[0319] In some embodiments, the animation of the representation of handwriting input changing into font-based text includes (798-28): based on determining that the text input area includes previously input font-based text (e.g., font-based text displayed in the text input area before the handwriting input is converted to font-based text (e.g., the font-based text corresponding to the handwriting input will be added to the pre-existing font-based text in the text input area)), based on the size of the representation of the handwriting input, animating the representation of the handwriting input to change into font-based text at an intermediate size, and then animating the font-based text at the intermediate size to change into font-based text located at a final position in the text input area and at a final size different from the intermediate size, the font-based text to be displayed at the final size, wherein the final size of the font-based text corresponding to the handwriting input is the same as the size of the previously input font-based text (798-30), such as Figure 6HAs shown (e.g., if the text input area has pre-existing font-based text (or the line pointed to by the handwriting input has pre-existing text), the animation is that the handwriting text first changes shape to font-based text, and changes size to a size between the size of the pre-existing text and the size of the original handwriting (e.g., and optionally remains in the same position as the original handwriting input)). In some embodiments, after changing the shape to font-based text, the animation continues and changes the text to the final size (e.g., the same size as the pre-existing text) and moves the text to the final position of the font-based text (e.g., left-aligned with the pre-existing text). Therefore, in some embodiments, the animation is performed in two steps and matches the font format of the pre-existing text. In some embodiments, the animation of transforming the handwriting input into font-based text is similar to or shares similar features with the conversion of handwriting input to font-based text described below with respect to method 2000. For example, in some embodiments, a first animation similar to the animation described in method 2000 is performed to convert the handwriting input into font-based text of an intermediate size, and after the first animation, a second animation (e.g., optionally similar to the animation described in method 2000) is performed to transform the size of the resulting font-based text from the intermediate size to the final size of the font-based text (e.g., from the effective 36 font size of the handwriting input to font-based text at a font size of 24, and then to a font size of 12).
[0320] The above-mentioned manner of converting handwriting input into text (for example, by displaying an animation of the handwriting input first being converted into font-based text having an intermediate size (between the final size and the size of the handwriting input) and then being converted from the intermediate size to the same size as any pre-existing text while being moved to the final position (for example, aligned with the pre-existing text)) allows the electronic device to provide the user with a visual prompt that the handwriting input is being converted into font-based text (for example, by displaying an animation of the handwriting input changing into font-based text in two steps to emphasize that the process both converts the handwriting input into font-based text and adjusts the font-based text to the appropriate size and moves the font-based text to the appropriate position), which simplifies the interaction between the user and the electronic device, enhances the operability of the electronic device, and makes the user-device interface more efficient. By enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in the use of the device.
[0321] It should be understood that Figure 7A-Figure 7IThe specific order in which the operations in the description are described is merely exemplary and is not intended to indicate that the order is the only order in which the operations may be performed. A person of ordinary skill in the art will recognize many ways to reorder the operations described herein. In addition, it should be noted that the details of other processes described herein in conjunction with other methods described herein (e.g., methods 900, 1100, 1300, 1500, 1600, 1800, 2000, and 2200) are also applicable in a similar manner to the details of the processes described above in conjunction with 7A to 7I The method 700 described above. For example, the operation of the electronic device converting handwriting input to font-based text described above with reference to method 700 optionally has one or more of the following features: selecting and deleting text, inserting handwriting input into pre-existing text, managing the timing of converting handwriting text to font-based text, presenting a handwriting input menu, controlling the characteristics of handwriting input, presenting auto-complete suggestions and converting handwriting input to font-based text, displaying options in a content input control panel, etc., as described herein with reference to other methods described herein (e.g., methods 900, 1100, 1300, 1500, 1600, 1800, 2000, and 2200). For the sake of brevity, these details are not repeated here.
[0322] The operations in the above information processing method are optionally implemented by running one or more functional modules in an information processing device, such as a general-purpose processor (for example, in combination with Figure 1A to Figure 1B , Figure 3 , FIG. 5A to FIG. 5I In addition, the above reference Figure 7A-Figure 7I The described operations are optionally performed by Figure 1A-1B . For example, display operations 702, 706, 710, 712, 714, 716, 718, 738, 740, 744, 746, 748, 750, 752, 754, 756, 758, 760, 774, 776, 778, 790, 798-2 and 798-4 and receiving operations 704, 734, 796 and 798-12 are optionally implemented by event classifier 170, event identifier 180 and event handler 190. When a corresponding predefined event or sub-event is detected, event identifier 180 activates event handler 190 associated with the detection of the event or sub-event. Event handler 190 optionally utilizes or calls data updater 176 or object updater 177 to update application internal state 192. In some embodiments, the event handler 190 accesses the corresponding GUI updater 178 to update the content displayed by the application. Similarly, those skilled in the art will clearly know how to update the content displayed by the application based on the GUI updater 178. Figure 1A to Figure 1B The components depicted in the figure are used to implement other processes.
[0323] Selecting and deleting text with the stylus
[0324] The user interacts with the electronic device in a variety of different ways, including inputting text into the electronic device. In some embodiments, the electronic device displays text in a text field or text area. The embodiments described below provide a way for the electronic device to select and / or delete text using a handwriting input device (e.g., a stylus). Enhanced interaction with the device reduces the amount of time required for the user to perform an operation, thereby reducing the power consumption of the device and extending the battery life of battery-powered devices. It should be understood that people use the device. When a person uses a device, this person is optionally referred to as a user of the device.
[0325] FIG. 8A to FIG. 8II An exemplary manner in which an electronic device interprets handwriting input to select or delete text is shown. The embodiments in these figures are used to illustrate the process described below, including reference FIG. 9A to FIG. 9G Describe the process.
[0326] Fig. 8A An exemplary device 500 is shown including a touch screen 504. Fig. 8A , the device 500 is displaying a user interface 800 corresponding to a note application. In some embodiments, the user interface 800 includes a text input area 802 in which a user can enter multiple lines of text. In some embodiments, the text input area 802 includes one or more pre-existing texts 804. In some embodiments, the pre-existing text 804 was previously entered as handwriting input and converted to font-based text. In some embodiments, the pre-existing text 804 was entered using a soft keyboard (e.g., by the user or another user on the device or another device).
[0327] exist Figure 8B In some embodiments, the user input is received from the stylus 203. In some embodiments, the user input is a gesture on the touch screen 504 that passes through a portion of the pre-existing text 804, such as Figure 8B In some embodiments, in response to the user input, a trace 806 of the handwriting input is displayed on the display. In some embodiments, the trace 806 is a visual indication on the display corresponding to the handwritten user input at the location of the handwriting input. In other words, the trace 806 is a representation of the user's handwriting input. In some embodiments, as shown in FIG. Figure 8B As shown, the handwriting input has horizontally passed through the letters "ck" in the word "clock". In some embodiments, trace 806 provides a visual indication that the user has performed a horizontal gesture passing through the letters "ck" of the word "clock". Figure 8C, continue to receive user input from stylus 203 (e.g., without lifting) across the entire word "clock." In some embodiments, a horizontal gesture (e.g., or a substantially horizontal gesture) is considered a request to select (e.g., highlight) a corresponding portion of pre-existing text 804.
[0328] exist Fig.8D , the handwritten user input is terminated (e.g., the stylus 203 has been lifted off the touch screen 504). In some embodiments, in response to the lifting of the stylus 203, the pre-existing text 804 corresponding to the word "clock" is selected. In some embodiments, selecting the word includes highlighting the word (e.g., as indicated by the highlight 808), displaying one or two selection adjustment elements 810-1 and 810-2, and / or displaying a pop-up menu 812. In some embodiments, the selection adjustment elements 810-1 and 810-2 are selectable to move the selection area to include more or fewer letters or words (e.g., the user is able to drag the selection adjustment elements 810-1 and 810-2 to encompass more or fewer letters). In some embodiments, the pop-up menu 812 includes one or more selectable options for performing operations on the highlighted text. In some embodiments, the pop-up menu 812 includes: an optional option to cut the selected text (e.g., copy the selected text to the clipboard and delete the selected text at the same time), an optional option to copy the text (e.g., copy the selected text to the clipboard), an optional option to modify the font of the selected text (e.g., change the font, size, whether to bold, underline, italic, etc.) and / or an optional option to share the selected text (e.g., share it with another user and / or another electronic device).
[0329] FIG. 8E to FIG. 8H An alternative exemplary embodiment for selecting text based on handwriting input is shown. Fig. 8E , the device 500 is displaying a user interface 800 corresponding to a note application. In some embodiments, the user interface 800 includes a text input area 802 in which a user can enter multiple lines of text. In some embodiments, the text input area 802 includes one or more pre-existing texts 804. In some embodiments, the pre-existing text 804 was previously entered as handwriting input and converted to font-based text. In some embodiments, the pre-existing text 804 was entered using a soft keyboard (e.g., by the user or another user on the device or another device).
[0330] exist Figure 8F In some embodiments, the user input is received from the stylus 203. In some embodiments, the user input is a gesture on the touch screen 504 that passes through a portion of the pre-existing text 804, such as Figure 8FIn some embodiments, in response to the user input, a trace 806 of the handwritten input is displayed on the display. In some embodiments, the trace 806 is a visual indication on the display corresponding to the handwritten user input at the location of the handwritten input. In some embodiments, as Figure 8F As shown, the handwriting input has passed through the letters "ck" in the word "clock". In some embodiments, trace 806 provides a visual indication that the user has performed a horizontal gesture that passes through the letters "ck" of the word "clock". In some embodiments, after the handwriting input is recognized as a selection gesture, the letters that have been selected so far are highlighted, and the highlight is updated in "real time" (e.g., moves with the handwriting input). Thus, as Figure 8F As shown, highlight portion 808 currently highlights the letters "ck".
[0331] exist Figure 8G , continue to receive user input from stylus 203 (e.g., without lifting) across the entire word "clock." In some embodiments, as the user is selecting additional letters, highlight portion 808 updates to highlight the additional letters that have been selected by the user input (e.g., now highlighting the entire word "clock").
[0332] In some embodiments, such as FIG. 8F to FIG. 8G As shown, the handwriting input does not need to be completely straight or completely horizontal to be interpreted as a request to select a letter or word. In some embodiments, substantially straight and / or substantially horizontal handwriting input is interpreted as a request to select a letter or word. In some embodiments, any handwriting input that passes through at least a portion of a letter or word and is not interpreted as a delete command (as will be discussed in more detail below) is interpreted as a request to select a letter or word. In some embodiments, unless the handwriting input is interpreted as another command (e.g., delete), the selection of a letter or word is performed as a default function. Therefore, in some embodiments, any handwriting input whose confidence level for another command is lower than a certain threshold (e.g., its confidence level for another command is lower than 80%, 75%, 50%) is interpreted as a selection command. In some embodiments, underlining one or more letters or words is interpreted as a request to select a letter or word. In some embodiments, drawing a circle around one or more letters or words is interpreted as a request to select a letter or word. In some embodiments, tapping or double-tapping (e.g., using stylus 203) on a word is interpreted as a request to select the corresponding word.
[0333] exist Figure 8H, handwritten user input terminates (e.g., stylus 203 has been lifted off touch screen 504). In some embodiments, in response to the lifting of stylus 203, pre-existing text 804 corresponding to the word "clock" is selected. In some embodiments, selecting the word includes highlighting the word (e.g., as indicated by highlight 808), displaying one or two selection adjustment elements (similar to Fig.8D ) and / or displaying a pop-up menu 812 (similar to those discussed in Fig.8D 812 discussed in ). In some embodiments, the trace 806 of the handwriting input is straightened and aligned with the bottom of the indicated word. In some embodiments, the representation of the handwriting input (e.g., trace 806) "snaps" to underline the word being selected.
[0334] FIG. 8I to FIG. 8N An alternative exemplary embodiment for selecting text based on handwriting input is shown. Figure 8N , device 500 is displaying a user interface 800 corresponding to a note taking application (similar to Fig. 8E and Fig. 8A 800 discussed in ).
[0335] exist Figure 8J In some embodiments, the user input is received from the stylus 203. In some embodiments, the user input is a gesture on the touch screen 504 that passes through a portion of the pre-existing text 804, such as Figure 8F In some embodiments, in response to the user input, a trace 806 of the handwritten input is displayed on the display. In some embodiments, the trace 806 is a visual indication on the display corresponding to the handwritten user input at the location of the handwritten input. In some embodiments, as Figure 8F As shown, the handwriting input has horizontally passed through the letters "ck" in the word "clock". In some embodiments, trace 806 provides a visual indication that the user has performed a horizontal gesture passing through the letters "ck" of the word "clock". Figure 8K , continue to receive user input from stylus 203 (eg, without lifting it) across the entire word "clock".
[0336] exist Figure 8L In some embodiments, in response to the lifting of stylus 203, the handwritten user input is terminated (e.g., stylus 203 has been lifted off touch screen 504). In some embodiments, in response to the lifting of stylus 203, the trace 806 of the handwritten input is straightened and aligned with the bottom of the indicated word. In some embodiments, the representation of the handwritten input (e.g., trace 806) "snaps" to underline the word being requested to be selected. In some embodiments, no actual selection occurs and the pop-up menu is not displayed.
[0337] exist Figure 8M , user input (e.g., via stylus 203 or optionally via a finger or other input device) is detected selecting the straightened and aligned representation of trace 806. In some embodiments, in response to user input selecting the underline of the word "clock", pre-existing text 804 corresponding to the word "clock" is selected, such as Figure 8N In some embodiments, selecting a word includes highlighting the word (e.g., as indicated by highlight portion 808), displaying one or two selection adjustment elements (similar to Fig.8D ) and / or displaying a pop-up menu 812 (similar to those discussed in Fig.8D Pop-up menu 812 discussed in ).
[0338] Figures 8O to 8R An exemplary process for deleting text based on handwriting input is shown. Fig.8O , device 500 is displaying a user interface 800 corresponding to a note taking application (similar to Fig. 8E and Fig. 8A 800 discussed in ).
[0339] exist Figure 8P In some embodiments, the user input is received from the stylus 203. In some embodiments, the user input is a gesture on the touch screen 504 that passes through a portion of the pre-existing text 804, such as Figure 8P In some embodiments, in response to the user input, a trace 814 of the handwritten input is displayed on the display. In some embodiments, the trace 814 is a visual indication on the display corresponding to the handwritten user input at the location of the handwritten input. In some embodiments, as Figure 8P As shown, the handwriting input vertically crosses the letter "w" twice (e.g., with an up and down gesture). In some embodiments, the handwriting input also includes a smaller horizontal component for indicating the movement across the entire letter "w".
[0340] exist Figure 8Q , the handwriting input continues to cross the word "woke". In some embodiments, when the handwriting input is recognized as a request to delete the word "woke", the word and trace 814 are updated to change color and / or opacity. Figure 8QAs shown, in some embodiments, the word and / or trace turns gray, indicating that the device 500 has recognized the user's gesture as a delete command and the word to be deleted is "woke". In some embodiments, the visual features and / or traces of the word to be deleted are not changed. In some embodiments, if the input vertically passes through one or more letters or each letter of the word in a vertical stroke, erase or smear manner, the input is recognized as a delete command. For example, if the handwriting input vertically passes through the word threshold number of times (e.g., 3 times, 4 times, 5 times, etc.), it is considered to be a request to delete the word. In some embodiments, if the handwriting input of vertical movement is received in rapid succession (e.g., 0.25 seconds, 0.5 seconds, 1 second, 3 seconds), the gesture is considered to be a request to delete the word. In some embodiments, as described above, any gesture with a confidence level of being a delete command will be interpreted as a selection command.
[0341] exist Figure 8R , the handwritten user input terminates (e.g., the stylus 203 has been lifted off the touch screen 504). In some embodiments, in response to the lifting of the stylus 203, a delete command is executed (e.g., implemented), thereby deleting the word "woke" from the pre-existing text 804. In some embodiments, while, after, or in response to deleting the word "woke" from the pre-existing text 804, a pop-up window 816 is displayed for undoing the delete command. In other words, the pop-up window 816 includes a selectable option (e.g., or is itself a selectable option), which can be selected to insert the deleted word (e.g., "woke") back into its original position in the pre-existing text 804, thereby undoing the delete command.
[0342] Figures 8S to 8W An exemplary method of canceling a delete operation is shown. Figure 8S , device 500 is displaying a user interface 800 corresponding to a note taking application (similar to Fig. 8E and Fig. 8A 800 discussed in ).
[0343] exist Figure 8T In some embodiments, the user input is received from the stylus 203. In some embodiments, the user input is a gesture on the touch screen 504 that passes through a portion of the pre-existing text 804, such as Figure 8T In some embodiments, in response to the user input, a trace 814 of the handwritten input is displayed on the display. In some embodiments, the trace 814 is a visual indication on the display corresponding to the handwritten user input at the location of the handwritten input. In some embodiments, as Figure 8TAs shown, the handwriting input vertically crosses the letter "w" twice (e.g., with an up and down gesture). In some embodiments, the handwriting input also includes a smaller horizontal component for indicating the movement across the entire letter "w".
[0344] exist Figure 8U , the handwriting input continues to pass over the word "woke". In some embodiments, when the handwriting input is recognized as a request to delete the word "woke", the word (e.g., "woke") and trace 814 are updated to change color and / or opacity (e.g., 50% opacity, 75% opacity, etc.). For example, Figure 8U As shown, in some embodiments, the word and / or trace turns gray, indicating that the device 500 has recognized the user's gesture as a delete command and the word to be deleted is "woke".
[0345] exist Figure 8V , the handwriting input moves away from the pre-existing text 804 while continuing to be pressed on the touch screen 504. In some embodiments, if the handwriting input moves away from the word selected for deletion (e.g., "woke") by a threshold distance (e.g., 3 mm, 5 mm, 1 cm, 3 cm, etc.), the additional handwriting input (e.g., moving away from the word "woke") is considered a request to cancel the deletion operation. In some embodiments, such as Figure 8V As shown, the visual features of trace 814 and the word selected for deletion return to their original state (e.g., from gray to black). Figure 8W In the example, the lift-off of the stylus 203 is detected and the delete command is canceled. Therefore, in some embodiments, the word "woke" is not touched and is not deleted, such as Figure 8W shown.
[0346] Figure 8X to Figure 8Z An exemplary process for interpreting handwriting input using both a selection component and a deletion component is shown. Figure 8W , device 500 is displaying a user interface 800 corresponding to a note taking application (similar to Fig. 8E and Fig. 8A 800 discussed in ). Figure 8X , a user input is received from stylus 203 selecting a portion of pre-existing text 804, such as Figure 8X As shown. Figure 8Y , the user continues handwriting input (without lifting off) and begins to perform a gesture associated with a delete command (e.g., swiping vertically across the word). In some embodiments, even though the user has transformed handwriting input into a gesture that is typically interpreted as a delete command, device 500 determines that the user still intends to perform a select command. For example, in Figure 8ZIn some embodiments, the lift-off of stylus 203 is detected, and in response to the lift-off, the entire sequence of words (e.g., including the word subject to the delete gesture) is highlighted. Thus, in some embodiments, if the user begins to execute a particular command, the device will submit the particular command even if the gesture transitions to another command. In some embodiments, the same applies to a gesture that begins as a delete gesture and transitions to a selection gesture (e.g., the system will execute the delete command for the entire sequence of words interacted with).
[0347] Figures 8AA to 8DD Another exemplary process for interpreting handwriting input using both a selection component and a deletion component is shown. Figure 8AA , device 500 is displaying a user interface 800 corresponding to a note taking application (similar to Fig. 8E and Fig. 8A 800 discussed in ). Figure 8BB , a user input is received from the stylus 203 selecting a portion of the pre-existing text 804 (eg, "o'clock"), such as Figure 8BB As shown. Figure 8CC , the user continues the handwriting input (without lifting off) and begins to perform a gesture associated with a delete command (e.g., swiping vertically across the word "up at 6"). In some embodiments, the user has transformed the handwriting input into a gesture that is typically interpreted as a delete command, so device 500 determines that the user now intends to perform a delete command on the word on which the delete command was received. For example, in Figure 8DD In some embodiments, the lift-off of stylus 203 is detected, and in response to the lift-off, a portion of a word (e.g., "o'clock") and a portion of a word (e.g., "up at 6") are selected corresponding to the portions subjected to the selection gesture and the deletion gesture, respectively. Thus, in some embodiments, if the user starts to execute a particular command and transitions to another command, the device will execute both commands on corresponding portions of the pre-existing text. In some embodiments, such as Figure 8DD As shown, pop-up menu 812 includes an additional selectable option to undo deletion of the deleted portion of the pre-existing text.
[0348] Figure 8EE to Figure 8II Another exemplary process for interpreting handwriting input using both a selection component and a deletion component is shown. Figure 8EE , device 500 is displaying a user interface 800 corresponding to a note taking application (similar to Fig. 8E and Fig. 8A 800 discussed in ). Figure 8FF , a user input is received from the stylus 203 selecting a portion of the pre-existing text 804 (eg, "o'clock"), such as Figure 8FFAs shown. Figure 8GG , the user continues handwriting input (without lifting off) and begins performing a gesture associated with a delete command (e.g., swiping vertically across the words "up at 6"). In some embodiments, the user has transitioned the handwriting input to providing a gesture that is typically interpreted as a delete command, so device 500 determines that the user now intends to execute a delete command. In some embodiments, if the user has transitioned to a delete command, the entire sequence of words that have performed both a selection gesture and a delete gesture are deleted upon lift-off. Alternatively, in some embodiments, after the user has transitioned to handwriting input, the system does not mark the entire sequence of words for deletion until the entire handwriting input sequence includes a majority of delete gestures rather than selection gestures. For example, in Figure 8HH , the user continues the handwriting input (without lifting off) and is on the word "I woke". Thus, in some embodiments, the handwriting input has performed more of a deletion gesture than a selection gesture. Fig.8II In some embodiments, the lift-off of the stylus 203 is detected, and in response to the lift-off, the entire word sequence (e.g., including the word subject to the selection gesture) is deleted. Fig.8II As shown, a pop-up window 816 is displayed for undoing the delete command while, after, or in response to deleting a word sequence from the pre-existing text 804. In other words, the pop-up window 816 includes a selectable option (e.g., or is itself a selectable option) that can be selected to insert the deleted word back into its original position in the pre-existing text 804, thereby undoing the delete command.
[0349] It should be understood that the above-mentioned deletion gesture and selection gesture can be applied on a per-letter basis or on a per-word basis. In other words, if a gesture is received on one or more letters of a word, then in some embodiments, only these one or more letters are subject to the corresponding selection or deletion command. In some embodiments, if a gesture is received on one or more letters of a word, then the entire word associated with the one or more letters is subject to the corresponding selection or deletion command.
[0350] Figure 8JJ to Figure 8MM An embodiment is shown in which handwriting input is received and the currently selected character is replaced with the handwriting input. Figure 8JJ A user interface 800 is shown with pre-existing font-based text 804 in a text entry area 802. Figure 8JJ, user input from stylus 203 is received across a portion of pre-existing text 804 (e.g., the word "woke"), such as a right-to-left stroke across "woke". In some embodiments, in response to the user input (optionally termination of the user input), the pre-existing text 804 corresponding to the word "woke" is selected, such as Figure 8KK As shown (optionally according to the above relative to FIG. 8B to FIG. 8N described method).
[0351] exist Figure 8LL , upon selecting the word "woke", handwriting input is received from stylus 203 writing the word "go" in text input area 802. In some embodiments, upon receiving the handwriting input, a representation of handwriting input 820 is displayed in text input area 802. In some embodiments, the handwriting input is received (e.g., at least partially) overlapping the selected word by a threshold amount. For example, in Figure 8LL In some embodiments, the handwriting input is received within a threshold distance (e.g., 0.5 inches, 1 inch, 3 inches, 5 inches, etc.) from the selected word. In some embodiments, the handwriting input is received at any location in the text input area 802, regardless of the distance from the selected word or the amount of overlap with the selected word.
[0352] In some embodiments, in response to receiving handwriting input (optionally in response to a lift-off corresponding to the handwriting input (e.g., lift-off of stylus 203), and optionally after a threshold amount of time such as 0.5 seconds, 1 second, 3 seconds, 5 seconds, etc.), the selected word "woke" is replaced with the character corresponding to the handwriting input, such as Figure 8MM As shown. Figure 8MM, handwritten input "got" is recognized and converted to font-based text, and then the word "wake" is replaced (e.g., "got" is converted to font-based text at the original location of the handwritten input and then moved to the location of the word "woke") (optionally according to methods 700, 900, 1300, 1500, 1600, 1800 and 2000). In some embodiments, handwritten input "got" is recognized and converted while replacing the word "woke" (e.g., "got" is converted while replacing the word "woke" without displaying the font-based version "got" before the replacement). In some embodiments, the words of the pre-existing text 804 are rearranged to have appropriate character spacing with the newly inserted words. Thus, in some embodiments, when one or more characters are selected (e.g., highlighted), the device 500 is capable of receiving handwritten input of the one or more characters and replacing the selected characters with the newly written characters. In some embodiments, for handwriting input to be recognized as a request to replace a selected character, the handwriting input must overlap the selected character by a threshold amount (e.g., 10% overlap, 30% overlap, 50% overlap, 75% overlap, etc.). In some embodiments, for handwriting input to be recognized as a request to replace a selected character, the handwriting input must be within a threshold distance of the selected character (e.g., 0.5 inches, 1 inch, 3 inches, 5 inches, etc.). In some embodiments, the handwriting input is recognized as a request to replace the selected character regardless of the amount of overlap with the distance to the selected character (e.g., as long as the character is currently selected). In some embodiments, the selected character is replaced only if the device is currently in a text input mode, such as a mode in which the handwriting input is converted to font-based text as described in the present disclosure (e.g., rather than a drawing mode).
[0353] FIG. 9A to FIG. 9G 1 is a flow chart showing a method 900 of interpreting handwriting input to select or delete text. Method 900 is optionally performed at an electronic device such as device 100, device 300, device 500, device 501, device 510, and device 591, as described above with reference to Figure 1A to Figure 1B , Figures 2 to 3 , FIG. 4A to FIG. 4B and FIG. 5A to FIG. 5I Some operations in method 900 are optionally combined, and / or the order of some operations is optionally changed.
[0354] As described below, method 900 provides a way to interpret handwriting input to select or delete text. The method reduces the cognitive burden on the user when interacting with the device user interface of the present disclosure, thereby creating a more efficient human-computer interface. For battery-powered electronic devices, improving the efficiency of user interaction with the user interface saves power and increases the time between battery charges.
[0355] In some embodiments, an electronic device that communicates with a touch-sensitive display (e.g., an electronic device including a touch screen, a mobile device (e.g., a tablet, a smart phone, a media player, or a wearable device), or a computer including a touch screen, such as device 100, device 300, device 500, device 501, or device 591) displays a user interface on the touch-sensitive display, the user interface including a first editable text string (902) having one or more text characters, such as Fig. 8A In some embodiments, the text in the editable text field is previously entered by the user or is pre-populated without user input. In some embodiments, the pre-existing text in the editable text field is also editable (e.g., the text can be deleted, modified, moved, added, etc.).
[0356] In some embodiments, while displaying the user interface, the electronic device receives (904) user input via the touch-sensitive display, the user input comprising handwriting input corresponding to a line drawn through a plurality of text characters in the first editable text string, such as Figure 8B As shown (e.g., handwritten input is received (e.g., using a stylus, finger, or other writing device) on a touch-sensitive display that passes through at least a portion of the text). In some embodiments, the input passes vertically through the text string (e.g., the input has a substantially only horizontal component, such that the input passes from the beginning of a portion of the text string to the end of the portion of the text string, or vice versa). In some embodiments, the input passes horizontally through the text string (e.g., the input has a substantially vertical component, such that the input passes across the text from top to bottom, or vice versa). In some embodiments, the input has a combination of horizontal and vertical components. In some embodiments, depending on the input characteristics, the system interprets the input differently and performs different actions. In some embodiments, the line drawn through the multiple text characters is not necessarily straight, and optionally includes twists, turns, waves, etc.
[0357] In some embodiments, in response to receiving the user input (906), the electronic device initiates a process (908) of selecting the plurality of text characters of the first editable text string based on determining that the handwritten input satisfies one or more first criteria, such as Fig.8DAs shown (for example, if the line is drawn in the longitudinal direction or passes through the editable text (for example, passes through the text in the left / right direction), the input is interpreted as a selection input). In some embodiments, selecting the corresponding portion of the editable text includes highlighting the corresponding portion of the text. In some embodiments, when (for example, in response to) highlighting the corresponding portion of the editable text, a text editing menu or pop-up window is displayed. In some embodiments, the corresponding portion of the first editable text is the portion through which the handwriting input passes. In some embodiments, the corresponding portion of the first editable text does not include other portions of the first editable text that the handwriting input has not yet passed through. In some embodiments, if the handwriting input includes both a longitudinal component and a transverse component, only the portion of the text passed through by the handwriting input including the longitudinal component is selected. In some embodiments, if the handwriting input starts with a longitudinal component and subsequently includes a transverse component, all text (for example, even text passed through by the transverse component) is selected. In some embodiments, if the handwriting input includes both a vertical component and a horizontal component, the input is interpreted based on which component comprises the majority of the input (e.g., if the input is primarily vertical, the input is interpreted as a selection input, and if the input is primarily horizontal, the input is interpreted as a deletion).
[0358] In some embodiments, in response to receiving the user input (906), the electronic device initiates a process (910) of deleting the plurality of text characters of the first editable text string based on determining that the handwriting input satisfies one or more second criteria different from the first criteria, such as Figure 8R As shown (for example, if the handwriting input is passed across or through the editable text in a zigzag pattern in the horizontal direction (for example, passing through the text in a wavy manner in the up / down direction), the input is interpreted as a delete input). In some embodiments, the pattern of the handwriting input suggests a request to erase, overwrite, cancel, or delete text. In some embodiments, the portion of the editable text that the handwriting input passes through is deleted from the editable text (and optionally other portions of the text are not deleted). In some embodiments, a threshold number of horizontal "passes" is required to interpret the input as a delete (for example, as if the user is passing through the corresponding portion of the editable text). In some embodiments, if the handwriting input does not meet the threshold number of horizontal "passes", the handwriting input is neither interpreted as a delete input nor as a selection input (for example, the input is ignored, or the input causes drawing on the display without otherwise causing a selection or deletion operation to be performed). For example, if the handwriting input does not feature enough zigzag patterns or punch-through patterns, the system does not interpret the handwriting input as a request to highlight text or a request to delete text.
[0359] The above-mentioned manner of selecting or deleting text (for example, by receiving handwritten user input on editable text and interpreting the handwritten user input as a selection or deletion based on the characteristics of the input) allows the electronic device to provide the user with the ability to edit text (for example, by accepting handwritten input and automatically determining whether the user intends to select text or delete text based on the input gesture), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by allowing the user to use handwriting input to select or delete text without the user navigating to a separate user interface or menu to activate the selection function or the deletion function), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0360] In some embodiments, the process of initiating selection of the plurality of text characters of the first editable text string includes displaying a representation of a line corresponding to the handwriting input while displaying the plurality of text characters in the first editable text string (912), such as Figure 8K As shown (e.g., when the input is received, if the user is requesting to highlight the text, a trace of the line input is displayed on the display at the location where the input is received). In some embodiments, when the user "draws" a line through the multiple text characters, the display shows that the line is being drawn at the location where the input is received. In some embodiments, after the user lifts off the touch screen, the line drawn on the touch screen is converted to a straight line (e.g., if the line is not completely straight but is still interpreted as a highlight request, the line is aligned to a straight line). In some embodiments, the straight line is aligned with the bottom of the multiple text characters (e.g., similar to underlining the multiple text characters).
[0361] The above-mentioned selection manner (for example, by displaying the user's input while the user is entering the user input) allows the electronic device to provide feedback to the user about which characters the user is requesting to select (for example, by providing a visual indication of where and what the user is interacting with), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by providing feedback to the user about which characters are being recognized for selection or deletion without requiring the user to guess or perform additional input to correct any errors in selection or deletion), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in the use of the device.
[0362] In some embodiments, while displaying the plurality of text characters in the first editable text string and simultaneously displaying a representation of a line corresponding to the handwriting input, the electronic device receives input corresponding to a selection of the line via the touch-sensitive display (914), such as Figure 8MIn some embodiments, after receiving input selecting the plurality of characters, the plurality of characters are not highlighted. Instead, in some embodiments, a selectable option (e.g., underline) is presented to the user, which can be selected to produce a highlight.
[0363] In some embodiments, in response to receiving input corresponding to selection of the line, the electronic device causes the plurality of text characters in the first editable text string to be selected for further action (916), such as Figure 8N As shown (e.g., in response to the user selecting a line, highlighting the multiple characters). In some embodiments, one or more selectable options are presented to the user to perform actions on the selected multiple text characters. For example, actions include copying (e.g., copying the selected text to a clipboard), cutting (e.g., copying the selected text to a clipboard and deleting the selected text), pasting (e.g., replacing the selected text with the content from the clipboard), deleting the selected text, and formatting (e.g., changing the format of the selected text, such as changing the font, changing the font size, bolding, italics, underlining, etc.). In some embodiments, more or fewer actions are possible.
[0364] The above-mentioned manner of selecting text (for example, by displaying user input underlining the multiple characters selected to be highlighted, and highlighting the word after receiving the user's selection of the line) allows the electronic device to provide feedback to the user about which characters the user is requesting to select (for example, by providing a visual indication of which characters will be selected and providing the user with an opportunity to confirm the selection), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by providing the user with an opportunity to confirm which characters will be selected or providing the user with an opportunity to exit the selection mode without the user performing additional input to correct errors in the selection or exit the selection mode), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in the use of the device.
[0365] In some embodiments, initiating the process of selecting the plurality of text characters of the first editable text string includes selecting the plurality of text characters in the first editable text string without displaying a representation of a line corresponding to the handwriting input while displaying the plurality of text characters (918), such as Fig.8DIn some embodiments, the selection occurs in "real time" as the user is selecting. In some embodiments, a trace of a line corresponding to the user's selection input is not displayed (e.g., because there is already a visual indication of what is being selected). In some embodiments, a trace of a line is displayed.
[0366] The above-mentioned manner of selecting text (e.g., by selecting the multiple characters while the user is performing a selection input gesture) allows the electronic device to provide feedback to the user about which characters the user is requesting to select (e.g., by providing a visual indication of which characters will be selected), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (e.g., by providing the user with the opportunity to view selections that occur while the user is performing input to confirm that the intended characters are being selected without requiring the user to perform additional input to correct errors in the selection), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in the use of the device.
[0367] In some embodiments, initiating the process of deleting the plurality of text characters of the first editable text string includes, while receiving user input, displaying the plurality of text characters at a first value of the visual characteristic, and displaying the remainder of the first editable text string at a second value of the visual characteristic that is different from the first value (920), such as Figure 8Q As shown (e.g., when the user is performing a gesture for deleting text characters, the visual characteristics of the characters that have been selected for deletion so far are updated). For example, the characters that have been selected for deletion so far are grayed out. In some embodiments, the characters that have been selected for deletion so far are semi-transparent (e.g., 75% transparency, 50% transparency, 25% transparency, etc.).
[0368] The above-mentioned manner of deleting text (e.g., by changing the visual features of the characters that the user has so far selected for deletion) allows the electronic device to provide feedback to the user about which characters the user is requesting to be deleted (e.g., by providing a visual indication of which characters will be deleted), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (e.g., by providing the user with the opportunity to view which characters will be deleted while the user is performing input to confirm that the intended characters will be deleted without the user having to perform additional input to correct errors in deletion), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in the use of the device.
[0369] In some embodiments, while displaying the plurality of text characters at the first value of the visual characteristic and displaying the remainder of the first editable text string at the second value of the visual characteristic, the electronic device detects a liftoff of the user input (922), such as Figure 8R In some embodiments, in response to detecting the lift-off of the user input, the electronic device stops displaying the plurality of text characters while maintaining display of the remainder of the first editable text string (924), such as Figure 8R As shown (e.g., when the user lifts off from interacting with the touch screen, the multiple text characters that have been marked for deletion are deleted from the text string). For example, if the user performs a delete gesture using a stylus, the deletion is implemented (e.g., executed) when the user lifts the stylus off the touch screen.
[0370] The above-mentioned manner of deleting text (for example, by performing deletion after the user has lifted up from interacting with the touch screen) allows the electronic device to provide the user with the ability to confirm the text to be deleted before performing the deletion (for example, by not deleting the text when the user performs the delete gesture, but allowing the user to verify the text to be deleted and delete the text after the user has lifted up (which indicates confirmation of the deletion)), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by providing the user with the opportunity to view which characters will be deleted before lifting up to confirm that the intended characters will be deleted without the user having to perform additional input to correct errors in deletion), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in the use of the device.
[0371] In some embodiments, before detecting lift-off of the user input, the electronic device displays a representation of a line corresponding to the handwriting input while displaying the first editable text string (926), such as Figure 8Q In some embodiments, in response to detecting the lift-off of the user input, the electronic device stops (928) displaying the line corresponding to the handwriting input, such as in Figure 8R As shown (eg, when a delete is performed (eg, when a lift-off is detected), the display of the trace of the user input (eg, the trace of the delete gesture) is also removed).
[0372] The above-mentioned manner of deleting text (for example, by removing the display of handwriting input when deletion is performed) allows the electronic device to clear the display of the executed gesture (for example, by removing the representation of the deletion gesture when deletion is performed or after deletion is performed), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by providing the user with multiple visual indications that deletion has been performed, including removing residual handwriting gestures), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0373] In some embodiments, after initiating the process of deleting the plurality of text characters of the first editable text string (930), based on determining that the handwriting input extends beyond a threshold distance (e.g., 0.5 cm, 1 cm, 2 cm, 5 cm) from the plurality of text characters of the first editable text string, the electronic device cancels the process of deleting the plurality of text characters of the first editable text string (932), such as Figure 8V As shown (e.g., after the user has begun to perform a delete gesture, additional handwritten user input is received indicating that the user wants to cancel the delete function). For example, if the user pulls the handwritten user input (e.g., vertically and / or horizontally) away from text that has been marked for deletion, the system optionally recognizes that the user is requesting to cancel the delete function. In some embodiments, in response to receiving a request to cancel deletion, the deletion is not performed when the user lifts away. In some embodiments, in response to receiving a request to cancel deletion, the color and / or opacity of the character marked for deletion is restored to its original color and / or opacity, respectively. In some embodiments, if the user does not extend the handwritten input away from the text character, the system determines that the user is still requesting to delete the text character (e.g., the user is not requesting to cancel deletion) and continues the deletion process.
[0374] The above-mentioned manner of canceling text deletion (for example, by interpreting a user gesture that extends the input away from a text character by a specific threshold distance as a request to cancel the deletion function) allows the electronic device to provide the user with an opportunity to cancel the deletion of text (for example, by accepting input extending away from a character that has been marked for deletion as a request to cancel the deletion process), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by providing the user with an opportunity to cancel the deletion function without the user having to re-enter all text that the user does not intend to delete), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0375] In some embodiments, upon receiving the user input, the electronic device displays a representation of a line corresponding to the handwriting input with a first value of the visual characteristic while displaying the first editable text string (934), such as Figure 8P In some embodiments, in response to receiving the user input (936), based on determining that the handwriting input satisfies the one or more second criteria, the electronic device displays a representation of the line corresponding to the handwriting input with a second value of the visual characteristic that is different from the first value (938), such as in Figure 8Q As shown (e.g., when the handwriting input is detected as a deletion request, the representation of the handwriting input (e.g., a trace) changes to indicate that the system has determined the handwriting input to be a deletion request). In some embodiments, the representation of the handwriting input is updated to have the same visual characteristics as the text that has been marked for deletion. For example, the representation is updated to become gray. In some embodiments, the representation is updated to be semi-transparent (e.g., 75% transparency, 50% transparency, 25% transparency, etc.).
[0376] The above-mentioned manner of deleting text (for example, by changing the visual features of the representation of the user's handwriting input) allows the electronic device to provide feedback to the user that the user input has been correctly interpreted as a request to delete text (for example, by providing a visual indication that the user's input gesture has been processed and interpreted as a deletion request), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by providing feedback to the user when the user's input is recognized and interpreted as a deletion request, and providing the user with visual feedback that the characters overlapped with the gesture will be deleted), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in the use of the device.
[0377] In some embodiments, initiating the process of deleting the plurality of text characters of the first editable text string includes deleting the plurality of text characters of the first editable text string (940), such as Figure 8R In some embodiments, in response to deleting the plurality of text characters of the first editable text string, the electronic device displays a selectable option in the user interface for undoing the deletion of the plurality of text characters of the first editable text string (942), such as in Figure 8R In some embodiments, the pop-up window or dialog box is displayed at or near the location of the deleted characters. In some embodiments, in response to the selection of the selectable option for undoing the deletion, the plurality of text characters are redisplayed and inserted back to their original locations.
[0378] The above-mentioned manner of providing a deletion undo function (e.g., by displaying an optional option for undoing a deletion) allows the electronic device to provide the user with the option of undoing a deletion (e.g., by providing an optional option that can be selected to undo a deletion), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (e.g., by providing the user with the option of undoing a deletion without the user having to manually re-enter all the deleted text), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in the use of the device.
[0379] In some embodiments, initiating the process of selecting the plurality of text characters of the first editable text string includes selecting the plurality of text characters of the first editable text string (944), such as Fig.8D In some embodiments, in response to selecting the plurality of text characters of the first editable text string, the electronic device displays one or more selectable options in the user interface for performing corresponding operations (946) with respect to the plurality of text characters of the first editable text string, such as Fig.8D The selected text may be displayed (e.g., a pop-up window or dialog box with one or more options for performing one or more operations on the selected text is provided or displayed). For example, the operations include copying the selected text to a clipboard, cutting the selected text (e.g., copying the selected text to a clipboard and simultaneously deleting the text), replacing the selected text with the contents of the clipboard (e.g., pasting), and / or changing one or more font characteristics of the selected text (e.g., size, font, bold, italic, underline, strikethrough, etc.).
[0380] The above-mentioned manner of providing functions related to the selected text (for example, by displaying a user interface with selectable options for performing specific functions on the selected text or performing specific functions regarding the selected text) allows the electronic device to provide the user with options for interacting with the selected text (for example, by displaying one or more selectable options for performing one or more functions on the selected text, respectively, after selecting the selected text), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by automatically providing the user with the functions to be performed on the selected text without the user having to perform additional input or navigate to a separate user interface to perform the same function), and by enabling the user to use the electronic device more quickly and efficiently, it is possible to reduce power usage and extend the battery life of the electronic device.
[0381] In some embodiments, the process of selecting the plurality of text characters of the first editable text string includes selecting the plurality of text characters of the first editable text string before detecting a liftoff of the user input (948), such as Figure 8G In some embodiments, the selection is performed upon receiving the gesture. In some embodiments, deleting the plurality of text characters of the first editable text string includes deleting the plurality of text characters of the first editable text string after detecting the lift-off of the user input (950), such as Figure 8R As shown (eg, deletion of the plurality of text characters is performed or implemented after a lift-off of the user input is detected).
[0382] The above-mentioned manner of selecting and deleting text (for example, by performing a selection function before a lift-off is detected, but performing a deletion function after a lift-off is detected) allows the electronic device to perform selection or deletion at an appropriate time (for example, by performing a selection when a selection gesture is received, but performing a deletion after the user has had the opportunity to confirm that the user wants to delete the text, and canceling the deletion when appropriate), which simplifies the interaction between the user and the electronic device and enhances the operability of the electronic device, and makes the user-device interface more efficient (for example, by providing the user with an opportunity to confirm the deletion before performing the deletion, but selecting content while the user is performing a selection gesture because selection is less intrusive than deletion), and by enabling users to use electronic devices more quickly and efficiently, it is possible to reduce power usage, extend the battery life of the electronic device, and reduce errors in device use.
[0383] In some embodiments, after initiating the respective processes of deleting the plurality of text characters and selecting the plurality of text characters, and before detecting lift-off of the user input, the el...
Claims
1. A method, include: At an electronic device in communication with a touch-sensitive display: displaying a user interface on the touch-sensitive display, the user interface comprising a first text input area; receiving a user input via the touch-sensitive display while displaying the user interface, the user input comprising a handwriting input directed to the first text input area; upon receiving the user input, displaying a representation of the handwriting input at a location in the user interface corresponding to the first text input area; as well as After displaying the representation of the handwriting input in the user interface: based on determining that the user input satisfies one or more first criteria, ceasing to display at least a portion of the representation of the handwriting input and displaying font-based text corresponding to the at least a portion of the representation of the handwriting input in the first text input area; as well as maintaining display of the representation of the handwriting input without displaying the font-based text in the first text input area based on determining that the user input does not satisfy the one or more first criteria; receiving, via the touch-sensitive display, a second user input comprising a handwritten input directed to a second area in the user interface that is external to and distinct from the first text input area; as well as After receiving the second user input: displaying font-based text corresponding to the second user input in the first text input area based on determining that the second user input satisfies one or more second criteria, wherein the one or more second criteria include a criterion that is satisfied when the second user input is detected within a time threshold of the user input; as well as Based on determining that the second user input does not satisfy the one or more second criteria, displaying font-based text corresponding to the second user input in the first text input area is abandoned. 2 . The method of claim 1 , wherein displaying the font-based text corresponding to the at least a portion of the representation of the handwriting input in the first text input area occurs while continuing to receive the handwriting input.
3. The method of claim 1 , wherein displaying the font-based text corresponding to the at least a portion of the representation of the handwriting input in the first text input area occurs in response to detecting a pause in the handwriting input that is longer than a time threshold.
4. The method according to claim 1, further comprising: include: After displaying the representation of the handwriting input in the user interface, simultaneously displaying on the touch-sensitive display: at least said portion of said representation of said handwritten input; and a selectable option corresponding to the font-based text corresponding to the at least a portion of the representation of the handwritten input, wherein in response to detecting selection of the selectable option, ceasing to display the at least a portion of the representation of the handwriting input and displaying the font-based text corresponding to the at least a portion of the representation of the handwriting input in the first text input area. The method of claim 1 , wherein the first text input area comprises a text input field.
6. A method according to claim 1, wherein handwriting input detected within an error margin area larger than the first text input area and surrounding the first text input area is eligible to be converted into font-based text in the first text input area, and handwriting input detected outside the error margin area is not eligible to be converted into font-based text in the first text input area.
7. The method according to claim 1, wherein the second area is a second text input area, the method further comprising: include: After receiving the second user input: Based on determining that the second user input does not satisfy the one or more second criteria, font-based text corresponding to the second user input is displayed in the second text input area.
8. The method of claim 1, wherein the font-based text corresponding to the at least a portion of the representation of the handwriting input is displayed in the first text input area. include: after detecting the font-based text corresponding to the at least a portion of the representation of the handwriting input but before committing the font-based text to the first text entry area, displaying the font-based text at a first value for a visual characteristic; as well as After the font-based text is submitted to the first text entry area, the font-based text is displayed with a second value of the visual characteristic that is different from the first value.
9. The method of claim 8, wherein the font-based text corresponding to the at least a portion of the representation of the handwriting input is displayed in the first text input area. include: Based on determining that the detection of the font-based text has a first confidence level, displaying the font-based text with a first value of a corresponding visual feature; as well as Based on determining that the detection of the font-based text has a second confidence level different from the first confidence level, the font-based text is displayed with a second value of the corresponding visual feature different from the first value.
10. A method according to claim 1, wherein the one or more first criteria include one or more criteria satisfied based on timing characteristics of the handwriting input, a context associated with the handwriting input, punctuation in the handwriting input, a distance of the stylus from the touch-sensitive display, input directed to a second text input area in the user interface, input scrolling the user interface, an angle of the stylus, a distance of the handwriting input from an edge of the first text input area, a gesture detected on the stylus, or an input from a finger detected on the touch-sensitive display.
11. The method according to claim 1, further comprising: include: Upon receiving the user input, based on determining that one or more second criteria are satisfied, at least a portion of the representation of the handwriting input is moved in the user interface to reveal space in the user interface for receiving additional handwriting input.
12. The method according to claim 11, further comprising: include: Upon receiving the user input, based on determining that one or more third criteria are satisfied, a boundary of the first text input area is expanded to create space in the first text input area for receiving additional handwriting input.
13. The method of claim 1, wherein displaying the representation of the handwriting input in the user interface upon receiving the user input comprises displaying an animation in which one or more visual features of the representation of the handwriting input change as a function of time that has passed since the corresponding handwriting input was received.
14. A method according to claim 1, wherein ceasing to display at least a portion of the representation of the handwriting input and displaying the font-based text corresponding to the at least a portion of the representation of the handwriting input in the first text input area comprises displaying an animation in which the representation of the handwriting input changes into the font-based text.
15. A method according to claim 1, wherein at least a portion of the handwriting input corresponds to font-based text that includes a typographical error, and displaying the font-based text corresponding to the at least a portion of the representation of the handwriting input in the first text input area includes displaying the font-based text in which the typographical error has been corrected.
16. The method according to claim 1, further comprising: include: After displaying the representation of the handwriting input in the user interface: According to the determining that the user input satisfies one or more first criteria: The font-based text corresponding to the at least a portion of the representation of the handwriting input is transmitted to a second electronic device separate from the electronic device.
17. The method of claim 1, wherein the first text input area is a multi-line text input area, and the font-based text corresponding to the at least a portion of the representation of the handwriting input is displayed in a first line of the multi-line text input area, the method further comprising: include: receiving, via the touch-sensitive display, a second user input comprising a handwriting input directed to the first text input area while displaying the font-based text corresponding to the at least a portion of the representation of the handwriting input in the first line of the multi-line text input area; as well as After receiving the second user input: displaying font-based text corresponding to the second user input in a second row of the multi-line text input area different from the first row based on determining that one or more second criteria are satisfied; as well as Based on determining that the one or more second criteria are not satisfied, the font-based text corresponding to the second user input is displayed in the first line of the multi-line text input area.
18. The method according to claim 1, further comprising: include: receiving a second user input via the touch-sensitive display; as well as In response to receiving the second user input: According to determining that the second user input is detected in the area of the user interface corresponding to the corresponding text input area, performing a handwriting input operation in the corresponding text input area based on the second user input; as well as Based on determining that the second user input is detected in an area of the user interface that does not correspond to a text input area, a scrolling operation is performed in the user interface based on the second user input.
19. An electronic device, include: one or more processors; Memory; and One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for executing the method according to any one of claims 1-18.
20. A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of an electronic device, cause the electronic device to perform the method according to any one of claims 1-18.
Citation Information
Patent Citations
Method and apparatus for integrating manual input
US20020015024A1
Acceleration-based theft detection system for portable electronic devices
US20050190059A1
Methods and apparatuses for operating a portable device based on an accelerometer
US20060017692A1
Gestures for touch sensitive input devices
US20060026536A1
Virtual input device placement on a touch screen user interface
US20060033724A1
