Devices, methods, and graphical user interfaces for navigating and entering or revising content

Through improved user interface and interactive methods, leveraging multiple user input responses, the complexity and energy waste of virtual/augmented reality environment navigation and editing in the prior art is solved, improving efficiency and user experience, and extending the battery of the device life.

CN119053938APending Publication Date: 2024-11-29APPLE INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380025338.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-09-24
Filing Date
2023-01-03
Publication Date
2024-11-29

Smart Images

  • Figure CN119053938A_ABST
    Figure CN119053938A_ABST
Patent Text Reader

Abstract

In some embodiments, a computer system scrolls scrollable content in response to a variety of user inputs. In some embodiments, a computer system enters text into a text entry field in response to a voice input. In some embodiments, a computer system facilitates interaction with a soft keyboard. In some embodiments, a computer system facilitates interaction with a cursor. In some embodiments, a computer system facilitates deletion of text. In some embodiments, a computer system facilitates interaction with a hardware input device.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of U.S. Provisional Application No. 63 / 266,357, filed January 3, 2022, U.S. Provisional Application No. 63 / 337,539, filed May 2, 2022, and U.S. Provisional Application No. 63 / 377,025, filed September 24, 2022, the contents of which are incorporated herein by reference in their entirety for all purposes. Technical Field

[0003] The present disclosure generally relates to computer systems that provide computer-generated experiences, including but not limited to electronic devices that provide virtual reality experiences and mixed reality experiences via display generation components. Background Art

[0004] In recent years, the development of computer systems for augmented reality has increased significantly. Example augmented reality environments include at least some virtual elements that replace or enhance the physical world. Input devices for computer systems and other electronic computing devices (such as cameras, controllers, joysticks, touch-sensitive surfaces, and touchscreen displays) are used to interact with virtual / augmented reality environments. Example virtual elements include virtual objects such as digital images, videos, text, icons, and control elements (such as buttons and other graphics). Summary of the Invention

[0005] Some methods and interfaces for navigating and editing content are cumbersome, inefficient, and limited. For example, systems for scrolling content, adding and editing text, and performing operations with a cursor are complex, tedious, and error-prone, placing a significant cognitive burden on the user and detracting from the experience of the virtual / augmented reality environment. In addition, these methods take longer than necessary, wasting the computer system's energy. This latter consideration is particularly important in battery-powered devices.

[0006] Therefore, there is a need for computer systems that are more efficient and intuitive for users with improved methods and interfaces for scrolling, creating, editing, and navigating content. Such methods and interfaces optionally supplement or replace conventional methods for performing such operations. Such methods and interfaces reduce the amount, extent, and / or nature of input from the user by helping the user understand the connection between the input provided and the device's response to those inputs, thereby creating a more efficient human-computer interface.

[0007] The above-mentioned defects and other problems associated with the user interface of the computer system are reduced or eliminated by the disclosed system. In some embodiments, the computer system is a desktop computer with an associated display. In some embodiments, the computer system is a portable device (e.g., a laptop, a tablet computer, or a handheld device). In some embodiments, the computer system is a personal electronic device (e.g., a wearable electronic device, such as a watch or a head-mounted device). In some embodiments, the computer system has a touch pad. In some embodiments, the computer system has one or more cameras. In some embodiments, the computer system has a touch-sensitive display (also referred to as a "touch screen" or "touch screen display"). In some embodiments, the computer system has one or more eye tracking components. In some embodiments, the computer system has one or more hand tracking components. In some embodiments, in addition to the display generation component, the computer system also has one or more output devices, which include one or more tactile output generators and / or one or more audio output devices. In some embodiments, the computer system has a graphical user interface (GUI), one or more processors, a memory, and one or more modules, a program or instruction set stored in the memory for performing multiple functions. In some embodiments, the user interacts with the GUI through contacts and gestures of a stylus and / or finger on a touch-sensitive surface, movement of the user's eyes and hands in space relative to the GUI (and / or computer system) or the user's body (as captured by a camera and other motion sensors), and / or voice input (as captured by one or more audio input devices). In some embodiments, the functions performed by interaction optionally include image editing, drawing, presentations, word processing, spreadsheet creation, playing games, making and receiving calls, video conferencing, sending and receiving emails, instant messaging, test support, digital photography, digital video recording, web browsing, digital music playback, note-taking, and / or digital video playback. Executable instructions for performing these functions are optionally included in a transient and / or non-transient computer-readable storage medium or other computer program product configured for execution by one or more processors.

[0008] There is a need for electronic devices having improved methods and interfaces for interacting with content as described above. Such methods and interfaces can supplement or replace conventional methods for interacting with content. Such methods and interfaces reduce the amount, extent, and / or nature of input from the user and produce a more efficient human-computer interface. For battery-powered computing devices, such methods and interfaces conserve power and increase the time between battery charges.

[0009] In some embodiments, the computer system scrolls scrollable content in response to various user inputs. In some embodiments, the computer system enters text into a text entry field in response to voice input. In some embodiments, the computer system facilitates interaction with a soft keyboard. In some embodiments, the computer system facilitates interaction with a cursor. In some embodiments, the computer system facilitates deletion of text from a text entry field. In some embodiments, the computer system facilitates interaction with a hardware input device.

[0010] It should be noted that the various embodiments described above can be combined with any other embodiment described herein. The features and advantages described in this specification are not comprehensive. In particular, many additional features and advantages will be apparent to those skilled in the art from the drawings, the description, and the claims. In addition, it should be noted that the language used in this specification has been selected in principle for readability and instructional purposes, and may not be selected to describe or define the subject matter of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] 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, wherein like reference numerals designate corresponding parts throughout the several views.

[0012] Figure 1 is a block diagram illustrating an operating environment for a computer system for providing an XR experience according to some embodiments.

[0013] Figure 2 is a block diagram illustrating a controller of a computer system configured to manage and coordinate a user's XR experience according to some embodiments.

[0014] Figure 3 is a block diagram illustrating display generation components of a computer system configured to provide the visual component of an XR experience to a user according to some embodiments.

[0015] Figure 4 is a block diagram illustrating a hand tracking unit of a computer system configured to capture gesture input from a user according to some embodiments.

[0016] Figure 5 is a block diagram illustrating an eye tracking unit of a computer system configured to capture gaze input from a user according to some embodiments.

[0017] Figure 6 is a flow chart illustrating a flash-assisted gaze tracking pipeline according to some embodiments.

[0018] 7A to 7HExample techniques for scrolling scrollable content in response to various user inputs are illustrated in accordance with some embodiments.

[0019] Figures 8A to 8L is a flow chart of a method of scrolling scrollable content in response to various user inputs according to various embodiments.

[0020] Figures 9A to 9N Example techniques for entering text into a text entry field in response to voice input according to some embodiments are illustrated.

[0021] Figures 10A to 10R is a flow chart of a method of entering text into a text entry field according to various embodiments.

[0022] 11A to 11O Example techniques are illustrated that facilitate interaction with a soft keyboard in accordance with some embodiments.

[0023] Figures 12A to 12P is a flow diagram of a method of facilitating interaction with a soft keyboard according to some embodiments.

[0024] 13A to 13E Example techniques are illustrated that facilitate interaction with a soft keyboard in accordance with some embodiments.

[0025] Figures 14A to 14J is a flow diagram of a method of facilitating interaction with a soft keyboard according to some embodiments.

[0026] Figures 15A to 15F Example techniques are illustrated that facilitate interaction with a soft keyboard in accordance with some embodiments.

[0027] Figures 16A to 16K is a flow diagram of a method of facilitating interaction with a soft keyboard according to some embodiments.

[0028] 17A to 17F Example techniques for facilitating interaction with a cursor according to some embodiments are illustrated.

[0029] 18A to 18E is a flowchart of a method of facilitating interaction with a cursor according to some embodiments.

[0030] Figures 19A to 19G Illustrated are example techniques for entering text into a text entry field in response to receiving speech input, according to some embodiments.

[0031] Figures 20A to 20M is a flowchart of a method of entering text into a text entry field in response to receiving speech input according to some embodiments.

[0032] Figures 21A to 21GExample techniques for revising text included in a text entry field are illustrated in accordance with some embodiments.

[0033] 22A to 22H is a flow chart of a method of revising text included in a text entry field, according to some embodiments.

[0034] 23A to 23I Example techniques for updating user interface elements based on a state of a hardware input device in communication with a computer system are illustrated in accordance with some embodiments.

[0035] 24A to 24I is a flowchart of a method for updating a user interface element based on a state of a hardware input device in communication with a computer system, according to some embodiments. DETAILED DESCRIPTION

[0036] According to some embodiments, the present disclosure relates to a user interface for providing an extended reality (XR) experience to a user.

[0037] The systems, methods, and GUIs described herein improve user interface interactions with virtual / augmented reality environments in several ways.

[0038] In some embodiments, the computer system scrolls content in response to a variety of user inputs, such as gaze-based user input and gesture-based user input (e.g., air gesture input, described in more detail below). In some embodiments, the computer system presents scrollable content that includes a first area of ​​scrollable content and a second area of ​​scrollable content. In response to detecting a user's attention directed toward the second area of ​​scrollable content, the computer system optionally scrolls the scrollable content so that the display of content in the second area advances toward the first area. In some embodiments, the computer system scrolls content in response to detecting an air gesture input including a pinch and drag gesture when the user's attention is toward the content.

[0039] In some embodiments, according to some embodiments, the computer system enters text into a text entry field in response to speech input. In response to detecting the user's attention directed to the text entry field, the computer system optionally initiates a process for accepting spoken input directed to the text entry field. The computer system optionally presents (e.g., visual, audio) feedback and displays a text representation of the speech input in the text entry field in response to the speech input directed to the text entry field.

[0040] In some embodiments, the computer system facilitates interaction with a soft keyboard. The computer system optionally displays an object (e.g., a user interface, window, or other container) comprising a text entry field that is farther than a threshold distance from the user's viewpoint in the three-dimensional environment. In response to input pointing to the text entry field, the computer system displays the soft keyboard. In some embodiments, the computer system displays the soft keyboard within a threshold distance of the user.

[0041] In some embodiments, the computer system facilitates interaction with a soft keyboard. The computer system optionally displays the soft keyboard without displaying one or more cursors for interacting with the soft keyboard. In some embodiments, the computer system detects user input directed to one or more keys of the soft keyboard provided by a corresponding portion of the user (e.g., a user's hand). The computer system optionally displays movement of one or more keys away from the corresponding portion of the user and toward the surface of the keyboard, and performs one or more operations associated with the one or more keys of the keyboard in response to the user input directed to the one or more keys of the keyboard.

[0042] In some embodiments, the computer system facilitates interaction with a soft keyboard. The computer system optionally displays the soft keyboard and one or more cursors for interacting with the soft keyboard. The computer system optionally moves the cursor in response to detecting movement of one or more corresponding parts of the user (e.g., hands). In some embodiments, in response to detecting input provided by one or more corresponding parts of the user corresponding to making a selection with one or more cursors, the computer system activates one or more keys of the soft keyboard corresponding to the one or more cursors.

[0043] In some embodiments, the computer system facilitates interaction with the cursor. The computer system optionally displays the cursor in a corresponding area of ​​the three-dimensional environment. In some embodiments, the computer system updates the location of the cursor based on the movement of the corresponding part of the user (e.g., hand) and the user's attention. When the cursor is displayed in the corresponding area of ​​the three-dimensional environment and the user's attention points to the corresponding area of ​​the three-dimensional environment, the computer system moves the cursor in the corresponding area in response to the movement of the corresponding part of the user. In some embodiments, in response to detecting the coordinated movement of the corresponding part of the user and the movement of the user's attention from the corresponding area to another position in the three-dimensional environment, the computer system displays the cursor in the new area based on the movement of the attention and the corresponding part of the user.

[0044] In some embodiments, the computer system facilitates text entry in response to speech input. The computer system optionally displays a dictation user interface element that at least partially overlays the text entry field to enable dictation of text into the text entry field. In some embodiments, the computer system enters the text into the text entry field in response to a confirmation input confirming that the text in the dictation user interface element should be entered into the text entry field. In some embodiments, the computer system abandons entering the text into the text entry field unless and until the confirmation input is received.

[0045] In some embodiments, the computer system facilitates deletion of text from a text entry field. The computer system optionally displays a user interface element associated with a soft keyboard that includes a text entry field, the text entry field including a copy of the text in a second text entry field that has the current focus of the soft keyboard and is included in the user interface of the application. In some embodiments, in response to detecting a user's attention directed to a portion of the text entry field included in the user interface element, the computer system displays an option to delete one or more characters from the text entry field. In response to detecting selection of the option and / or selection of a portion of the text entry field included in the user interface element, the computer system deletes one or more characters from the text.

[0046] In some embodiments, the computer system facilitates interaction with a hardware input device. The computer system optionally displays a user interface element in a predefined spatial relationship relative to the hardware input device, the hardware input device being in a field of view of the computer system and in communication with the computer system. In some embodiments, the user interface element includes: a text entry field including a representation of text included in a second text entry field of the application's user interface that has current focus of the hardware input device; an option to display a software input element; an option to dictate; and an option to insert suggested text into the text entry field.

[0047] Figures 1 to 6 A description of an example computer system for providing an XR experience to a user is provided. Figures 7A to 7H Example techniques for scrolling scrollable content in response to various user inputs are illustrated in accordance with some embodiments. Figures 8A to 8L is a flow chart of a method of scrolling scrollable content in response to various user inputs according to various embodiments. Figures 7A to 7H The user interface in Figures 8A to 8L in the process. Figures 9A to 9N Example techniques for entering text into a text entry field in response to voice input according to some embodiments are illustrated. Figures 10A to 10R is a flow chart of a method of entering text into a text entry field according to various embodiments. Figures 9A to 9N The user interface in Figures 10A to 10R in the process. 11A to 11O Example techniques are illustrated that facilitate interaction with a soft keyboard in accordance with some embodiments. Figures 12A to 12P is a flow diagram of a method of facilitating interaction with a soft keyboard according to some embodiments. 11A to 11O The user interface in Figures 12A to 12P in the process. 13A to 13E Example techniques are illustrated that facilitate interaction with a soft keyboard in accordance with some embodiments. Figures 14A to 14J is a flow diagram of a method of facilitating interaction with a soft keyboard according to some embodiments. 13A to 13E The user interface in Figures 14A to 14J in the process. Figures 15A to 15F Example techniques are illustrated that facilitate interaction with a soft keyboard in accordance with some embodiments. Figures 16A to 16K is a flow diagram of a method of facilitating interaction with a soft keyboard according to some embodiments. Figures 15A to 15F The user interface in Figures 16A to 16K in the process. 17A to 17F Example techniques for facilitating interaction with a cursor according to some embodiments are illustrated. 18A to 18E is a flowchart of a method of facilitating interaction with a cursor according to some embodiments. 17A to 17F The user interface in 18A to 18E in the process. Figures 19A to 19G Illustrated are example techniques for entering text into a text entry field in response to receiving speech input, according to some embodiments. Figures 20A to 20M is a flowchart of a method of entering text into a text entry field in response to receiving speech input according to some embodiments. Figures 19A to 19G The user interface in Figures 20A to 20M in the process. Figures 21A to 21G Example techniques for revising text included in a text entry field are illustrated in accordance with some embodiments. 22A to 22H is a flow chart of a method of revising text included in a text entry field, according to some embodiments. Figures 21A to 21G The user interface in 22A to 22H in the process. 23A to 23I Example techniques for updating user interface elements based on a state of a hardware input device in communication with a computer system are illustrated in accordance with some embodiments. 24A to 24I is a flowchart of a method for updating a user interface element based on a state of a hardware input device in communication with a computer system, according to some embodiments. Figures 23A to 23I The user interface in 24A to 24I in the process.

[0048] The processes described below enhance the operability of the device and make the user-device interface more efficient (e.g., by helping the user provide appropriate input and reducing user errors when operating / interacting with the device) through various techniques, including providing improved visual feedback to the user, reducing the number of inputs required to perform an operation, providing additional control options without cluttering the user interface with additional display controls, performing an operation without further user input when a set of conditions have been met, improving privacy and / or security, providing a more diverse, detailed, and / or realistic user experience while saving storage space, and / or additional technologies. These techniques also reduce power usage and extend the battery life of the device by enabling the user to use the device faster and more efficiently. Saving battery power, and therefore weight, improves the ergonomics of the device. These techniques also enable real-time communication, allow the use of fewer and / or less accurate sensors, resulting in a more compact, lighter, and cheaper device, and enable the device to be used in a variety of lighting conditions. These techniques reduce energy usage and thereby reduce the heat emitted by the device, which is particularly important for wearable devices where if the device generates too much heat well within the operating parameters of the device components, it may become uncomfortable for the user to wear the device.

[0049] In addition, in the method described herein where one or more steps depend on having met one or more conditions, it should be understood that the described method can be repeated in multiple repetitions so that in the process of repetition, all conditions of the steps in the method of determining the method have been met in different repetitions of the method. For example, if the method needs to perform the first step (if the condition is met), and perform the second step (if the condition is not met), then those of ordinary skill will know that the steps stated are repeated until both the condition is met and the condition is not met (in no particular order). Therefore, the method described as having one or more steps depending on having met one or more conditions can be rewritten as a method of repeating until each condition described in the method is met. However, this does not require a system or computer-readable medium to declare that the system or computer-readable medium includes instructions for performing a contingent operation based on the satisfaction of one or more corresponding conditions, and is therefore able to determine whether a possible situation has been met without explicitly repeating the steps of the method until all conditions of the steps in the method of determining the method have been met. Those of ordinary skill in the art will also understand that, similar to the method with a contingent step, a system or computer-readable storage medium can repeat the steps of the method as needed multiple times to ensure that all contingent steps have been performed.

[0050] In some embodiments, as Figure 1As shown in FIG, an XR experience is provided to a user via an operating environment 100 including a computer system 101. The computer system 101 includes a controller 110 (e.g., a processor of a portable electronic device or a remote server), a display generation component 120 (e.g., a head-mounted device (HMD), a display, a projector, and / or a touch screen), one or more input devices 125 (e.g., an eye tracking device 130, a hand tracking device 140, other input devices 150), one or more output devices 155 (e.g., a speaker 160, a tactile output generator 170, and other output devices 180), one or more sensors 190 (e.g., an image sensor, a light sensor, a depth sensor, a tactile sensor, an orientation sensor, a proximity sensor, a temperature sensor, a position sensor, a motion sensor, and / or a speed sensor), and optionally one or more peripheral devices 195 (e.g., a home appliance and / or a wearable device). In some embodiments, one or more of the input device 125, output device 155, sensor 190, and peripheral device 195 are integrated with the display generation component 120 (e.g., in a head-mounted device or a handheld device).

[0051] When describing an XR experience, various terms are used to distinctly refer to several related but distinct environments that a user can sense and / or with which the user can interact (e.g., using inputs detected by the computer system 101 generating the XR experience, which inputs cause the computer system generating the XR experience to generate audio, visual, and / or haptic feedback corresponding to the various inputs provided to the computer system 101). The following is a subset of these terms:

[0052] Physical Environment: The physical environment refers to the physical world that people can sense and / or interact with without the aid of electronic systems. A physical environment, such as a physical park, includes physical objects, such as physical trees, physical buildings, and physical people. People can directly sense and / or interact with the physical environment, such as through sight, touch, hearing, taste, and smell.

[0053] Extended Reality: In contrast, an extended reality (XR) environment refers to a fully or partially simulated environment that people sense and / or interact with via electronic systems. In XR, a subset of a person's physical movements, or representations thereof, is tracked, and in response, one or more features of one or more virtual objects simulated in the XR environment are adjusted in a manner that conforms to at least one law of physics. For example, an XR system can detect a person's head rotation and, in response, adjust the graphical content and sound field presented to the person in a manner similar to how such views and sounds change in a physical environment. In some cases (e.g., for accessibility reasons), adjustments to features of virtual objects in an XR environment can be made in response to representations of physical movement (e.g., voice commands). People can sense and / or interact with XR objects using any of their senses, including vision, hearing, touch, taste, and smell. For example, people can sense and / or interact with audio objects, which create a 3D or spatial audio environment that provides the perception of a point audio source in 3D space. As another example, audio objects can enable audio transparency, which selectively introduces ambient sounds from the physical environment with or without computer-generated audio. In some XR environments, people can sense and / or interact only with audio objects.

[0054] Examples of XR include virtual reality and mixed reality.

[0055] Virtual Reality: A virtual reality (VR) environment is a simulated environment designed to be based entirely on computer-generated sensory input to one or more senses. A VR environment includes multiple virtual objects that a person can sense and / or interact with. For example, trees, buildings, and computer-generated images representing human avatars are examples of virtual objects. A person can sense and / or interact with virtual objects in a VR environment through the simulation of the person's presence within the computer-generated environment and / or through the simulation of a subset of the person's physical movement within the computer-generated environment.

[0056] Mixed Reality: In contrast to VR environments, which are designed to be based entirely on computer-generated sensory input, a mixed reality (MR) environment refers to a simulated environment that is designed to include sensory input from the physical environment, or representations thereof, in addition to computer-generated sensory input (e.g., virtual objects). On the virtuality continuum, a mixed reality environment is anything between, but not including, a fully physical environment at one end and a virtual reality environment at the other. In some MR environments, computer-generated sensory input can respond to changes in sensory input from the physical environment. In addition, some electronic systems used to render MR environments can track position and / or orientation relative to the physical environment to enable virtual objects to interact with real objects (i.e., physical items from the physical environment, or representations thereof). For example, the system can cause motion so that virtual trees appear stationary relative to the physical ground.

[0057] Examples of mixed reality include augmented reality and augmented virtuality.

[0058] Augmented Reality: An augmented reality (AR) environment refers to a simulated environment in which one or more virtual objects are superimposed on a physical environment or a representation of a physical environment. For example, an electronic system for presenting an AR environment may have a transparent or translucent display through which a person can directly view the physical environment. The system can be configured to present virtual objects on a transparent or translucent display so that a person uses the system to perceive the virtual objects superimposed on the physical environment. Alternatively, the system may have an opaque display and one or more imaging sensors that capture images or videos of the physical environment, which are representations of the physical environment. The system combines the images or videos with the virtual objects and presents the combination on the opaque display. A person uses the system to indirectly view the physical environment via the images or videos of the physical environment and perceives the virtual objects superimposed on the physical environment. As used herein, a video of the physical environment displayed on an opaque display is referred to as "transparent video," meaning that the system uses one or more image sensors to capture images of the physical environment and uses those images when presenting the AR environment on the opaque display. Further alternatively, the system may have a projection system that projects virtual objects into a physical environment, such as as holograms or on a physical surface, so that a person using the system perceives virtual objects superimposed on the physical environment. An augmented reality environment also refers to a simulated environment in which a representation of a physical environment is transformed by computer-generated sensory information. For example, in providing a pass-through video, the system may transform one or more sensor images to apply a selected perspective (e.g., a viewpoint) that is different from the perspective captured by the imaging sensor. For another example, the representation of the physical environment may be transformed by graphically modifying (e.g., enlarging) a portion thereof so that the modified portion may be a representative but not real version of the original captured image. For another example, the representation of the physical environment may be transformed by graphically eliminating a portion thereof or blurring a portion thereof.

[0059] Augmented Virtual: An augmented virtual (AV) environment is a simulated environment in which a virtual or computer-generated environment incorporates one or more sensory inputs from the physical environment. The sensory input can be a representation of one or more characteristics of the physical environment. For example, an AV park can have virtual trees and virtual buildings, but people's faces are realistically reproduced from images taken of physical people. In another example, a virtual object can adopt the shape or color of a physical object imaged by one or more imaging sensors. In another example, a virtual object can adopt a shadow that conforms to the position of the sun in the physical environment.

[0060] Viewpoint-locked virtual objects: When a computer system displays a virtual object at the same position and / or location in a user's viewpoint, even if the user's viewpoint shifts (e.g., changes), the virtual object is viewpoint-locked. In embodiments where the computer system is a head-mounted device, the user's viewpoint is locked to the forward direction of the user's head (e.g., when the user is looking straight ahead, the user's viewpoint is at least a portion of the user's field of view); thus, without moving the user's head, the user's viewpoint remains fixed even when the user's gaze shifts. In embodiments where the computer system has a display generation component (e.g., a display screen) that is repositionable relative to the user's head, the user's viewpoint is the augmented reality view presented to the user on the display generation component of the computer system. For example, a viewpoint-locked virtual object that is displayed in the upper left corner of the user's viewpoint when the user's viewpoint is in a first orientation (e.g., the user's head is facing north) continues to be displayed in the upper left corner of the user's viewpoint even when the user's viewpoint changes to a second orientation (e.g., the user's head is facing west). In other words, the position and / or location of the viewpoint-locked virtual object displayed in the user's viewpoint is independent of the user's position and / or orientation in the physical environment. In embodiments where the computer system is a head-mounted device, the user's viewpoint is locked to the orientation of the user's head, such that the virtual object is also referred to as a "head-locked virtual object."

[0061] Environment-locked visual objects: A virtual object is environment-locked (alternatively, "world-locked") when a computer system displays it at a location and / or position in a user's viewpoint that is based on (e.g., selected with reference to and / or anchored to) a location and / or object in a three-dimensional environment (e.g., a physical environment or a virtual environment). As the user's viewpoint shifts, the location and / or objects in the environment change relative to the user's viewpoint, which causes the environment-locked virtual object to be displayed at a different location and / or position in the user's viewpoint. For example, an environment-locked virtual object locked to a tree immediately in front of the user is displayed at the center of the user's viewpoint. When the user's viewpoint shifts to the right (e.g., the user's head turns to the right) such that the tree is now to the left of center in the user's viewpoint (e.g., the tree's position in the user's viewpoint shifts), the environment-locked virtual object locked to the tree is displayed to the left of center in the user's viewpoint. In other words, the position and / or orientation at which an environment-locked virtual object is displayed in the user's viewpoint depends on the position and / or orientation of the object in the environment to which the virtual object is locked. In some embodiments, the computer system uses a stationary reference frame (e.g., a coordinate system anchored to fixed locations and / or objects in the physical environment) to determine the positioning at which an environment-locked virtual object is displayed in the user's viewpoint. An environment-locked virtual object can be locked to a stationary portion of the environment (e.g., a floor, wall, table, or other stationary object), or can be locked to a movable portion of the environment (e.g., a vehicle, animal, person, or even a representation of a part of the user's body that moves independently of the user's viewpoint, such as a hand, wrist, arm, or foot of the user) so that the virtual object moves as the viewpoint or that portion of the environment moves to maintain a fixed relationship between the virtual object and that portion of the environment.

[0062] In some embodiments, an environment-locked or viewpoint-locked virtual object exhibits an inertial following behavior that reduces or delays the movement of the environment-locked or viewpoint-locked virtual object relative to the movement of a reference point that the virtual object follows. In some embodiments, when exhibiting inertial following behavior, the computer system intentionally delays the movement of the virtual object when movement of a reference point that the virtual object is following (e.g., a portion of the environment, a viewpoint, or a point fixed relative to the viewpoint, such as a point between 5 cm and 300 cm from the viewpoint) is detected. For example, when the reference point (e.g., the portion of the environment or the viewpoint) moves at a first speed, the virtual object is moved by the device to remain locked to the reference point, but at a second speed that is slower than the first speed (e.g., until the reference point stops moving or slows down, at which point the virtual object begins to catch up with the reference point). In some embodiments, when the virtual object exhibits inertial following behavior, the device ignores small amounts of movement of the reference point (e.g., ignoring movements of the reference point below a threshold movement amount, such as movement of 0 to 5 degrees or movement of 0 to 50 cm). For example, when the reference point (e.g., the portion of the environment or viewpoint to which the virtual object is locked) moves a first amount, the distance between the reference point and the virtual object increases (e.g., because the virtual object is being displayed so as to maintain a fixed or substantially fixed position relative to a viewpoint or portion of the environment that is different from the reference point to which the virtual object is locked), and when the reference point (e.g., the portion of the environment or viewpoint to which the virtual object is locked) moves a second amount greater than the first amount, the distance between the reference point and the virtual object initially increases (e.g., because the virtual object is being displayed so as to maintain a fixed or substantially fixed position relative to a viewpoint or portion of the environment that is different from the reference point to which the virtual object is locked), and then decreases as the amount of movement of the reference point increases above a threshold (e.g., a “lazy follow” threshold) because the virtual object is moved by the computer system to maintain a fixed or substantially fixed position relative to the reference point. In some embodiments, maintaining a substantially fixed position of the virtual object relative to the reference point includes displaying the virtual object within a threshold distance (e.g., 1 cm, 2 cm, 3 cm, 5 cm, 15 cm, 20 cm, 50 cm) of the reference point in one or more dimensions (e.g., up / down, left / right, and / or forward / backward relative to the position of the reference point).

[0063] Hardware: There are many different types of electronic systems that enable people to sense various XR environments and / or interact with various CGR environments. Examples include head-mounted systems, projection-based systems, heads-up displays (HUDs), vehicle windshields with integrated display capabilities, windows with integrated display capabilities, displays formed as lenses designed to be placed on a person's eyes (e.g., similar to contact lenses), headphones / earpieces, speaker arrays, input systems (e.g., wearable or handheld controllers with or without haptic feedback), smartphones, tablets, and desktop / laptop computers. A head-mounted system can have one or more speakers and an integrated opaque display. Alternatively, a head-mounted system can be configured to accept an external opaque display (e.g., a smartphone). A head-mounted system can incorporate one or more imaging sensors for capturing images or video of the physical environment and / or one or more microphones for capturing audio of the physical environment. Instead of an opaque display, a head-mounted system can have a transparent or translucent display. A transparent or translucent display can have a medium through which light representing the image is directed to the person's eyes. The display may utilize digital light projection, OLED, LED, uLED, liquid crystal on silicon, laser scanning light sources, or any combination of these technologies. The medium may be an optical waveguide, a holographic medium, an optical combiner, an optical reflector, or any combination thereof. In one embodiment, the transparent or translucent display may be configured to selectively become opaque. The projection-based system may employ retinal projection technology that projects graphic images onto a person's retina. The projection system may also be configured to project virtual objects into a physical environment, such as as a hologram or on a physical surface. In some embodiments, the controller 110 is configured to manage and coordinate the user's XR experience. In some embodiments, the controller 110 includes a suitable combination of software, firmware, and / or hardware. Figure 2Controller 110 is described in more detail. In some embodiments, controller 110 is a computing device that is located locally or remotely relative to scene 105 (e.g., a physical environment). For example, controller 110 is a local server located within scene 105. In another example, controller 110 is a remote server (e.g., a cloud server or a central server) located outside of scene 105. In some embodiments, controller 110 is communicatively coupled to display generation component 120 (e.g., an HMD, display, projector, and / or touchscreen) via one or more wired or wireless communication channels 144 (e.g., Bluetooth, IEEE 802.11x, IEEE 802.16x, and / or IEEE 802.3x). In another example, the controller 110 is included within a housing (e.g., a physical housing) of the display generating component 120 (e.g., an HMD or a portable electronic device including a display and one or more processors), one or more input devices of the input devices 125, one or more output devices of the output devices 155, one or more sensors of the sensors 190, and / or one or more peripheral devices 195, or shares the same physical housing or support structure with one or more of the above devices.

[0064] In some embodiments, the display generation component 120 is configured to provide an XR experience (e.g., at least the visual component of the XR experience) to the user. In some embodiments, the display generation component 120 includes a suitable combination of software, firmware, and / or hardware. Figure 3 Display generation component 120 is described in further detail. In some embodiments, the functionality of controller 110 is provided by and / or combined with display generation component 120.

[0065] According to some embodiments, display generation component 120 provides an XR experience to the user when the user is virtually and / or physically present within scene 105.

[0066] In some embodiments, the display generation component is worn on a part of the user's body (e.g., on his / her head or on his / her hand). In this way, the display generation component 120 includes one or more XR displays provided for displaying XR content. For example, in various embodiments, the display generation component 120 surrounds the user's field of view. In some embodiments, the display generation component 120 is a handheld device (such as a smartphone or tablet) configured to present XR content, and the user holds a device with a display facing the user's field of view and a camera facing the scene 105. In some embodiments, the handheld device is optionally placed in a housing worn on the user's head. In some embodiments, the handheld device is optionally placed on a support (e.g., a tripod) in front of the user. In some embodiments, the display generation component 120 is an XR room, housing, or room configured to present XR content, wherein the user does not wear or hold the display generation component 120. Many user interfaces described with reference to one type of hardware for displaying XR content (e.g., a handheld device or a device on a tripod) can be implemented on another type of hardware for displaying XR content (e.g., an HMD or other wearable computing device). For example, a user interface that shows interactions with XR content triggered based on interactions occurring in the space in front of a handheld device or a tripod-mounted device can similarly be implemented with an HMD, where the interactions occur in the space in front of the HMD and the responses to the XR content are displayed via the HMD. Similarly, a user interface that shows interactions with XR content triggered based on movement of a handheld device or a tripod-mounted device relative to a physical environment (e.g., scene 105 or a part of a user's body (e.g., the user's eyes, head, or hands)) can similarly be implemented with an HMD, where the movement is caused by movement of the HMD relative to the physical environment (e.g., scene 105 or a part of a user's body (e.g., the user's eyes, head, or hands)).

[0067] Despite Figure 1 Relevant features of the operating environment 100 are illustrated in FIG, but those skilled in the art will recognize from this disclosure that various other features are not illustrated for the sake of brevity and so as not to obscure more relevant aspects of the example embodiments disclosed herein.

[0068] Figure 2is a block diagram of an example of a controller 110 according to some embodiments. While some specific features are illustrated, those skilled in the art will recognize from this disclosure that various other features are not illustrated for the sake of brevity and so as not to obscure more relevant aspects of the embodiments disclosed herein. To this end, as a non-limiting example, in some embodiments, the controller 110 includes one or more processing units 202 (e.g., a microprocessor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a graphics processing unit (GPU), a central processing unit (CPU), a processing core, etc.), one or more input / output (I / O) devices 206, one or more communication interfaces 208 (e.g., a universal serial bus (USB), FIREWIRE, THUNDERBOLT, IEEE 802.3x, IEEE 802.11x, IEEE 802.16x, Global System for Mobile Communications (GSM), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Global Positioning System (GPS), infrared (IR), Bluetooth, ZIGBEE, and / or similar types of interfaces), one or more programming (e.g., I / O) interfaces 210, a memory 220, and one or more communication buses 204 for interconnecting these components and various other components.

[0069] In some embodiments, the one or more communication buses 204 include circuits that interconnect and control communications between system components. In some embodiments, the one or more I / O devices 206 include at least one of a keyboard, a mouse, a touchpad, a joystick, one or more microphones, one or more speakers, one or more image sensors, one or more displays, and the like.

[0070] Memory 220 includes high-speed random access memory, such as dynamic random access memory (DRAM), static random access memory (SRAM), double data rate random access memory (DDR RAM), or other random access solid-state memory devices. In some embodiments, memory 220 includes 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. Memory 220 optionally includes one or more storage devices located away from one or more processing units 202. Memory 220 includes non-transitory computer-readable storage media. In some embodiments, memory 220 or a non-transitory computer-readable storage medium of memory 220 stores the following programs, modules, and data structures, or a subset thereof, including an optional operating system 230 and an XR experience module 240.

[0071] The operating system 230 includes instructions for handling various basic system services and for performing hardware-related tasks. In some embodiments, the XR experience module 240 is configured to manage and coordinate single or multiple XR experiences for one or more users (e.g., a single XR experience for one or more users, or multiple XR experiences for corresponding groups of one or more users). To this end, in various embodiments, the XR experience module 240 includes a data acquisition unit 241, a tracking unit 242, a coordination unit 246, and a data transmission unit 248.

[0072] In some embodiments, the data acquisition unit 241 is configured to Figure 1 1 and / or peripherals 195. The data acquisition unit 241 may be configured to acquire data (e.g., presentation data, interaction data, sensor data, and / or position data) from at least the display generation component 120 and optionally from one or more of the input device 125, the output device 155, the sensor 190, and / or the peripheral device 195. To this end, in various embodiments, the data acquisition unit 241 includes instructions and / or logic for the instructions, as well as heuristics and metadata for the heuristics.

[0073] In some embodiments, the tracking unit 242 is configured to map the scene 105 and track at least the display generation component 120 with respect to the scene 105. Figure 1 105, and optionally relative to the position / location of one or more of the tracked input device 125, the output device 155, the sensor 190, and / or the peripheral device 195. To this end, in various embodiments, the tracking unit 242 includes instructions and / or logic for the instructions and heuristics and metadata for the heuristics. In some embodiments, the tracking unit 242 includes a hand tracking unit 244 and / or an eye tracking unit 243. In some embodiments, the hand tracking unit 244 is configured to track the position / location of one or more parts of the user's hand and / or the position / location of one or more parts of the user's hand with respect to the user's hand. Figure 1 The movement of the scene 105 relative to the display generation component 120 and / or relative to the coordinate system (the coordinate system is defined relative to the user's hand). Figure 4 The hand tracking unit 244 is described in more detail. In some embodiments, the eye tracking unit 243 is configured to track the position or movement of the user's gaze (or more broadly, the user's eyes, face, or head) relative to the scene 105 (e.g., relative to the physical environment and / or relative to the user (e.g., the user's hands)) or relative to the XR content displayed via the display generation component 120. Figure 5 The eye tracking unit 243 is described in more detail.

[0074] In some embodiments, the coordination unit 246 is configured to manage and coordinate the XR experience presented to the user by the display generation component 120, and optionally by one or more of the output device 155 and / or peripheral devices 195. To this end, in various embodiments, the coordination unit 246 includes instructions and / or logic for the instructions, as well as heuristics and metadata for the heuristics.

[0075] In some embodiments, data transmission unit 248 is configured to transmit data (e.g., presentation data and / or position data) to at least display generation component 120, and optionally to one or more of input device 125, output device 155, sensor 190, and / or peripheral device 195. To this end, in various embodiments, data transmission unit 248 includes instructions and / or logic for instructions, as well as heuristics and metadata for the heuristics.

[0076] Although the data acquisition unit 241, the tracking unit 242 (e.g., including the eye tracking unit 243 and the hand tracking unit 244), the coordination unit 246, and the data transmission unit 248 are shown as residing on a single device (e.g., the controller 110), it should be understood that in other embodiments, any combination of the data acquisition unit 241, the tracking unit 242 (e.g., including the eye tracking unit 243 and the hand tracking unit 244), the coordination unit 246, and the data transmission unit 248 may be located in separate computing devices.

[0077] also, Figure 2 It serves more as a functional description of various features that may be present in a particular implementation, rather than as a structural diagram of the embodiments described herein. As one of ordinary skill in the art will recognize, items shown separately may be combined, and some items may be separated. For example, Figure 2 Some functional modules shown separately in the figure may be implemented in a single module, and the various functions of a single functional block may be implemented by one or more functional blocks in various embodiments. The actual number of modules and the division of specific functions and how features are distributed among them will vary depending on the specific implementation and, in some embodiments, will depend in part on the specific combination of hardware, software, and / or firmware selected for a particular implementation.

[0078] Figure 3is a block diagram of an example of a display generation component 120 according to some embodiments. While some specific features are illustrated, those skilled in the art will recognize from this disclosure that various other features are not illustrated for the sake of brevity and so as not to obscure more relevant aspects of the embodiments disclosed herein. For this purpose, as a non-limiting example, in some embodiments, the display generation component 120 (e.g., an HMD) includes one or more processing units 302 (e.g., a microprocessor, an ASIC, an FPGA, a GPU, a CPU, a processing core, etc.), one or more input / output (I / O) devices and sensors 306, one or more communication interfaces 308 (e.g., USB, FIREWIRE, THUNDERBOLT, IEEE 802.3x, IEEE802.11x, IEEE 802.16x, GSM, CDMA, TDMA, GPS, IR, BLUETOOTH, ZIGBEE, and / or similar types of interfaces), one or more programming (e.g., I / O) interfaces 310, one or more XR displays 312, one or more optional internal-facing and / or external-facing image sensors 314, memory 320, and one or more communication buses 304 for interconnecting these and various other components.

[0079] In some embodiments, the one or more communication buses 304 include circuits for interconnecting and controlling communications between various system components. In some embodiments, the one or more I / O devices and sensors 306 include an inertial measurement unit (IMU), an accelerometer, a gyroscope, a thermometer, one or more physiological sensors (e.g., a blood pressure monitor, a heart rate monitor, a blood oxygen sensor, and / or a blood glucose sensor), one or more microphones, one or more speakers, a haptic engine, and / or one or more depth sensors (e.g., structured light, time of flight, etc.), etc.

[0080] In some embodiments, one or more XR displays 312 are configured to provide an XR experience to the user. In some embodiments, one or more XR displays 312 correspond to holographic, digital light processing (DLP), liquid crystal display (LCD), liquid crystal on silicon (LCoS), organic light-emitting field effect transistor (OLET), organic light-emitting diode (OLED), surface conduction electron emission display (SED), field emission display (FED), quantum dot light-emitting diode (QD-LED), microelectromechanical system (MEMS) and / or similar display types. In some embodiments, one or more XR displays 312 correspond to diffraction displays, reflective displays, polarization displays, holographic displays and / or waveguide displays. For example, the display generation component 120 (e.g., HMD) includes a single XR display. In another example, the display generation component 120 includes an XR display for each eye of the user. In some embodiments, one or more XR displays 312 are capable of presenting MR and VR content. In some embodiments, one or more XR displays 312 are capable of presenting MR or VR content.

[0081] In some embodiments, the one or more image sensors 314 are configured to acquire image data corresponding to at least a portion of the user's face, including the user's eyes (and may be referred to as an eye-tracking camera). In some embodiments, the one or more image sensors 314 are configured to acquire image data corresponding to the user's hands and, optionally, at least a portion of the user's arms (and may be referred to as a hand-tracking camera). In some embodiments, the one or more image sensors 314 are configured to face forward so as to acquire image data corresponding to the scene that the user would see in the absence of the display generation component 120 (e.g., an HMD) (and may be referred to as a scene camera). The one or more optional image sensors 314 may include one or more RGB cameras (e.g., having a complementary metal oxide semiconductor (CMOS) image sensor or a charge coupled device (CCD) image sensor), one or more infrared (IR) cameras, and / or one or more event-based cameras, among others.

[0082] Memory 320 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid-state memory devices. In some embodiments, memory 320 includes 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. Memory 320 optionally includes one or more storage devices located away from one or more processing units 302. Memory 320 includes non-transitory computer-readable storage media. In some embodiments, memory 320 or a non-transitory computer-readable storage medium of memory 320 stores the following programs, modules, and data structures, or a subset thereof, including an optional operating system 330 and an XR rendering module 340.

[0083] The operating system 330 includes processes for handling various basic system services and for performing hardware-related tasks. In some embodiments, the XR rendering module 340 is configured to present XR content to the user via one or more XR displays 312. To this end, in various embodiments, the XR rendering module 340 includes a data acquisition unit 342, an XR rendering unit 344, an XR map generation unit 346, and a data transmission unit 348.

[0084] In some embodiments, the data acquisition unit 342 is configured to obtain data from at least Figure 1 The controller 110 acquires data (e.g., presentation data, interaction data, sensor data, and / or location data). For this purpose, in various embodiments, the data acquisition unit 342 includes instructions and / or logic for instructions and heuristics and metadata for the heuristics.

[0085] In some embodiments, the XR rendering unit 344 is configured to render XR content via one or more XR displays 312. To this end, in various embodiments, the XR rendering unit 344 includes instructions and / or logic for the instructions and heuristics and metadata for the heuristics.

[0086] In some embodiments, the XR map generation unit 346 is configured to generate an XR map (e.g., a 3D map of a mixed reality scene or a map of a physical environment in which computer-generated objects can be placed to generate an extended reality) based on the media content data. For this purpose, in various embodiments, the XR map generation unit 346 includes instructions and / or logic for the instructions and heuristics and metadata for the heuristics.

[0087] In some embodiments, the data transmission unit 348 is configured to transmit data (e.g., presentation data and / or position data) to at least the controller 110, and optionally one or more of the input device 125, the output device 155, the sensor 190, and / or the peripheral device 195. For this purpose, in various embodiments, the data transmission unit 348 includes instructions and / or logic for the instructions and heuristics and metadata for the heuristics.

[0088] Although the data acquisition unit 342, the XR rendering unit 344, the XR map generation unit 346, and the data transmission unit 348 are shown as residing on a single device (e.g., Figure 1 , but it should be understood that in other embodiments, any combination of the data acquisition unit 342, the XR rendering unit 344, the XR map generation unit 346, and the data transmission unit 348 may be located in a separate computing device.

[0089] also, Figure 3 It serves more as a functional description of various features that may be present in a particular implementation, rather than as a structural diagram of the embodiments described herein. As one of ordinary skill in the art will recognize, items shown separately may be combined, and some items may be separated. For example, Figure 3 Some functional modules shown separately in the figure may be implemented in a single module, and the various functions of a single functional block may be implemented by one or more functional blocks in various embodiments. The actual number of modules and the division of specific functions and how features are distributed among them will vary depending on the specific implementation and, in some embodiments, will depend in part on the specific combination of hardware, software, and / or firmware selected for a particular implementation.

[0090] Figure 4 is a schematic illustration of an example embodiment of a hand tracking device 140. In some embodiments, the hand tracking device 140 ( Figure 1 ) is controlled by the hand tracking unit 244 ( Figure 2 ) to track the position / location of one or more parts of the user's hand and / or one or more parts of the user's hand with respect to Figure 1The hand tracking device 140 is configured to monitor movement of the scene 105 relative to the user's surroundings (e.g., relative to a portion of the physical environment surrounding the user, relative to the display generation component 120, or relative to a portion of the user (e.g., the user's face, eyes, or head), and / or relative to a coordinate system defined relative to the user's hands). In some embodiments, the hand tracking device 140 is part of the display generation component 120 (e.g., embedded in or attached to a head-mounted device). In some embodiments, the hand tracking device 140 is separate from the display generation component 120 (e.g., located in a separate housing or attached to a separate physical support structure).

[0091] In some embodiments, the hand tracking device 140 includes an image sensor 404 (e.g., one or more IR cameras, 3D cameras, depth cameras, and / or color cameras) that captures three-dimensional scene information, including at least a human user's hand 406. The image sensor 404 captures images of the hand at a sufficient resolution to enable the fingers and their corresponding positions to be distinguished. The image sensor 404 typically captures images of other parts of the user's body, or may also capture images of all parts of the body, and may have zoom capabilities or specialized sensors with increased magnification to capture images of the hand at a desired resolution. In some embodiments, the image sensor 404 also captures 2D color video images of the hand 406 and other elements of the scene. In some embodiments, the image sensor 404 is used in conjunction with other image sensors to capture the physical environment of the scene 105, or serves as an image sensor for capturing the physical environment of the scene 105. In some embodiments, the image sensor is positioned relative to the user or the user's environment in such a way that the field of view of the image sensor 404, or a portion thereof, is used to define an interaction space in which hand movements captured by the image sensor are treated as input to the controller 110.

[0092] In some embodiments, the image sensor 404 outputs a sequence of frames containing 3D mapping data (and possibly color image data in addition) to the controller 110, which extracts high-level information from the mapping data. This high-level information is typically provided via an application program interface (API) to an application running on the controller, which in turn drives the display generation component 120. For example, a user can interact with the software running on the controller 110 by moving his hand 406 and changing his hand posture.

[0093] In some embodiments, the image sensor 404 projects a speckled pattern onto a scene containing the hand 406 and captures an image of the projected pattern. In some embodiments, the controller 110 calculates the 3D coordinates of points in the scene (including points on the surface of the user's hand) by triangulation based on the lateral offsets of the spots in the pattern. This approach is advantageous because it does not require the user to hold or wear any kind of beacon, sensor, or other marker. The method gives the depth coordinates of a point in the scene relative to a predetermined reference plane at a specific distance from the image sensor 404. In the present disclosure, it is assumed that the image sensor 404 defines an orthogonal set of x-axis, y-axis, and z-axis such that the depth coordinates of a point in the scene correspond to the z component measured by the image sensor. Alternatively, the image sensor 404 (e.g., a hand tracking device) may use other 3D mapping methods, such as stereo imaging or time-of-flight measurement, based on a single or multiple cameras or other types of sensors.

[0094] In some embodiments, the hand tracking device 140 captures and processes a time series of depth maps containing the user's hand as the user moves his hand (e.g., the entire hand or one or more fingers). Software running on the image sensor 404 and / or the processor in the controller 110 processes the 3D mapping data to extract image patch descriptors of the hand from these depth maps. The software can match these descriptors with image patch descriptors stored in the database 408 based on a previous learning process to estimate the pose of the hand in each frame. The pose typically includes the 3D positions of the user's hand joints and fingertips.

[0095] The software can also analyze the trajectory of the hand and / or finger over multiple frames in the sequence to recognize gestures. The pose estimation function described herein can be alternated with the motion tracking function so that the image block-based pose estimation is performed only once every two (or more) frames, and tracking is used to find the changes in pose that occur on the remaining frames. The pose, motion, and gesture information is provided to the application running on the controller 110 via the above-mentioned API. The program can, for example, move and modify the image presented on the display generation component 120 in response to the pose and / or gesture information, or perform other functions.

[0096] In some embodiments, gestures include air gestures. An air gesture is a gesture that is detected without the user touching an input element that is part of a device (e.g., computer system 101, one or more input devices 125, and / or hand tracking device 140) (or independent of an input element that is part of the device) and is based on detected movement of a part of the user's body (e.g., head, one or more arms, one or more hands, one or more fingers, and / or one or more legs) through air (including movement of the user's body relative to an absolute reference (e.g., the angle of the user's arm relative to the ground or the distance of the user's hand relative to the ground), movement relative to another part of the user's body (e.g., movement of the user's hand relative to the user's shoulder, movement of one of the user's hands relative to the user's other hand, and / or movement of a user's finger relative to another finger or part of the user's hand), and / or absolute movement of a part of the user's body (e.g., a tap gesture that includes moving a hand a predetermined amount and / or speed in a predetermined posture or a shake gesture that includes a predetermined speed or amount of rotation of a part of the user's body).

[0097] In some embodiments, according to some embodiments, the input gestures used in the various examples and embodiments described herein include air gestures for interacting with an XR environment (e.g., a virtual or mixed reality environment) performed by movement of a user's fingers relative to other fingers or parts of the user's hand. In some embodiments, an air gesture is a gesture that is detected without the user touching an input element that is part of the device (or independent of an input element that is part of the device) and is based on detected movement of a part of the user's body through the air (including movement of the user's body relative to an absolute reference (e.g., the angle of the user's arm relative to the ground or the distance of the user's hand relative to the ground), movement relative to another part of the user's body (e.g., movement of the user's hand relative to the user's shoulder, movement of one of the user's hands relative to the user's other hand, and / or movement of the user's fingers relative to another finger or part of the user's hand), and / or absolute movement of a part of the user's body (e.g., a tap gesture in which the hand moves a predetermined amount and / or speed in a predetermined posture or a shake gesture in which a part of the user's body is rotated at a predetermined speed or amount)).

[0098] In some embodiments where the input gesture is an in-air gesture (e.g., in the absence of physical contact with an input device that provides information to the computer system about which user interface element is the target of the user input, such as contact with a user interface element displayed on a touch screen or contact with a mouse or trackpad to move a cursor to a user interface element), the gesture takes into account the user's attention (e.g., gaze) to determine the target of the user input (e.g., for direct input, as described below). Thus, in specific implementations involving in-air gestures, for example, the input gesture is combined (e.g., simultaneously) with movement of the user's fingers and / or hand to detect attention (e.g., gaze) toward a user interface element to perform a pinch and / or tap input, as described below.

[0099] In some embodiments, an input gesture directed to a user interface object is performed directly or indirectly with reference to the user interface object. For example, user input is performed directly on the user interface object based on performing an input gesture with the user's hand at a location corresponding to the location of the user interface object in the three-dimensional environment (e.g., as determined based on the user's current viewpoint). In some embodiments, upon detecting user attention (e.g., gaze) to the user interface object, an input gesture is performed indirectly on the user interface object based on the user's hand being located not at a location corresponding to the location of the user interface object in the three-dimensional environment while the user performs the input gesture. For example, for a direct input gesture, the user can direct the user's input to the user interface object by initiating a gesture at or near a location corresponding to the displayed location of the user interface object (e.g., within 0.5 cm, 1 cm, 5 cm, or a distance between 0 and 5 cm measured from an outer edge of an option or a center portion of an option). For an indirect input gesture, the user can direct the user's input to the user interface object by focusing on the user interface object (e.g., by gazing at the user interface object), and while focusing on the option, the user initiates an input gesture (e.g., at any transition detectable by the computer system) (e.g., at a location that does not correspond to the displayed location of the user interface object).

[0100] In some embodiments, according to some embodiments, input gestures (e.g., air gestures) used in the various examples and embodiments described herein include pinch input and tap input for interacting with a virtual or mixed reality environment. For example, the pinch input and tap input described below are performed as air gestures.

[0101] In some embodiments, a pinch input is part of an air gesture that includes one or more of: a pinch gesture, a long pinch gesture, a pinch and drag gesture, or a double pinch gesture. For example, a pinch gesture as an air gesture includes movement of two or more fingers of a hand to make contact with each other, i.e., optionally followed by an immediate (e.g., within 0 to 1 second) interruption of contact with each other. A long pinch gesture as an air gesture includes movement of two or more fingers of a hand in contact with each other for at least a threshold amount of time (e.g., at least 1 second) before an interruption of contact with each other is detected. For example, a long pinch gesture includes the user maintaining a pinch gesture (e.g., in which the two or more fingers are in contact), and the long pinch gesture continues until an interruption of contact between the two or more fingers is detected. In some embodiments, a double pinch gesture as an air gesture includes two (e.g., more) pinch inputs (e.g., performed by the same hand) that are detected consecutively with each other immediately (e.g., within a predefined time period). For example, the user performs a first pinch input (e.g., a pinch input or a long pinch input), releases the first pinch input (e.g., interrupts contact between two or more fingers), and performs a second pinch input within a predefined time period (e.g., within 1 second or within 2 seconds) after releasing the first pinch input.

[0102] In some embodiments, the pinch and drag gesture as an air gesture includes a pinch gesture (e.g., a pinch gesture or a long pinch gesture) performed in conjunction with (e.g., following) a drag input that changes the positioning of the user's hand from a first positioning (e.g., a starting positioning for the drag) to a second positioning (e.g., an ending positioning for the drag). In some embodiments, the user maintains the pinch gesture while performing the drag input, and releases the pinch gesture (e.g., spreads their two or more fingers apart) to end the drag gesture (e.g., at the second positioning). In some embodiments, the pinch input and the drag input are performed by the same hand (e.g., the user pinches two or more fingers to contact each other and moves the same hand to the second positioning in the air using the drag gesture). In some embodiments, a pinch input is performed by a first hand of a user, and a drag input is performed by a second hand of the user (e.g., the second hand of the user moves in the air from a first position to a second position while the user continues the pinch input with the first hand. In some embodiments, the input gesture as an air gesture includes an input performed using both hands of the user (e.g., a pinch and / or tap input). For example, the input gesture includes two (e.g., more) pinch inputs performed in conjunction with each other (e.g., simultaneously or within a predefined time period). For example, a first pinch gesture (e.g., a pinch input, a long pinch input, or a pinch and drag input) is performed using the first hand of the user, and in conjunction with the pinch input performed using the first hand, a second pinch input is performed using another hand (e.g., the second of the user's two hands). In some embodiments, movement between the two hands of the user (e.g., increasing and / or decreasing the distance or relative orientation between the two hands of the user)

[0103] In some embodiments, a tap input performed as an air gesture (e.g., pointing to a user interface element) includes movement of a user's finger toward the user interface element, movement of the user's hand toward the user interface element (optionally, extension of the user's finger toward the user interface element), a downward motion of the user's finger (e.g., mimicking a mouse click motion or a tap on a touch screen), or other predefined movement of the user's hand. In some embodiments, a tap input performed as an air gesture is detected based on movement characteristics of the finger or hand performing the tap gesture movement of the finger or hand, which is a movement of the finger or hand away from the user's viewpoint and / or toward an object that is the target of the tap input, followed by an end of the movement. In some embodiments, the end of the movement is detected based on a change in movement characteristics of the finger or hand performing the tap gesture (e.g., an end of movement away from the user's viewpoint and / or toward an object that is the target of the tap input, a reversal of the direction of movement of the finger or hand, and / or a reversal of the acceleration direction of the movement of the finger or hand).

[0104] In some embodiments, the user's attention is determined to be directed toward a portion of the three-dimensional environment based on detection of a gaze directed toward the portion of the three-dimensional environment (optionally, no other conditions are required). In some embodiments, the user's attention is determined to be directed toward a portion of the three-dimensional environment based on detection of a gaze directed toward the portion of the three-dimensional environment using one or more additional conditions, such as requiring the gaze to be directed toward the portion of the three-dimensional environment for at least a threshold duration (e.g., a dwell duration) and / or requiring the gaze to be directed toward the portion of the three-dimensional environment when the user's viewpoint is within a distance threshold from the portion of the three-dimensional environment, so that the device determines that the user's attention is directed toward the portion of the three-dimensional environment, wherein if one of these additional conditions is not met, the device determines that the attention is not directed toward the portion of the three-dimensional environment to which the gaze is directed (e.g., until the one or more additional conditions are met).

[0105] In some embodiments, the detection of a ready state configuration of a user or a portion of a user is detected by a computer system. The detection of the ready state configuration of a hand is used by the computer system as an indication that the user may be preparing to interact with the computer system using one or more air gesture inputs performed by the hand (e.g., a pinch, tap, pinch and drag, double pinch, long pinch, or other air gestures described herein). For example, the ready state of the hand is determined based on whether the hand has a predetermined hand shape (e.g., a pre-pinch shape with the thumb and one or more fingers extended and spaced apart in preparation for a pinch or grab gesture, or a pre-tap with one or more fingers extended and the palm facing away from the user), based on whether the hand is in a predetermined position relative to the user's viewpoint (e.g., below the user's head and above the user's waist and extending at least 15 cm, 20 cm, 25 cm, 30 cm, or 50 cm from the body), and / or based on whether the hand has moved in a particular manner (e.g., toward an area in front of the user above the user's waist and below the user's head, or away from the user's body or legs). In some embodiments, the ready state is used to determine whether an interactive element of a user interface responds to attention (e.g., gaze) input.

[0106] In some embodiments, the software may be downloaded to the controller 110 in electronic form, for example, over a network, or may alternatively be provided on tangible, non-transitory media such as optical, magnetic, or electronic memory media. In some embodiments, the database 408 is also stored in memory associated with the controller 110. Alternatively or additionally, some or all of the described functions of the computer may be implemented in dedicated hardware, such as a custom or semi-custom integrated circuit or a programmable digital signal processor (DSP). Although in Figure 4, but some or all of the processing functions of the controller may be performed by a suitable microprocessor and software or by dedicated circuitry within the housing of the image sensor 404 (e.g., a hand tracking device) or other device associated with the image sensor 404. In some embodiments, at least some of these processing functions may be performed by a suitable processor integrated with the display generation component 120 (e.g., in a television receiver, handheld device, or head-mounted device) or integrated with any other suitable computerized device (such as a game console or media player). The sensing functions of the image sensor 404 may also be integrated into a computer or other computerized device to be controlled by the sensor output.

[0107] Figure 4 Also included is a schematic diagram of a depth map 410 captured by the image sensor 404 according to some embodiments. As explained above, the depth map includes a matrix of pixels with corresponding depth values. Pixels 412 corresponding to the hand 406 have been segmented from the background and wrist in the map. The brightness of each pixel within the depth map 410 is inversely proportional to its depth value (i.e., the measured z distance from the image sensor 404), where shades of gray become darker with increasing depth. The controller 110 processes these depth values ​​in order to identify and segment components of the image (i.e., a group of adjacent pixels) that have characteristics of a human hand. These characteristics may include, for example, overall size, shape, and motion from frame to frame in the depth map sequence.

[0108] Figure 4 Also schematically illustrated is a hand skeleton 414 that the controller 110 ultimately extracts from the depth map 410 of the hand 406 according to some embodiments. Figure 4 , a hand skeleton 414 is superimposed on a hand background 416 that has been segmented from the original depth map. In some embodiments, key feature points of the hand and, optionally, on the wrist or arm connected to the hand (e.g., points corresponding to the knuckles, finger tips, center of the palm, and / or the end of the hand connected to the wrist) are identified and positioned on the hand skeleton 414. In some embodiments, the controller 110 uses the position and movement of these key feature points over multiple image frames to determine a gesture performed by the hand or the current state of the hand according to some embodiments.

[0109] Figure 5 The eye tracking device 130 ( Figure 1 ). In some embodiments, the eye tracking device 130 is composed of an eye tracking unit 243 ( Figure 2) controls to track the position and movement of the user's gaze relative to the scene 105 or relative to the XR content displayed via the display generation component 120. In some embodiments, the eye tracking device 130 is integrated with the display generation component 120. For example, in some embodiments, when the display generation component 120 is a head-mounted device (such as a headset, helmet, goggles, or glasses) or a handheld device placed in a wearable frame, the head-mounted device includes both components for generating XR content for the user to view and components for tracking the user's gaze relative to the XR content. In some embodiments, the eye tracking device 130 is separate from the display generation component 120. For example, when the display generation component is a handheld device or an XR room, the eye tracking device 130 is optionally a device separate from the handheld device or the XR room. In some embodiments, the eye tracking device 130 is a head-mounted device or a part of the head-mounted device. In some embodiments, the head-mounted eye tracking device 130 is optionally used in conjunction with a display generation component that is also head-mounted or a display generation component that is not head-mounted. In some embodiments, the eye tracking device 130 is not a head-mounted device and is optionally used in conjunction with a head-mounted display generation component. In some embodiments, the eye tracking device 130 is not a head-mounted device and is optionally part of a non-head-mounted display generation component.

[0110] In some embodiments, the display generation component 120 uses a display mechanism (e.g., a left near-eye display panel and a right near-eye display panel) to display a frame including a left image and a right image in front of the user's eyes, thereby providing the user with a 3D virtual view. For example, the head-mounted display generation component may include a left optical lens and a right optical lens (referred to herein as eye lenses) located between the display and the user's eyes. In some embodiments, the display generation component may include or be coupled to one or more external cameras that capture video of the user's environment for display. In some embodiments, the head-mounted display generation component may have a transparent or translucent display and display virtual objects on the transparent or translucent display, through which the user can directly view the physical environment. In some embodiments, the display generation component projects the virtual objects into the physical environment. The virtual objects may, for example, be projected onto a physical surface or projected as a hologram, so that the individual using the system observes the virtual objects superimposed on the physical environment. In this case, separate display panels and image frames for the left and right eyes may not be required.

[0111] like Figure 5As shown in , in some embodiments, the eye tracking device 130 (e.g., a gaze tracking device) includes at least one eye tracking camera (e.g., an infrared (IR) or near infrared (NIR) camera), and an illumination source (e.g., an IR or NIR light source, such as an array or ring of LEDs) that emits light (e.g., IR or NIR light) toward the user's eyes. The eye tracking camera can be pointed at the user's eyes to receive IR or NIR light that the light source reflects directly from the eyes, or alternatively can be pointed at "hot" mirrors located between the user's eyes and the display panel, which reflect IR or NIR light from the eyes toward the eye tracking camera while allowing visible light to pass through. The eye tracking device 130 optionally captures images of the user's eyes (e.g., as a video stream captured at 60-120 frames per second (fps)), analyzes these images to generate gaze tracking information, and transmits the gaze tracking information to the controller 110. In some embodiments, both eyes of the user are tracked separately by corresponding eye tracking cameras and illumination sources. In some embodiments, only one eye of the user is tracked by corresponding eye tracking camera and illumination source.

[0112] In some embodiments, the eye tracking device 130 is calibrated using a device-specific calibration process to determine the parameters of the eye tracking device for a specific operating environment 100, such as the 3D geometry and parameters of the LED, camera, thermal mirror (if present), eye lens, and display screen. The device-specific calibration process can be performed at a factory or another facility before the AR / VR equipment is delivered to the end user. The device-specific calibration process can be an automatic calibration process or a manual calibration process. The user-specific calibration process can include an estimation of eye parameters for a specific user, such as pupil position, fovea position, optical axis, visual axis, and / or eye spacing. According to some embodiments, once the device-specific parameters and user-specific parameters are determined for the eye tracking device 130, a flash-assisted method can be used to process the images captured by the eye tracking camera to determine the user's current visual axis and gaze point relative to the display.

[0113] like Figure 5As shown in FIG, an eye tracking device 130 (e.g., 130A or 130B) includes an eye lens 520 and a gaze tracking system that includes at least one eye tracking camera 540 (e.g., an infrared (IR) or near infrared (NIR) camera) positioned on the side of the user's face on which eye tracking is performed, and an illumination source 530 (e.g., an IR or NIR light source, such as an array or ring of NIR light emitting diodes (LEDs)) that emits light (e.g., IR or NIR light) toward the user's eye 592. The eye tracking camera 540 may be directed toward a reflector 550 (these reflectors reflect the IR or NIR light from the eye 592 while allowing visible light to pass) positioned between the user's eye 592 and a display 510 (e.g., a left display panel or a right display panel of a head-mounted display, or a display and / or projector of a handheld device). Figure 5 ), or alternatively may be directed toward the user's eye 592 to receive reflected IR or NIR light from the eye 592 (e.g., as shown in the top portion of Figure 5 (as shown in the bottom portion of the ).

[0114] In some embodiments, the controller 110 renders AR or VR frames 562 (e.g., left and right frames for left and right display panels) and provides the frames 562 to the display 510. The controller 110 uses the gaze tracking input 542 from the eye tracking camera 540 for various purposes, such as for processing the frames 562 for display. The controller 110 optionally estimates the user's gaze point on the display 510 based on the gaze tracking input 542 obtained from the eye tracking camera 540 using a flash-assisted method or other suitable method. The gaze point estimated from the gaze tracking input 542 is optionally used to determine the direction the user is currently looking.

[0115] The following describes several possible use cases for the user's current gaze direction and is not intended to be limiting. As an example use case, the controller 110 may render virtual content differently based on the determined direction of the user's gaze. For example, the controller 110 may generate virtual content at a higher resolution in the foveal region determined based on the user's current gaze direction than in the peripheral region. As another example, the controller may position or move virtual content within the view based at least in part on the user's current gaze direction. As another example, the controller may display specific virtual content within the view based at least in part on the user's current gaze direction. As another example use case in an AR application, the controller 110 may direct an external camera used to capture the physical environment of an XR experience to focus in the determined direction. The external camera's autofocus mechanism may then focus on an object or surface in the environment on the display 510 that the user is currently looking at. As another example use case, the eye lens 520 may be a focusable lens, and the controller may use gaze tracking information to adjust the focus of the eye lens 520 so that the virtual object the user is currently looking at has the appropriate vergence to match the convergence of the user's eye 592. The controller 110 can use the gaze tracking information to guide the eye lens 520 to adjust the focus so that nearby objects that the user is looking at appear at the correct distance.

[0116] In some embodiments, the eye tracking device is part of a head-mounted device that includes a display (e.g., display 510), two eye lenses (e.g., eye lenses 520), an eye tracking camera (e.g., eye tracking camera 540), and a light source (e.g., light source 530 (e.g., IR or NIR LED)). The light source emits light (e.g., IR or NIR light) toward the user's eyes 592. In some embodiments, the light sources may be arranged in a ring or circle around each of the lenses, such as Figure 5 In some embodiments, for example, eight light sources 530 (e.g., LEDs) are arranged around each lens 520. However, more or fewer light sources 530 can be used, and other arrangements and positions of the light sources 530 can be used.

[0117] In some embodiments, the display 510 emits light in the visible range and does not emit light in the IR or NIR range, and therefore does not introduce noise into the gaze tracking system. It should be noted that the positions and angles of the eye tracking cameras 540 are given by way of example and are not intended to be limiting. In some embodiments, a single eye tracking camera 540 is located on each side of the user's face. In some embodiments, two or more NIR cameras 540 may be used on each side of the user's face. In some embodiments, a camera 540 with a wider field of view (FOV) and a camera 540 with a narrower FOV may be used on each side of the user's face. In some embodiments, a camera 540 operating at one wavelength (e.g., 850 nm) and a camera 540 operating at a different wavelength (e.g., 940 nm) may be used on each side of the user's face.

[0118] like Figure 5 The embodiments of the gaze tracking system shown in can, for example, be used in computer-generated reality, virtual reality, and / or mixed reality applications to provide a computer-generated reality, virtual reality, augmented reality, and / or augmented virtual experience to a user.

[0119] Figure 6 A flash-assisted gaze tracking pipeline according to some embodiments is illustrated. In some embodiments, the gaze tracking pipeline is implemented by a flash-assisted gaze tracking system (e.g., Figure 1 and Figure 5 The flash-assisted gaze tracking system can maintain a tracking state. Initially, the tracking state is off or "no." When in the tracking state, the flash-assisted gaze tracking system uses previous information from previous frames when analyzing the current frame to track the pupil outline and glint in the current frame. When not in the tracking state, the flash-assisted gaze tracking system attempts to detect the pupil and glint in the current frame, and if successful, initializes the tracking state to "yes" and continues to the next frame in the tracking state.

[0120] like Figure 6 As shown in , the gaze tracking camera can capture left and right images of the user's left and right eyes. The captured images are then input to the gaze tracking pipeline for processing starting at 610. As indicated by the arrow returning to element 600, the gaze tracking system can continue to capture images of the user's eyes at a rate of, for example, 60 to 120 frames per second. In some embodiments, each set of captured images can be input to the pipeline for processing. However, in some embodiments or under some conditions, not all captured frames are processed by the pipeline.

[0121] At 610, for the currently captured image, if the tracking status is yes, the method proceeds to element 640. At 610, if the tracking status is no, the image is analyzed to detect the user's pupil and glint in the image, as indicated at 620. At 630, if the pupil and glint are successfully detected, the method proceeds to element 640. Otherwise, the method returns to element 610 to process the next image of the user's eye.

[0122] At 640, if proceeding from element 610, the current frame is analyzed to track the pupil and glint based in part on previous information from the previous frame. At 640, if proceeding from element 630, the tracking state is initialized based on the pupil and glint detected in the current frame. The processing result at element 640 is checked to verify that the tracking or detection result can be trusted. For example, the result can be checked to determine whether the pupil and a sufficient number of glints were successfully tracked or detected in the current frame to perform gaze estimation. At 650, if the result is not likely to be trusted, at element 660, the tracking state is set to no, and the method returns to element 610 to process the next image of the user's eye. At 650, if the result is trustworthy, the method proceeds to element 670. At 670, the tracking state is set to YES (if not already yes), and the pupil and glint information is passed to element 680 to estimate the user's gaze point.

[0123] Figure 6 This is intended to be used as an example of an eye tracking technology that may be used for a particular implementation. As one of ordinary skill in the art will appreciate, according to various embodiments, other eye tracking technologies currently existing or developed in the future may be used in place of or in combination with the flash-assisted eye tracking technology described herein in the computer system 101 for providing an XR experience to a user.

[0124] In some embodiments, the captured portion of the real-world environment 602 is used to provide an XR experience to the user, such as a mixed reality environment in which one or more virtual objects are superimposed on top of the representation of the real-world environment 602.

[0125] Thus, the description herein describes some embodiments of a three-dimensional environment (e.g., an XR environment) that includes representations of real-world objects and representations of virtual objects. For example, the three-dimensional environment optionally includes a representation of a table present in a physical environment, which is captured and displayed in the three-dimensional environment (e.g., actively displayed via a camera and display of a computer system or passively displayed via a transparent or translucent display of the computer system). As previously described, the three-dimensional environment is optionally a mixed reality system, wherein the three-dimensional environment is based on a physical environment captured by one or more sensors of the computer system and displayed via a display generation component. As a mixed reality system, the computer system is optionally capable of selectively displaying portions and / or objects of the physical environment so that the corresponding portions and / or objects of the physical environment appear as if they exist in the three-dimensional environment displayed by the computer system. Similarly, the computer system is optionally capable of displaying virtual objects in the three-dimensional environment so that it appears as if the virtual objects exist in the real world (e.g., a physical environment) by placing the virtual objects at corresponding locations in the three-dimensional environment that have corresponding locations in the real world. For example, the computer system optionally displays a vase so that the vase appears as if a real vase is placed on top of a table in the physical environment. In some embodiments, a corresponding location in the three-dimensional environment has a corresponding location in the physical environment. Thus, when a computer system is described as displaying a virtual object at a corresponding location relative to a physical object (e.g., such as at a location at or near a user's hand or at a location at or near a physical table), the computer system displays the virtual object at a particular location in the three-dimensional environment such that it appears as if the virtual object is at or near the physical object in the physical environment (e.g., the virtual object is displayed at a location in the three-dimensional environment that corresponds to the location in the physical environment where the virtual object would be displayed if it were the real object at that particular location).

[0126] In some embodiments, real-world objects present in the physical environment that are displayed in the three-dimensional environment (e.g., and / or visible via a display generation component) can interact with virtual objects that exist only in the three-dimensional environment. For example, the three-dimensional environment may include a table and a vase placed on top of the table, where the table is a view (or representation) of a physical table in the physical environment and the vase is a virtual object.

[0127] Similarly, the user can optionally use one or both hands to interact with virtual objects in the three-dimensional environment as if the virtual objects were real objects in the physical environment. For example, as described above, one or more sensors of the computer system optionally capture one or more of the user's hands and display representations of the user's hands in the three-dimensional environment (e.g., in a manner similar to displaying real-world objects in the three-dimensional environment described above), or in some embodiments, the user's hands may be visible via the display generation component due to the transparency / translucency of a portion of the user interface being displayed by the display generation component, or due to the projection of the user interface onto a transparent / translucent surface or onto the user's eyes or into the field of view of the user's eyes, via the ability to see the physical environment through the user interface. Thus, in some embodiments, the user's hands are displayed at corresponding locations in the three-dimensional environment and are viewed as if they were objects in the three-dimensional environment, and these objects can interact with virtual objects in the three-dimensional environment as if these virtual objects were physical objects in the physical environment. In some embodiments, the computer system can update the display of the representation of the user's hands in the three-dimensional environment in conjunction with the movement of the user's hands in the physical environment.

[0128] In some embodiments described below, the computer system is optionally capable of determining an "effective" distance between a physical object in the physical world and a virtual object in a three-dimensional environment, for example, to determine whether the physical object is directly interacting with the virtual object (e.g., whether the hand is touching, grabbing, and / or holding the virtual object or is within a threshold distance of the virtual object). For example, a hand directly interacting with a virtual object optionally includes one or more of the following: a finger of a hand pressing a virtual button, a user's hand grabbing a virtual vase, two fingers of a user's hand coming together and pinching / holding the user interface of an application, and any other type of interaction described herein. For example, when determining whether a user is interacting with a virtual object and / or how the user is interacting with the virtual object, the computer system optionally determines the distance between the user's hand and the virtual object. In some embodiments, the computer system determines the distance between the user's hand and the virtual object by determining the distance between the position of the hand in the three-dimensional environment and the position of the virtual object of interest in the three-dimensional environment. For example, the user's hand(s) are positioned at a specific location in the physical world, and the computer system optionally captures the hand(s) and displays the hand(s) at a specific corresponding location in the three-dimensional environment (e.g., the location at which the hand(s) would be displayed in the three-dimensional environment if the hand(s) were virtual hands rather than physical hands). The location of the hand(s) in the three-dimensional environment is optionally compared to the location of the virtual object(s) of interest in the three-dimensional environment to determine the distance between the user's hand(s) and the virtual object(s). In some embodiments, the computer system optionally determines the distance between the physical object(s) and the virtual object(s) by comparing the locations in the physical world (e.g., rather than comparing the locations in the three-dimensional environment). For example, when determining the distance between the user's hand(s) and the virtual object(s), the computer system optionally determines the corresponding location of the virtual object(s) in the physical world (e.g., the location at which the virtual object(s) would be located in the physical world if the virtual object(s) were physical objects rather than virtual objects), and then determines the distance between the corresponding physical location and the user's hand(s). In some embodiments, the same technique is optionally used to determine the distance between any physical object and any virtual object. Thus, as described herein, when determining whether a physical object is in contact with a virtual object or whether a physical object is within a threshold distance of a virtual object, the computer system optionally executes any of the techniques described above to map the position of the physical object to a three-dimensional environment and / or map the position of the virtual object to the physical environment.

[0129] In some embodiments, the same or similar techniques are used to determine where and what the user's gaze is directed to, and / or where and what the physical stylus held by the user is pointed to. For example, if the user's gaze is directed to a particular location in the physical environment, the computer system optionally determines a corresponding location in the three-dimensional environment (e.g., a virtual location of the gaze), and if a virtual object is located at the corresponding virtual location, the computer system optionally determines that the user's gaze is directed to the virtual object. Similarly, the computer system is optionally able to determine the direction in which the stylus is pointing in the physical environment based on the orientation of the physical stylus. In some embodiments, based on this determination, the computer system determines a corresponding virtual location in the three-dimensional environment that corresponds to the location in the physical environment that the stylus is pointing to, and optionally determines that the stylus is pointing to the corresponding virtual location in the three-dimensional environment.

[0130] Similarly, the embodiments described herein may refer to the position of a user (e.g., a user of a computer system) in a three-dimensional environment and / or the position of a computer system in a three-dimensional environment. In some embodiments, the user of the computer system is holding, wearing, or otherwise located at or near the computer system. Thus, in some embodiments, the position of the computer system is used as a proxy for the position of the user. In some embodiments, the position of the computer system and / or the user in the physical environment corresponds to a corresponding position in the three-dimensional environment. For example, the position of the computer system will be a position in the physical environment (and its corresponding position in the three-dimensional environment) that, if the user were standing at that position, facing the corresponding portion of the physical environment visible via the display generation component, would be visible to the user from that position in the physical environment in the same position, orientation, and / or size (e.g., in absolute terms and / or relative to each other) as the objects displayed in the three-dimensional environment by the display generation component of the computer system or visible in the three-dimensional environment via the display generation component. Similarly, if the virtual objects displayed in the three-dimensional environment are physical objects in the physical environment (e.g., physical objects placed at the same location in the physical environment as the virtual objects are located in the three-dimensional environment, and physical objects that have the same size and orientation in the physical environment as they do in the three-dimensional environment), then the position of the computer system and / or user is the position from which the user would see the virtual objects in the physical environment at the same location, orientation, and / or size (e.g., in an absolute sense and / or relative to each other and real-world objects) as the virtual objects displayed in the three-dimensional environment by the display generation components of the computer system.

[0131] In this disclosure, various input methods are described with respect to interaction with a computer system. When an example is provided using one input device or input method, and another example is provided using another input device or input method, it should be understood that each example is compatible with and optionally utilizes the input device or input method described with respect to the other example. Similarly, various output methods are described with respect to interaction with a computer system. When an example is provided using one output device or output method, and another example is provided using another output device or output method, it should be understood that each example is compatible with and optionally utilizes the output device or output method described with respect to the other example. Similarly, various methods are described with respect to interaction with a virtual environment or a mixed reality environment through a computer system. When an example is provided using interaction with a virtual environment, and another example is provided using a mixed reality environment, it should be understood that each example is compatible with and optionally utilizes the methods described with respect to the other example. Therefore, this disclosure discloses embodiments that are combinations of features from multiple examples, without necessarily listing all features of the embodiments in detail in the description of each example embodiment.

[0132] User interface and associated processes

[0133] Attention is now directed to embodiments of a user interface ("UI") and associated processes that may be implemented on a computer system, such as a portable multifunction device or a head-mounted device, in communication with display generation components and one or more input devices.

[0134] Figures 7A to 7H Example techniques for scrolling scrollable content in response to various user inputs are illustrated in accordance with some embodiments. Figures 7A to 7H The user interface in the is used to illustrate the processes described below, which include Figures 8A to 8L in the process.

[0135] Figure 7A The computer system 101 is illustrated as displaying a display generated by a component (eg, Figure 1 The display generation component 120) displays the three-dimensional environment 701 from the user's viewpoint. Figures 1 to 6 As described, the computer system 101 optionally includes a display generation component (eg, a touch screen) and a plurality of image sensors 314 (eg, Figure 3Image sensor 314). Image sensor 314 optionally includes one or more of the following: a visible light camera; an infrared camera; a depth sensor; or any other sensor that computer system 101 can use to capture one or more images of a user or a portion of a user (e.g., one or more hands of a user) as the user interacts with computer system 101. In some embodiments, the user interface illustrated and described below may also be implemented on a head-mounted display that includes a display generation component that displays a user interface or a three-dimensional environment to the user, and sensors (e.g., external sensors facing outward from the user) that detect movement of the physical environment and / or the user's hands (such as movement interpreted by the computer system as gestures such as air gestures), and / or sensors that detect the user's gaze (e.g., internal sensors facing inward toward the user's face). It should be understood that in some embodiments, one or more of the techniques described herein are applied to a two-dimensional environment without departing from the scope of this disclosure.

[0136] exist Figure 7A , computer system 101 presents scrollable content 702 via display generation component 120. In some embodiments, scrollable content 702 includes text content 707 and additional content 705. For example, scrollable content 702 is an article, text content 707 is the text of the article, and additional content 705 is an embedded advertisement and / or one or more links to related articles. In some embodiments, scrollable content includes a first scrolling area 704 and a second scrolling area 706. As described in more detail below, in response to detecting a user's gaze directed toward first scrolling area 704 or second scrolling area 706 without detecting a ready state of the user's hand, computer system 101 scrolls scrollable content 702. In some embodiments, detecting the ready state of the user's hand includes detecting a ready state associated with an air gesture as described in more detail above. In some embodiments, in response to detecting a user's gaze directed toward an area of ​​scrollable content 702 between scrolling areas 704 and 706, the computer system maintains display of scrollable content 702 without scrolling the scrollable content.

[0137] like Figure 7A As shown, in some embodiments, the scrolling regions 704 and 706 are near the borders of the scrollable content 702. For example, the scrollable content 702 is vertically scrollable, so the first scrolling region 704 is at the top of the scrollable content 702 and the second scrolling region 706 is at the bottom of the scrollable content 702. Figure 7AAs shown, a first scrolling area 704 at the top of the scrollable content 702 is smaller than a second scrolling area 706 at the bottom of the scrollable content 702. In some embodiments, if the scrollable content 702 is horizontally scrollable, the scrollable content 702 will include a left scrolling area and a right scrolling area (e.g., instead of or in addition to a top scrolling area such as the first scrolling area 704 and a bottom scrolling area such as the second scrolling area 706).

[0138] like Figure 7A As shown, the computer system 101 detects the user's gaze 713a directed toward the second scrolling area 706. In some embodiments, in response to detecting the user's gaze 713a directed toward the second scrolling area 706, the computer system 101 scrolls the scrollable content 702 downward, as shown in FIG. Figure 7B shown.

[0139] Figure 7B illustrates how the computer system 101 responds to detecting a pointing Figure 7A The scrollable content 702 is scrolled by the user's gaze 713a in the second scrolling area 706. Figure 7B As shown, in response to detecting a second scrolling area 706 pointing to the bottom of the scrollable content 702 Figure 7A In some embodiments, if the user's gaze is directed to the first scrolling area 704 at the top of the scrollable content 702, the computer system 101 will scroll the scrollable content 702 upward (e.g., move the scrollable content 702 downward to reveal the additional scrollable content 702 at the top of the scrollable content 702).

[0140] In some embodiments, the acceleration and / or speed of scrolling is different when scrolling up (e.g., in response to detecting a user gaze directed toward the first scrolling area 704) than when scrolling down (e.g., in response to detecting a user gaze directed toward the second scrolling area 706). In some embodiments, the acceleration and / or speed of scrolling is faster when scrolling up (e.g., in response to detecting a user gaze directed toward the first scrolling area 704) than when scrolling down (e.g., in response to detecting a user gaze directed toward the second scrolling area 706). In some embodiments, the acceleration and / or speed of scrolling is slower when scrolling up (e.g., in response to detecting a user gaze directed toward the first scrolling area 704) than when scrolling down (e.g., in response to detecting a user gaze directed toward the second scrolling area 706).

[0141] In some embodiments, the computer system 101 gradually increases the scrolling speed of the scrollable content 702 from not scrolling to scrolling at the corresponding scrolling speed in response to detecting that the user's gaze 713a transitions from not being directed at one of the scrolling areas 704 or 706 to being directed at one of the scrolling areas 704 or 706. As described above, the corresponding scrolling speed is based on which of the two scrolling areas 704 or 706 the user's gaze is directed. In some embodiments, the corresponding scrolling speed is based on the distance from the edge of the scrollable content 702 within the scrolling area 704 or 706 where the user's gaze is detected. For example, in response to detecting that the user's gaze 713a transitions from being directed at the second scrolling area 706, the scrolling speed is increased. Figure 7A At the position shown, the user's gaze 713a, the computer system 101 scrolls the scrollable content 702 at a first speed. Figure 7B In the example, the computer system 101 detects that the pointer is pointing to the second scrolling area 706. Figure 7A The position of the user's gaze 713a is shown compared to the user's gaze 713b at a different position that is closer to the (e.g., bottom) edge of the scrollable content 702. In some embodiments, in response to detecting Figure 7B At the user's gaze 713b at a location within the second scrolling region 706 shown in FIG, the computer system 101 responds with a value greater than that shown in FIG. Figure 7A The scrolling speed of the gaze 713a in the second scrolling region 706 is shown to scroll the scrollable content 702 at a high speed.

[0142] Figure 7C In response to pointing Figure 7B The computer system 101 scrolls the scrollable content 702 according to the user's gaze 713b positioned in the illustrated second scrolling region 706 . Figure 7C The scroll amount shown is greater than Figure 7B The amount of scrolling shown, because Figure 7B The user's gaze 713b ratio Figure 7A The position of the user's gaze 713a in FIG. 7 is closer to the boundary (eg, the bottom edge) of the scrollable content 702.

[0143] In some embodiments, computer system 101 stops scrolling scrollable content 702 in response to detecting a user's gaze directed to a portion of scrollable content 702 outside of scrolling area 704 or 706, or in response to detecting that the user's hand is in a ready state while the user's gaze is directed to one of scrolling areas 704 or 706. For example, Figure 7C A user's gaze 713 d directed toward a portion of the scrollable content 702 that is not included in the first scroll region 704 or the second scroll region 706 is illustrated. Figure 7CAlso illustrated is the user's hand 703a in a ready state (eg, "hand state A") when the user's gaze 713c is directed toward the second scrolling region 706 of the scrollable content 702. Figure 7C The illustrated user's gaze 713d or Figure 7C As shown in the ready state of the user's gaze 713c and hand 703a, the computer system 101 stops scrolling the scrollable content, as shown in FIG. Figure 7D shown.

[0144] Figure 7D Illustrated in response to the above Figure 7C The computer system 101 receives one of the described inputs to maintain the scrollable content 702 without scrolling the display of the scrollable content 702. In some embodiments, when the scrollable content 702 is stopped from scrolling, the computer system 101 gradually decelerates the scrolling of the scrollable content 702 until the scrolling stops.

[0145] Figure 7D Also illustrated is a computer system 101 that detects input for scrolling scrollable content 702 provided by a user's hand 703b. In some embodiments, the input for scrolling the scrollable content 702 includes detecting a user's gaze 713e and movement of the hand 703b (e.g., an air gesture, touch input, or other hand input) directed toward the scrollable content 702 when the hand 703b is in a pinched hand shape ("hand state C") with the thumb touching another finger of the hand 703b or within a threshold distance (e.g., 0.05 cm, 0.1 cm, 0.2 cm, 0.3 cm, 0.5 cm, or 1 cm) of the thumb touching the other finger of the hand 703b. For example, in Figure 7D , the computer system 101 detects that the hand 703b moves upward while in a pinching hand shape when the user's gaze 713e is directed toward the scrollable content 702, and in response, scrolls the scrollable content 702 downward (e.g., by moving the scrollable content 702 upward to reveal additional scrollable content 702 at the bottom of the scrollable content 702), as shown in FIG. Figure 7E As shown. Figure 7D The example illustrates a user's gaze 713e directed toward a portion of the scrollable content 702 that is not in the scrolling area 704 or 706, but in some embodiments, the computer system scrolls the scrollable content 702 in response to input including movement of the hand 703b and the user's gaze directed toward one of the scrolling areas 704 or 706 of the scrollable content 702.

[0146] Figure 7E This illustrates how the computer system 101 responds to the Figure 7D The illustrated input scrolls the scrollable content 702 to update the display of the scrollable content 702. Figure 7E In FIG. 7 , the computer system 101 detects an input provided by the user's hand 703 c to scroll the scrollable content 702 upward when the user's gaze 713 f is directed toward the scrollable content 702. Figure 7E As shown, the computer system 101 detects that the hand 703c moves downward while in a pinched hand shape (eg, "hand state C") when the user's gaze 713f is directed toward the scrollable content 702. Figure 7E 1. The illustrated scroll input, computer system 101 scrolls scrollable content 702 upward (eg, by moving scrollable content 702 downward to reveal additional scrollable content 702 at the top of scrollable content 702), as shown. Figure 7F As shown. Figure 7E The example illustrates a user's gaze 713f directed at a portion of the scrollable content 702 that is not in the scrolling area 704 or 706, but in some embodiments, the computer system scrolls the scrollable content 702 in response to input including movement of the hand 703c and the user's gaze directed at one of the scrolling areas 704 or 706 of the scrollable content 702.

[0147] Figure 7F This illustrates how the computer system 101 responds to the Figure 7E The scrollable content 702 is scrolled by the computer system 101 in response to the scroll input provided by the user's hand to update the display of the scrollable content 702. In some embodiments, the amount by which the computer system 101 scrolls the scrollable content 702 downward in response to the scroll input provided by the user's hand is greater than the amount by which the computer system 101 scrolls the scrollable content 702 upward in response to the scroll input provided by the user's hand in the opposite direction with the same amount of hand movement (e.g., air gesture, touch input, or other hand input). For example, Figure 7D The amount of movement (e.g., air gesture, touch input, or other hand input) of the illustrated hand 703b is Figure 7E The amount of movement (e.g., air gesture, touch input, or other hand input) of hand 703c in Figure 7E The scrollable content 702 in response to Figure 7D The scroll amount of the input in is greater than Figure 7F The scrollable content 702 in response to Figure 7E In some embodiments, the “amount” of hand movement (e.g., air gesture, touch input, or other hand input) includes the distance, duration, and / or speed of movement of the hand (e.g., air gesture, touch input, or other hand input) while in a pinch shape when the user's gaze is directed toward the scrollable content 702 to provide a scroll input toward the scrollable content 702.

[0148] In some embodiments, the computer system 101 responds to input provided by a user's hand to scroll the scrollable content 702 (such as Figure 7D or Figure 7E The scrolling speed may be increased by the hand moving further from the position where the pinch hand shape was initiated (e.g., an in-air gesture, touch input, or other hand input). For example, in response to detecting a first amount of movement of the hand from the position where the hand was when the pinch hand shape was initiated (e.g., an in-air gesture, touch input, or other hand input), the computer system 101 scrolls the scrollable content 702 at a first speed and, optionally, continues to scroll at the first speed while the hand remains at the updated position after the first amount of movement. In this example, in response to detecting a second amount of movement of the hand (e.g., an in-air gesture, touch input, or other hand input) that is greater than the first amount of movement of the hand from the position where the hand was when the pinch hand shape was initiated, the computer system 101 scrolls the scrollable content 702 at a second speed that is greater than the first speed and, optionally, continues to scroll at the second speed while the hand remains at the updated position after the second amount of movement.

[0149] In some embodiments, the computer system 101, in response to detecting hand movement (e.g., air gesture, touch input, or other hand input) in a pinching hand shape while the user's gaze is directed toward the scrollable content 702, scrolls the scrollable content 702 based on a determination that the hand movement (e.g., air gesture, touch input, or other hand input) while the hand is in the pinching hand shape satisfies one or more criteria. In some embodiments, if the amount of movement (e.g., the speed, distance, and / or duration of the movement) is less than a predetermined threshold amount, the computer system 101 maintains the display of the scrollable content 702 without scrolling the scrollable content 702. Detailed description of the method 800 and the method 801 is provided below. Figures 8A to 8L Example thresholds are provided. In some embodiments, if the movement of the hand in the pinch shape (e.g., air gesture, touch input, or other hand input) is downward and exceeds a threshold speed, the computer system 101 maintains the display of the scrollable content 702 without scrolling the scrollable content 702. Figures 8A to 8L Provides example threshold speeds.

[0150] In some embodiments, computer system 101 selects one or more selectable user interface elements displayed via display generation component 120 in response to detecting a user's gaze directed at the one or more selectable user interface elements while detecting a pinch gesture performed with the user's hand. In some embodiments, the one or more selectable user interface elements are selectable options, representations of content items, application icons, user interface containers (e.g., windows), hyperlinks, etc. Example actions performed in response to selection of these elements include navigating the user interface, presenting a content item, saving or opening a file or document, initiating communication with another computer system, changing a setting of the computer system, updating the current input focus, etc.

[0151] Figure 7G The computer system 101 is illustrated as presenting the text content 707 of the scrollable content in the reader mode of the computer system 101 without displaying the additional content 705 of the scrollable content 702. 7A to 7F The example illustrated in FIG is an example of a computer system 101 presenting scrollable content 702 in browse mode that includes text content 707 and additional content 705. In some embodiments, the computer system 101 transitions between displaying content in reader mode and displaying content in browse mode in response to one or more user inputs.

[0152] In some embodiments, in computer system 101 such as Figure 7G When displaying the scrollable text content 707 in the reader mode, the computer system 101 is configured to display the scrollable text content 707 in the same manner as described above. 7A to 7D The text content 707 is scrolled in a manner similar to that described with respect to the browse mode based on whether the user's gaze is directed to the first scrolling area 708 or the second scrolling area 710. In some embodiments, the computer system 101 is further configured to scroll the text content 707 line by line in response to detecting that the user is reading the text content 707. In some cases, when people read text, once they have finished reading a line of text, they direct their gaze to the beginning of the next line by moving their gaze along the line from the end of the line they just read to the beginning of the line they just read before looking at the next line. Figure 7G In FIG. 7 , the computer system 101 detects a user's gaze 713h moving from the end of a line of text content 707 toward the beginning of the line. Figure 7G As shown in FIG. 713h, the computer system 101 scrolls the text content 707 (e.g., scrolls one line), as shown in FIG. Figure 7H In some embodiments, the computer system 101 responds to Figure 7G The illustrated movement of gaze 713h scrolls the text content 707 regardless of whether the user's hand is detected to be in a ready state.

[0153] Figure 7H Illustrated in accordance with Figure 7G The illustrated movement of the user's gaze 713h scrolls the text content 707 and then displays the computer system 101 of the text content 707. Figure 7H As shown, in some embodiments, the computer system 101 responds to Figure 7G The illustrated movement of the gaze 713 h scrolls the text content 707 by one line of the text content 707 .

[0154] In some embodiments, the computer system 101 displays the definition 712 of a word in response to detecting a user's gaze directed at the word for at least a predetermined threshold time. Figures 8A to 8L Provide example time thresholds. For example, Figure 7H In FIG. 7 , the computer system 101 detects the user's gaze 713i directed at a word for a time threshold and, in response, displays a definition 712 of the word overlaid on the text content 707. In some embodiments, the computer system 101 similarly displays the definition of the word while 7A to 7F The illustrated browse mode displays scrollable content 702 including text content 707 and additional content 705. Figures 7A to 7H The described method 800 provides information about Figures 7A to 7H Additional description of .

[0155] Figures 8A to 8L is a flow chart of a method for scrolling scrollable content in response to multiple user inputs according to various embodiments. In some embodiments, method 800 includes a display generation component (e.g., Figure 1 、 Figure 3 and Figure 4 120) of a computer system (e.g., Figure 1 In some embodiments, the method 800 is performed by storing in a non-transitory (or transient) computer-readable storage medium and executed by one or more processors of a computer system, such as one or more processors 202 of the computer system 101 (e.g., Figure 1 Some operations in method 800 may be optionally combined, and / or the order of some operations may be optionally changed.

[0156] In some embodiments, method 800 is performed in a Figure 7AThe method is executed at a computer system (e.g., 101) (e.g., a mobile device (e.g., a tablet, smartphone, media player, or wearable device) or a computer) in communication with a display generation component and one or more input devices (e.g., 314). In some embodiments, the display generation component is a display integrated with the computer system (optionally a touch screen display), an external display (such as a monitor, projector, television), or a hardware component (optionally integrated or external) for projecting a user interface or making a user interface visible to one or more users. In some embodiments, the one or more input devices include a computer system or component that is capable of receiving user input (e.g., capturing user input and / or detecting user input) and transmitting information associated with the user input to the computer system. Examples of input devices include a touch screen, a mouse (e.g., external), a trackpad (optionally integrated or external), a touchpad (optionally integrated or external), a remote control device (e.g., external), another mobile device (e.g., separate from the computer system), a handheld device (e.g., external), a controller (e.g., external), a camera, a depth sensor, an eye tracking device, and / or a motion sensor (e.g., a hand tracking device and / or a hand motion sensor). In some embodiments, the computer system communicates with a hand tracking device (e.g., one or more cameras, depth sensors, proximity sensors, and / or touch sensors (e.g., a touch screen or touchpad)). In some embodiments, the hand tracking device is a wearable device, such as a smart glove. In some embodiments, the hand tracking device is a handheld input device, such as a remote control or a stylus.

[0157] In some embodiments, such as Figure 7AIn some embodiments, a computer system (e.g., 101) displays a user interface (e.g., 702) including scrollable content (e.g., 705 or 707) via a display generation component (802a). In some embodiments, the scrollable content includes text and / or images. In some embodiments, the scrollable content exceeds the size of the scrollable user interface element in which the scrollable content is displayed. In some embodiments, in response to a request to scroll the scrollable content, the computer system stops displaying a first portion of the scrollable content and initiates displaying a second portion of the content, optionally while maintaining display of a third portion of the content within the scrollable user interface element. In some embodiments, the scrollable content is displayed within a three-dimensional environment. In some embodiments, the three-dimensional environment includes virtual objects, such as application windows, operating system elements, representations of other users and / or content items, and representations of physical objects in the physical environment of the computer system. In some embodiments, the representations of the physical objects are displayed in the three-dimensional environment via the display generation component (e.g., virtual or video pass-through). In some embodiments, the representations of the physical objects are views of the physical objects in the physical environment of the computer system that are visible through a transparent portion of the display generation component (e.g., real or true pass-through). In some embodiments, a computer system displays a three-dimensional environment from a user's viewpoint at a location in the three-dimensional environment that corresponds to a physical location of the computer system in the computer system's physical environment. In some embodiments, the three-dimensional environment is generated, displayed, or otherwise enabled for viewing by a device (e.g., a computer-generated reality (CGR) environment, such as a virtual reality (VR) environment, a mixed reality (MR) environment, or an augmented reality (AR) environment).

[0158] In some embodiments, such as Figure 7A In the example embodiment, a computer system (eg, 101) detects a user's gaze (eg, 713a) directed at scrollable content (eg, 705 or 707) via one or more input devices (eg, eye tracking device 314) (802b).

[0159] In some embodiments, such as Figure 7CIn some embodiments, in response to detecting a user's gaze (e.g., 713d) directed toward scrollable content (802c), based on determining that the user's gaze (e.g., 713d) is directed toward a first area of ​​the scrollable content (e.g., 707), the computer system (e.g., 101) maintains display of the scrollable content (e.g., 707) without scrolling the scrollable content (e.g., 707) (802d). In some embodiments, the first area of ​​the scrollable content is away from one or more directions in which the scrollable content is scrollable. For example, if the scrollable content is vertically scrollable, the first area of ​​the scrollable content is an area of ​​the scrollable content between a top portion and a bottom portion of the scrollable content. As another example, if the scrollable content is horizontally scrollable, the first area of ​​the scrollable content is an area of ​​the scrollable content between a left portion and a right portion of the scrollable content. In some embodiments, when the computer system detects the user's gaze directed toward the scrollable content, the computer system does not detect additional input corresponding to a request to scroll the content (e.g., via one or more input devices other than the eye tracking device).

[0160] In some embodiments, such as Figure 7B In some embodiments, in response to detecting a user's gaze (e.g., 713b) directed toward scrollable content (e.g., 707) (802c), based on determining that the user's gaze (e.g., 713b) is directed toward a second area (e.g., 706) of the scrollable content (e.g., 707) that is different from the first area and that a corresponding part of the user (e.g., a hand or head) meets a corresponding criterion, the computer system (e.g., 101) scrolls the scrollable content (e.g., 707) according to the user's gaze (e.g., 713b) (802e). In some embodiments, the corresponding part of the user meets the corresponding criterion when it is in a predefined pose relative to the user's torso or another reference point (e.g., in a three-dimensional environment). For example, the user's hand meets the corresponding criterion when it is at the user's side, on the user's knee, or otherwise not raised (e.g., outside the predefined area of ​​the three-dimensional environment at a corresponding spatial orientation relative to the user's torso).

[0161] In some embodiments, such as Figure 7CIn some embodiments, in response to detecting a user's gaze (e.g., 713c) directed toward scrollable content (e.g., 707) (802c), based on determining that the user's gaze (e.g., 713c) is directed toward a second area (e.g., 706) and that the corresponding portion of the user (e.g., 703a) does not meet the corresponding criteria, the computer system (e.g., 101) maintains the display of the scrollable content (e.g., 707) without scrolling the scrollable content (e.g., 707) (802f). In some embodiments, the second area is oriented toward one or more directions in which the scrollable content is scrollable. For example, if the scrollable content is vertically scrollable, the second area of ​​the scrollable content is the top or bottom area of ​​the scrollable content. As another example, if the scrollable content is horizontally scrollable, the second area of ​​the scrollable content is the left or right area of ​​the scrollable content. In some embodiments, the computer system scrolls the scrollable content to reveal a portion of the scrollable content that was not displayed when (e.g., initially) the user's gaze was detected, and displays the portion of the scrollable content in the second area or in an area near the second area. In some embodiments, in response to detecting a user's gaze directed toward a first area of ​​scrollable content, the computer system scrolls the content in a first direction to reveal a new portion of the content at a location at or near the first area. In some embodiments, in response to detecting a user's gaze directed toward a second area of ​​scrollable content, the computer system scrolls the content in a second direction to reveal a new portion of the content at a location at or near the second area, as will be described in more detail below.

[0162] Scrolling scrollable content based on a user's gaze provides an efficient way to navigate scrollable content and enhances user interaction with a computer system by reducing the number of inputs required to perform an operation (e.g., scrolling in response to gaze rather than scrolling in response to input in addition to or instead of gaze detection).

[0163] In some embodiments, such as Figure 7BIn some embodiments, the corresponding criteria include a criteria that is satisfied when the corresponding part of the user (e.g., 703a) is not detected in a predefined pose (e.g., the user's hand is not in a ready state and / or the user's hand is not visible) (804). In some embodiments, detecting the predefined pose includes detecting the corresponding part of the user in a ready state. In some embodiments, the criteria is satisfied when the corresponding part of the user is in a resting pose and / or in a pose that does not indicate an intention to interact with the computer system. For example, the corresponding part of the user is the user's hand, and the criteria is satisfied when the hand is on the user's lap, at the side of the user, not in the field of view of the hand tracking device, or otherwise not raised and / or not in a ready state. In some embodiments, when scrolling scrollable content based on the user's gaze, in response to detecting the corresponding part of the user in a predefined pose (e.g., detecting the ready state) while the user continues to look at the second area, the computer system stops scrolling the scrollable content.

[0164] Displaying scrollable content without scrolling the scrollable content in response to detecting that the corresponding portion of the user is in a pose other than a predefined pose enhances user interaction with the computer system by providing additional control options without cluttering the user interface with additional displayed controls.

[0165] In some embodiments, while displaying a user interface including scrollable content (e.g., 707) (806a), a computer system (e.g., 101) detects input directed to a corresponding user interface element (e.g., a user interface element in the scrollable content) via one or more input devices, wherein detecting the input includes detecting a user's gaze directed to the corresponding user interface element and detecting the user performing a corresponding gesture with a corresponding part of the user (806b), such as detecting Figure 7D In some embodiments, the input is an in-air gesture. In some embodiments, detecting the user performing the in-air gesture with the corresponding part of the user includes detecting the user performing a gesture (e.g., a pinch gesture or a tap gesture) with their hand that is included in the in-air gesture input. In some embodiments, the corresponding part of the user does not meet the corresponding criteria when the computer system detects the corresponding gesture. In some embodiments, the input corresponds to a request to select the corresponding user interface element.

[0166] In some embodiments, while displaying a user interface including scrollable content (806a), in response to detecting input directed to a corresponding user interface element, a computer system (e.g., 101) performs an operation associated with the corresponding user interface element (806c). In some embodiments, the operation associated with the corresponding user interface element is an operation performed in response to detecting selection of the corresponding user interface element. For example, in response to detecting input directed to an option to navigate to the corresponding user interface, the computer system presents the corresponding user interface. As another example, in response to detecting input directed to an option to play or pause a content item, the computer system plays or pauses the content item.

[0167] Performing operations associated with corresponding user interface elements in response to detecting input directed at the corresponding user interface elements (including detection of the user's gaze and corresponding gestures utilizing corresponding parts of the user) enhances user interaction with a computer system by providing additional control options without cluttering the user interface with additional display controls.

[0168] In some embodiments, such as Figure 7A , the second area of ​​scrollable content (e.g., 706) includes an edge (808) of the scrollable content (e.g., 707). In some embodiments, the second area includes and / or is located near the top edge, bottom edge, left edge, or right edge of the scrollable content. In some embodiments, the second area includes and / or is located at an edge corresponding to the direction in which the scrollable content can scroll. For example, the second area includes or is near the top edge or bottom edge of the content that can scroll vertically, or the second area includes or is near the left edge or right edge of the content that can scroll horizontally. Including the edge of the scrollable content in the second area enhances user interaction with the computer system by providing additional control options without cluttering the user interface.

[0169] In some embodiments, such as 7A to 7B In the embodiment of the present invention, the computer system (e.g., 101) scrolls the scrollable content in the first direction (e.g., 707) based on determining that the user's gaze is directed to the second area (e.g., 706). For example, the computer system scrolls the scrollable content downward based on determining that the user's gaze is directed to the area along the bottom of the scrollable content. As another example, the computer system scrolls the scrollable content upward based on determining that the user's gaze is directed to the area along the top of the scrollable content.

[0170] In some embodiments, when a user interface (e.g., 702) including scrollable content (e.g., 707) is displayed via a display generation component (e.g., 120), in response to detecting a user's gaze directed toward the scrollable content (e.g., 707), the user's gaze is directed toward a third area (e.g., 707) of the scrollable content. Figure 7B , the third area (e.g., 704) is different from the second area (e.g., 706) and different from the first area, and the corresponding portion of the user meets the corresponding criteria, the computer system (e.g., 101) scrolls the scrollable content (e.g., 707) in a second direction different from the first direction according to the user's gaze (such as in Figure 7F ), wherein the second region (e.g., 706) and the third region (e.g., 704) have different sizes (810b). In some embodiments, the second direction is opposite to the first direction, and the third region is located along an edge of the scrollable content opposite the edge of the scrollable content along which the second region is located. In some embodiments, the second region and the third region have the same size (e.g., width, length, and / or height) along the first direction and have different sizes (e.g., width, length, and / or height) along the second direction. For example, the second region and the third region have the same width and different heights.

[0171] Scrolling the scrollable content in different directions depending on whether the user's gaze is directed toward the second region or the third region enhances user interaction with the computer system by providing additional control options without cluttering the user interface with additional display controls.

[0172] In some embodiments, such as Figure 7A In some embodiments, in response to detecting a gaze of the user directed to the second area when the corresponding portion of the user meets the corresponding criteria, the computer system scrolls the scrollable content downward.

[0173] In some embodiments, such as Figure 7AIn some embodiments, the computer system scrolls the scrollable content upward in response to detecting a user's gaze directed toward the third region when the corresponding portion of the user meets the corresponding criteria. In some embodiments, the height of the third region is less than the height of the second region. In some embodiments, the widths of the second and third regions are the same. In some embodiments, the widths of the second and third regions are different.

[0174] Providing a third area at the top of the scrollable content that is smaller than the second area of ​​the scrollable content at the bottom of the scrollable content enhances user interaction with the computer system by providing additional control options to the user without cluttering the user interface.

[0175] In some embodiments, scrolling the scrollable content (e.g., 707) based on the user's gaze includes (814a) determining that the user's gaze (e.g., 713a) is directed to a location that is a first distance away from a corresponding location of the scrollable content (e.g., 707) (e.g., at Figure 7A ), scrolling the scrollable content (e.g., 707) at a first speed according to the user's gaze (814b), such as in Figure 7B In some embodiments, the corresponding location of the scrollable content is the boundary of the second area and / or the beginning / end of the scrollable content. In some embodiments, the boundary of the second area of ​​the scrollable content is the boundary of the second area or is near the boundary of the second area. For example, if the second area is along the bottom of the scrollable content, the boundary is the bottom area of ​​the scrollable content.

[0176] In some embodiments, scrolling the scrollable content (e.g., 707) based on the user's gaze includes (814a) determining that the user's gaze (e.g., 713b) is directed to a location that is a second distance different from the first distance from a corresponding location of the scrollable content (e.g., 707) (e.g., at Figure 7B ), scrolling the scrollable content (e.g., 707) at a second speed different from the first speed according to the user's gaze (814c), such as in Figure 7C In some embodiments, the closer the gaze is to the border of the scrollable content, the greater the scrolling speed. In some embodiments, the scrolling speed changes as the user's gaze moves within the second area of ​​the scrollable content. For example, the scrolling speed gradually increases as the user's gaze moves toward the corresponding position of the scrollable content.

[0177] Scrolling scrollable content at different speeds depending on the distance between the user's gaze and the corresponding location of the scrollable content enhances user interaction with a computer system by providing additional control options without cluttering the user interface with additional display controls.

[0178] In some embodiments, when the user's gaze (e.g., 713b) is directed to a second area (e.g., 706) of the scrollable content (e.g., 707) and the corresponding portion of the user meets the corresponding criteria, and when the scrollable content (e.g., 707) is scrolled according to the user's gaze (such as in Figure 7B ), the computer system (e.g., 101) detects, via one or more input devices, a user's gaze (e.g., 713d) away from a second area of ​​the scrollable content (816a), such as in Figure 7C In some embodiments, the computer system detects the user's gaze directed toward a first area of ​​the scrollable content. In some embodiments, the computer system detects the user's gaze directed toward an area of ​​the three-dimensional environment that does not include the scrollable content. In some embodiments, the computer system detects the user turning their gaze away from the three-dimensional environment or closing their eyes for more than a threshold time associated with a blink (e.g., 0.1 seconds, 0.2 seconds, 0.3 seconds, 0.5 seconds, 1 second, 2 seconds, or 3 seconds).

[0179] In some embodiments, in response to detecting a user's gaze (e.g., 713d) away from a second area (e.g., 706) of the scrollable content (e.g., 707) (e.g., Figure 7C ), the computer system (eg, 101) reduces the speed at which the scrollable content is scrolling until the scrolling of the scrollable content (eg, 707) stops (816b), such as in Figure 7D In some embodiments, the computer system stops scrolling the scrollable content by decelerating the speed of the scrolling with simulated inertia until the scrolling stops in response to detecting the user's gaze away from the second area of ​​the scrollable content. In some embodiments, in response to detecting the user's gaze directed toward the second area of ​​the scrollable content while decelerating the scrolling speed of the scrollable content and continuing to scroll the scrollable content, the computer system accelerates the scrolling speed of the scrollable content when the corresponding portion of the user meets the corresponding criteria. In some embodiments, in this case, the computer system increases the scrolling speed until the scrolling speed reaches a predetermined speed (e.g., a speed associated with the location within the second area that the user is looking at, as described above).

[0180] Decelerating scrolling of scrollable content until scrolling stops in response to detecting a user's gaze away from a second area of ​​the scrollable content enhances user interaction with a computer system by providing improved visual feedback to the user (e.g., indicating to the user that scrolling will stop if the user continues to look away from the second area).

[0181] In some embodiments, in response to detecting a user's gaze (e.g., 713a) directed toward scrollable content (e.g., 707), scrolling the scrollable content (e.g., 707) according to the user's gaze (e.g., 713a) based on determining that the user's gaze (e.g., 713a) is directed toward a second area (e.g., 706) and that a corresponding portion of the user meets corresponding criteria (such as in Figure 7A In some embodiments, the computer system gradually increases the speed of scrolling the scrollable content (e.g., 707) when the user's gaze (e.g., 713a) is directed to the second area (e.g., 706) and the corresponding portion of the user meets the corresponding criteria (818). In some embodiments, the computer system gradually increases the scrolling speed until the scrolling speed reaches a predetermined speed (e.g., a speed associated with the location at which the user is looking within the second area, as described above). In some embodiments, the computer system gradually decreases the scrolling speed to zero in response to the user directing their gaze from the second area to the first area, as described above. In some embodiments, the computer system gradually changes the scrolling speed in response to the user updating their gaze to a location at a different distance from the edge of the content within the second area.

[0182] Gradually increasing the scrolling speed of the scrollable content in response to detecting the user's gaze directed to a second area of ​​the scrollable content enhances user interaction with the computer system by providing improved visual feedback to the user (e.g., indicating to the user that scrolling will continue if the user continues to look at the second area).

[0183] In some embodiments, while displaying a user interface (e.g., 702) including scrollable content (e.g., 707) (e.g., without scrolling the scrollable content) (820a), a computer system (e.g., 101) detects via one or more input devices (e.g., hand tracking devices) that a corresponding portion of a user performs a corresponding gesture, the corresponding gesture including movement of the user's hand (e.g., 703b) while the user's hand is in a pinching hand shape (such as in Figure 7DIn some embodiments, the computer system stops scrolling the scrollable content in response to detecting that the user stops making the pinch gesture with their hand (e.g., an air gesture, touch input, or other hand input) while the hand is not in the pinch shape.

[0184] In some embodiments, while displaying a user interface (e.g., 702) that includes scrollable content (e.g., 707) (820a) (e.g., without scrolling the scrollable content), in response to detecting a corresponding portion of a user (e.g., 703b) performing a corresponding gesture and based on determining that one or more criteria are met, the computer system (e.g., 101) scrolls the scrollable content (e.g., 707) (820c) based on movement (e.g., air gesture, touch input, or other hand input) of a hand (e.g., 703c) of the user, such as in Figure 7E In some embodiments, the computer system scrolls the scrollable content based on the movement of the hand (e.g., an air gesture, touch input, or other hand input) while the hand is in the pinch shape. For example, the computer system scrolls the content in the same direction as the direction the hand moves when in the pinch shape and by an amount corresponding to the amount of movement (e.g., the speed, duration, and / or distance of the movement). In some embodiments, when scrolling the scrollable content based on the air gesture input, the computer system does not scroll the scrollable content based on gaze. For example, in response to detecting a user gaze directed toward a second area of ​​the scrollable content when an air gesture input is detected (e.g., corresponding to a request to scroll the scrollable content, corresponding to a different request about the scrollable content, or corresponding to a request independent of the scrollable content), the computer system abandons scrolling the scrollable content based on the gaze directed toward the second area of ​​the scrollable content.

[0185] Scrolling scrollable content based on movement of a user's hands (e.g., air gestures, touch input, or other hand input) while the user's hands are in a pinching hand shape enhances user interaction with a computer system by providing additional control options without cluttering the user interface with additional display controls.

[0186] In some embodiments, such as Figure 7D , the movement (eg, speed, distance, and / or duration) of the corresponding portion (eg, 703b) of the user has a corresponding magnitude (822a).

[0187] In some embodiments, the user is directed to a position in a first direction (such as in a direction) based on determining that the corresponding portion (e.g., 703b) of the user is moving. Figure 7D ), the computer system (e.g., 101) scrolls the scrollable content (e.g., 707) in a second direction by a first amount (822b) in response to detecting that the corresponding portion of the user (e.g., 703b) performs the corresponding gesture, such as in Figure 7E In some embodiments, the second direction in which the computer system scrolls the scrollable content corresponds to the first direction of movement of the corresponding portion of the user. In some embodiments, the second direction and the first direction are the same direction (e.g., moving the corresponding portion of the user upward to scroll up or moving the corresponding portion of the user downward to scroll down). In some embodiments, the second direction and the first direction are in opposite directions (e.g., moving the corresponding portion of the user upward to scroll down or moving the corresponding portion of the user downward to scroll up). In some embodiments, the first amount corresponds to the corresponding amplitude; if the corresponding amplitude is larger, the first amount is larger, and if the corresponding amplitude is smaller, the first amount is smaller.

[0188] In some embodiments, based on determining that the movement of the corresponding portion of the user (e.g., 703c) is in a third direction different from the first direction (such as in Figure 7E ), the computer system (e.g., 101) scrolls the scrollable content (e.g., 70) in a fourth direction by a second amount different from the first amount in response to detecting the corresponding portion of the user (e.g., 703c) performing the corresponding gesture, wherein the fourth direction is different from the second direction (822c), such as in Figure 7F In some embodiments, the fourth direction in which the computer system scrolls the scrollable content corresponds to the third direction of movement of the corresponding part of the user. In some embodiments, the fourth direction and the third direction are the same direction (e.g., moving the corresponding part of the user upward to scroll up or moving the corresponding part of the user downward to scroll down). In some embodiments, the fourth direction and the third direction are in opposite directions (e.g., moving the corresponding part of the user upward to scroll down or moving the corresponding part of the user downward to scroll up). In some embodiments, the second amount corresponds to the corresponding amplitude; if the corresponding amplitude is larger, the second amount is larger, and if the corresponding amplitude is smaller, the second amount is smaller. In some embodiments, in response to detecting a downward movement of the corresponding part of the user with the corresponding amplitude, the computer system scrolls the scrollable content by an amount that is smaller than the amount the computer system scrolls the scrollable content in response to detecting an upward movement of the corresponding part of the user with the same corresponding amplitude.

[0189] Scrolling scrollable content by different amounts in response to movements of corresponding portions of a user in different directions and having corresponding magnitudes enhances user interaction with a computer system by providing additional control options without cluttering the user interface with additional display controls.

[0190] In some embodiments, such as Figure 7E In some embodiments, movement (e.g., an air gesture, touch input, or other hand input) of a user's hand (e.g., 703c) includes movement (e.g., an air gesture, touch input, or other hand input) of the hand (e.g., 703c) from a first position to a second position, wherein the user's hand (e.g., 703c) maintains a pinching hand shape (824a) while moving from the first position to the second position. In some embodiments, the first position is the position of the corresponding portion of the user when the corresponding portion of the user initially makes the pinching hand shape (such as when the thumb and index finger of the user's hand are brought together and touching).

[0191] In some embodiments, scrolling the scrollable content (e.g., 707) is performed in response to detecting a corresponding portion of the user (e.g., 703c) performing a corresponding gesture (such as in Figure 7E ) includes (824b) scrolling the scrollable content (e.g., 707) at a first speed based on determining that the distance between the first position and the second position is the first distance (824c). In some embodiments, the computer system continues to scroll the scrollable content at the first speed while continuing to detect the predefined portion of the user at the second position that is the first distance from the first position.

[0192] In some embodiments, scrolling the scrollable content (e.g., 707) is performed in response to detecting a corresponding portion of the user (e.g., 703c) performing a corresponding gesture (such as in Figure 7E In some embodiments, the computer system detects a user's hand at a second location that is the second distance from the first location, and detects a user's hand at a second location that is the second distance from the first location. In some embodiments, the computer system detects a user's hand at a second location that is the second distance from the first location, and detects a user's hand at a second location that is the second distance from the first location. In some embodiments, the computer system detects a user's hand at a second location that is the second distance from the first location, and detects a user's hand at a second location that is the second distance from the first location. In some embodiments, the computer system detects a user's hand at a second location that is the second distance from the first location, and detects a user's hand at a second location that is the second distance from the first location.

[0193] Scrolling scrollable content at a speed dependent on the distance between a first position of a user's hand and a second position of the user's hand enhances user interaction with a computer system by providing additional control options without cluttering the user interface with additional display controls.

[0194] In some embodiments, the one or more criteria include when the user's hand (e.g., 703b) moves at least a threshold amount (such as in Figure 7D The criteria (826a) are met when the speed (e.g., 0.05 cm, 0.1 cm, 0.2 cm, 0.3 cm, 0.5 cm, 1 cm, 2 cm, 3 cm, or 5 cm per second), distance (e.g., 0.05 cm, 0.1 cm, 0.2 cm, 0.3 cm, 0.5 cm, 1 cm, 2 cm, or 3 cm), and / or duration (e.g., 0.05 sec, 0.1 sec, 0.2 sec, 0.3 sec, 0.5 sec, or 1 sec) is met.

[0195] In some embodiments, in response to detecting the corresponding part of the user (e.g., 703a) performing the corresponding gesture, the computer system (e.g., 101) maintains the display of the scrollable content (e.g., 707) without scrolling the scrollable content (e.g., 707) (826b) based on determining that the movement of the user's hand (e.g., 703a) (e.g., air gesture, touch input, or other hand input) does not meet one or more criteria, such as in Figure 7C In some embodiments, if the amount of movement of the hand (e.g., air gesture, touch input, or other hand input) while the hand is in the pinch shape is less than a threshold, the computer system forgoes scrolling the scrollable content based on the movement of the hand (e.g., air gesture, touch input, or other hand input) while the hand is in the pinch shape.

[0196] Maintaining display of scrollable content without scrolling the scrollable content in response to detecting that a corresponding portion of the user performs a corresponding gesture that does not meet one or more criteria due to hand movement (e.g., air gesture, touch input, or other hand input) being less than a threshold amount enhances user interaction with a computer system by reducing user errors when interacting with the computer system.

[0197] In some embodiments, when the user's hand (e.g., Figure 7C In some embodiments, the threshold speed is associated with the speed at which the user lowers their hand without the intent to continue scrolling the scrollable content.

[0198] In some embodiments, in response to detecting that the corresponding portion of the user performs the corresponding gesture, based on determining that one or more criteria are not met, the computer system (e.g., 101) maintains the display of the scrollable content (e.g., 707) without scrolling the scrollable content (e.g., 707) (828b), such as in Figure 7C In some embodiments, the computer system scrolls the scrollable content at a speed less than a threshold speed based on a portion of the downward movement of the hand (e.g., an air gesture, touch input, or other hand input). For example, if the movement of the hand (e.g., an air gesture, touch input, or other hand input) includes a first portion that moves downward at a speed less than a threshold speed and a second portion that moves downward at a speed greater than the threshold speed, the computer system scrolls the scrollable content based on the first portion of the downward movement and does not further scroll the scrollable content based on the second portion of the downward movement.

[0199] In response to detecting that a corresponding portion of a user performs a corresponding gesture due to downward movement of a hand (e.g., an air gesture, touch input, or other hand input) at a speed exceeding a threshold speed that does not meet one or more criteria, maintaining display of scrollable content without scrolling the scrollable content enhances user interaction with a computer system by reducing errors by the user when interacting with the computer system.

[0200] In some embodiments, in response to detecting a user's gaze (e.g., 713a) directed toward scrollable content (e.g., 707), and based on determining that the user's gaze (e.g., 713a) is directed toward a second area (e.g., 706) of the scrollable content (e.g., 707) and that a corresponding portion of the user meets corresponding criteria (such as in Figure 7A In some embodiments, the computer system (e.g., 101) scrolls the scrollable content (e.g., 707) in a first direction based on the user's gaze (e.g., 713a) (830a). In some embodiments, the first scrolling direction corresponds to the position of the second area of ​​the scrollable content within the scrollable content. For example, if the second area is at the bottom of the scrollable content, the computer system scrolls the content downward (e.g., to reveal additional content at the bottom of the scrollable content).

[0201] In some embodiments, when a user interface (e.g., 120) including scrollable content (e.g., 707) is displayed via a display generation component (e.g., 120), in response to detecting a user's gaze directed toward the scrollable content, a third area (e.g., 707) of the scrollable content (e.g., 707) is determined to be directed toward the user's gaze. Figure 7A704 in the third area), the third area (e.g., 704) is different from the second area (e.g., 706), and the corresponding portion of the user meets the corresponding criteria, the computer system (e.g., 101) scrolls the scrollable content (e.g., 707) in a second direction opposite to the first direction according to the user's gaze (830b), such as in Figure 7F In some embodiments, the second scrolling direction corresponds to the position of the third area of ​​the scrollable content within the scrollable content. For example, if the third area is at the top of the scrollable content, the computer system scrolls the content upward (e.g., to reveal additional content at the top of the scrollable content). In some embodiments, scrolling the scrollable content in response to detecting a user's gaze directed toward the third area of ​​the content includes scrolling the content along an axis different from the axis along which the computer system scrolls the scrollable content in response to detecting a user's gaze directed toward the second area of ​​the scrollable content. For example, the computer system scrolls the scrollable content vertically in response to detecting a user's gaze directed toward an area along the top or bottom of the content, and scrolls the scrollable content horizontally in response to detecting a user's gaze directed toward an area along the left or right side of the scrollable content (e.g., when the corresponding portion of the user meets one or more criteria).

[0202] Scrolling scrollable content in different directions depending on the area to which the user's gaze is directed enhances user interaction with a computer system by providing additional control options without cluttering the user interface with additional display controls.

[0203] In some embodiments, in response to detecting a user's gaze (e.g., 713a) directed toward scrollable content (e.g., 707), and based on determining that the user's gaze (e.g., 713a) is directed toward a second area (e.g., 706) of the scrollable content (e.g., 707) and that a corresponding portion of the user meets corresponding criteria (such as in Figure 7F ), scrolling the scrollable content (e.g., 707) in a first direction according to the user's gaze (such as in Figure 7B ) includes scrolling the scrollable content (832a) with a first acceleration. In some embodiments, the first scrolling direction corresponds to the position of the second area of ​​the scrollable content within the scrollable content. For example, if the second area is at the bottom of the scrollable content, the computer system scrolls the content downward (e.g., to reveal additional content at the bottom of the scrollable content). In some embodiments, the first acceleration is an acceleration at which the computer system initiates scrolling of the scrollable content in response to detecting a gaze of the user directed toward the second area of ​​the scrollable content based on determining that the corresponding portion of the user meets the corresponding criteria. In some embodiments, the computer system scrolls the scrollable content at the first speed in response to detecting the gaze of the user directed toward the second area of ​​the scrollable content when the corresponding portion of the user meets the corresponding criteria.

[0204] In some embodiments, in response to detecting a user's gaze directed toward the scrollable content (e.g., 707), and based on determining that the user's gaze is directed toward a third area (e.g., Figure 7A and the corresponding portion of the user meets the corresponding criteria, scrolling the scrollable content in the second direction according to the user's gaze (such as in Figure 7F ) includes scrolling the scrollable content (e.g., 707) (832b) at a second acceleration that is different from (e.g., greater than or less than) the first acceleration. In some embodiments, the second scrolling direction corresponds to the position of the third area of ​​the scrollable content within the scrollable content. For example, if the third area is at the top of the scrollable content, the computer system scrolls the content upward (e.g., to reveal additional content at the top of the scrollable content). In some embodiments, the second acceleration is the acceleration at which the computer system initiates scrolling of the scrollable content in response to detecting the user's gaze directed to the third area of ​​the scrollable content based on determining that the corresponding portion of the user meets the corresponding criteria. In some embodiments, the computer system scrolls the scrollable content at a second speed that is different from the above-mentioned first speed in response to detecting the user's gaze directed to the third area of ​​the scrollable content when the corresponding portion of the user meets the corresponding criteria.

[0205] Scrolling scrollable content at different accelerations when the user's gaze is directed to different areas of the scrollable content enhances user interaction with a computer system by providing additional control options without cluttering the user interface with displayed controls.

[0206] In some embodiments, such as Figure 7AIn some embodiments, the scrollable content includes text content (e.g., 707) and other content (e.g., 705) (834a) (e.g., images, interactive content, and / or interactive user interface elements). In some embodiments, the other content includes additional text content that is not included in the text content of the scrollable content. For example, an article includes text content and other content, the text content includes the text of the article, and the other content includes advertisements, which include text content of the advertisements. In some embodiments, the other content includes multimedia and / or interactive content, such as selectable options for navigating a user interface including the scrollable content (e.g., links to other content). In some embodiments, the computer system displays the scrollable content including the text content and the other content in a first mode (e.g., browsing mode), and displays the text content without displaying the other content in a second mode (e.g., reader mode). In some embodiments, the computer system transitions between displaying the scrollable content in the first mode and displaying the text content of the scrollable content in the second mode in response to one or more user inputs corresponding to a request to change the presentation mode (e.g., selection of one or more user interface elements, voice input, and / or a predefined gesture performed by a part of the user's body).

[0207] In some embodiments, while displaying text content (e.g., 707) of the scrollable content without displaying other content of the scrollable content (834b), the computer system (e.g., 101) detects movement (834c) of the user's gaze (e.g., 713h) via one or more input devices, such as in Figure 7G In some embodiments, the movement of the user's gaze corresponds to the user reading text content of the scrollable content.

[0208] In some embodiments, when the text content of the scrollable content (e.g., 707) is displayed without displaying other content of the scrollable content (834b), in response to detecting movement of the user's gaze (e.g., 713h) (834d), the user is prompted to scroll the scrollable content to the desired location based on determining that the movement of the user's gaze (e.g., 713h) satisfies one or more criteria (including criteria satisfied based on movement of the user's gaze (e.g., 713h) relative to a line of text in the text content (e.g., 707)) (such as in Figure 7G ), the computer system (e.g., 101) scrolls the text content (e.g., 707) (834e), such as in Figure 7HIn some embodiments, one or more standards are associated with the user having finished reading a row of text content. In some embodiments, the computer system can detect whether the user is only looking at the first part of the text or whether the user is reading the first part of the text item based on the movement of the user's eyes detected. The computer system optionally compares one or more captured images of the user's eyes to determine whether the movement of the user's eyes matches the movement consistent with reading. In some embodiments, people tend to move their gaze from the end of a row they have finished reading to the front of the row or to the front of the next row after reading the row of text. In some embodiments, one or more standards include the standard that meets when the user's gaze moves in the direction from the end of a row to the beginning of the row or to the beginning of the next row. In some embodiments, in response to detecting the movement of the user's gaze corresponding to the user having finished reading the row of text, the computer system scrolls the text content. In some embodiments, the computer system scrolls the text content one row to display the next row at a certain position in a three-dimensional environment, and at this position, when the user was just reading the row of text that the user had just read, the row of text that the user had just read was displayed. For example, a computer system scrolls text vertically to display a corresponding line of text at a height at which a line of text previously read by a user had previously been displayed. As another example, an electronic device scrolls text horizontally to display a corresponding line of text at a horizontal position at which the line of text previously read by a user had previously been displayed. Scrolling text content optionally includes updating the position of a line of text previously read by a user (e.g., vertically or horizontally moving a first portion of text to make room for a second portion of text) or stopping displaying the line of text previously read by a user. In some embodiments, a computer system scrolls text content in response to data collected by an eye tracking device without receiving additional input (e.g., air gesture input or input detected via a hardware input device) from another input device in communication with the computer system.

[0209] In some embodiments, when the text content of the scrollable content is displayed (e.g., 707) but other content of the scrollable content is not displayed (834b) (such as in Figure 7GIn some embodiments, the user's gaze does not meet the one or more criteria when the user is reading the corresponding line of scrollable content (e.g., toward the beginning or a portion in the middle of the corresponding line of scrollable content). In some embodiments, the user's gaze does not meet the one or more criteria when the user's gaze reaches the end of the line of text content without moving toward the beginning of the line of text content. For example, the user reads the line of text content and then directs their gaze to another portion of the three-dimensional environment that is different from the beginning of the line of text content or the beginning of the next line of text content.

[0210] Scrolling text content based on determining that movement of the user's gaze satisfies one or more criteria enhances user interaction with a computer system by providing additional control options without cluttering the user interface with additional display controls.

[0211] In some embodiments, scrolling text content (e.g., 707) in response to detecting movement of a user's gaze (e.g., 713h) that meets one or more criteria (such as in Figure 7G In some embodiments, the computer system scrolls the text content based on the user's gaze, regardless of the posture and / or position of the user's hand, when the computer system displays the text content of the scrollable content without displaying additional content of the scrollable content (e.g., in reader mode). In some embodiments, the computer system scrolls the text content in response to detecting a movement of the user's gaze that meets one or more criteria when the corresponding part of the user meets the corresponding criteria. In some embodiments, the computer system scrolls the text content in response to detecting a movement of the user's gaze that meets one or more criteria when the corresponding part of the user does not meet the corresponding criteria.

[0212] Scrolling text content based on determining that movement of the user's gaze satisfies one or more criteria regardless of whether a corresponding portion of the user is in a predefined pose enhances user interaction with a computer system by providing additional control options without cluttering the user interface with additional display controls.

[0213] In some embodiments, when displaying text content of scrollable content without displaying other content of the scrollable content (838a) (e.g., when displaying text content in the reader mode described above), a computer system (e.g., 101) detects a user's gaze directed at the text content via one or more input devices (838b).

[0214] In some embodiments, when displaying the text content of scrollable content without displaying other content of the scrollable content (838a) (e.g., when displaying the text content in the reader mode described above), in response to detecting the user's gaze directed at the text content (838c), based on determining that the user's gaze is directed at a first area of ​​the text content and the movement of the user's gaze does not meet one or more criteria, the computer system (e.g., 101) maintains the display of the text content without scrolling the text content (838d). In some embodiments, the first area of ​​the text content is away from one or more directions in which the text content can scroll. For example, if the text content is vertically scrollable, the first area of ​​the text content is the area between the top and bottom parts of the text content. As another example, if the text content is horizontally scrollable, the first area of ​​the text content is the area between the left and right parts of the text content. In some embodiments, the first area of ​​the text content is similar to the first area of ​​the scrollable content described above. In some embodiments, the computer system maintains the display of the text content without scrolling the text content in response to detecting the user's gaze directed at the first area of ​​the text content when the movement of the user's gaze does not correspond to the user reading the text content.

[0215] In some embodiments, when the text content of the scrollable content is displayed (e.g., 707) without displaying other content of the scrollable content (838a) (e.g., when the text content is displayed in the reader mode described above) (such as in Figure 7GIn some embodiments, in response to detecting a user's gaze directed toward text content (838c), based on determining that the user's gaze is directed toward a second area of ​​text content different from the first area of ​​text content (e.g., 710), and a corresponding part of the user (e.g., a hand or head) meets corresponding criteria (e.g., the user's hand is not in a ready state), and movement of the user's gaze does not meet one or more criteria, the computer system (e.g., 101) scrolls the text content based on the user's gaze (838e). In some embodiments, scrolling the text content based on the user's gaze based on determining that the user's gaze is directed toward the second area of ​​text content and the corresponding part of the user meets corresponding criteria has one or more characteristics in common with the above-described technique for scrolling scrollable content in response to detecting a user's gaze directed toward a second area of ​​scrollable content when the corresponding part of the user meets corresponding criteria. In some embodiments, the computer system scrolls the text content in response to detecting the user's gaze directed toward the second area of ​​text content when the movement of the user's gaze corresponds to the user reading the text content. In some embodiments, the computer system scrolls the text content in response to detecting the user's gaze directed toward the second area of ​​text content when the movement of the user's gaze does not correspond to the user reading the text content. In some embodiments, the second area of ​​textual content is similar to the second area of ​​scrollable content described above.

[0216] In some embodiments, when the text content of the scrollable content is displayed (e.g., 707) without displaying other content of the scrollable content (838a) (e.g., when the text content is displayed in the reader mode described above) (such as in Figure 7G In response to detecting a user's gaze (713h) directed toward text content (e.g., 838c), the computer system (e.g., 101) scrolls the text content (838f) based on determining that the user's gaze (e.g., 713h) is directed toward a first area of ​​the text content and movement of the user's gaze (e.g., 713h) satisfies one or more criteria, such as in Figure 7H In some embodiments, the computer system scrolls the text content based on the user's gaze being directed to the second area of ​​the text content, and scrolls the text content based on the movement of the user's gaze relative to a line of text content as described above, while the computer system displays the text content of the scrollable content without other content of the scrollable content as described above. In some embodiments, there are at least two ways to scroll text content based on gaze.

[0217] Scrolling text content based on the user's gaze enhances user interaction with a computer system by providing additional control options without cluttering the user interface with additional display controls.

[0218] In some embodiments, when scrollable content (e.g., 707) is displayed (such as in Figure 7H In some embodiments, in response to detecting a user's gaze (e.g., 713i) directed to scrollable content (e.g., 707), based on determining that the user's gaze (e.g., 713i) is directed to a word included in a first area of ​​the scrollable content (e.g., 707) for at least a threshold time (e.g., 0.1 seconds, 0.2 seconds, 0.3 seconds, 0.5 seconds, 1 second, 2 seconds, or 3 seconds), the computer system (e.g., 101) displays a definition (e.g., 712) of the word included in the scrollable content (e.g., 707) via a display generation component (e.g., 120) (840). In some embodiments, the definition of the word is displayed as an overlay on the scrollable content. Based on determining that the user's gaze is directed to the word included in the first area of ​​the scrollable content for less than the threshold time, the computer system abandons displaying the definition of the word. Based on determining that the user's gaze is not directed to the word included in the first area of ​​the scrollable content, the computer system abandons displaying the definition of the word.

[0219] Displaying definitions of words based on the user's gaze enhances user interaction with a computer system by providing additional control options without cluttering the user interface with additional display controls.

[0220] In some embodiments, aspects / operations of methods 1000, 1200, 1400, 1600, 1800, 2000, 2200, and / or 2400 can be interchanged, substituted, and / or added between these methods. For example, the computer system optionally scrolls content generated via speech input according to method 1000 according to one or more steps of method 800. For example, the computer system optionally scrolls content generated via a soft keyboard according to methods 1200, 1400, and / or 1600 according to one or more steps of method 800. For the sake of brevity, these details are not repeated here.

[0221] Figures 9A to 9N Example techniques for entering text into a text entry field in response to voice input according to some embodiments are illustrated. Figures 9A to 9N The user interface in the is used to illustrate the processes described below, which include Figures 10A to 10R in the process.

[0222] Figure 9A The computer system 101 is illustrated as displaying a display generated by a component (eg, Figure 1 The display generation component 120) displays the three-dimensional environment 901 from the user's viewpoint. Figures 1 to 6 As described, the computer system 101 optionally includes a display generation component (eg, a touch screen) and a plurality of image sensors 314 (eg, Figure 3Image sensor 314). Image sensor 314 optionally includes one or more of the following: a visible light camera; an infrared camera; a depth sensor; or any other sensor that computer system 101 can use to capture one or more images of a user or a portion of a user (e.g., one or more hands of a user) when the user interacts with computer system 101. In some embodiments, the user interface illustrated and described below may also be implemented on a head-mounted display that includes a display generation component that displays the user interface or a three-dimensional environment to the user, and sensors that detect movement of the physical environment and / or the user's hands (such as movement interpreted by the computer system as gestures such as air gestures) (e.g., external sensors facing outward from the user) and / or sensors that detect the user's gaze (e.g., internal sensors facing inward toward the user's face). It should be understood that in some embodiments, one or more of the techniques described herein are applied to a two-dimensional environment (e.g., on a touch-sensitive display or other display) without departing from the scope of this disclosure.

[0223] Figure 9A The computer system 101 is illustrated displaying a web browsing user interface 902 via the display generation component 120. In some embodiments, the web browsing user interface 902 includes an indication 904 of the URL of the website currently being presented by the web browser. Figure 9A , web browsing user interface 902 includes a web search website including a text entry field 906 to which input specifying one or more search terms is directed, and a selectable option 908 that, when selected, causes computer system 101 to perform a search using the one or more search terms provided to text entry field 906. In some embodiments, computer system 101 is configured to detect input to enter text into text entry field 906 via a soft keyboard in accordance with one or more steps of methods 1200, 1400, and 1600, via a hardware keyboard, or via dictation, as will now be described.

[0224] In some embodiments, the computer system 101 initiates the process of accepting spoken input directed to the text entry field 906 in response to detecting the user's attention (including the user's gaze 913a) directed to the text entry field 906 via one or more input devices (e.g., image sensor 314). In some embodiments, the computer system 101 initiates the process of accepting spoken input in response to detecting the user's attention directed to the text entry field 906 without detecting or considering detecting additional input (such as an air gesture or input provided with a hardware input device). In some embodiments, in response to detecting the user's gaze 913a directed to the text entry field 906, the computer system 101 gradually expands the text entry field. For example, Figures 9A to 9BAs shown, in response to the user's gaze 913a being directed to the text entry field 906, the computer system 101 gradually increases the width of the text entry field 906 as the user's gaze 913a is directed to the text entry field 906. In some embodiments, once the user's gaze 913a has been directed to the text entry field 906 for a threshold amount of time, the computer system 101 stops expanding the text entry field 906 and initiates the process of accepting speech input directed to the text entry field. Example time thresholds are described below with reference to Figures 10A to 10R A description of method 1000 is provided.

[0225] Figure 9B 1 illustrates an updated web browsing user interface 902 in response to the computer system 101 detecting a user's gaze 913a directed toward the text entry field 906 for the aforementioned threshold amount of time. Figure 9B As shown, when the computer system 101 first detects the user's gaze 913a directed to the text entry field 906, the computer system 101 Figure 9A The text entry field 906 is displayed with a larger width than the width of the text entry field. Figure 9B Also illustrated is the computer system 101 generating an audio output 910a indicating that the computer system 101 is configured to accept speech input of text directed to the text entry field 906 in response to the user's gaze 913a being directed to the text entry field 906 for a threshold amount of time. The computer system 101 also highlights placeholder text 914 displayed in the text entry field 906 before the computer system 101 detects that the user's gaze 913a is directed to the text entry field 906 in response to the user's gaze 913a being directed to the text entry field 906 for the threshold amount of time.

[0226] although Figure 9B The computer system 101 is illustrated as displaying a cursor 912 in response to a user's gaze 913a being directed toward the text entry field 906 for a threshold time, but in some embodiments, the computer system 101 does not display the cursor 912 unless and until the user provides verbal input that dictates the text to be entered in the text entry field 906. In some embodiments, in response to detecting the user's gaze 913a directed toward the text entry field 906 for at least the threshold time (e.g., without detecting or considering detecting additional input (such as an air gesture or input detected via a hardware input device)), the computer system 101 displays an additional visual indication that the computer system 101 is configured to display the cursor 912 in a manner consistent with the computer system 101 described below. Figure 9G and Figure 9H The spoken text provided via speech input is entered into the text entry field 906 in a manner similar to the manner in which the microphone icon 930 is displayed in FIG.

[0227] exist Figure 9B , while continuing to detect the user's gaze 913a directed toward the text entry field 906, the computer system 101 receives a speech input 916a from the user. Figure 9B As shown, the computer system 101 displays a text representation of the speech input 916a in the text entry field 906 to enter the text of the speech input into the text entry field 906, as shown in FIG. Figure 9C shown.

[0228] Figure 9C Illustrated in response to Figure 9B The input is shown in the text entry field 906. Figure 9B In some embodiments, the computer system 101 initiates the process of accepting spoken input for entering text into the text entry field 906 in response to detecting the user's gaze without detecting or considering detecting speech input, as described above with reference to Figures 9A to 9B In some embodiments, when the computer system 101 is configured to accept spoken input for entering text into the text entry field 906, the computer system 101 responds to the following request without detecting or taking into account the detection of air gesture input and / or input detected via a hardware input device: Figures 9B to 9C 906. In some embodiments, upon detecting speech input, the computer system 101 generates a glow effect 918 around the text entry field 906 that changes over time based on the volume of the received speech input. For example, the computer system 101 modifies the size, translucency, color, darkness, or another visual characteristic of the glow effect 918 based on the audio volume of the speech input as the speech input is being received by the computer system 101. In some embodiments, the computer system 101 displays a cursor 912 in the text entry field 906 while the speech input is being received.

[0229] exist Figure 9C In , the computer system 101 detects the continuation of the speech input 916b when the user's gaze 913b is no longer directed to the text entry field 906. Figure 9CThe user's gaze 913b is illustrated as being directed to an area of ​​the web browsing user interface that does not include the text entry field 906, but in some embodiments, the user's gaze is away from the web browsing user interface 902, such as to a portion of the display generation component 120 that is different from the portion of the display generation component 120 that includes the text entry field 906, or away from the display generation component 120. In some embodiments, the computer system 101 detects continuation of the speech input 916b when the user closes their eyes for more than a time threshold associated with a user blinking. Example time thresholds are described below with reference to Figures 10A to 10R A description of method 1000 is provided.

[0230] In some embodiments, in response to detecting a continuation of speech input 916b while the user's gaze 913b is not directed toward the text entry field 906, the computer system 101 enters a text-based representation of the continuation of speech input 916b, as will be described below with reference to Figure 9D In some embodiments, in response to detecting a continuation of speech input 916b while the user's gaze 913b is not directed to the text entry field 906, the computer system 101 maintains display of the text representation 920 of the previously entered text without displaying the text representation of the continuation of speech input 916b, as also described below with reference to Figure 9D In some embodiments, in response to detecting continuation of speech input 916b while the user's gaze 913b is not directed to the text entry field 906, the computer system 101 removes (e.g., some, all) the text from the text entry field 906 and stops accepting spoken input directed to the text entry field 906, as will be described below with reference to Figure 9E described.

[0231] In some embodiments, in response to detecting a continuation of speech input 916b while the user's gaze 913b is not directed toward the text entry field 906, the computer system 101 displays a textual representation of the continuation of speech input 916b in the text entry field if the computer system 101 has already begun accepting spoken input, such as Figure 9D As shown, and if the computer system 101 has not yet accepted the spoken input, the text representation of the continuation of the display of the speech input 916b is abandoned, as shown in FIG. Figure 9E In some embodiments, the computer system 101 removes (e.g., some, all) the text from the text entry field 906 and forgoes displaying a textual representation of the continuation of the speech input 916b in the text entry field, as shown. Figure 9EAs shown, because the text entry field 906 is a search text entry field. In some embodiments, the search text entry field is included in a first type of text entry field, which also includes a messaging text entry field and a web browser address field. In some embodiments, if the text entry field is a long form text entry field, such as Figures 9F to 9H The text entry field shown, and / or if input is required in addition to detecting the user's attention directed to the text entry field in order to accept speech input for providing text to the text entry field, the computer system 101 continues to display the previously spoken text, but does not display a textual representation of the continuation of the speech input detected when the user's gaze was not directed to the text entry field.

[0232] Figure 9D Illustrated in response to some embodiments Figure 9C The computer system 101 updates the text entry field 906 as the illustrated speech input continues. As described above, in some embodiments, in response to Figure 9C Continuing with the illustrated speech input, the computer system 101 maintains display of a text representation 920 of the speech input (e.g., the word "Lorem") in the text entry field 906. In some embodiments, the computer system 101 also displays Figure 9C A textual representation of a continuation of the illustrated speech input (eg, the word "Ipsum"). Figure 9D Including around Figure 9C The dashed box of the text representation of the continuation of the illustrated speech input 916b (e.g., the word "Ipsum") is shown because, in some embodiments, the computer system 101 forgoes displaying the text representation of the continuation of the speech input 916b as described above. Figure 9C 916b. It should be understood that in some embodiments, the computer system 101 displays the textual representation of the continuation of the speech input 916b without displaying a dashed-line frame around the textual representation of the continuation of the speech input 916b. In some embodiments, the computer system 101 abandons display of the textual representation of the continuation of the speech input 916b and abandons display of the dashed-line frame. As described above, in some embodiments, the computer system 101 Figure 9D A text representation of the continuation of the speech input 916b is displayed in the text entry field 906 because when the Figure 9C 916b, even if the user's gaze is not directed to the text entry field 906 when the continuation of speech input 916b is detected.

[0233] exist Figure 9D In the embodiment, the computer system 101 is based on Figure 9CThe change in volume level of the illustrated speech input 916b causes a glow effect 918 to be displayed with updated visual characteristics around the text entry field 906. In some embodiments, the computer system 101 displays the glow effect 918 if the computer system 101 displays a text representation of the continuation of the speech input, and does not display the glow effect 918 if the computer system 101 forgoes displaying the text representation of the continuation of the speech input.

[0234] In some embodiments, while text 920 is displayed in the text entry field 906, the computer system 101 detects speech input 916c corresponding to a command associated with the text entry field 906. For example, because the text entry field 906 is a search field, the speech input 916c includes the word "search". Figures 10A to 10R Other examples of speech commands and their associated text entry fields are provided in the description of method 1000. In some embodiments, if speech input 916c corresponding to a command is received while gaze 913c is directed to text entry field 906, the computer system 101 performs an operation corresponding to text entry field 906, such as searching for a search term included in the text entry field when the command was received. In some embodiments, if speech input 916c corresponding to a command is received while gaze 913b is not directed to text entry field 906, the computer system 101 abandons performing an operation corresponding to text entry field 906. In some embodiments, the computer system 101 performs an operation corresponding to text entry field 906, such as searching for a search term included in the text entry field when the command was received, regardless of whether speech input 916c corresponding to the command is received while gaze 913c is directed to text entry field 906 or when gaze 913b is not directed to text entry field 906.

[0235] Figure 9E Illustrated in response to some embodiments Figure 9C As described above, in some embodiments, the computer system 101 updates the text entry field in response to the user's gaze not being directed to the text entry field. Figure 9C The text entry field 906 is shown as a continuation of the speech input detected, and the text entry field 906 corresponding to the Figure 9B In some embodiments, the computer system 101 removes the text corresponding to Figure 9B The text of the speech input is illustrated because the text entry field is a search field of the website or another text entry field of the same type as the search field, as described above with reference to Figure 9C And the following reference Figures 10A to 10RIn some embodiments, the method 1000 is described in the description of the method 1000. Figure 9B In some embodiments, the computer system 101 cancels the spoken input, such as by deleting the text from the text entry field or restoring the text entry field 906 to Figure 9A The appearance of the text entry field 906 in the text entry field 906 is updated (eg, the width of the text entry field 906 is reduced) to indicate that the dictation input has been canceled.

[0236] Figures 9F to 9H The computer system 101 is illustrated displaying a word processing user interface 922 that includes a text entry field 926, a save option 924a, an undo option 924b, font options 924c, and an option 924d to stop display of the word processing user interface 922. In some embodiments, the text entry field 926 of the word processing user interface 922 is a long-form text entry field. In some embodiments, the computer system 101 initiates a process of accepting spoken input directed to the long-form text entry field 926 in response to an additional input (such as an air gesture or input detected via a hardware input device) being spoken into the text entry field 926. Example input is described below with reference to Figures 10A to 10R In some embodiments, the computer system initiates dictation in response to detecting the user's attention directed to the text entry field 926 (including detecting the user's gaze 913d directed to the text entry field 926 for a threshold time) without receiving or considering receiving additional input (such as an air gesture or input detected via a hardware input device). Example threshold times are described below with reference to Figures 10A to 10R In some embodiments, prior to initiating dictation, the computer system 101 displays a cursor 928 in the text entry field 926 in response to input provided via a soft keyboard according to methods 1200, 1400, and / or 1600 and / or via a hardware keyboard, the cursor indicating where the text is to be inserted. Figures 9G to 9H As described, once dictation is initiated, computer system 101 stops displaying cursor 928.

[0237] Figure 9G 1 illustrates how the computer system 101 updates the word processing user interface 922 in response to the initiation of dictation. In some embodiments, the computer system 101 updates the word processing user interface 922 based on the detection of the pointing device, without detecting or considering the detection of additional input (such as an air gesture or input detected via a hardware input device). Figure 9FIn some embodiments, dictation is initiated by the user's gaze at the illustrated text entry field 926. Figures 10A to 10R The dictation is initiated by the additional input described in the description of method 1000. Figure 9G As shown, when the dictation is initiated, the computer system 101 generates the same Figure 9B The audio output 910a is depicted as being the same as or different from the audio output 910b. Figure 9G Also shown is the computer system 101 displaying a microphone icon 930 in the text entry field 926 at the location where the dictated text is to be inserted in response to detecting speech input provided by the user. In some embodiments, the microphone icon 930 is displayed in the text entry field at the location where the user's gaze was directed when the dictation was initiated. Thus, in some embodiments, if the user had looked at a different location in the text entry field 926, the computer system 101 would insert the dictated text at that location instead of Figure 9G A microphone icon 930 is displayed at the position shown. Figure 9G As shown, once dictation is initiated and the computer system 101 displays the location where the microphone icon 930 will be inserted, the computer system 101 stops Figure 9F In some embodiments, the computer system 101 displays a different visual indication in the text entry field 926 at the location where the spoken text will be inserted, rather than displaying a cursor 928 as shown. Figure 9G Microphone icon 930 is shown.

[0238] exist Figure 9G , the computer system detects voice input 916d provided by the user when the user's gaze 913d is directed to the text entry field 926. In some embodiments, in response to receiving the voice input 926d, the computer system 101 displays the text corresponding to the voice input 926d in the text entry field 926, such as Figure 9H shown.

[0239] Figure 9H Illustrate that the text entry field displays the corresponding Figure 9G The computer system 101 is shown displaying text 932 corresponding to the voice input. In some embodiments, while displaying the text 932 corresponding to the voice input, the computer system (e.g., if dictation is still active) continues to display the microphone icon 930. Figure 9HAs shown, the microphone icon 930 is displayed after the text 932 corresponding to the voice input because the text corresponding to the additional voice input will be displayed after the text 932 corresponding to the voice input. In some embodiments, if the user's gaze moves away from the text entry field 926 while the user continues to dictate text, the computer system 101 maintains the display of the text 932 corresponding to the voice input and optionally enters the text corresponding to the subsequent voice input detected when the user's gaze moves away from the text entry field 926 because the text entry field 926 is a long-form type of text entry field, as previously and below with reference to Figures 10A to 10R This is described in more detail in the description of method 1000 .

[0240] Figures 9I to 9N An example of a computer system 101 entering text into a text entry field 906 in response to voice input is illustrated. Figure 9I , the computer system 101 displays a web browsing user interface 902 including a text entry field 906 into which user input specifying a website address and / or search term for a web search is accepted. For example, in response to detecting that a user enters text into the text entry field 906 and subsequently detecting input for a web search using the text (e.g., selection of a search option, execution of a search gesture, and / or a search voice command), the computer system 101 initiates a web search for content on the Internet corresponding to the text. Figure 9I As shown, the text entry field 906 includes placeholder text 934. In some embodiments, the placeholder text 934 is displayed in multiple colors that animate changing hue, darkness, and / or saturation over time in a predetermined pattern or according to the changing audio level of detected sounds (e.g., speech, music, and / or other noises in the environment of the computer system 101). In some embodiments, the computer system 101 displays the placeholder text 934 in the text entry field 906 before receiving input to enter text into the text entry field. In some embodiments, the computer system 101 displays the placeholder text 934 in the text entry field 906 in response to receiving one or more inputs corresponding to a request to delete existing text from a text entry field currently displayed in the Internet browsing user interface 902 (such as the URL of website A).

[0241] like Figure 9I As shown, the text entry field 906 is displayed with a background that does not change color based on the changing audio level of detected audio (e.g., ambient noise or speech), and is not displayed with a glowing appearance around the edge of the text entry field 906. In some embodiments, Figure 9IThis appearance of the illustrated text entry field 906 indicates that the computer system will not enter text corresponding to the speech input in the text entry field 906 in response to receiving the speech input. Figure 9I If one or more words are spoken while entering the text entry field 906 as shown, the computer system 101 maintains the display of placeholder text 934 in the text entry field 90.

[0242] Figure 9I The dictation icon 936 is illustrated as being included in the text entry field 906. In some embodiments, the computer system 101 displays the dictation icon 936 in the text entry field 906 in response to detecting the user's attention directed to the text entry field 906 as described above. Figure 9I As shown, the computer system 101 detects the user's attention 913e directed toward the dictation icon 936. Figure 9I The computer system updates the appearance of the text entry field 906 and enters text corresponding to the speech input in response to detecting the speech input, such as at least referring to Figure 9J described.

[0243] Figure 9J As illustrated above, Figure 9I The computer system 101 is depicted as displaying the text entry field 906 with an updated appearance in response to detecting the user's attention 913e directed to the dictation icon 936. In some embodiments, as Figure 9I As shown, the computer system 101 updates the text entry field 906 to include the dictation icon 938 in the text entry field 906. Figure 9I In some embodiments, the Figure 9J As shown, the computer system 101 updates the text entry field 906 so that it is displayed with a background that changes color according to the changing audio level of the detected audio (including voice input 916e). Figure 9J As shown, the computer system 101 updates the text entry field 906 so that a glowing outline 942a is displayed that changes color, intensity, and / or radius according to the changing audio level of the detected audio (including voice input 916e). Figure 9J As shown, the computer system 101 updates the text entry field 906 to include an insertion mark 944a that changes color and / or has a glowing effect that changes color, intensity, and / or radius based on the changing audio level of the detected audio (including voice input 916e).

[0244] In some embodiments, Figure 9J When the illustrated appearance displays the text entry field 906, the computer system 101 receives speech input 916e when the user's attention 913e is directed to the text entry field 906. In some embodiments, in response to Figure 9J When the illustrated appearance displays the text entry field 906 and when the user's attention 913e is directed to the text entry field 906, the computer system 101 receives a speech input 916e, and enters the text corresponding to the speech input into the text entry field 906, as shown in FIG. Figure 9K In some embodiments, if the user's attention 913e is not directed to the text entry field 906 when the computer system 101 detects the speech input 916e, the computer system 101 abandons entering the text corresponding to the speech input 916e into the text entry field. In some embodiments, in response to detecting that the user's attention is away from the text entry field 906, the computer system 101 stops entering the text corresponding to the speech input 916e into the text entry field. Figure 9J The appearance shown shows a text entry field 906 and is Figure 9I The illustrated appearance displays a text entry field 906 .

[0245] Figure 9K and Figure 9L In response to the above reference Figure 9J The described speech input 916e is entered corresponding to Figure 9J In some embodiments, the computer system 101 is configured to receive text from the speech input 916e. Figure 9K and Figure 9L As shown, the text entry is animated letter by letter. Figure 9K As shown, when entering text corresponding to speech input, the computer system 101 updates the background color of the text entry field 906, the glow effect 942b surrounding the text entry field 906, and / or the color and / or glow of the insertion mark 912 based on the detected audio level (e.g., of the speech input 916e). Figure 9KThe example illustrates that as text corresponding to speech input 916e is entered, a first portion 946a of the text corresponding to speech input 916e is displayed in a first color, and a second portion 948a of the text corresponding to speech input 916e is displayed in a second color and / or a glow effect. For example, as the computer system 101 displays additional letters corresponding to speech input 916e, the computer system 101 displays the letters in multiple colors and / or with a glow effect that changes based on the detected audio level, and then transitions to the first color as a solid color. In some embodiments, the color of the background of the text entry field 906, the glow effect 942b surrounding the text entry field 906, the color and / or glow of the insertion mark 912, and the color of the second portion 948a change in a coordinated manner in response to the detected audio level.

[0246] Figure 9L Illustrated in response to Figure 9J The illustrated speech input 916e continues to enter text. Figure 9L As shown, as the detected audio level continues to change (e.g., the electronic device continues to detect speech input 916e), the computer system 101 updates the background color of the text entry field 906, the glow effect 942c surrounding the text entry field 906, and / or the color and / or glow of the insertion mark 912 according to the detected audio level (e.g., of the speech input 916e). Figure 9L As shown, as the computer system 101 adds characters to the entered text, the portion of the text displayed in solid color 946b includes the additional characters, and as characters are added to the text entry field 906, the characters 948b are displayed in a color and / or glow corresponding to the audio level before being displayed in solid color.

[0247] In some embodiments, once the computer system 101 no longer detects speech input 916e, the computer system 101 Figure 9I The illustrated appearance displays a text entry field 906 with text corresponding to the speech input. For example, the computer system 101 displays the text entry field 906 with a solid background color that remains the same regardless of the detected audio level, stops displaying a glow effect around the text entry field 906, and stops displaying the insertion mark 912 in the text entry field 906. In some embodiments, while the text corresponding to the speech input 916e is displayed in the text entry field, the computer system 101 receives input corresponding to a request to conduct an Internet search based on the text in the text entry field. In some embodiments, in response to the input, the computer system 101 displays search results related to the text in the text entry field (e.g., the text corresponding to the speech input 916e).

[0248] In some embodiments, when the computer system 101 enters text into the text entry field 906 in response to one or more typed text entry inputs, the computer system 101 Figure 9I The appearance shown instead of Figures 9J to 9L The illustrated appearance shows a text entry field 906. For example, Figures 9M to 9N An example of a computer system 101 entering text into a text entry field 906 in response to input received using a soft keyboard 950 is illustrated. In some embodiments, the computer system 101 similarly enters text into the text entry field 906 in response to input received using a hardware keyboard. In some embodiments, the computer system 101 enters text into the text entry field 906 in response to input directed to a soft keyboard according to one or more steps of methods 1200, 1400, 1600, and / or 2200. In some embodiments, the computer system 101 enters text into the text entry field 906 in response to input directed to a hardware keyboard according to one or more steps of method 2400.

[0249] exist Figure 9M , the computer system 101 simultaneously displays a text entry field 906 and a soft keyboard 950. In some embodiments, the soft keyboard 950 is displayed with an option 954 that, when selected, causes the computer system 101 to enter text in the text entry field 906 in response to speech input. Figure 9M As shown, computer system 101 displays text entry field 906 without a glow effect and with a background color that does not change based on the detected audio level. In some embodiments, text entry field 906 does not include a dictation icon. Figure 9M The text entry field 906 is illustrated as being displayed without an insertion mark, but in some embodiments, the text entry field 906 includes an insertion mark. Figure 9M In FIG. 1 , the computer system 101 receives input directed to the soft keyboard 950 provided with the hand 903. Figure 9M As shown in the example, the computer system 101 enters text corresponding to the input directed to the soft keyboard, such as Figure 9N shown.

[0250] Figure 9N Illustrated shows the Figure 9M1. The computer system 101 is shown with the text entry field 906 corresponding to the text 952 entered. In some embodiments, the computer system 101 displays the text 952 in a color that does not change over time and / or in response to a detected audio level while the computer system 952 is entering the text 952 and / or after the computer system 952 is entering the text. In some embodiments, while the text 952 is entering in the text entry field 906 and after the text is entered in the text entry field, the computer system 101 displays the text entry field 906 without a glow effect and with a background color that does not change based on a detected audio level. In some embodiments, while the text 952 is displayed in the text entry field 906, the computer system 101 receives input corresponding to a request to perform an internet search based on the text 952 in the text entry field 906 and, in response to the input, displays search results corresponding to the text 952.

[0251] Reference below about Figures 9A to 9N The described method 1000 provides information about Figures 9A to 9N Additional description of .

[0252] Figures 10A to 10R is a flow chart of a method of entering text into a text entry field according to various embodiments. In some embodiments, method 1000 includes a display generation component (e.g., Figure 1 、 Figure 3 and Figure 4 A computer system comprising a display generating component 120 in the display (e.g., a head-up display, a display, a touch screen and / or a projector) and one or more input devices (e.g., Figure 1 In some embodiments, the method 1000 is performed by storing in a non-transitory (or transient) computer-readable storage medium and executed by one or more processors of a computer system, such as one or more processors 202 of the computer system 101 (e.g., Figure 1 Some operations in method 1000 may be optionally combined, and / or the order of some operations may be optionally changed.

[0253] In some embodiments, such as Figure 9A In some embodiments, method 1000 is performed at a computer system (e.g., 101) in communication with a display generation component (e.g., 120) and one or more input devices. In some embodiments, the computer system is the same as or similar to the computer system described above with reference to method 800. In some embodiments, the one or more input devices are the same as or similar to the one or more input devices described above with reference to method 800. In some embodiments, the display generation component is the same as or similar to the display generation component described above with reference to method 800.

[0254] In some embodiments, a computer system (e.g., 101) displays a text entry field (e.g., 906) (1002a) via a display generation component (e.g., 120), such as in Figure 9A In some embodiments, a text entry field is displayed in a three-dimensional environment identical or similar to the three-dimensional environment described above with reference to method 800. In some embodiments, a text entry field is an interactive user interface element that accepts text input. In some embodiments, the three-dimensional environment includes optional options that, when selected, cause the computer system to perform operations on the text entered into the text entry field (e.g., previously). For example, the text entry field is a network address bar, a search box, a field for accepting a file name, a message field, or a word processor, and the optional options are navigation options, search options, save or load options, the option of sending a message, or the option of saving the entered text as a document. In some embodiments, the text entry field has one or more features of the features of the text entry field described below with reference to methods 1200, 1400, and / or 1600.

[0255] In some embodiments, when a text entry field is displayed (1002b) via a display generation component (e.g., 120) (such as in Figure 9A ), the computer system (e.g., 101) detects a first speech input (e.g., 916a) from a user via one or more input devices (e.g., microphones) (1002c), such as in Figure 9B In some embodiments, receiving the first speech input includes detecting the user speaking a word, number, letter, and / or special character (e.g., non-alphabetic symbols included in written text). In some embodiments, upon detecting the user's gaze directed to the text entry field and the first speech input, the computer system does not detect additional input corresponding to the request to enter text into the text entry field (e.g., via one or more input devices other than the eye tracking device and / or microphone).

[0256] In some embodiments, when a text entry field is displayed (1002b) via a display generation component (e.g., 120), in response to detecting a first speech input (e.g., 916a) from a user (such as in Figure 9A (1002d), based on determining that the user's attention (e.g., including gaze 913a) is directed to the text entry field (e.g., 906) when receiving the first speech input (e.g., 916a) from the user (e.g., Figure 9B) (e.g., before detecting the first speech input, the user's gaze or a proxy for the user's gaze is maintained for a threshold period of time as described in more detail below), the computer system displays a text representation (e.g., 920) of the first speech input in the text entry field (e.g., 906) via the display generation component (e.g., 120) (1002e), such as in Figure 9C In some embodiments, the text representation of the first speech input is a written representation of the words and / or characters spoken by the user. In some embodiments, before receiving the first speech input, the computer system presents the corresponding text in the text entry field, and displaying the font-based text representation of the first speech input includes replacing the corresponding text with the text representation of the first speech input. For example, the corresponding text indicates the purpose of the text entry field (e.g., "message" or similar text in a messaging text entry field, "search" or "enter search term here" in a search text entry field), or includes text associated with a previous or current function of an application associated with the text entry field (e.g., the URL of a website presented in a web browser when the first speech input is received). In some embodiments, the font-based text representation of the first speech input in the text entry field is added to the corresponding text, such as adding the text to a document in a word processing application.

[0257] In some embodiments, when a text entry field is displayed (1002b) via a display generation component (e.g., 120), in response to detecting a first speech input (e.g., 916a) from a user (such as in Figure 9A (e.g., 916b) based on determining that the user's attention (e.g., 913b) was not directed to the text entry field (e.g., 902) when the first speech input (e.g., 916b) was received from the user (e.g., the user's gaze was not directed to the text entry field or the gaze had been maintained for less than a threshold time period described in more detail below before the first speech input was detected) (e.g., Figure 9C ), the computer system (e.g., 101) abandons displaying the text representation (e.g., 1002f) of the first speech input in the text entry field (e.g., 906), such as in Figure 9E In some embodiments, abandoning display of the text representation of the first speech input in the text entry field includes maintaining display of the corresponding text displayed in the text entry field when the first speech input is detected.

[0258] Displaying a textual representation of the first speech input in a text entry field as described above enhances user interaction with a computer system by providing additional control techniques (eg, speech input) without cluttering the user interface with additional display controls.

[0259] In some embodiments, determining that the user's attention (e.g., 913a) is directed to the text entry field (e.g., 906) when receiving the first speech input (e.g., 916a) from the user includes determining that the user's gaze (e.g., 913a) is directed to the text entry field (e.g., 906) for at least a time threshold (1004a) (e.g., 0.1 seconds, 0.2 seconds, 0.3 seconds, 0.5 seconds, 1 second, 2 seconds, or 3 seconds), such as in Figure 9B In some embodiments, the computer system uses an eye tracking device included in one or more input devices to determine the location of the user's gaze. In some embodiments, determining that the user's attention is not directed to the text entry field includes determining that the user's gaze is not directed to the text entry field or determining that the user's gaze is directed to the text entry field for less than a time threshold. Displaying a text representation of the first speech input in the text entry field based on detecting the user's gaze directed to the text entry field for a time threshold enhances user interaction with the computer system by providing additional control options without cluttering the user interface with additional display controls.

[0260] In some embodiments, such as Figure 9A In some embodiments, such as in Figure 9B In some embodiments, when a text entry field (e.g., 906) is displayed, in response to detecting a user's gaze (e.g., 913a) pointing to the text entry field (e.g., 906), the computer system (e.g., 101) presents an indication (e.g., 910a and / or 914) (1006b) of the duration that the user's gaze has been directed to the text entry field. In some embodiments, as the user's gaze continues to point to the text entry field, the computer system modifies the indication of the duration that the user's gaze has been directed to the text entry field. In some embodiments, the computer system presents the indication in response to detecting the user's gaze pointing to the text entry field for a time threshold. In some embodiments, the indication is a visual indication displayed via a display generation component. In some embodiments, the indication is an audio indication presented via one or more audio output devices in communication with the computer system. In some embodiments, the visual indication is a gradual expansion (e.g., horizontally) of the text entry field. In some embodiments, the visual indication is a progress bar. In some embodiments, the visual indication is a gradual change in the color of the text entry field and / or the outline of the text entry field.

[0261] Presenting an indication of the duration that a user's gaze has been directed to a text entry field enhances user interaction with a computer system by providing improved feedback to the user.

[0262] In some embodiments, while a text entry field (e.g., 906) is displayed and in response to detecting a user's gaze (e.g., 913a) (1008a) directed toward the text entry field (e.g., 906) (e.g., Figure 9B ), based on determining that the duration of time that the user's gaze (e.g., 913a) has been directed to the text entry field (e.g., 906) (e.g., meets or exceeds a time threshold, the computer system (e.g., 101) presents a second indication (e.g., 910a and / or 914) indicating that the first speech input (e.g., 916a) will be directed to the text entry field (e.g., 906) (1008b). In some embodiments, presenting the second indication indicating that the first speech input will be directed to the text entry field includes expanding the text entry field. For example, the computer system increases the width of the text entry field. In some embodiments, presenting the second indication indicating that the first speech input will be directed to the text entry field includes initiating display of a visual indication (e.g., an icon or image, such as an image of a microphone or a speech bubble). In some embodiments, the second indication indicating that the first speech input will be directed to the text entry field is displayed at an insertion position in the text in the text entry field, at which insertion position the text of the first speech input will be entered in response to the first speech input. In some embodiments, the second indication that the first speech input is to be directed to a text entry field is an audio indication presented via one or more audio output devices in communication with the computer system.

[0263] In some embodiments, while a text entry field (e.g., 906) is displayed and in response to detecting a user's gaze (e.g., 913a) (1008a) directed toward the text entry field (e.g., 906) (e.g., Figure 9A In some embodiments, the computer system (e.g., 101) forgoes presenting the second indication (1008c) based on determining that the user's gaze (e.g., 913a) has been directed to the text entry field (e.g., 906) for a duration less than a time threshold. In some embodiments, the computer system maintains display of the visual indication in response to detecting the user's gaze directed to the text entry field, regardless of whether the user's gaze has been directed to the text entry field for the time threshold. In some embodiments, the computer system stops displaying the visual indication that the user's gaze is directed to the text entry field in response to detecting the user's gaze directed to the text entry field for the time threshold.

[0264] Presenting a second indication indicating that the first speech input will be directed to the text entry field in response to the user's gaze being directed to the text entry field for a time threshold enhances user interaction with the computer system by providing enhanced feedback to the user.

[0265] In some embodiments, when a text entry field (e.g., 906) is displayed, in response to detecting a first speech input (e.g., 916a) from a user (1010a) (such as in Figure 9B ), based on determining that the user's attention (e.g., 913a) is directed to the text entry field (e.g., 906), the computer system (e.g., 101) displays a text cursor (e.g., 912) in the text entry field (e.g., 906) via the display generation component (e.g., 120), wherein the text representation (e.g., 920) of the first speech input is inserted into the text entry field (e.g., 906) at the position of the text cursor (e.g., 912) in the text entry field (e.g., 906) (1010b), such as in Figure 9C In some embodiments, the computer system does not display a text cursor in the text entry field unless and until a first speech input from the user is detected while the user's attention is directed to the text entry field. In some embodiments, the text cursor is an insertion mark. In some embodiments, after displaying the text representation of the first speech input in the text entry field, based on determining that the user's attention is still directed to the text entry field, the computer system maintains display of the text cursor at an updated position in the text entry field (e.g., at the end of the text representation of the first speech input). In some embodiments, the text cursor is a visual indication displayed via a display generation component that indicates the position in the text entry field where text will be entered in response to input corresponding to a request to enter text in the text entry field (e.g., spoken input, soft keyboard input according to methods 1200, 1400, and / or 1600, or hardware keyboard input). In some embodiments, the computer system updates the position of the text cursor in the text entry field when entering corresponding text into the text entry field in response to input corresponding to a request to enter text to indicate that subsequent text entered in response to subsequent input corresponding to the request to enter text into the text entry field will be entered after the corresponding text.

[0266] In some embodiments, when a text entry field (e.g., 906) is displayed, in response to detecting a first speech input (e.g., 916a) from a user (1010a) (such as in Figure 9B ), based on determining that the user's attention (e.g., 913b) is not directed to the text entry field (e.g., 906) (such as in Figure 9C), the computer system (e.g., 101) abandons displaying a text cursor (1010c) in the text entry field (e.g., 906), such as in Figure 9A middle.

[0267] Displaying a text cursor in a text entry field enhances user interaction with a computer system by providing improved visual feedback to the user.

[0268] In some embodiments, detecting that the user's attention (e.g., 913a) is directed to the text entry field (e.g., 906) includes detecting that the user's gaze (e.g., 913a) is directed to the text entry field (e.g., 906) for longer than a time threshold (e.g., 0.1 seconds, 0.2 seconds, 0.3 seconds, 0.5 seconds, 1 second, 2 seconds, or 3 seconds) (1012a), such as in Figure 9A middle.

[0269] In some embodiments, when the user's attention (e.g., 913a) is directed away from the text entry field (e.g., 906), the computer system (e.g., 101) displays the text entry field (e.g., 906) (1012b) via the display generation component (e.g., 120) with a visual characteristic (e.g., color, opacity, line style, and / or size) having a first value, such as in Figure 9A middle.

[0270] In some embodiments, when a text entry field (e.g., 906) is displayed via a display generation component (e.g., 120) with a visual characteristic having a first value (e.g., Figure 9A ), a computer system (e.g., 101) detects via one or more input devices (e.g., 314) a user's gaze (e.g., 913a) directed to a text entry field (e.g., 913a) (1012c), such as in Figure 9A middle.

[0271] In some embodiments, in response to detecting a user's gaze (e.g., 913a) directed to a text entry field (e.g., 906), the computer system (e.g., 101) gradually modifies the display of the text entry field (e.g., 906) via the display generation component (e.g., 120) with a visual characteristic having a first value based on the duration that the user's gaze (e.g., 913a) is directed to the text entry field (e.g., 906), thereby displaying the text entry field (e.g., 906) via the display generation component (e.g., 120) with a visual characteristic having a second value different from the first value (1012d), such as in Figure 9BIn some embodiments, the value of the visual characteristic changes over time while the user's gaze remains directed at the text entry field. For example, the visual characteristic is color, size, border, or brightness, and the computer system displays the text entry field in a first color, size, border, or brightness when the user's gaze is not directed at the text entry field, and gradually changes the color, size, border, or brightness of the text entry field while the user's gaze remains directed at the text entry field, to transition to displaying the text entry field in a second color, size, border, or brightness in response to detecting the user's gaze directed at the text entry field for a time threshold.

[0272] Gradually modifying the value of a visual characteristic of a text entry field in response to detecting a user's gaze directed toward the text entry field enhances user interaction with a computer system by providing enhanced visual feedback to the user.

[0273] In some embodiments, when a text entry field (e.g., 906) is displayed via a display generation component (e.g., 120), in response to detecting a first speech input (e.g., 916b) from a user, the user's attention (e.g., 913a) is directed to the text entry field (e.g., 906) when the first speech input (e.g., 916a) from the user is received (e.g., Figure 9B ), a computer system (e.g., 101) displays a text entry field (e.g., 906) via a display generation component (e.g., 120) with visual characteristics (e.g., size, color, opacity, outline style, and / or visual effects such as glow or shadow) having corresponding values ​​that change over time (1014) based on changes over time in characteristics (e.g., volume, pitch, and / or frequency) of a first speech input (e.g., 916a), such as in Figures 9B to 9C In some embodiments, the visual characteristic is a glow effect displayed around the text entry field. In some embodiments, the intensity (e.g., color darkness, brightness, saturation, thickness, and / or opacity) of the glow (and / or other visual characteristics) changes over time based on the audio level of the first speech input.

[0274] Displaying a text entry field with a visual characteristic having a corresponding value that changes over time based on characteristics of the first verbal input enhances user interaction with the computer system by providing improved visual feedback to the user.

[0275] In some embodiments, when a text entry field (e.g., 906) is displayed via a display generating component (e.g., 120) after detecting a first speech input from a user via one or more input devices (e.g., 916a) (e.g., Figure 9B), the computer system (e.g., 101) detects a second speech input (e.g., 916b) from the user as a continuation of the first speech input via one or more input devices (e.g., 314) when the user's attention (e.g., 913b) is not directed to the text entry field (1016b), such as in Figure 9C In some embodiments, the start of a second speech input from the user is detected within a time threshold (e.g., 0.5 seconds, 1 second, 2 seconds, 3 seconds, 4 seconds, or 5 seconds) of detecting the end of the first speech input. For example, the computer system detects that the user has not spoken for less than the time threshold between the first speech input and the second speech input. In some embodiments, the user's attention is directed to an area of ​​the three-dimensional environment other than the text entry field. In some embodiments, the user's attention is not directed to the three-dimensional environment. In some embodiments, the user's eyes are closed for longer than a time threshold associated with a blink (e.g., 0.1 seconds, 0.2 seconds, 0.3 seconds, 0.5 seconds, 1 second, 2 seconds, or 3 seconds).

[0276] In some embodiments, when a text entry field (e.g., 906) is displayed via a display generating component (e.g., 120) after detecting a first speech input from a user via one or more input devices (e.g., 916a) (e.g., Figure 9B In response to detecting a second speech input (e.g., 916b) from the user when the user's attention (e.g., 913b) is not directed to the text entry field (e.g., 906) (1016c) (such as in Figure 9C ), based on determining that the user's attention (e.g., 913a) is directed to the text entry field (e.g., 906) when receiving the first speech input (e.g., 916a) from the user (e.g., Figure 9B ), the computer system (e.g., 101) displays a text representation (e.g., 920) of the second speech input in the text entry field (e.g., 906) via the display generation component (e.g., 120) (1016d), such as in Figure 9D In some embodiments, the computer system displays a text representation of the first speech input in the text entry field when the user provides the second speech input. In some embodiments, the computer system displays the text representation of the second speech input in the text entry field concurrently with the text representation of the first speech input. In some embodiments, the computer system initiates a process of presenting a text representation of the speech input in the text entry field in response to detecting the user's attention directed to the text entry field, and continues to enter text representations of the additional speech input even if additional speech input is detected when the user's attention is no longer directed to the text entry field.

[0277] In some embodiments, when a text entry field (e.g., 906) is displayed via a display generating component (e.g., 120) after detecting a first speech input from a user via one or more input devices (e.g., 916a) (e.g., Figure 9B In response to detecting a second speech input (e.g., 916b) from the user when the user's attention (e.g., 913b) is not directed to the text entry field (e.g., 906) (1016c) (such as in Figure 9C ), based on determining that the user's attention was not directed to the text entry field (e.g., 906) when the first speech input was received, the computer system (e.g., 101) abandons displaying a text representation of the second speech input in the text entry field (e.g., 906) via the display generation component (e.g., 120) (1016e), such as in Figure 9E In some embodiments, because the user's attention was not directed to the text entry field when the first speech input was received, the computer system forgoes displaying the text representation of the first speech input in the text entry field, and displays the text entry field without the text representation of the first speech input upon receiving the second speech input (e.g., regardless of where the user was looking when the computer system detected the second speech input). In some embodiments, the computer system does not initiate the process of entering the text representation of the speech input into the text entry field unless and until the computer system detects the user's attention being directed to the text entry field.

[0278] Displaying a textual representation of the second speech input in a text entry field enhances user interaction with a computer system by performing an action when a set of conditions have been met without requiring further user input.

[0279] In some embodiments, when a text representation (e.g., 920) of a first speech input in a text entry field (e.g., 906) is displayed in response to detecting a first speech input from a user while the user's attention is directed to the text entry field (1018a) (such as in Figure 9C ), the computer system (e.g., 101) receives a second speech input (e.g., 916b) from the user as a continuation of the first speech input via one or more input devices (e.g., 120) when the user's attention (e.g., 906) is away from the text entry field (1018b), such as in Figure 9C In some embodiments, the second speech input received when the user's attention is away from the text entry field is similar to the second speech input received when the user's attention is away from the text entry field described above.

[0280] In some embodiments, when a text representation (e.g., 920) of a first speech input in a text entry field (e.g., 906) is displayed in response to detecting a first speech input from a user while the user's attention is directed to the text entry field (1018a) (such as in Figure 9C middle),

[0281] In response to receiving a second speech input (e.g., Figure 9C 916b), the computer system (e.g., 101) displays a text representation (e.g., 920) of the second first speech input via a display generation component (e.g., 120) (1018c), such as in Figure 9D In some embodiments, the computer system continues to enter a text representation of the user's speech after entering the text representation of the first speech input in response to detecting the user's attention directed to the text entry field when providing the first speech input as described above.

[0282] Displaying a textual representation of a continuation of a first speech input in a text entry field enhances user interaction with a computer system by performing an operation when a set of conditions have been met without requiring further user input.

[0283] In some embodiments, after a text representation (e.g., 920) of the first speech input is displayed in a text entry field (e.g., 906) via a display generation component (e.g., after the first speech input is detected while the user's attention is directed to the text entry field), the computer system (e.g., 101) detects a second speech input (e.g., 916b) (1020a) from the user as a continuation of the first speech input via one or more input devices (e.g., 314) while the user's attention (e.g., 913b) is not directed to the text entry field (e.g., 906), such as in Figure 9C In some embodiments, the second speech input detected from the user when the user's attention is not directed to the text entry field is similar to the second speech input detected from the user when the user's attention is not directed to the text entry field described above.

[0284] In some embodiments, in response to detecting a second speech input (e.g., 916b) from the user while the user's attention (e.g., 913b) is not directed to the text entry field (e.g., 906), the computer system (e.g., 101) stops displaying the text representation (e.g., 920) of the first speech input in the text entry field (e.g., 906) via the display generation component (e.g., 120) (1020b), such as in Figure 9EIn some embodiments, in response to detecting user attention away from the text entry field (e.g., detecting the user looking away from the text entry field), the computer system deletes the text in the text entry field that was previously entered via dictation. In some embodiments, in response to detecting user attention away from the text entry field (e.g., detecting the user looking away from the text entry field), the computer system deletes the text in the text entry field that was previously entered via dictation without performing an operation associated with the text entry field (e.g., searching for a search term entered into the text entry field, sending a message entered into the text entry field, and / or navigating to a website entered in the text entry field).

[0285] Ceasing display of a text representation of a first speech input in a text entry field in response to detecting a second speech input when the user's attention is directed away from the text entry field enhances user interaction with a computer system by reducing the amount of input required to perform an operation (e.g., removing the text representation of the first speech input from the text entry field).

[0286] In some embodiments, in response to detecting a first speech input from a user (e.g., 916a), based on determining that the user's attention (e.g., 913a) was directed to the text entry field (e.g., 906) when the first speech input (e.g., 916a) was received, the computer system (e.g., 101) displays the text entry field (e.g., 906) (1022a) via a display generation component (e.g., 120) with visual characteristics (e.g., color, size, opacity, text style such as font style, text size and / or text highlighting, and / or border style) having a first value, such as in Figure 9B In some embodiments, the computer system displays the text entry field with a visual characteristic having a first value when the computer system detects the voice input while the user's attention is directed to the text entry field. In some embodiments, the computer system displays a text representation of the voice input with a highlighted display in response to detecting the voice input while the user's attention is directed to the text entry field (e.g., and when the voice input is detected). In some embodiments, the computer system performs display.

[0287] In some embodiments, while displaying a text entry field (e.g., 906) with a visual characteristic having a first value via a display generation component (e.g., 120), a computer system (e.g., 101) detects via one or more input devices (e.g., 314) that a user's attention (e.g., 913b) is not directed to the text entry field (e.g., 906) (1022b), such as in Figure 9CIn some embodiments, the user's attention is directed to an area of ​​the three-dimensional environment other than the text entry field. In some embodiments, the user's attention is directed away from the three-dimensional environment (e.g., away from the display generating component). In some embodiments, the user closes their eyes for longer than a time threshold associated with blinking (e.g., 0.5 seconds, 1 second, 2 seconds, 3 seconds, or 5 seconds).

[0288] In some embodiments, in response to detecting that the user's attention is not directed to the text entry field (e.g., 906), the computer system (e.g., 101) displays the text entry field (e.g., 906) via the display generation component (e.g., 120) with a visual characteristic having a corresponding value that changes over time until reaching a second value different from the first value (1022c), such as at Figure 9A In some embodiments, in response to detecting that the user's attention is not directed to the text entry field, the value of the visual characteristic gradually changes over time until a second value is reached. For example, the highlighting of the text included in the text entry field gradually fades. Transitioning to displaying the text entry field with the visual characteristic having the second value in response to detecting that the user's attention is not directed to the text entry field enhances user interaction with the computer system by providing enhanced visual feedback to the user.

[0289] In some embodiments, when a text representation (e.g., 920) of a first speech input in a text entry field (e.g., 906) is displayed in response to detecting a first speech input from a user (e.g., 924a) (such as in Figure 9D ), the computer system (e.g., 101) detects a second speech input (e.g., 916c) (1024b) via one or more input devices (e.g., 314).

[0290] In some embodiments, when a text representation (e.g., 920) of a first speech input in a text entry field (e.g., 906) is displayed in response to detecting a first speech input from a user (e.g., 924a) (such as in Figure 9D ), in response to detecting the second speech input (e.g., 916c), the user is prompted to enter the text entry field (e.g., 906) based on a determination that the second speech input (e.g., 916c) corresponds to a request to perform an action with respect to the text representation (e.g., 920) of the first speech input in the text entry field (e.g., 906) and satisfies one or more criteria (e.g., including criteria that is satisfied when the user's attention is directed to the text entry field) (e.g., Figure 9DIn some embodiments, the second speech input is or includes a predetermined speech associated with the action. For example, the text entry field is a message composition field, the second speech input is "send," "send it," etc., and the action is to send a message including the text representation of the first speech input. As another example, the text entry field is a search field, the second speech input is "search," "go," etc., and the action is to conduct a search including the text representation of the first speech input as a search term.

[0291] In some embodiments, when a text representation (e.g., 920) of a first speech input in a text entry field (e.g., 906) is displayed in response to detecting a first speech input from a user (e.g., 924a) (such as in Figure 9D In some embodiments, in response to detecting a second speech input (e.g., 916c), based on determining that the second speech input does not correspond to a request to perform an action with respect to the text representation (e.g., 920) of the first speech input in the text entry field (e.g., 906) or does not meet one or more criteria, the computer system (e.g., 101) abandons performing the action with respect to the text representation (e.g., 920) of the first speech input in the text entry field (e.g., 906) (1024e). In some embodiments, the second speech input does not include predetermined speech associated with the action. In some embodiments, the computer displays the text representation of the second speech input in the text entry field (e.g., instead of or in addition to the text representation of the first speech input) in response to the second speech input not corresponding to the request to perform the action.

[0292] Performing an action with respect to the textual representation of the first speech input in the text entry field in response to the second speech input enhances user interaction with the computer system by providing additional control controls without cluttering the user interface with additional display controls.

[0293] In some embodiments, such as Figure 9DIn some embodiments, based on determining that the text entry field (e.g., 906) is a first type of text entry field, determining that the second speech input (e.g., 916c) corresponds to a request to perform an action with respect to the text representation (e.g., 920) of the first speech input in the text entry field (e.g., 906) is based on one or more first criteria (1026a). In some embodiments, the one or more first criteria include criteria that are satisfied when the second speech input includes the first speech. For example, if the text entry field is a search field, the one or more first criteria include criteria that are satisfied when the second speech input includes "search," "go," etc. In some embodiments, based on determining that the second speech input corresponds to an action associated with a second type of text entry field that is different from the first type of text entry field, the computer system forgoes performing the action with respect to the text representation of the first speech input in the text entry field.

[0294] In some embodiments, the text entry field is determined to be a second type of text entry field that is different from the first type of text entry field (e.g., different from the first type of text entry field). Figure 9D In some embodiments, the computer system determines that the second speech input (e.g., 916c) corresponds to a request to perform an action with respect to the text representation (e.g., 920) of the first speech input in the text entry field based on one or more second criteria (1026b) that are different from the one or more first criteria. In some embodiments, the one or more second criteria include criteria that are satisfied when the second speech input includes a second speech. For example, if the text entry field is a messaging field, the one or more first criteria include criteria that are satisfied when the second speech input includes "send," "send it," etc. In some embodiments, based on determining that the second speech input corresponds to an action associated with a first type of text entry field that is different from a second type of text entry field, the computer system forgoes performing the action with respect to the text representation of the first speech input in the text entry field.

[0295] Evaluating the second speech input according to different criteria depending on the type of text entry field enhances user interaction with the computer system by providing additional control options without cluttering the user interface with additional display controls.

[0296] In some embodiments, the one or more criteria include a criterion (1028) that is satisfied when the user's gaze (e.g., 913c) is directed toward the text entry field (e.g., 906) (e.g., for at least a time threshold (e.g., 0.1 seconds, 0.2 seconds, 0.3 seconds, 0.5 seconds, 1 second, 2 seconds, or 3 seconds)) when the second speech input (e.g., 916c) is detected at the computer system (e.g., 101), such as in Figure 9DIn some embodiments, based on determining that the user's gaze is not directed toward the text entry field when the computer system detects the second input, the computer system forgoes performing the action with respect to the text representation of the first speech input in the text entry field, regardless of whether the second speech input satisfies one or more additional criteria for determining that the second speech input corresponds to a request to perform the action with respect to the text representation of the first speech input in the text entry field (such as the first speech input including a predefined speech associated with the action).

[0297] Determining, based on the user's gaze being directed toward the text entry field when the second speech input is detected, that the second speech input corresponds to a request to perform an action with respect to the text representation of the first speech input in the text entry field enhances user interaction with a computer system by providing additional control options without cluttering the user interface with additional display controls.

[0298] In some embodiments, such as Figure 9A In the example, before detecting the first speech input from the user (e.g., 916a) (such as in Figure 9B ), the computer system (e.g., 101) displays the corresponding text (1030a) in the text entry field (e.g., 906) via the display generation component (e.g., 120), such as in Figure 9A In some embodiments, the corresponding text is previously entered in response to a second speech input similar to the first speech input described above and according to conditions that are the same as or similar to the conditions described above. In some embodiments, the corresponding text is previously entered by a user via a different input modality (such as using a soft keyboard according to one or more of methods 1200, 1400, or 1600 described below or using a hardware keyboard). In some embodiments, the corresponding text is placeholder text that is automatically displayed by the computer system without receiving input corresponding to a request to enter placeholder text in a text entry field.

[0299] In some embodiments, in response to detecting a first speech input from a user (e.g., 916a) (such as in Figure 9B ), based on determining that the user's attention (e.g., 913a) is directed to the text entry field (e.g., 906), the computer system (e.g., 101) stops displaying the corresponding text in the text entry field (e.g., 906) via the display generation component (e.g., 120), and displays the text representation (e.g., 920) of the first speech input in the text entry field (e.g., 906) (1030b), such as in Figure 9CIn some embodiments, the computer system replaces corresponding text in the text entry field with a text representation of the first speech input in response to detecting a first speech input from a user while the user's attention is directed to the text entry field. In some embodiments, the computer system stops displaying the corresponding text in the text entry field in response to the first speech input without detecting additional input corresponding to a request to stop displaying the corresponding text in the text entry field. Stopping display of the corresponding text and displaying the text representation of the first speech input in the text entry field in response to detecting the first speech input enhances user interaction with the computer system by performing an operation when a set of conditions have been met without requiring further user input.

[0300] In some embodiments, before detecting a first speech input from a user, a computer system (e.g., 101) displays corresponding text and a cursor (e.g., 928) at a first position in a text entry field (e.g., 926) (1032a) via a display generation component (e.g., 120), such as in Figure 9F In some embodiments, the computer system displays the cursor based on determining that editing of the corresponding text is possible. In some embodiments, the computer system displays the cursor based on determining that editing of the corresponding text is possible in a manner other than replacing the entirety of the corresponding text (e.g., adding text or deleting a portion of the corresponding text without detecting the entirety of the corresponding text). In some embodiments, based on determining that editing of the corresponding text is not possible, (optionally in response to detecting the first speech input while the user's attention is directed to the text entry field), the computer system forgoes displaying the cursor before detecting the first speech input.

[0301] In some embodiments, in response to detecting a first speech input from a user (e.g., 916d), the user's attention (e.g., 913d) is directed to a text entry field (e.g., 926) (1032a) (such as in Figure 9G In some embodiments, in response to detecting the first speech input while the user's attention is directed to the text entry field, the computer system (e.g., 101) maintains display of the corresponding text in the text entry field (e.g., 926) via the display generation component (e.g., 120) (1032b). In some embodiments, based on determining that editing of the corresponding text is not possible, in response to detecting the first speech input while the user's attention is directed to the text entry field, the computer system stops displaying the corresponding text in the text entry field and displays a cursor or visual indication described in more detail below.

[0302] In some embodiments, in response to detecting a first speech input from a user (e.g., 916d), the user's attention (e.g., 913d) is directed to a text entry field (e.g., 926) (1032a) (such as in Figure 9G), the computer system (eg, 101) stops displaying the cursor in the text entry field (eg, 926) via the display generation component (eg, 120) (1032d).

[0303] In some embodiments, in response to detecting a first speech input from a user (e.g., 916d), the user's attention (e.g., 913d) is directed to a text entry field (e.g., 926) (1032a) (such as in Figure 9G In some embodiments, the computer system (e.g., 101) displays a visual indication (e.g., 930) at a second position (e.g., the same as or different from the first position) in the text entry field (e.g., 926) via a display generation component (e.g., 120), wherein the text representation of the first speech input is added to the corresponding text (1032e) at the second position in the text entry field (e.g., 926). In some embodiments, the visual indication is different from a cursor. In some embodiments, the visual indication is the same as the cursor. In some embodiments, after the text representation of the first speech input is entered into the text entry field, the computer system displays the visual indication adjacent to (e.g., immediately adjacent to) (e.g., after) the text representation of the first speech input. In some embodiments, the visual indication is an image of a microphone or speech bubble or a person speaking. In some embodiments, in response to detecting the user's attention away from the text entry field without detecting continuation of the first speech input, the computer system stops displaying the visual indication and initiates display of a cursor (e.g., at a position in the text entry field corresponding to the text representation of the first speech input).

[0304] Displaying a visual indication in a text entry field at a location where a text representation of the first speech input is to be added in response to detecting the first speech input from the user enhances user interaction with the computer system by providing improved visual feedback to the user.

[0305] In some embodiments, based on determining that the user's gaze (e.g., 913d) is directed to a first portion of text in a text entry field (e.g., 926) when a first speech input (e.g., 916d) from the user is detected, a text representation of the speech is added to a second location of the corresponding text near (e.g., close to or adjacent to) the first portion of the text (1034a), such as at Figures 9G to 9H middle.

[0306] In some embodiments, based on determining that the user's gaze is directed to a second portion of text in the text entry field (e.g., 926) that is different from the first position in the text entry field (e.g., 926) when the first speech input from the user is detected. Figure 9G The user's gaze 913d is located in the Figure 9G In some embodiments, the computer system displays a visual indication at a location in the text entry field where the user is looking when the user's attention is directed to the text entry field. In some embodiments, the computer system updates the positioning of the visual indication based on the user's gaze moving from one location in the text entry field to another location in the text entry field before the user provides the first speech input. In some embodiments, once the computer system displays the visual indication at the second location, the computer system maintains display of the visual indication at the second location, even if the user's gaze moves from the second location, until display of the visual indication is stopped based on meeting one or more criteria (e.g., the user turns their attention away from the text entry field or the user provides input to a user interface element other than the text entry field, and the user provides input to stop entering text in the text entry field based on the first speech input).

[0307] Displaying visual indications and entering text at locations based on the user's gaze enhances user interaction with a computer system by providing additional control options without cluttering the user interface with additional displayed controls.

[0308] In some embodiments, such as Figure 9C In the embodiment of the present invention, based on determining that the user's attention is directed to the text entry field (e.g., 906) when receiving the first speech input from the user, when displaying a text representation (e.g., 920) of the first speech input in the text entry field (e.g., 906) via the display generation component (e.g., 120) in response to detecting the first speech input from the user (1036a), when detecting a second speech input (e.g., 916b) from the user as a continuation of the first speech input via one or more input devices, the computer system (e.g., 101) detects the user's attention (e.g., 913b) that is not directed to the text entry field (e.g., 906) via the one or more input devices (e.g., 314) (1036b), such as in Figure 9C In some embodiments, the second speech input detected as a continuation of the first speech input when the user's attention is not directed to the text entry field is similar to the second speech input detected as a continuation of the first speech input when the user's attention is not directed to the text entry field described in more detail above.

[0309] In some embodiments, such as Figure 9CIn the embodiment of the present invention, based on determining that the user's attention is directed to the text entry field (e.g., 906) when receiving the first speech input from the user, when displaying a text representation (e.g., 920) of the first speech input in the text entry field (e.g., 906) via the display generation component (e.g., 120) in response to detecting the first speech input from the user (e.g., 936a), in response to detecting the user's attention not being directed to the text entry field (e.g., 906) (e.g., 913b), based on determining that the text entry field (e.g., 926) is a first type of text entry field (such as in Figure 9G ), the computer system (e.g., 101) displays a text representation (e.g., 920) of the continuation of the first speech input (e.g., 920) in the text entry field (e.g., 906) via the display generation component (e.g., 120) (1036d), such as in Figure 9D In some embodiments, the computer system maintains display of the text representation of the first speech input in the text entry field while displaying the text representation of the second speech input. In some embodiments, the computer system stops display of the text representation of the first speech input in the text entry field and replaces it with the text representation of the second speech input in the text entry field. In some embodiments, the first type of text entry field is a long-form text entry field in which the computer system requires input other than detecting the user's gaze directed to the text entry field to initiate dictation, such as a note field, a word processing application field, an email composition field, and the like. In some embodiments, the input other than detecting the user's gaze directed to the text entry field is a selection of a user interface element associated with the dictation input, a corresponding gesture performed with a part of the user's body, and / or a corresponding speech input (e.g., "Hey voice assistant, initiate dictation," etc.).

[0310] In some embodiments, such as Figure 9C In the embodiment of the present invention, based on determining that the user's attention is directed to the text entry field (e.g., 906) when receiving the first speech input from the user, when displaying a text representation (e.g., 920) of the first speech input in the text entry field (e.g., 906) via the display generation component (e.g., 120) in response to detecting the first speech input from the user (1036a), in response to detecting the user's attention not being directed to the text entry field (e.g., 906) (e.g., 913b), based on determining that the text entry field (e.g., 906) is a second type of text entry field different from the first type of text entry field (such as in Figure 9E), the computer system (e.g., 101) abandons displaying a text representation of the second speech input in the text entry field via the display generation component (e.g., 120) (1036e), such as in Figure 9E In some embodiments, the computer system stops displaying the text representation of the first speech input. In some embodiments, the computer system maintains displaying the text representation of the first speech input. In some embodiments, the second type of text entry field is a short-form text entry field into which the computer system initiates dictation in response to the user's attention being directed to the text entry field without detecting additional input to initiate dictation, such as a messaging field, a message or notification quick reply field, a search field, a web browser search field, a browse field, or an address field.

[0311] Selectively displaying a textual representation of a second speech input in a text entry field in response to detecting the second speech input when the user's attention is away from the text entry field enhances user interaction with a computer system by providing additional control options without cluttering the user interface with additional displayed controls.

[0312] In some embodiments, in response to detecting that the user's attention (e.g., 913b) is not directed to the text entry field (e.g., 906) (such as in Figure 9C ), based on determining that the text entry field (e.g., 926) is a first type of text entry field (such as in Figure 9F ), the computer system (e.g., 101) maintains display of the text representation of the first speech input in the text entry field (e.g., 926), and based on determining that the text entry field (e.g., 906) is a second type of text entry field (such as in Figure 9E In some embodiments, the computer system (e.g., 101) stops displaying the text representation of the first speech input in the text entry field (e.g., 906) (1038). In some embodiments, the computer system, based on determining that the text entry field is a first type of text entry field, displays the text representation of the second speech input as a continuation of the first speech input in the text entry field simultaneously with the text representation of the first speech input. In some embodiments, based on determining that the text entry field is a first type of text entry field, the computer system displays the text representation of the continuation of the speech input in the text entry field in response to the continuation of the speech input, even if the user's attention is away from the text entry field when the continuation of the speech input is detected. In some embodiments, based on determining that the text entry field is a second type of text entry field, the computer system cancels the spoken input to the text entry field in response to detecting the user's attention away from the text entry field. For example, the computer system deletes the text entered in response to the speech input and abandons entering additional text in response to the continuation of the speech input.

[0313] Selectively maintaining or ceasing display of a text representation of a first speech input depending on the type of text entry field in response to detecting that the user's attention is not directed toward the text entry field enhances user interaction with a computer system by reducing the amount of input required to perform an operation.

[0314] In some embodiments, based on determining that the text entry field (e.g., 906) is a second type of text entry field, the computer system (e.g., 101) determines that the user's attention (e.g., 913a) is directed to the text entry field (e.g., 906) when receiving the first speech input (e.g., 916a) from the user, and in response to detecting the first speech input from the user, displays a text representation (e.g., 920) of the first speech input in the text entry field (e.g., 906) via the display generation component (e.g., 120) (such as in Figure 9C ), regardless of whether the computer system (e.g., 101) detects a corresponding text entry input (1040) different from the first speech input via one or more input devices (e.g., 314) before detecting the first speech input, such as in Figure 9B In some embodiments, based on determining that the text entry field is a second type of text entry field, the computer system initiates a process of enabling the user to dictate text to the text entry field (e.g., displaying a text representation of the first speech input in the text entry field in response to the first speech input) in response to detecting speech input when the user's attention is directed to the text entry field without detecting additional input. In some embodiments, the additional input is a speech input that includes a request to initiate dictation. In some embodiments, the additional input is a selection of an optional option that, when selected, causes the computer system to initiate dictation. In some embodiments, the second type of text entry field is one of a messaging field, a message or notification quick reply field, a search field or a web browser search field, a browse field, or an address field.

[0315] Based on determining that the text entry field is a first type of text entry field, based on determining that the user's attention is directed to the text entry field when a first speech input is received without considering receiving a corresponding text entry input, in response to detecting the first speech input from the user, displaying a text representation of the first speech input in the text entry field enhances user interaction with the computer system by reducing the number of inputs required to perform an operation.

[0316] In some embodiments, based on determining that the text entry field is a first type of text entry field, a text representation (e.g., 932) of the first speech input is displayed in the text entry field (e.g., 926) via a display generation component (e.g., 120) (such as in Figure 9H In some embodiments, the computer system may further include a computer system that receives a text entry field of the first type from a user, wherein the computer system receives a text entry field of the first type from the user, wherein the computer system receives a text entry field of the first type from the user, and ...

[0317] In some embodiments, in response to detecting a first speech input from a user, the text entry field (e.g., 926) is determined to be a first type of text entry field (such as in Figure 9G ), based on determining that no corresponding text entry input is detected before detecting the first speech input from the user (e.g., 916d), the computer system (e.g., 101) abandons displaying the text representation (1042b) of the first speech input in the text entry field (e.g., 926) via the display generation component (e.g., 120).

[0318] Selectively displaying a text representation of a first speech input in a text entry field in response to the first speech input based on whether a corresponding text entry input is detected enhances user interaction with a computer system by reducing user errors, such as entering text into a text entry field that the user did not intend to enter.

[0319] In some embodiments, such as Figure 9L, displaying a textual representation of the speech input (e.g., 946b and / or 948b) includes displaying the textual representation of the speech input (e.g., 946b and / or 948b) with a first appearance (e.g., a visual characteristic having a first value or a first range of values, where the first visual characteristic is independent of the content of the text) (1044a). In some embodiments, the first value for the visual characteristic is a value that changes over time based on detected audio (e.g., speech input). In some embodiments, the visual characteristic is the color, line width, positioning, size, and / or style of the textual representation of the speech input. In some embodiments, the computer system displays the textual representation of the speech input with the visual characteristic having the first value when the speech input is provided, and displays the textual representation of the speech input with the visual characteristic having a second value or a third value after detecting the end of the speech input. In some embodiments, detecting the end of the speech input includes detecting that the user has stopped speaking. In some embodiments, detecting the end of speech input includes detecting confirmation of a textual representation of the entered speech input, such as detecting the user speaking a predefined word to end the speech input and / or performing a predefined gesture (e.g., with a hand) and / or directing attention to a predefined portion of the user interface.

[0320] In some embodiments, such as Figure 9M In some embodiments, a computer system (e.g., 101) receives typed text entry input (1044b) directed to a text entry field (e.g., 906) via one or more input devices. In some embodiments, the typed text entry input is detected using a hardware keyboard included in the one or more input devices according to one or more steps of method 2400. In some embodiments, the typed text entry input is detected using a soft keyboard displayed using a display generation component according to one or more steps of methods 1200, 1400, and / or 1600.

[0321] In some embodiments, such as Figure 9NIn some embodiments, in response to receiving typed text entry input, a computer system (e.g., 101) displays a text representation of the typed text entry input (e.g., 952) in a text entry field (e.g., 906) via a display generation component (e.g., 120), wherein the text representation of the typed text entry input (e.g., 952) is displayed with a second appearance different from the first appearance (e.g., having a second value or second value range different from the first value or first value range). In some embodiments, displaying the text representation of the typed text entry input with the visual characteristic having the second value includes displaying the text representation of the typed text entry input in a solid color when the typed text entry input is received. In some embodiments, after detecting that the typed text entry input has ended (e.g., detecting no further typing after a threshold time of 0.1 seconds, 0.2 seconds, 0.3 seconds, 0.5 seconds, 1 second, 2 seconds, 3 seconds, or 5 seconds), the computer system continues to display the text representation of the typed text entry input with the visual characteristic having the second value. In some embodiments, after detecting the end of typed text entry input (e.g., detecting no further typing after a threshold time), the computer system displays a text representation of the typed text entry input with a visual characteristic having a third value different from the first value and the second value. In some embodiments, even if the content of the speech input and the typed text entry input is the same, the appearance of the text representation of the speech input and the text representation of the typed text entry input are different (e.g., different text styles, colors, and / or sizes). In some embodiments, in response to receiving text entry input corresponding to first text, based on determining that the text entry input includes speech input (e.g., spoken input), the computer system displays the first text with a first appearance, and based on determining that the text entry input is typed text entry input, the computer system displays the first text with a second appearance. Displaying the text representation of the speech input with the visual characteristic having the first value and displaying the text representation of the typed text entry input with the visual characteristic having the second value enhances user interaction with the computer system by providing enhanced visual feedback to the user and providing improved user privacy by indicating to the user when speech input is being received by the computer system.

[0322] In some embodiments, displaying the text representation of the speech input (e.g., 946b and / or 948b) in a first appearance includes displaying the text representation of the speech input (e.g., 946b and / or 948b) with a glowing effect (such as in Figure 9L ), and displaying a text representation of the typed text entry input (e.g., 952) in the text entry field (e.g., 906) with a second appearance includes displaying a text representation of the typed text entry input (e.g., 952) in the text entry field (e.g., 906) without a glow effect, such as in Figure 9NIn (1046a). In some embodiments, displaying a text representation of typed text entry input with a visual characteristic having a second value includes displaying the text representation of typed text entry input without a glow effect. In some embodiments, displaying the text representation of speech input with a glow effect includes displaying an outline around the text representation, the outline having a color gradient that fades relative to the distance from the text representation. In some embodiments, displaying the text representation of typed text entry input without a glow effect includes displaying the text representation with an outline of a solid, non-gradient color or without an outline. In some embodiments, the color of the glow changes over time in response to detected audio (e.g., speech input). Displaying the text representation of speech input with a glow effect enhances user interaction with a computer system by providing improved visual feedback to the user and providing improved user privacy by indicating to the user when speech input is being received by the computer system.

[0323] In some embodiments, displaying the text representation of the speech input in a first appearance (e.g., 946b and / or 948b) includes (1048a) displaying, via a display generation component, a corresponding portion of the text representation of the speech input (e.g., 948b) in one or more colors that change over time over a period of time after the corresponding portion of the text representation of the speech input is displayed in the text entry field (1048b), such as during Figure 9L In some embodiments, the color is the color of a glow surrounding the textual representation of the speech input. In some embodiments, the color is the color of text in the textual representation of the speech input. In some embodiments, as the computer system continues to detect speech input, the computer system adds text to the textual representation of the speech input by initially displaying the added text in a color that changes over time within a threshold time period.

[0324] In some embodiments, displaying the text representation of the speech input in the first appearance (e.g., 946b and / or 948b) includes (1048a) displaying, via the display generation component (e.g., 120), a corresponding portion of the text representation of the speech input (e.g., 946b) (1048c) in a corresponding color that does not change over time after the time period has elapsed, such as in Figure 9LIn some embodiments, the corresponding color is the same color as the color (e.g., a visual characteristic having a second value) that the computer system displays the text representation of the typed text input. In some embodiments, while continuing to detect speech input, and while displaying a portion of the text representation of the speech input in the corresponding color, the computer system initially initiates display of additional portions of the text representation of the speech input in a color that changes over time within a threshold time period (e.g., as additional portions of the speech input are detected). In some embodiments, after the threshold time period has passed, the computer system displays the text representation of the speech input in a second appearance (e.g., in the same appearance as the text entered in response to the typed text entry input). Displaying the corresponding portion of the text representation of the speech input in a color that changes over time within a threshold time period and then displaying the portion of the text representation of the speech input in a corresponding color that does not change over time enhances user interaction with the computer system by providing improved visual feedback to the user and providing improved user privacy by indicating to the user when speech input is being received by the computer system.

[0325] In some embodiments, such as Figure 9L In some embodiments, displaying the corresponding portion of the textual representation of the speech input in a color that changes over time (e.g., 948b) includes displaying the corresponding portion of the textual representation of the speech input in a color that changes over time in response to a change in the audio (e.g., volume, pitch, and / or timbre) level of the speech input over time (1050a). In some embodiments, the color changes in response to detecting a change in the audio level of the speech input. Displaying the corresponding portion of the textual representation of the speech input in a color that changes in response to the audio level of the speech input enhances user interaction with the computer system by providing improved visual feedback to the user and providing improved user privacy by indicating to the user when speech input is being received by the computer system.

[0326] In some embodiments, the computer system (e.g., 101) displays a text insertion marker (e.g., 912) in the text entry field via a display generation component (e.g., 120) that indicates a location in the text entry field where additional text will be added in response to receiving text entry input (1052a), such as at Figures 9J to 9LIn some embodiments, the text entry input includes the first speech input, other spoken input, and / or typed text entry input described above with reference to step 1044b. In some embodiments, as the computer system adds text to the text entry field in response to receiving the text entry input, the computer system updates the positioning of the text insertion marker to be after the text representation of the text entry input. In some embodiments, while the user is providing the first speech input, the computer system displays the text representation of the speech input when the speech input is received, and updates the positioning of the text insertion marker to remain after the text representation of the speech input in the text entry field. In some embodiments, the computer system moves the text insertion marker within the text entry field without adding text to the text entry field in response to receiving an input to move the insertion marker.

[0327] In some embodiments, when a first speech input (e.g., 916e) is detected, a text insertion marker (e.g., 912) (1052b) is displayed with a corresponding visual effect (e.g., 944a), such as in Figure 9J In some embodiments, the corresponding visual effect is a highlight, glow, bold, blinking and / or flashing effect, and / or displaying a text insertion mark in a size, shape, color, or line style that is different from the size, shape, color, or line style used when the first speech input is not detected.

[0328] In some embodiments, such as Figure 9N In some embodiments, the computer system displays a text insertion marker (e.g., 912) without a corresponding visual effect when a first speech input (or another spoken input directed to a text entry field) is not detected (1052c). In some embodiments, the computer system displays a text insertion marker without a corresponding visual effect when a typed text entry input is detected or when no text entry input is detected. Displaying the text insertion marker with a corresponding visual effect when a first speech input is detected and displaying the text insertion marker without a corresponding visual effect when a first speech input is not detected enhances user interaction with the computer system by providing improved visual feedback and by providing improved user privacy by indicating to the user when speech input is being received by the computer system.

[0329] In some embodiments, such as Figure 9JIn some embodiments, the corresponding visual effect (e.g., 944a) includes a visual characteristic (1054a) that changes over time in response to a change in the audio (e.g., volume, pitch, and / or timbre) level of the first speech input (e.g., 916e) over time. In some embodiments, the visual characteristic is the hue, color darkness, color saturation, translucency, size, and / or intensity of the visual effect. For example, the visual effect is a luminous effect similar to that described above with reference to step 1046a, having a hue that changes over time in response to the audio level of the first speech input. In some embodiments, the color of the text insertion mark changes in response to the audio level of the speech input and the color of the text representation of the first speech input changes in response to the audio level of the first speech input as described above with reference to step 1050a. Displaying a text insertion mark having a corresponding visual effect including a visual characteristic that changes over time in response to the audio level of the first speech input enhances user interaction with the computer system by providing improved visual feedback to the user and improving user privacy by indicating to the user when speech input is being received by the computer system.

[0330] In some embodiments, such as Figure 9J In the embodiment of the present invention, displaying the text entry field (e.g., 906) includes (1056a) displaying the text entry field (e.g., 906) with a corresponding visual effect (1056b) when the first speech input (e.g., 916e) is detected. In some embodiments, the corresponding visual effect is one or more of the visual effects described above with reference to step 1052b.

[0331] In some embodiments, such as Figure 9I In some embodiments, displaying a text entry field (e.g., 906) includes (1056a) displaying the text entry field (e.g., 906) without a corresponding visual effect when a first speech input (or another spoken input directed to the text entry field) is not detected (1052c)(1056c). In some embodiments, the computer system displays the text entry field without a corresponding visual effect when a typed text entry input is detected or when no text entry input is detected. In some embodiments, the computer system displays the text entry field without a corresponding visual effect when a typed text entry input is received. Displaying the text entry field with a corresponding visual effect when a first speech input is detected and displaying the text entry field without...

Claims

1. A method comprising: At a computer system in communication with a display generating component and one or more input devices: displaying, via the display generation component, a user interface including scrollable content; detecting, via the one or more input devices, a user's gaze directed toward the scrollable content; as well as In response to detecting the gaze of the user directed toward the scrollable content: According to determining that the gaze of the user is directed to the first area of ​​the scrollable content, maintaining the display of the scrollable content without scrolling the scrollable content; scrolling the scrollable content according to the gaze of the user based on determining that the gaze of the user is directed to a second area of ​​the scrollable content that is different from the first area and the corresponding portion of the user meets a corresponding criterion; and Based on determining that the gaze of the user is directed to the second area and the corresponding portion of the user does not meet the corresponding criterion, the display of the scrollable content is maintained without scrolling the scrollable content. 2 . The method of claim 1 , wherein the corresponding criterion comprises a criterion that is satisfied when the corresponding part of the user is not detected in a predefined pose.

3. The method according to any one of claims 1 to 2, further comprising: While displaying the user interface including the scrollable content: detecting, via the one or more input devices, input directed toward a respective user interface element, wherein detecting the input comprises detecting a gaze of the user directed toward the respective user interface element and detecting the user performing a respective gesture with the respective portion of the user; as well as In response to detecting the input directed to the corresponding user interface element, an operation associated with the corresponding user interface element is performed. 4 . The method according to claim 1 , wherein the second area of ​​the scrollable content comprises an edge of the scrollable content.

5. The method according to any one of claims 1 to 4, wherein the computer system scrolls the scrollable content in a first direction based on determining that the gaze of the user is directed to the second area, and the method further comprises: When displaying the user interface including the scrollable content via the display generation component: In response to detecting the gaze of the user directed toward the scrollable content: Based on determining that the gaze of the user is directed to a third area of ​​the scrollable content, the third area is different from the second area and different from the first area, and the corresponding part of the user meets the corresponding standard, the scrollable content is scrolled in a second direction different from the first direction according to the gaze of the user, wherein the second area has a different size than the third area.

6. The method according to claim 5, wherein: The second area of ​​the scrollable content is located at a bottom of the scrollable content and has a first size, and The third area of ​​the scrollable content is located at the top of the scrollable content and has a second size that is smaller than the first size.

7. The method according to any one of claims 1 to 6, wherein scrolling the scrollable content according to the gaze of the user comprises: Based on determining that the gaze of the user is directed to a position that is a first distance away from a corresponding position of the scrollable content, scrolling the scrollable content at a first speed based on the gaze of the user, and Based on determining that the gaze of the user is directed to a location a second distance different from the first distance from the corresponding location of the scrollable content, the scrollable content is scrolled based on the gaze of the user at a second speed different from the first speed.

8. The method according to any one of claims 1 to 7, further comprising: When the gaze of the user is directed to the second area of ​​the scrollable content and the corresponding portion of the user meets the corresponding criterion, and when the scrollable content is scrolled according to the gaze of the user, detecting, via the one or more input devices, the gaze of the user away from the second area of ​​the scrollable content; as well as In response to detecting the gaze of the user away from the second area of ​​the scrollable content, a speed at which the scrollable content is scrolled is reduced until the scrolling of the scrollable content stops.

9. The method according to any one of claims 1 to 8, wherein in response to detecting the gaze of the user directed toward the scrollable content and based on determining that the gaze of the user is directed toward the second area and the corresponding portion of the user meets the corresponding criterion, scrolling the scrollable content according to the gaze of the user comprises: When the gaze of the user is directed to the second area and the corresponding part of the user meets the corresponding criterion, gradually increasing the speed of scrolling the scrollable content.

10. The method according to any one of claims 1 to 9, further comprising: While displaying the user interface including the scrollable content: detecting, via the one or more input devices, that the corresponding portion of the user performs a corresponding gesture, the corresponding gesture comprising movement of the hand of the user while the hand of the user is in a pinching hand shape, wherein the corresponding portion of the user does not meet the corresponding criteria when performing the corresponding gesture; as well as In response to detecting that the corresponding part of the user performs the corresponding gesture and based on determining that one or more criteria are met, scrolling the scrollable content according to the movement of the hand of the user (e.g., air gesture, touch input, or other hand input).

11. The method of claim 10, wherein the movement of the corresponding portion of the user has a corresponding amplitude, and: Based on determining that the movement of the corresponding portion of the user is in the first direction, the computer system scrolls the scrollable content in the second direction by a first amount in response to detecting that the corresponding portion of the user performs the corresponding gesture, and Based on determining that the movement of the corresponding part of the user is in a third direction different from the first direction, the computer system scrolls the scrollable content in a fourth direction by a second amount different from the first amount in response to detecting that the corresponding part of the user performs the corresponding gesture, wherein the fourth direction is different from the second direction.

12. The method of any one of claims 10 to 11, wherein the movement of the hand of the user (e.g., an air gesture, a touch input, or other hand input) comprises movement of the hand from a first position to a second position (e.g., an air gesture, a touch input, or other hand input), wherein the hand of the user maintains the pinching hand shape when moving from the first position to the second position, and scrolling the scrollable content in response to detecting that the corresponding part of the user performs the corresponding gesture comprises: scrolling the scrollable content at a first speed based on determining that the distance between the first position and the second position is a first distance; and Based on determining that the distance between the first position and the second position is a second distance greater than the first distance, the scrollable content is scrolled at a second speed greater than the first speed.

13. The method of any one of claims 10 to 12, wherein the one or more criteria include a criterion that is satisfied when the hands of the user move at least a threshold amount while maintaining the pinching hand shape, the method further comprising: In response to detecting that the corresponding part of the user performs the corresponding gesture, based on determining that the movement of the user's hand (for example, an air gesture, touch input, or other hand input) does not meet the one or more criteria, maintaining the display of the scrollable content without scrolling the scrollable content.

14. The method according to any one of claims 10 to 13, wherein the one or more criteria are not met when the speed of the movement of the hand of the user (e.g., air gesture, touch input or other hand input) is greater than a threshold speed and the direction of the movement of the hand of the user (e.g., air gesture, touch input or other hand input) is downward, the method further comprising: In response to detecting that the corresponding portion of the user performs the corresponding gesture, based on determining that the one or more criteria are not satisfied, maintaining display of the scrollable content without scrolling the scrollable content.

15. The method according to any one of claims 1 to 14, wherein in response to detecting the gaze of the user directed toward the scrollable content, and based on determining that the gaze of the user is directed toward the second area of ​​the scrollable content and the corresponding portion of the user meets the corresponding criterion, the computer system scrolls the scrollable content in a first direction according to the gaze of the user, and the method further comprises: When displaying the user interface including the scrollable content via the display generation component: In response to detecting the gaze of the user directed toward the scrollable content: Based on determining that the gaze of the user is directed to a third area of ​​the scrollable content, the third area is different from the second area, and the corresponding part of the user meets the corresponding criterion, the scrollable content is scrolled in a second direction opposite to the first direction according to the gaze of the user.

16. The method of claim 15, wherein: In response to detecting the gaze of the user directed toward the scrollable content, and based on determining that the gaze of the user is directed toward the second area of ​​the scrollable content and the corresponding portion of the user meets the corresponding criterion, scrolling the scrollable content in the first direction based on the gaze of the user includes scrolling the scrollable content at a first acceleration, and In response to detecting the user's gaze directed toward the scrollable content, and based on determining that the user's gaze is directed toward the third area of ​​the scrollable content and the corresponding part of the user meets the corresponding criterion, scrolling the scrollable content in the second direction according to the user's gaze includes scrolling the scrollable content at a second acceleration different from the first acceleration.

17. The method according to any one of claims 1 to 16, wherein the scrollable content includes text content and other content, and the method further comprises: When the text content of the scrollable content is displayed but the other content of the scrollable content is not displayed: detecting, via the one or more input devices, movement of the gaze of the user; and In response to detecting the movement of the gaze of the user: scrolling the text content based on determining that the movement of the user's gaze satisfies one or more criteria, the one or more criteria including criteria satisfied based on movement of the user's gaze relative to a line of text in the text content; and Based on determining that the movement of the gaze of the user does not satisfy the one or more criteria, maintaining display of the text content without scrolling the text content.

18. The method of claim 17, wherein scrolling the text content in response to detecting the movement of the user's gaze that satisfies the one or more criteria is independent of whether the corresponding portion of the user is detected to be in a predefined pose.

19. The method according to any one of claims 17 to 18, further comprising: When the text content of the scrollable content is displayed but the other content of the scrollable content is not displayed: detecting, via the one or more input devices, the user's gaze directed toward the text content; and In response to detecting the gaze of the user directed toward the text content: Based on determining that the gaze of the user is directed to the first area of ​​the text content and the movement of the gaze of the user does not satisfy the one or more criteria, maintaining the display of the text content without scrolling the text content; and scrolling the text content according to the gaze of the user based on determining that the gaze of the user is directed to a second area of ​​the text content that is different from the first area of ​​the text content and the corresponding portion of the user meets the corresponding criteria, and the movement of the gaze of the user does not meet the one or more criteria; and Based on determining that the gaze of the user is directed to the first area of ​​the text content and the movement of the gaze of the user satisfies the one or more criteria, the text content is scrolled.

20. The method according to any one of claims 1 to 19, further comprising: While displaying the scrollable content, in response to detecting the gaze of the user directed toward the scrollable content: Based on determining that the gaze of the user is directed to a word included in the first area of ​​the scrollable content for at least a threshold time, a definition of the word included in the scrollable content is displayed via the display generation component.

21. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system that communicates with a display generation component and one or more input devices, the one or more programs comprising instructions for executing the method according to any one of claims 1 to 20.

22. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs 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 to 20.

23. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: A component for carrying out the method according to any one of claims 1 to 20.

24. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system in communication with a display generation component and one or more input devices, the one or more programs comprising instructions for: displaying, via the display generation component, a user interface including scrollable content; detecting, via the one or more input devices, a user's gaze directed toward the scrollable content; as well as In response to detecting the gaze of the user directed toward the scrollable content: According to determining that the gaze of the user is directed to the first area of ​​the scrollable content, maintaining the display of the scrollable content without scrolling the scrollable content; scrolling the scrollable content according to the gaze of the user based on determining that the gaze of the user is directed to a second area of ​​the scrollable content that is different from the first area and the corresponding portion of the user meets a corresponding criterion; and Based on determining that the gaze of the user is directed to the second area and the corresponding portion of the user does not meet the corresponding criterion, the display of the scrollable content is maintained without scrolling the scrollable content.

25. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for: displaying, via the display generation component, a user interface including scrollable content; detecting, via the one or more input devices, a user's gaze directed toward the scrollable content; as well as In response to detecting the gaze of the user directed toward the scrollable content: According to determining that the gaze of the user is directed to the first area of ​​the scrollable content, maintaining the display of the scrollable content without scrolling the scrollable content; scrolling the scrollable content according to the gaze of the user based on determining that the gaze of the user is directed to a second area of ​​the scrollable content that is different from the first area and the corresponding portion of the user meets a corresponding criterion; and Based on determining that the gaze of the user is directed to the second area and the corresponding portion of the user does not meet the corresponding criterion, the display of the scrollable content is maintained without scrolling the scrollable content.

26. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: means for displaying, via the display generating component, a user interface including scrollable content; means for detecting, via the one or more input devices, a user's gaze directed toward the scrollable content; and means for, in response to detecting the user's gaze directed toward the scrollable content, performing: According to determining that the gaze of the user is directed to the first area of ​​the scrollable content, maintaining the display of the scrollable content without scrolling the scrollable content; scrolling the scrollable content according to the gaze of the user based on determining that the gaze of the user is directed to a second area of ​​the scrollable content that is different from the first area and the corresponding portion of the user meets a corresponding criterion; and Based on determining that the gaze of the user is directed to the second area and the corresponding portion of the user does not meet the corresponding criterion, the display of the scrollable content is maintained without scrolling the scrollable content.

27. A method comprising: At a computer system in communication with a display generating component and one or more input devices: displaying a text entry field via the display generation component; and When displaying the text entry field via the display generation component: detecting, via the one or more input devices, a first speech input from a user of the computer system; and In response to detecting the first speech input from the user: displaying, via the display generation component, a text representation of the first speech input in the text entry field in response to determining that the user's attention was directed to the text entry field when the first speech input was received from the user; and Based on determining that the attention of the user was not directed to the text entry field when the first verbal input from the user was received, displaying the text representation of the first verbal input in the text entry field is foregone.

28. The method of claim 27, wherein determining that the user's attention is directed to the text entry field when the first speech input from the user is received comprises determining that the user's gaze is directed to the text entry field for at least a time threshold.

29. The method of any one of claims 27 to 28, wherein detecting that the user's attention is directed to the text entry field comprises detecting that the user's gaze is directed to the text entry field for longer than a time threshold, the method further comprising: While the text entry field is displayed, in response to detecting the user's gaze directed toward the text entry field, presenting an indication of a duration that the user's gaze has been directed toward the text entry field.

30. The method of claim 29, further comprising: While displaying the text entry field and in response to detecting the gaze of the user directed toward the text entry field: Based on determining that the duration for which the gaze of the user has been directed to the text entry field exceeds the time threshold, presenting a second indication that a first speech input will be directed to the text entry field; and Based on determining that the duration that the gaze of the user has been directed to the text entry field is less than the time threshold, presenting the second indication is abandoned.

31. The method according to any one of claims 27 to 30, further comprising: While displaying the text entry field, in response to detecting the first speech input from the user: Based on determining that the user's attention is directed to the text entry field, displaying, via the display generating component, a text cursor in the text entry field, wherein the text representation of the first speech input is inserted into the text entry field at the position of the text cursor in the text entry field; and Based on determining that the user's attention is not directed to the text entry field, displaying the text cursor in the text entry field is abandoned.

32. The method of any one of claims 27 to 31, wherein detecting that the user's attention is directed to the text entry field comprises detecting that the user's gaze is directed to the text entry field for longer than a time threshold, the method further comprising: When the user's attention is directed away from the text entry field, displaying the text entry field with a visual characteristic having a first value via the display generation component; detecting, via the one or more input devices, the gaze of the user directed toward the text entry field while displaying, via the display generating component, the text entry field with the visual characteristic having the first value; as well as In response to detecting the gaze of the user directed toward the text entry field: Based on the duration of the user's gaze directed at the text entry field, the display of the text entry field via the display generation component with the visual characteristic having the first value is gradually modified to display the text entry field via the display generation component with the visual characteristic having a second value different from the first value.

33. The method according to any one of claims 27 to 32, further comprising: When the text entry field is displayed via the display generating component, in response to detecting the first speech input from the user, based on determining that the user's attention is directed to the text entry field when the first speech input from the user is received, the text entry field is displayed via the display generating component with visual characteristics having corresponding values, and the corresponding values ​​change over time according to changes in the characteristics of the first speech input over time.

34. The method according to any one of claims 27 to 33, further comprising: Upon displaying the text entry field via the display generating component after detecting the first speech input from the user via the one or more input devices: detecting, via the one or more input devices, a second speech input from the user as a continuation of the first speech input when the attention of the user is not directed to the text entry field; In response to detecting the second speech input from the user while the attention of the user is not directed to the text entry field: displaying, via the display generation component, a textual representation of the second speech input in the text entry field in response to determining that the user's attention was directed to the text entry field when the first speech input was received from the user; and Based on determining that the attention of the user was not directed to the text entry field when the first verbal input was received, displaying the text representation of the second verbal input in the text entry field via the display generation component is foregone.

35. The method according to any one of claims 27 to 34, further comprising: In response to detecting the first speech input from the user while the attention of the user is directed to the text entry field, displaying the text representation of the first speech input in the text entry field: receiving, via the one or more input devices, a second speech input from the user as a continuation of the first speech input when the user's attention is away from the text entry field; and In response to receiving the second speech input, a textual representation of the second speech input is displayed via the display generation component.

36. The method according to any one of claims 27 to 34, further comprising: while displaying, via the display generating component, the textual representation of the first speech input in the text entry field, detecting, via the one or more input devices, a second speech input from the user as a continuation of the first speech input when the user's attention is not directed to the text entry field; as well as In response to detecting the second speech input from the user while the attention of the user is not directed to the text entry field, ceasing display of the text representation of the first speech input in the text entry field via the display generation component.

37. The method according to any one of claims 27 to 34 or 36, further comprising: In response to detecting the first speech input from the user, displaying the text entry field via the display generation component with a visual characteristic having a first value based on determining that the user's attention was directed to the text entry field when the first speech input was received; while displaying, via the display generating component, the text entry field with the visual characteristic having the first value, detecting, via the one or more input devices, that the attention of the user is not directed toward the text entry field; as well as In response to detecting that the user's attention is not directed toward the text entry field, displaying the text entry field via the display generation component with the visual characteristic having a corresponding value that changes over time until reaching a second value different from the first value.

38. The method according to any one of claims 27 to 37, further comprising: Upon displaying the text representation of the first speech input in the text entry field in response to detecting the first speech input from the user: detecting a second speech input via the one or more input devices; and In response to detecting the second speech input: performing an action with respect to the textual representation of the first speech input in the text entry field based on determining that the second speech input corresponds to a request to perform an action with respect to the textual representation of the first speech input in the text entry field and satisfies one or more criteria; and Based on determining that the second speech input does not correspond to the request to perform the action regarding the text representation of the first speech input in the text entry field or does not meet the one or more criteria, abandoning the action regarding the text representation of the first speech input in the text entry field.

39. The method of claim 38, wherein: in accordance with determining that the text entry field is a first type of text entry field, determining that the second speech input corresponds to the request to perform the action with respect to the text representation of the first speech input in the text entry field is based on one or more first criteria, and Based on determining that the text entry field is a second type of text entry field different from the first type of text entry field, determining that the second speech input corresponds to the request to perform the action regarding the text representation of the first speech input in the text entry field is based on one or more second criteria different from the one or more first criteria.

40. The method of any one of claims 38 to 39, wherein the one or more criteria include a criterion that is satisfied when the user's gaze is directed toward the text entry field when the computer system detects the second speech input.

41. The method according to any one of claims 27 to 40, further comprising: before detecting the first speech input from the user, displaying corresponding text in the text entry field via the display generation component; as well as In response to detecting the first speech input from the user, based on determining that the user's attention is directed to the text entry field, display of the corresponding text in the text entry field via the display generation component is stopped, and the text representation of the first speech input is displayed in the text entry field.

42. The method according to any one of claims 27 to 41, further comprising: before detecting the first speech input from the user, displaying corresponding text and a cursor at a first position in the text entry field via the display generation component; as well as In response to detecting the first speech input from the user, based on determining that the user's attention is directed to the text entry field: maintaining display of the corresponding text in the text entry field via the display generation component; ceasing display of the cursor in the text entry field via the display generation component; and A visual indication is displayed via the display generating component at a second location in the text entry field, wherein the text representation of the first verbal input is added to the corresponding text at the second location in the text entry field.

43. The method of claim 42, wherein: Based on determining that the user's gaze is directed to a first portion of text in the text entry field when the first speech input from the user is detected, a textual representation of speech is added to the second position of the corresponding text proximate to the first portion of the text, and Based on determining that the user's gaze is directed to a second portion of the text in the text entry field that is different from the first position in the text entry field when the first speech input from the user is detected, the textual representation of the speech is added to the second position of the corresponding text near the second portion of the text.

44. The method according to any one of claims 27 to 43, further comprising: Based on determining that the user's attention was directed to the text entry field when the first speech input from the user was received, when displaying the text representation of the first speech input in a text entry field via the display generation component in response to detecting the first speech input from the user: detecting, via the one or more input devices, the user's attention not being directed toward the text entry field when detecting, via the one or more input devices, a second speech input from the user as a continuation of the first speech input; as well as In response to detecting that the user's attention is not directed toward the text entry field: Based on determining that the text entry field is a text entry field of the first type, displaying, via the display generation component, a text representation of the continuation of the first speech input in the text entry field; and Based on determining that the text entry field is a second type of text entry field different from the first type of text entry field, displaying the text representation of the second speech input in the text entry field via the display generation component is foregone.

45. The method of claim 44, further comprising: In response to detecting that the user's attention is not directed toward the text entry field: Based on determining that the text entry field is the first type of text entry field, keep displaying the text representation of the first speech input in the text entry field; and based on determining that the text entry field is the second type of text entry field, stop displaying the text representation of the first speech input in the text entry field.

46. ​​A method according to any one of claims 44 to 45, wherein: Based on determining that the text entry field is the second type of text entry field, the computer system determines that the user's attention is directed to the text entry field when the first speech input is received from the user, and displays the text representation of the first speech input in the text entry field via the display generation component in response to detecting the first speech input from the user, regardless of whether the computer system detects a corresponding text entry input different from the first speech input via the one or more input devices before detecting the first speech input.

47. The method of any one of claims 44 to 46, wherein based on determining that the text entry field is the first type of text entry field, displaying the text representation of the first speech input in the text entry field via the display generation component is in response to detecting a corresponding text entry input different from the first speech input via the one or more input devices before detecting the first speech input, and the method further comprises: In response to detecting the first speech input from the user, based on determining that the text entry field is the first type of text entry field, and based on determining that the corresponding text entry input was not detected before detecting the first speech input from the user, abandoning displaying the text representation of the first speech input in the text entry field via the display generation component.

48. The method of any one of claims 27 to 47, wherein displaying the textual representation of the speech input comprises displaying the textual representation of the speech input in a first appearance, and the method further comprises: receiving, via the one or more input devices, typed text entry input directed to the text entry field; as well as In response to receiving the typed text entry input, a text representation of the typed text entry input is displayed in the text entry field via the display generation component, wherein the text representation of the typed text entry input is displayed in a second appearance different from the first appearance.

49. A method according to claim 48, wherein displaying the text representation of the speech input in the first appearance includes displaying the text representation of the speech input with a luminous effect, and displaying the text representation of the typed text entry input in the text entry field in the second appearance includes displaying the text representation of the typed text entry input in the text entry field without the luminous effect.

50. The method of any one of claims 48 to 49, wherein displaying the textual representation of the speech input in the first appearance comprises: displaying, via the display generating component, a corresponding portion of the textual representation of the speech input in one or more colors that change over time within a time period that is subsequent to displaying the corresponding portion of the textual representation of the speech input in the text entry field; and After the time period has elapsed, the corresponding portion of the textual representation of the speech input is displayed via the display generation component in a corresponding color that does not change over time.

51. The method of claim 50, wherein displaying the corresponding portion of the textual representation of the speech input in the color that changes over time comprises: The corresponding portion of the textual representation of the speech input is displayed in a color that changes over time in response to changes in the audio level of the speech input over time.

52. The method according to any one of claims 27 to 50, further comprising: displaying, via the display generating component, a text insertion marker in the text entry field, the text insertion marker indicating a location in the text entry field where additional text is to be added in response to receiving text entry input, wherein: When the first speech input is detected, displaying the text insertion mark with a corresponding visual effect; and When the first speech input is not detected, the text insertion mark is displayed without the corresponding visual effect.

53. The method of claim 52, wherein the corresponding visual effect comprises a visual characteristic that changes over time in response to a change in the audio level of the first speech input over time.

54. The method of any one of claims 27 to 53, wherein displaying the text entry field comprises: upon detecting the first speech input, displaying the text entry field with a corresponding visual effect, and When the first speech input is not detected, the text entry field is displayed without the corresponding visual effect.

55. The method of claim 54, wherein the corresponding visual effect is a luminous visual effect.

56. The method of claim 55, wherein the glowing visual effect comprises a visual characteristic having a value that changes over time in response to a change in an audio level of the first speech input over time.

57. A method according to any one of claims 54 to 56, wherein: Displaying the text entry field with the corresponding visual effect includes displaying the text entry field in a first color, and displaying the text entry field without the corresponding visual effect includes displaying the text entry field in a second color different from the first color.

58. The method of claim 57, wherein displaying the text entry field in the first color comprises changing the color of the text entry field over time in response to changes in the audio level of the first speech input over time.

59. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system that communicates with a display generating component and one or more input devices, the one or more programs comprising instructions for executing a method according to any one of claims 27 to 58.

60. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs 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 27 to 58.

61. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: A component for carrying out the method according to any one of claims 27 to 58.

62. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system in communication with a display generation component and one or more input devices, the one or more programs comprising instructions for: displaying, via the display generating component, a text entry field; and When displaying the text entry field via the display generation component: detecting, via the one or more input devices, a first speech input from a user of the computer system; and In response to detecting the first speech input from the user: displaying, via the display generation component, a textual representation of the first speech input in the text entry field in response to determining that the user's attention was directed to the text entry field when the first speech input was received from the user; and Based on determining that the attention of the user was not directed to the text entry field when the first verbal input from the user was received, displaying the text representation of the first verbal input in the text entry field is foregone.

63. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for: displaying, via the display generating component, a text entry field; and When displaying the text entry field via the display generation component: detecting, via the one or more input devices, a first speech input from a user of the computer system; and In response to detecting the first speech input from the user: displaying, via the display generation component, a text representation of the first speech input in the text entry field in response to determining that the user's attention was directed to the text entry field when the first speech input was received from the user; and Based on determining that the attention of the user was not directed to the text entry field when the first verbal input from the user was received, displaying the text representation of the first verbal input in the text entry field is foregone.

64. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: means for displaying a text entry field via said display generating component; and means for performing the following operations when displaying the text entry field via the display generation component: detecting, via the one or more input devices, a first speech input from a user of the computer system; and In response to detecting the first speech input from the user: displaying, via the display generation component, a text representation of the first speech input in the text entry field in response to determining that the user's attention was directed to the text entry field when the first speech input was received from the user; and Based on determining that the attention of the user was not directed to the text entry field when the first verbal input from the user was received, displaying the text representation of the first verbal input in the text entry field is foregone.

65. A method comprising: At a computer system in communication with a display generating component and one or more input devices: displaying, via the display generation component, a three-dimensional environment from a respective viewpoint, the three-dimensional environment comprising a first object located at a respective position in the three-dimensional environment, wherein the first object comprises a text entry field; detecting, via the one or more input devices, a first input corresponding to a selection of the text entry field while displaying the three-dimensional environment including the first object including the text entry field at the respective position in the three-dimensional environment from the respective viewpoint; and In response to detecting the first input: displaying a keyboard at a keyboard position in the three-dimensional environment according to the first input via the display generation component based on a determination that the corresponding position in the three-dimensional environment is a first position that is more than a threshold distance from the corresponding viewpoint, wherein the keyboard is used to enter text into the text entry field, wherein the keyboard position in the three-dimensional environment is less than the threshold distance from the corresponding viewpoint; and Based on determining that the corresponding position in the three-dimensional environment is a second position different from the first position, wherein the second position is more than the threshold distance away from the corresponding viewpoint, the keyboard is displayed at the keyboard position in the three-dimensional environment based on the first input via the display generation component.

66. The method of claim 65, further comprising: In response to detecting the first input, based on determining that the corresponding position in the three-dimensional environment is a third position that is less than the threshold distance from the corresponding viewpoint, the keyboard is displayed at a second keyboard position in the three-dimensional environment based on the first input via the display generation component, wherein the second keyboard position is closer to the corresponding viewpoint than the keyboard position.

67. The method according to any one of claims 65 to 66, further comprising: In response to detecting the first input, maintaining display of the first object at the corresponding position via the display generation component.

68. A method according to any one of claims 65 to 67, wherein displaying the first object includes displaying the first object at a first angle relative to a corresponding reference in the three-dimensional environment via the display generating component, and displaying the keyboard includes displaying the keyboard at a second angle different from the first angle relative to the corresponding reference in the three-dimensional environment via the display generating component.

69. A method according to any one of claims 65 to 68, wherein displaying the keyboard in response to detecting the first input includes displaying a user interface element in association with the keyboard, which user interface element, when selected, causes the computer system to initiate a process of repositioning the keyboard in the three-dimensional environment.

70. The method of claim 69, further comprising: detecting, via the one or more input devices, input directed to the user interface element corresponding to a request to reposition the keyboard in the three-dimensional environment, including a request to update a distance between the keyboard in the three-dimensional environment and the corresponding viewpoint from a current distance to an updated distance; as well as In response to the input directed to the user interface element: Based on determining that the updated distance is within a first distance range, displaying the keyboard at a corresponding position in the three-dimensional environment at a first distance from a viewpoint of the user via the display generation component; and Based on determining that the updated distance is within a second distance range different from the first distance range, displaying the keyboard via the display generation component at a corresponding position in the three-dimensional environment at a second distance different from the viewpoint of the user different from the first distance.

71. The method of any one of claims 69 to 70, further comprising: detecting, via the one or more input devices, input directed to the user interface element corresponding to a request to reposition the keyboard in the three-dimensional environment, including a request to update a distance between the keyboard in the three-dimensional environment and the corresponding viewpoint from a current distance to an updated distance; as well as In response to the input directed to the user interface element: Based on determining that the updated distance is a first distance from the viewpoint of the user, displaying, via the display generation component, the keyboard in the three-dimensional environment at a first angle relative to a corresponding reference in the three-dimensional environment; and Based on determining that the updated distance is a second distance from the viewpoint of the user different from the first distance, the keyboard in the three-dimensional environment is displayed via the display generation component at a second angle different from the first angle relative to the corresponding reference in the three-dimensional environment.

72. A method according to any one of claims 65 to 71, wherein displaying the keyboard in response to detecting the first input includes displaying a user interface element that, when selected, causes the computer system to initiate a process of adjusting the size of the keyboard in the three-dimensional environment.

73. A method according to any one of claims 65 to 72, wherein detecting the first input includes detecting, via the one or more input devices, the user's attention directed toward the text entry field and a predefined gesture performed by a corresponding portion of the user.

74. The method of any one of claims 65 to 73, further comprising: detecting, via the one or more input devices, a second input corresponding to a request to initiate a process of speaking text input directed to the text entry field while displaying the three-dimensional environment including the first object including the text entry field at the respective position in the three-dimensional environment from the respective viewpoint; as well as In response to detecting the second input, the process of dictating the text input directed to the text entry field is initiated without displaying the keyboard via the display generating component.

75. A method according to any one of claims 65 to 74, wherein displaying the keyboard in response to the first input includes displaying, via the display generation component, a representation of a portion of the first object, the portion including at least a portion of the text entry field.

76. The method of claim 75, further comprising: displaying, via the display generating component, a cursor in the text entry field at a first position in the text entry field and displaying, in the representation of the portion of the first object, a representation of the cursor at a corresponding first position in the representation of the portion of the first object while displaying, via the display generating component, the keyboard in response to the first input; detecting, via the one or more input devices, one or more inputs directed to the keyboard corresponding to a request to enter text into the text entry field while displaying, via the display generating component, the representation of the portion of the first object including the representation of the cursor; In response to the one or more inputs: displaying, via the display generating component, the text in the text entry field and a representation of the text in the representation of the portion of the first object, comprising: displaying the cursor at a second position in the text entry field, the second position being based on the one or more inputs corresponding to the request to enter the text into the text entry field; and displaying the representation of the cursor in the representation of the portion of the first object at a corresponding second position in the representation of the portion of the first object; and A corresponding portion of the first object included in the representation of the portion of the first object is updated to maintain display of the representation of the cursor at the corresponding second position in the representation of the portion of the first object via the display generation component.

77. The method according to any one of claims 75 to 76, further comprising: while displaying the three-dimensional environment including the first object including the text entry field located at the respective position in the three-dimensional environment from the respective viewpoint, detecting, via a hardware keyboard of the one or more input devices, a second input corresponding to a request to enter text into the text entry field; as well as In response to detecting the second input: displaying the text in the text entry field via the display generation component; and The representation of the portion of the first object is displayed via the display generation component without displaying the keyboard, the representation of the portion of the first object including a representation of the text entered via the hardware keyboard.

78. A method according to any one of claims 75 to 77, wherein: Displaying the keyboard includes displaying the keyboard via the display generation component at a first angle relative to a corresponding reference in the three-dimensional environment, and Displaying the representation of the portion of the first object includes displaying the representation of the portion of the first object at a third angle different from the second angle relative to the corresponding reference in the three-dimensional environment.

79. The method of any one of claims 75 to 78, wherein displaying the representation of the portion of the first object comprises: displaying, via the display generation component, the representation of the portion of the first object at a first angle relative to a corresponding reference in the three-dimensional environment based on determining that the spatial relationship between the corresponding viewpoint of the user of the computer system and the representation of the portion of the first object is a first spatial relationship; and Based on determining that the spatial relationship between the corresponding viewpoint of the user and the representation of the portion of the first object is a second spatial relationship, the representation of the portion of the first object is displayed via the display generation component at a second angle different from the first angle relative to a corresponding reference plane in the three-dimensional environment.

80. A method according to any one of claims 75 to 79, wherein displaying the first object includes displaying the first object at a first angle relative to a corresponding reference in the three-dimensional environment via the display generating component, and displaying the representation of the portion of the first object includes displaying the representation of the portion of the first object at a second angle different from the first angle relative to the corresponding reference in the three-dimensional environment via the display generating component.

81. A method according to any one of claims 75 to 80, wherein displaying the first object comprises displaying, via the display generation component, selectable options included in the first object, and displaying the representation of the portion of the first object comprises displaying, via the display generation component, representations of the selectable options in the representation of the portion of the first object, and the method further comprises: detecting, via the one or more input devices, a second input directed to the selectable option included in the first object; In response to detecting the second input, performing a corresponding operation associated with the selectable option; detecting, via the one or more input devices, a third input pointing to the representation of the selectable option in the representation of the portion of the first object; as well as In response to detecting the third input, performing the corresponding operation associated with the selectable option is foregone.

82. The method of any one of claims 75 to 81, further comprising: while displaying, via the display generating component, the representation of the portion of the first object including at least the portion of the text entry field, including the representation of the corresponding text included in at least the portion of the text entry field, detecting, via the one or more input devices, a second input directed to the representation of the corresponding text in the representation of the portion of the first object, the second input corresponding to a request to select the corresponding portion of the corresponding text; and in response to detecting the second input: updating, via the display generating component, a display of the representation of the respective text to indicate selection of the respective portion of the respective text; and A display of the text entry field is updated via the display generation component to indicate selection of the respective portion of the respective text.

83. The method of any one of claims 75 to 82, further comprising: while displaying, via the display generating component, the first object, the representation of the portion of the first object, and the keyboard, detecting, via the one or more input devices, one or more inputs directed to the keyboard corresponding to a request to enter text into the text entry field; as well as In response to the one or more inputs, the text is displayed in the text entry field via the display generation component and a representation of the text is displayed in the representation of the portion of the first object.

84. A method according to any one of claims 75 to 83, wherein displaying the keyboard in response to the first input includes displaying, via the display generating component, a plurality of selectable options associated with a text operation directed to the text entry field, wherein the plurality of selectable options are displayed between the representation of the portion of the first object and the keyboard in the three-dimensional environment.

85. The method of any one of claims 65 to 84, wherein the keyboard position is a first distance from the corresponding viewpoint, and the method further comprises: In response to detecting the first input: Based on determining that the corresponding position in the three-dimensional environment is a third position, wherein the third position is less than the threshold distance from the corresponding viewpoint, the keyboard is displayed at a fourth position at a second distance from the corresponding viewpoint of the user via the display generation component; and based on determining that the corresponding position in the three-dimensional environment is a fourth position different from the third position, wherein the fourth position is less than the threshold distance from the corresponding viewpoint, the keyboard is displayed at a fifth position at a third distance different from the second distance from the corresponding viewpoint of the user via the display generation component.

86. The method of any one of claims 65 to 85, wherein: the first position in the three-dimensional environment having a first vertical position in the three-dimensional environment, and the second position in the three-dimensional environment having a second vertical position different from the first vertical position in the three-dimensional environment, Displaying the keyboard at the keyboard position in the three-dimensional environment in accordance with determining that the corresponding position in the three-dimensional environment is the first position includes: displaying the keyboard via the display generation component in a third vertical position in accordance with the first vertical position of the first position, and Displaying the keyboard at the keyboard position in the three-dimensional environment based on determining that the corresponding position in the three-dimensional environment is the second position includes: displaying the keyboard via the display generation component at a fourth vertical position different from the third vertical position based on the second vertical position of the second position.

87. The method of claim 85, wherein: The third vertical position has a respective angular offset from the first position relative to the respective viewpoint in the three-dimensional environment, and The fourth vertical position has the respective angular offset from the second position relative to the respective viewpoint in the three-dimensional environment.

88. The method of any one of claims 65 to 87, wherein: detecting the first input comprises detecting, via the one or more input devices, the user's attention directed to a first location in the text entry field, and Displaying the keyboard at the keyboard location in the three-dimensional environment in response to the first input includes: Based on determining that the first position in the text entry field has a first horizontal positioning in the three-dimensional environment, the keyboard is displayed via the display generation component at a second horizontal positioning based on the first horizontal positioning; and based on determining that the first position in the text entry field has a third horizontal positioning different from the first horizontal positioning in the three-dimensional environment, the keyboard is displayed via the display generation component at a fourth horizontal positioning different from the second horizontal positioning based on the second horizontal positioning.

89. The method of any one of claims 65 to 88, further comprising: When the keyboard is displayed at a third position within a second threshold distance of the corresponding viewpoint in the three-dimensional environment via the display generation component: receiving text entry input directed to the keyboard via the one or more input devices; and In response to receiving the text entry input: entering text into the text entry field in accordance with the text entry input based on determining that the text entry input includes performance of a first gesture with a predefined portion of a user of the computer system when the predefined portion of the user is within a direct input threshold distance of a physical location corresponding to the keyboard in the three-dimensional environment; and Based on determining that the text entry input includes performance of a second gesture with the predefined portion of the user when the predefined portion of the user is farther away than the direct input threshold distance from the physical location corresponding to the keyboard in the three-dimensional environment, abandoning entry of the text into the text entry field based on the text entry input.

90. The method of any one of claims 65 to 89, further comprising: When the keyboard is displayed at a third position between the second threshold distance and the third threshold distance of the corresponding viewpoint in the three-dimensional environment via the display generation component: receiving text entry input directed to the keyboard via the one or more input devices; and In response to receiving the text entry input: entering text into the text entry field in accordance with the text entry input based on determining that the text entry input includes performance of a first gesture with a predefined portion of a user of the computer system when the predefined portion of the user is within a direct input threshold distance of a physical location corresponding to the keyboard in the three-dimensional environment; and Based on determining that the text entry input includes performance of a second gesture with the predefined portion of the user when the predefined portion of the user is farther than the direct input threshold distance from the physical location corresponding to the keyboard in the three-dimensional environment, text is entered into the text entry field based on the text entry input.

91. The method of any one of claims 65 to 90, further comprising: When the keyboard is displayed at a third position in the three-dimensional environment that is greater than a second threshold distance from the corresponding viewpoint via the display generation component: receiving text entry input directed to the keyboard via the one or more input devices; and In response to receiving the text entry input: entering text into the text entry field in accordance with the text entry input based on a determination that the text entry input includes performance of a first gesture with a predefined portion of the user of the computer system when the predefined portion of the user is further away than a direct input threshold distance from a physical location corresponding to the keyboard in the three-dimensional environment; and Based on determining that the text entry input includes performance of a second gesture with the predefined portion of the user when the predefined portion of the user is within the direct input threshold distance of the physical location corresponding to the keyboard in the three-dimensional environment, abandoning entry of the text into the text entry field based on the text entry input.

92. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system that communicates with a display generating component and one or more input devices, the one or more programs comprising instructions for executing a method according to any one of claims 65 to 91.

93. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs 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 65 to 91.

94. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: A component for carrying out the method according to any one of claims 65 to 91.

95. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system in communication with a display generation component and one or more input devices, the one or more programs comprising instructions for: displaying, via the display generation component, a three-dimensional environment from a respective viewpoint, the three-dimensional environment comprising a first object located at a respective position in the three-dimensional environment, wherein the first object comprises a text entry field; detecting, via the one or more input devices, a first input corresponding to a selection of the text entry field while displaying the three-dimensional environment including the first object including the text entry field at the respective position in the three-dimensional environment from the respective viewpoint; and In response to detecting the first input: displaying a keyboard at a keyboard position in the three-dimensional environment according to the first input via the display generation component based on a determination that the corresponding position in the three-dimensional environment is a first position that is more than a threshold distance from the corresponding viewpoint, wherein the keyboard is used to enter text into the text entry field, wherein the keyboard position in the three-dimensional environment is less than the threshold distance from the corresponding viewpoint; and Based on determining that the corresponding position in the three-dimensional environment is a second position different from the first position, wherein the second position is more than the threshold distance away from the corresponding viewpoint, the keyboard is displayed at the keyboard position in the three-dimensional environment based on the first input via the display generation component.

96. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for: displaying, via the display generation component, a three-dimensional environment from a respective viewpoint, the three-dimensional environment comprising a first object located at a respective position in the three-dimensional environment, wherein the first object comprises a text entry field; detecting, via the one or more input devices, a first input corresponding to a selection of the text entry field while displaying the three-dimensional environment including the first object including the text entry field at the respective position in the three-dimensional environment from the respective viewpoint; and In response to detecting the first input: displaying a keyboard at a keyboard position in the three-dimensional environment according to the first input via the display generation component based on a determination that the corresponding position in the three-dimensional environment is a first position that is more than a threshold distance from the corresponding viewpoint, wherein the keyboard is used to enter text into the text entry field, wherein the keyboard position in the three-dimensional environment is less than the threshold distance from the corresponding viewpoint; and Based on determining that the corresponding position in the three-dimensional environment is a second position different from the first position, wherein the second position is more than the threshold distance away from the corresponding viewpoint, the keyboard is displayed at the keyboard position in the three-dimensional environment based on the first input via the display generation component.

97. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: means for displaying, via the display generation component, a three-dimensional environment from respective viewpoints, the three-dimensional environment comprising a first object located at a respective position in the three-dimensional environment, wherein the first object comprises a text entry field; means for detecting, via the one or more input devices, a first input corresponding to a selection of the text entry field while displaying the three-dimensional environment including the first object including the text entry field at the respective position in the three-dimensional environment from the respective viewpoint; and means for, in response to detecting the first input, performing: displaying a keyboard at a keyboard position in the three-dimensional environment according to the first input via the display generation component based on a determination that the corresponding position in the three-dimensional environment is a first position that is more than a threshold distance from the corresponding viewpoint, wherein the keyboard is used to enter text into the text entry field, wherein the keyboard position in the three-dimensional environment is less than the threshold distance from the corresponding viewpoint; and Based on determining that the corresponding position in the three-dimensional environment is a second position different from the first position, wherein the second position is more than the threshold distance away from the corresponding viewpoint, the keyboard is displayed at the keyboard position in the three-dimensional environment based on the first input via the display generation component.

98. A method comprising: At a computer system in communication with a display generating component and one or more input devices: displaying, via the display generation component, a three-dimensional environment including a keyboard having a plurality of keys, wherein the keyboard is displayed at a first position in the three-dimensional environment, and the plurality of keys extend a first distance away from an area corresponding to a surface of the keyboard; receiving, via the one or more input devices, a first input comprising movement of a portion of a body of a user of the computer system toward a corresponding key of the plurality of keys of the keyboard while displaying the three-dimensional environment including the keyboard at the first location in the three-dimensional environment; as well as In response to receiving the first input, in accordance with determining that the movement toward the corresponding key comprises movement to a location corresponding to a first key and less than a threshold distance from the surface of the keyboard, wherein the threshold distance is closer to the keyboard than the first distance from the surface of the keyboard: moving the first key toward the surface of the keyboard at the first position in the three-dimensional environment by a second distance, the second distance being closer to the surface of the keyboard than the position; and One or more operations corresponding to the selection of the first key are performed.

99. The method of claim 98, wherein in response to receiving the first input and based on determining that the movement toward the corresponding key includes movement to the position corresponding to the first key, moving the first key toward the surface of the keyboard the second distance comprises: upon detecting a portion of the movement of the portion of the body of the user that includes movement to the threshold distance from the surface of the keyboard, moving the first key in accordance with the portion of the movement toward the surface of the keyboard; as well as In response to the movement of the part of the user's body toward the first key reaching the threshold distance from the surface of the keyboard, moving the first key closer to the keyboard the remainder of the second distance, wherein moving the first key the remainder of the second distance is independent of further movement of the part of the user's body.

100. The method according to any one of claims 98 to 99, further comprising: In response to receiving the first input, in accordance with determining that the movement toward the corresponding key includes movement to a second position corresponding to the first key and being greater than the threshold distance from the surface of the keyboard and less than the first distance from the surface of the keyboard: moving the first key a third distance based on the movement of the part of the body of the user toward the surface of the keyboard at the first location in the three-dimensional environment; and Performing the one or more operations corresponding to the selection of the first key is abandoned.

101. The method according to claim 100, further comprising: After detecting the movement of the part of the body of the user included in the first input: detecting, via the one or more input devices, a second movement of the part of the user's body away from the corresponding key; and In response to detecting the second movement of the part of the user's body and based on determining that the movement toward the corresponding key includes movement to the second position corresponding to the first key, the first key is moved away from the surface of the keyboard based on the second movement of the part of the user's body.

102. The method of any one of claims 98 to 101, further comprising: In response to receiving the first input, moving the corresponding key toward the surface of the keyboard is abandoned based on determining that the movement toward the corresponding key includes movement to a second position greater than the first distance from the surface of the keyboard.

103. The method of any one of claims 98 to 102, further comprising: In response to receiving the first input, the movement toward the corresponding key comprises movement to a second position corresponding to a second key different from the first key and less than the threshold distance from the surface of the keyboard in accordance with: moving the second key the second distance toward the surface of the keyboard at the first location in the three-dimensional environment; and One or more operations corresponding to the selection of the second key are performed.

104. The method of any one of claims 98 to 103, further comprising: In response to receiving the first input, in accordance with determining that the movement toward the corresponding key includes movement to a second position corresponding to a second key different from the first key and located greater than the threshold distance from the surface of the keyboard and less than the first distance from the surface of the keyboard: moving the second key a third distance based on the movement of the part of the body of the user toward the surface of the keyboard at the first location in the three-dimensional environment; and Performing the one or more operations corresponding to the selection of the second key is abandoned.

105. The method of any one of claims 98 to 104, further comprising: While displaying the keyboard at the first position in the three-dimensional environment: displaying, via the display generation component, a selectable option at a second location in the three-dimensional environment, wherein the selectable option extends a third distance from a back panel different from the surface of the keyboard; detecting, via the one or more input devices, a second input comprising movement of the part of the body of the user toward the selectable option; as well as In response to receiving the second input: in response to determining that the movement toward the selectable option corresponds to movement of the selectable option toward the backplane by at least the third distance, performing one or more operations corresponding to selection of the selectable option; and Based on determining that the movement toward the selectable option corresponds to movement of the selectable option toward the backplane less than the third distance, performing the one or more operations corresponding to selection of the selectable option is foregone.

106. The method of any one of claims 98 to 105, wherein displaying the three-dimensional environment including the keyboard comprises: displaying, via the display generating component, a simulated shadow corresponding to the portion of the user's body overlying a second key of the plurality of keys of the keyboard, wherein: Based on determining that the position of the portion of the user's body in the three-dimensional environment corresponds to a third key of the plurality of keys of the keyboard, the simulated shadow is displayed overlying the third key, and Based on determining that the position of the portion of the user's body in the three-dimensional environment corresponds to a fourth key of the plurality of keys of the keyboard, the simulated shadow is displayed overlying the fourth key.

107. The method of any one of claims 98 to 106, wherein displaying the three-dimensional environment including the keyboard comprises: displaying, via the display generating component, a simulated shadow of the portion of the user's body overlying a second key of the plurality of keys of the keyboard, wherein: displaying the simulated shadow with a visual characteristic having a first value based on determining that the position of the portion of the user's body in the three-dimensional environment is a second distance from the second key, and The simulated shadow is displayed with the visual characteristic having a second value different from the first value based on determining that the position of the portion of the user's body in the three-dimensional environment is a third distance from the second key that is different from the second distance.

108. The method of any one of claims 98 to 107, wherein displaying the three-dimensional environment including the keyboard comprises simultaneously displaying, via the display generation component: a simulated shadow corresponding to the portion of the body of the user overlying a second key of the plurality of keys of the keyboard, and A simulated shadow corresponding to a second portion of the body of the user overlying a third key of the plurality of keys of the keyboard that is different from the second key.

109. The method of any one of claims 98 to 108, further comprising: In response to receiving the first input, the movement toward the corresponding key comprises movement to the position corresponding to the first key according to: An animation of a first portion of the keyboard including the first key is displayed via the display generation component without modifying a display of a second portion of the keyboard outside of the first portion of the keyboard, the animation indicating that the first key is selected.

110. The method according to any one of claims 98 to 109, further comprising: While displaying the three-dimensional environment including the keyboard at the first position in the three-dimensional environment: upon detecting a second movement of the part of the body of the user toward a second key, detecting movement of the second part of the body of the user toward a third key; as well as In response to detecting the movement of the second part of the body of the user toward the third key upon detecting the second movement of the part of the body of the user: Based on determining that the second movement of the part of the body includes movement to a third position corresponding to the second key and less than the threshold distance from the surface of the keyboard, and based on determining that the movement of the second part of the body of the user includes movement to a fourth position corresponding to the third key and less than the threshold distance from the surface of the keyboard: moving the second key and the third key the second distance toward the surface of the keyboard at the first location in the three-dimensional environment; and One or more operations corresponding to the selection of the second key and the third key are performed.

111. The method of any one of claims 98 to 110, wherein the first input is detected while the keyboard is displayed in a first mode that does not include displaying a cursor overlying the keyboard, and the method further comprises: while displaying the keyboard in the first mode, detecting that one or more criteria associated with displaying the keyboard in a second mode different from the first mode are satisfied; in response to detecting that the one or more criteria associated with displaying the keyboard in the second mode are satisfied, displaying, via the display generation component, the keyboard in the three-dimensional environment in the second mode, including displaying, via the display generation component, a cursor overlaid on a second key of the plurality of keys of the keyboard, the second key corresponding to a location of the part of the body of the user in the three-dimensional environment; as well as When the keyboard is displayed in the second mode: receiving, via the one or more input devices, a second input comprising a gesture performed with the part of the body of the user, the second input satisfying one or more criteria; and In response to receiving the second input: Determine the second key is the third key based on: moving the third key toward the surface of the keyboard; and performing one or more operations corresponding to the selection of the third key; and Determine that the second key is the fourth key based on: moving the fourth key toward the surface of the keyboard; and One or more operations corresponding to the selection of the fourth key are performed.

112. The method of any one of claims 98 to 111, wherein displaying a second key of the plurality of keys of the keyboard as the first distance from the surface of the keyboard is based on determining that a corresponding position of the part of the body of the user does not satisfy one or more criteria associated with the second key, and the method further comprises: Based on determining that the corresponding position of the part of the user's body satisfies the one or more criteria associated with the second key, including a criterion that is satisfied when the corresponding position of the part of the user's body is within a threshold distance of a position corresponding to the second key, updating the keyboard to display the second key as a third distance from the surface of the keyboard via the display generating component, the third distance being greater than the first distance.

113. The method according to any one of claims 98 to 112, further comprising: In response to receiving the first input, the movement toward the corresponding key comprises movement to the position corresponding to the first key according to: An audio indication of the selection of the first key is presented via one or more output devices in communication with the computer system.

114. The method of claim 113, wherein the first input is received while the keyboard is in a first mode, and the method further comprises: receiving, via the one or more input devices, a second input directed to the corresponding key while the three-dimensional environment including the keyboard is displayed in a second mode different from the first mode, the second input including a gesture performed with the part of the body of the user and not including movement of the part of the body of the user to a position corresponding to the corresponding key; as well as In response to receiving the second input, based on determining that the second input satisfies one or more criteria and the second input is directed to the first key: moving the first key toward the surface of the keyboard; performing one or more operations corresponding to the selection of the first key; and A second audio indication of the selection of the first key that is different than the audio indication of the selection of the first key is presented via the one or more output devices.

115. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system that communicates with a display generating component and one or more input devices, the one or more programs comprising instructions for executing a method according to any one of claims 98 to 114.

116. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs 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 98 to 114.

117. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: A component for carrying out the method according to any one of claims 98 to 114.

118. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system in communication with a display generation component and one or more input devices, the one or more programs comprising instructions for: displaying, via the display generating component, a three-dimensional environment including a keyboard having a plurality of keys, wherein the keyboard is displayed at a first location in the three-dimensional environment and the plurality of keys extend a first distance away from an area corresponding to a surface of the keyboard; receiving, via the one or more input devices, a first input comprising movement of a portion of a body of a user of the computer system toward a corresponding key of the plurality of keys of the keyboard while displaying the three-dimensional environment including the keyboard at the first location in the three-dimensional environment; as well as In response to receiving the first input, in accordance with determining that the movement toward the corresponding key comprises movement to a location corresponding to a first key and less than a threshold distance from the surface of the keyboard, wherein the threshold distance is closer to the keyboard than the first distance from the surface of the keyboard: moving the first key toward the surface of the keyboard at the first position in the three-dimensional environment by a second distance, the second distance being closer to the surface of the keyboard than the position; and One or more operations corresponding to the selection of the first key are performed.

119. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for: displaying, via the display generation component, a three-dimensional environment including a keyboard having a plurality of keys, wherein the keyboard is displayed at a first position in the three-dimensional environment, and the plurality of keys extend a first distance away from an area corresponding to a surface of the keyboard; receiving, via the one or more input devices, a first input comprising movement of a portion of a body of a user of the computer system toward a corresponding key of the plurality of keys of the keyboard while displaying the three-dimensional environment including the keyboard at the first location in the three-dimensional environment; as well as In response to receiving the first input, in accordance with determining that the movement toward the corresponding key comprises movement to a location corresponding to a first key and less than a threshold distance from the surface of the keyboard, wherein the threshold distance is closer to the keyboard than the first distance from the surface of the keyboard: moving the first key toward the surface of the keyboard at the first position in the three-dimensional environment by a second distance, the second distance being closer to the surface of the keyboard than the position; and One or more operations corresponding to the selection of the first key are performed.

120. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: means for displaying, via the display generating component, a three-dimensional environment including a keyboard having a plurality of keys, wherein the keyboard is displayed at a first location in the three-dimensional environment and the plurality of keys extend a first distance away from an area corresponding to a surface of the keyboard; means for receiving, via the one or more input devices, a first input comprising movement of a part of a body of a user of the computer system toward a corresponding key of the plurality of keys of the keyboard while displaying the three-dimensional environment including the keyboard at the first position in the three-dimensional environment; and means for, in response to receiving the first input, performing, in accordance with determining that the movement toward the corresponding key comprises movement to a location corresponding to a first key and less than a threshold distance from the surface of the keyboard, wherein the threshold distance is closer to the keyboard than the first distance from the surface of the keyboard: moving the first key toward the surface of the keyboard at the first position in the three-dimensional environment by a second distance, the second distance being closer to the surface of the keyboard than the position; and One or more operations corresponding to the selection of the first key are performed.

121. A method comprising: At a computer system in communication with a display generating component and one or more input devices: displaying, via the display generation component, a three-dimensional environment including a keyboard having a plurality of keys, wherein the keyboard is displayed at a first position in the three-dimensional environment, and the keyboard is displayed without displaying a cursor for selecting one or more of the plurality of keys; receiving, via the one or more input devices, a first input comprising a change in positioning of one or more respective parts of a user of the computer system while displaying the three-dimensional environment including the keyboard at the first location in the three-dimensional environment without displaying the cursor; as well as In response to receiving the first input: The cursor is displayed via the display generation component overlying a portion of the plurality of keys of the keyboard, wherein the cursor indicates a portion of the plurality of keys that currently has focus.

122. The method of claim 121 further comprising: When displaying the keyboard in the three-dimensional environment and the cursor overlaid on the portion of the keyboard via the display generation component: receiving, via the one or more input devices, a second input directed to the keyboard, including input from the one or more corresponding portions of the user; as well as In response to receiving the second input: Based on determining that the portion of the plurality of keys currently having the focus is a first key of the plurality of keys: executing a function associated with the first key of the plurality of keys; and Based on determining that the portion of the plurality of keys currently having the focus is a second key in the plurality of keys: A function associated with the second key of the plurality of keys is executed.

123. The method according to any one of claims 121 to 122, further comprising: When displaying, via the display generating component, the keyboard in the three-dimensional environment and the cursor overlaid on the portion of the keyboard, the portion of the keyboard corresponds to a respective key of the plurality of keys: receiving, via the one or more input devices, a second input directed to the keyboard, the second input comprising a gesture performed by the one or more corresponding portions of the user that satisfies one or more criteria; as well as In response to receiving the second input, a function associated with the corresponding key of the plurality of keys that currently has the focus is performed.

124. The method of any one of claims 121 to 123, wherein the cursor indicates the portion of the plurality of keys that currently has the focus based on a first portion of the one or more corresponding portions of the user, the method further comprising: In response to receiving the first input: A second cursor is displayed via the display generating component overlying a second portion of the multiple keys of the keyboard, wherein the second cursor indicates a second portion of the multiple keys currently having a second focus based on a second portion of the one or more corresponding portions of the user, and the second cursor is displayed simultaneously with the cursor.

125. The method of any one of claims 121 to 124, further comprising: When the keyboard in the three-dimensional environment and the cursor overlaid on a first key among the plurality of keys and the second cursor overlaid on a second key among the plurality of keys are displayed via the display generation means: receiving, via the one or more input devices, a sequence of one or more inputs directed to a corresponding plurality of keys of the keyboard, including simultaneous selection of the first key and the second key; as well as In response to receiving the sequence of one or more inputs, one or more functions associated with the corresponding plurality of keys of the keyboard are performed.

126. A method according to any one of claims 121 to 125, wherein the change in the positioning of the one or more corresponding parts of the user of the computer system included in the first input includes a change in the relative orientation between one or more wrists of the user of the computer system.

127. The method of any one of claims 121 to 126, further comprising: In response to receiving the first input, a simulated shadow of the cursor is displayed via the display generation component, wherein the simulated shadow of the cursor is displayed on the portion of the plurality of keys of the keyboard that currently has focus.

128. The method of any one of claims 121 to 127, further comprising: When displaying the keyboard and the cursor, a back panel of the keyboard is displayed via the display generation component, wherein the plurality of keys of the keyboard are overlaid on the back panel of the keyboard in the three-dimensional environment, wherein: Based on determining that the cursor overlies the first portion of the plurality of keys and does not overlie the second portion of the plurality of keys: The first portion of the plurality of keys is displayed with a first amount of visual separation from the back plate of the keyboard, and The second portion of the plurality of keys is displayed with a second amount of visual separation from the back plate of the keyboard, the second amount of visual separation being less than the first amount of visual separation, and Based on determining that the cursor overlies the second portion of the plurality of keys and does not overlie the first portion of the plurality of keys: The second portion of the plurality of keys is displayed with the first amount of visual separation from the back plate of the keyboard, and The first portion of the plurality of keys is displayed having the second amount of visual separation from the backplate of the keyboard.

129. The method of any one of claims 121 to 128, wherein the portion of the plurality of keys of the keyboard is based on a position of the one or more corresponding parts of the user in the three-dimensional environment, and the method further comprises: while displaying the keyboard and the cursor overlying the portion of the plurality of keys, detecting movement of the one or more corresponding portions of the user from a location in the three-dimensional environment associated with the portion of the plurality of keys of the keyboard to a location in the three-dimensional environment associated with a second portion of the plurality of keys of the keyboard; as well as In response to detecting the movement of the one or more corresponding parts of the user: The three-dimensional environment is updated to display, via the display generation component, the cursor overlying the second portion of the plurality of keys without displaying the cursor overlying the portion of the plurality of keys.

130. The method of any one of claims 121 to 129, further comprising: When displaying the keyboard in the three-dimensional environment and the cursor overlaid on the portion of the keyboard via the display generation component: receiving, via the one or more input devices, a sequence of one or more inputs, the sequence comprising detecting movement of the one or more respective parts of the user through a sequence of positions associated with respective sets of the plurality of keys while the one or more respective parts of the user are in a predefined shape; as well as In response to receiving the second input, an operation associated with the corresponding set of the plurality of keys is performed.

131. The method of any one of claims 121 to 130, further comprising: When displaying the keyboard in the three-dimensional environment and the cursor overlaid on the portion of the keyboard via the display generation component: receiving, via the one or more input devices, a second input directed to the portion of the plurality of keys of the keyboard; as well as In response to receiving the second input, an animation of a second portion of the keyboard including the portion of the multiple keys of the keyboard is displayed via the display generating component without modifying the display of a third portion of the keyboard outside the second portion of the keyboard, the animation indicating that the portion of the multiple keys is selected.

132. The method of any one of claims 121 to 131, further comprising: When displaying the keyboard in the three-dimensional environment and the cursor overlaid on the portion of the keyboard via the display generation component: receiving, via the one or more input devices, a second input corresponding to a request to change an input mode of the keyboard from a cursor input mode to a non-cursor input mode; as well as In response to receiving the second input, display of the keyboard via the display generation component is maintained and display of the cursor via the display generation component is stopped.

133. The method of claim 132, wherein receiving the second input comprises detecting, via the one or more input devices, a change in the orientation of one or more wrists of the user of the computer system.

134. The method of any one of claims 121 to 133, further comprising: When displaying the keyboard in the three-dimensional environment and the cursor overlaid on the portion of the keyboard via the display generation component: receiving, via the one or more input devices, a second input directed to the keyboard; as well as In response to receiving the second input: activating the portion of the plurality of keys that currently has the focus; and A first audio indication corresponding to selection of the portion of the plurality of keys is generated via one or more output devices in communication with the computer system.

135. The method of claim 134, further comprising: When the keyboard in the three-dimensional environment is displayed without displaying the cursor: detecting, via the one or more input devices, a third input directed to the portion of the plurality of keys of the keyboard; as well as In response to receiving the third input: activating the portion of the plurality of keys of the keyboard; and A second audio indication different from the first audio indication is generated via the one or more output devices in communication with the computer system corresponding to selection of the portion of the plurality of keys.

136. The method of any one of claims 121 to 135, further comprising: When the keyboard in the three-dimensional environment is displayed via the display generation component without displaying the cursor: receiving, via the one or more input devices, a second input directed to a second portion of the plurality of keys of the keyboard, the second input provided by the one or more corresponding portions of the user; as well as In response to receiving the second input: performing an operation associated with the second portion of the plurality of keys in response to determining that the second input includes the one or more corresponding portions of the user's keypad that are within a threshold distance of the keyboard; and based on determining that the second input includes the one or more corresponding portions of the user being farther from the keyboard than the threshold distance, forgoing performing the operation associated with the second portion of the plurality of keys; as well as When displaying the keyboard in the three-dimensional environment via the display generation component as having the cursor overlaid on the portion of the plurality of keys: receiving, via the one or more input devices, a third input directed to the keyboard when the one or more corresponding parts of the user are within the threshold distance of the keyboard, the third input being provided by the one or more corresponding parts of the user; as well as In response to receiving the third input, an operation associated with the portion of the plurality of keys of the keyboard is performed.

137. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system that communicates with a display generating component and one or more input devices, the one or more programs comprising instructions for executing a method according to any one of claims 121 to 136.

138. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs 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 121 to 136.

139. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: A component for carrying out the method according to any one of claims 121 to 136.

140. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system in communication with a display generation component and one or more input devices, the one or more programs comprising instructions for: displaying, via the display generating component, a three-dimensional environment including a keyboard having a plurality of keys, wherein the keyboard is displayed at a first location in the three-dimensional environment, and the keyboard is displayed without displaying a cursor for selecting one or more of the plurality of keys; receiving, via the one or more input devices, a first input comprising a change in positioning of one or more respective parts of a user of the computer system while displaying the three-dimensional environment including the keyboard at the first location in the three-dimensional environment without displaying the cursor; and In response to receiving the first input: The cursor is displayed via the display generation component overlying a portion of the plurality of keys of the keyboard, wherein the cursor indicates a portion of the plurality of keys that currently has focus.

141. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for: displaying, via the display generation component, a three-dimensional environment including a keyboard having a plurality of keys, wherein the keyboard is displayed at a first position in the three-dimensional environment, and the keyboard is displayed without displaying a cursor for selecting one or more of the plurality of keys; receiving, via the one or more input devices, a first input comprising a change in positioning of one or more respective parts of a user of the computer system while displaying the three-dimensional environment including the keyboard at the first location in the three-dimensional environment without displaying the cursor; as well as In response to receiving the first input: The cursor is displayed via the display generation component overlying a portion of the plurality of keys of the keyboard, wherein the cursor indicates a portion of the plurality of keys that currently has focus.

142. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: means for displaying, via the display generating component, a three-dimensional environment including a keyboard having a plurality of keys, wherein the keyboard is displayed at a first location in the three-dimensional environment, and the keyboard is displayed without displaying a cursor for selecting one or more of the plurality of keys; means for receiving, via the one or more input devices, a first input comprising a change in positioning of one or more respective parts of a user of the computer system while displaying the three-dimensional environment including the keyboard at the first location in the three-dimensional environment without displaying the cursor; and means for, in response to receiving the first input, performing the following operations: The cursor is displayed via the display generation component overlying a portion of the plurality of keys of the keyboard, wherein the cursor indicates a portion of the plurality of keys that currently has focus.

143. A method comprising: At a computer system in communication with a display generating component and one or more input devices: displaying, via the display generation component, a three-dimensional environment including a first area, the first area including a cursor; detecting, via the one or more input devices, a first movement of a corresponding portion of a user of the computer system; In response to detecting the first movement of the corresponding portion of the user: Based on determining that the user's attention is directed to the first area of ​​the three-dimensional environment when the first movement of the corresponding part of the user is detected, moving the cursor based on the first movement of the corresponding part of the user while constraining the movement of the cursor to the first area; and Based on determining that one or more criteria are satisfied, including a criterion that is satisfied based on the user's attention being directed toward a second area of ​​the three-dimensional environment that is different from the first area of ​​the three-dimensional environment when the first movement of the corresponding part of the user is detected, displaying the cursor at a position within the second area and outside of the first area.

144. The method of claim 143, wherein the one or more criteria include a criterion that is satisfied when movement of the corresponding portion of the user exceeds a predefined threshold movement amount, and the method further comprises: In response to detecting the first movement of the corresponding part of the user while the attention of the user is directed to the second area: Based on determining that the one or more criteria are satisfied, including that the first movement of the corresponding portion of the user includes an amount of movement that exceeds the predefined threshold amount, displaying the cursor at the location that is within the second area and outside of the first area; and Based on determining that the one or more criteria are not satisfied because the first movement of the corresponding portion of the user includes an amount of movement less than the predefined threshold amount, maintaining display of the cursor in the first area.

145. A method according to any one of claims 143 to 144, wherein the one or more criteria include a criterion that is satisfied when the corresponding portion of the user is not providing input for drawing with the cursor, and the method further comprises: In response to detecting the first movement of the corresponding part of the user while the attention of the user is directed to the second area: displaying the cursor at the location within the second area and outside of the first area based on determining that the one or more criteria are satisfied, including that the corresponding portion of the user is not providing the input to draw with the cursor; and Based on determining that the one or more criteria are not met because the corresponding portion of the user is providing the input to draw with the cursor, display of the cursor in the first area is maintained.

146. The method of any one of claims 143 to 145, wherein: In response to detecting the first movement of the corresponding portion of the user: Based on determining that the cursor is performing a drawing operation while the corresponding portion of the user is performing the first movement, moving the cursor based on the first movement of the corresponding portion of the user includes moving the cursor by a first amount, and Based on determining that the cursor was not performing a drawing operation while the corresponding portion of the user was performing the first movement, moving the cursor based on the first movement of the corresponding portion of the user includes moving the cursor a second amount greater than the first amount.

147. The method of any one of claims 143 to 146, further comprising: In response to detecting the first movement of the corresponding portion of the user: Based on determining that the corresponding part of the user is in a corresponding shape when performing the first movement, the corresponding shape corresponding to a request to draw with the cursor in the three-dimensional environment, a drawing having an outline corresponding to the movement of the cursor is displayed via the display generation component.

148. The method of any one of claims 143 to 147, further comprising: While displaying the cursor in the three-dimensional environment: receiving, via the one or more input devices, a corresponding input corresponding to a request to make a selection with the cursor; and In response to receiving the corresponding input, an action is performed in accordance with selection of the selectable user interface element in the three-dimensional environment in accordance with determining that the cursor was within a threshold distance of the selectable user interface element when the corresponding input was received.

149. A method according to any one of claims 143 to 148, wherein the user's attention is determined by smoothing the gaze data to remove one or more high-frequency changes in gaze position within a corresponding time period.

150. The method of any one of claims 143 to 149, further comprising: In response to detecting the first movement of the corresponding portion of the user, according to determining that the one or more criteria are satisfied: Based on determining that the movement of the user's attention satisfies one or more corresponding criteria relative to the first movement of the corresponding part of the user and based on determining that the corresponding part of the user is in a corresponding shape when performing the first movement, the corresponding shape corresponding to the request to move the cursor, displaying the movement of the cursor from a first position of the cursor in the first area of ​​the three-dimensional environment to a second position in the three-dimensional environment via the display generation component, wherein the movement of the cursor is based on the movement of the user's attention and the movement of the corresponding part of the user.

151. The method of claim 150, further comprising: In response to detecting the first movement of the corresponding portion of the user, in accordance with determining that the one or more criteria are satisfied: Based on determining that the movement of the user's attention satisfies the one or more corresponding criteria relative to the first movement of the corresponding part of the user and based on determining that the corresponding part of the user is in a first shape when performing the first movement, and the first shape corresponds to a request to draw in the three-dimensional environment with the cursor, a drawing in the three-dimensional environment from the first position of the cursor in the first area of ​​the three-dimensional environment to the second position is displayed via the display generation component.

152. The method of any one of claims 143 to 151, further comprising: In response to detecting the first movement of the corresponding part of the user, based on determining that the user's attention is directed to the first area of ​​the three-dimensional environment when the first movement of the corresponding part of the user is detected, based on determining that an amount of the first movement of the corresponding part of the user corresponds to movement of the cursor outside the first area of ​​the three-dimensional environment, the cursor is moved to a boundary of the first area in the three-dimensional environment based on the first movement of the corresponding part of the user.

153. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system that communicates with a display generating component and one or more input devices, the one or more programs comprising instructions for executing a method according to any one of claims 143 to 152.

154. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs 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 143 to 152.

155. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: A component for carrying out the method according to any one of claims 143 to 152.

156. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system in communication with a display generation component and one or more input devices, the one or more programs comprising instructions for: displaying, via the display generation component, a three-dimensional environment including a first area, the first area including a cursor; detecting, via the one or more input devices, a first movement of a corresponding portion of a user of the computer system; In response to detecting the first movement of the corresponding portion of the user: Based on determining that the user's attention is directed to the first area of ​​the three-dimensional environment when the first movement of the corresponding part of the user is detected, moving the cursor based on the first movement of the corresponding part of the user while constraining the movement of the cursor to the first area; and Based on determining that one or more criteria are satisfied, including a criterion that is satisfied based on the user's attention being directed toward a second area of ​​the three-dimensional environment that is different from the first area of ​​the three-dimensional environment when the first movement of the corresponding part of the user is detected, displaying the cursor at a position within the second area and outside of the first area.

157. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for: displaying, via the display generation component, a three-dimensional environment including a first area, the first area including a cursor; detecting, via the one or more input devices, a first movement of a corresponding portion of a user of the computer system; In response to detecting the first movement of the corresponding portion of the user: Based on determining that the user's attention is directed to the first area of ​​the three-dimensional environment when the first movement of the corresponding part of the user is detected, moving the cursor based on the first movement of the corresponding part of the user while constraining the movement of the cursor to the first area; and Based on determining that one or more criteria are satisfied, including a criterion that is satisfied based on the user's attention being directed toward a second area of ​​the three-dimensional environment that is different from the first area of ​​the three-dimensional environment when the first movement of the corresponding part of the user is detected, displaying the cursor at a position within the second area and outside of the first area.

158. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: means for displaying, via the display generation component, a three-dimensional environment including a first area, the first area including a cursor; means for detecting, via the one or more input devices, a first movement of a corresponding portion of a user of the computer system; means for, in response to detecting the first movement of the corresponding portion of the user: moving the cursor according to the first movement of the corresponding part of the user, based on determining that the user's attention is directed to the first area of ​​the three-dimensional environment when the first movement of the corresponding part of the user is detected, while constraining movement of the cursor to the first area; and Based on determining that one or more criteria are satisfied, including a criterion that is satisfied based on the user's attention being directed toward a second area of ​​the three-dimensional environment that is different from the first area of ​​the three-dimensional environment when the first movement of the corresponding part of the user is detected, displaying the cursor at a position within the second area and outside of the first area.

159. A method comprising: At a computer system in communication with a display generating component and one or more input devices: simultaneously displaying, via the display generation component, a user interface including a text entry field and a text entry element configured to enter text into the text entry field; When the text entry element and the user interface are displayed simultaneously via the display generation component: receiving, via the one or more input devices, text entry input directed to the text entry element, wherein the text entry input comprises speech input; and In response to receiving the text entry input, a display of the text entry element is updated via the display generation component to include a text representation of the speech input without entering text into the text entry field.

160. The method of claim 159, wherein: The user interface is a user interface of an application and the text entry field is a text entry field of the application, the text entry element is a system user interface element, and The application does not have access to the text representation of the speech input when the computer system displays the text representation of the speech input included in the text entry element without entering the text into the text entry field.

161. A method according to any one of claims 159 to 160, wherein the user interface is a user interface of a first application and the text entry field is a text entry field of the first application, and the method further comprises: concurrently displaying, via the display generation component, a user interface of a second application different from the first application including a second text entry field of the second application and the text entry element, wherein the text entry element is configured to enter text into the second text entry field; When the text entry element and the user interface are displayed simultaneously via the display generation component: receiving, via the one or more input devices, a second text entry input directed to the text entry element, wherein the second text entry input comprises a second speech input; and In response to receiving the second text entry input, a display of the text entry element is updated via the display generation component to include a text representation of the second speech input without entering text into the second text entry field.

162. A method according to any one of claims 159 to 161, wherein the computer system displays the user interface and the text entry element in an environment via the display generation component, and simultaneously displaying the user interface and the text entry element includes displaying the text entry element between the text entry field of the user interface and the viewpoint of a user of the computer system in the environment via the display generation component.

163. The method of any one of claims 159 to 162, wherein updating the display of the text entry element to include the text representation of the speech input comprises: In response to detecting a first portion of the speech input corresponding to a first amount of text, displaying, via the display generation component, the text entry element at a first size in accordance with the first amount of text, and In response to detecting the first portion of the speech input and a second portion of the speech input corresponding to a second amount of text different from the first amount of text, displaying the text entry element via the display generation component at a second size different from the first size based on the second amount of text.

164. The method of claim 163, wherein updating the display of the text entry element to include the text representation of the speech input comprises: In response to detecting the first portion of the speech input, displaying the text entry element at a predetermined fourth size, including displaying the text entry element within the boundaries of the text entry field, based on determining that the first amount of text corresponds to displaying the text entry element at a third size, including displaying the text entry element beyond the boundaries of the text entry field, and In response to detecting the first and second portions of the speech input, displaying the text entry element at a fifth size, including displaying the text entry element beyond the boundaries of the text entry field, and displaying the text entry element at the predetermined fourth size within the boundaries of the text entry field, based on determining that the second amount of text corresponds to displaying the text entry element at a fifth size.

165. The method of any one of claims 159 to 164, further comprising: detecting, via the one or more input devices, a user of the computer system ceasing to provide the text entry input while displaying the text representation of the speech input in the text entry element in response to receiving the text entry input; as well as In response to detecting that the user has ceased providing the text entry input, the text representation of the speech input is entered into the text entry field.

166. The method of any one of claims 159 to 165, further comprising: While displaying the text entry element comprising the text representation of the speech input: entering the text representation of the speech input into the text entry field based on determining that one or more criteria are satisfied, including criteria satisfied in response to detecting text submission input via the one or more input devices; and Based on determining that the one or more criteria are not satisfied, entry of the text representation of the speech input into the text entry field is foregone.

167. The method of claim 166, wherein detecting the submission input comprises detecting the user's attention directed to the textual representation of the speech input in the text entry element.

168. A method according to any one of claims 166 to 167, wherein detecting the submission input includes detecting a second speech input that satisfies one or more second criteria.

169. The method of claim 168, further comprising displaying, via the display generating component, text entry options when the text entry element and the user interface are displayed simultaneously, wherein: The one or more second criteria include criteria that are satisfied when the computer system detects, via the one or more input devices, the user's attention directed toward the text entry option upon detecting the second speech input.

170. The method of any one of claims 166 to 169, further comprising: Based on determining that the one or more criteria are not satisfied, display of the textual representation of the speech input in the text entry element is ceased.

171. The method of any one of claims 166 to 170, wherein: the user interface is a user interface of an application and the text entry field is a text entry field of the application, Entering the textual representation of the speech input into the text entry field includes providing the application with access to the textual representation of the speech input, and forgoing entering the textual representation of the speech input into the text entry field includes forgoing providing the application with access to the textual representation of the speech input.

172. The method of any one of claims 159 to 171, further comprising: while simultaneously displaying the user interface including the text entry field and the text entry element, based on determining that one or more criteria are satisfied, displaying, via the display generation component, a visual indication that the computer system is configured to enter text in response to the speech input; and Based on determining that the one or more criteria are not met, display of the visual indication that the computer system is configured to enter the text in response to the verbal input is foregone.

173. A method according to claim 172, wherein the one or more criteria include a criterion that is satisfied in response to detecting an input state, the input state corresponding to an intention of a user of the computer system to dictate text to be entered into the text entry field.

174. A method according to claim 173, wherein detecting the input state includes detecting the user's attention of the computer system directed to the visual indication that the computer system is configured to enter the text in response to the verbal input.

175. A method according to any one of claims 172 to 174, wherein the visual indication is a visual characteristic having a value that changes over time in accordance with changes in a characteristic of the speech input.

176. A method according to any one of claims 159 to 175, wherein displaying the text entry element comprises displaying at least a portion of the text entry element with at least partial translucency.

177. The method of any one of claims 159 to 176, wherein displaying the textual representation of the speech input in the text entry element comprises: displaying a cursor at a predefined position relative to the textual representation of the speech input, and In response to receiving a first portion of the text entry input, displaying the cursor at a first position in the text entry element, and In response to receiving the first portion of the text entry input and a second portion of the text entry input, the cursor is displayed at a second location in the text entry element that is different from the first location.

178. A method according to claim 177, wherein displaying the cursor comprises displaying the cursor with a visual indication that the computer system is configured to enter text into the text entry element in response to receiving the verbal input.

179. A method according to claim 178, wherein the visual indication is an animated visual characteristic having a value that changes over time based on the characteristics of the speech input.

180. The method of any one of claims 159 to 179, further comprising: When displaying the user interface including the text entry field without displaying the text entry element: detecting, via the one or more input devices, that attention of a user of the computer system is directed to the text entry field and that one or more criteria are satisfied; in response to detecting that the user's attention is directed to the text entry field and the one or more criteria are met, displaying via the display generation component the text entry element and the user interface simultaneously; When the text entry element and the user interface are displayed simultaneously: in response to receiving the text entry input, based on determining that the attention of the user was not directed to the text entry element when the text entry input was detected, forgoing updating the display of the text entry element to include the text representation of the speech input, Wherein updating display of the text entry element in response to receiving the text entry input to include the text representation of the speech input without entering text into the text entry field is based on determining that the user's attention was directed to the text entry element when the text entry input was detected.

181. The method of any one of claims 159 to 180, further comprising: When displaying the user interface including the text entry field without displaying the text entry element: detecting, via the one or more input devices, that attention of a user of the computer system is directed to the text entry field and that one or more criteria are satisfied; in response to detecting that the user's attention is directed to the text entry field and the one or more criteria are met, displaying via the display generation component the text entry element and the user interface simultaneously; while simultaneously displaying the text entry element and the user interface, detecting that the user's attention is directed away from the text entry field and one or more second criteria are satisfied; and In response to detecting that the user's attention is directed away from the text entry field and the one or more second criteria are satisfied, display of the text entry element is ceased.

182. The method of claim 181, further comprising: while displaying the text representation of the speech input in the text entry element in response to detecting the text entry input, detecting that the user's attention is directed away from the text entry field and the one or more second criteria are satisfied; as well as In response to detecting that the user's attention is away from the text entry field and the one or more second criteria are satisfied, ceasing display of the text entry element and the textual representation of the speech input without entering the text into the text entry field.

183. The method of any one of claims 159 to 181, further comprising: Simultaneously displaying, via the display generation component, the user interface including the text entry field and a soft keyboard including a text dictation element; When the user interface and the soft keyboard are displayed simultaneously via the display generation component: receiving, via the one or more input devices, a second text entry input directed to the spoken element, wherein the second text entry input comprises a second speech input; and in response to receiving the second text entry input, displaying, via the display generation component, a text representation of the second speech input; as well as receiving, via the one or more input devices, input corresponding to a request to dictate text to the text entry field while the user interface including the text entry field is displayed without displaying the soft keyboard and without displaying the text entry element, wherein: The concurrent display of the user interface and the text entry element is responsive to the input corresponding to the request to dictate the text into the text entry field and is performed without displaying the soft keyboard.

184. The method of claim 183, further comprising: When simultaneously displaying the text entry field having the text representation of the speech input and the user interface via the display generation component without displaying the soft keyboard: detecting, via the one or more input devices, that one or more criteria are satisfied, including a criterion that is satisfied when the user of the computer system turns his attention away from the text entry field; responsive to detecting that the one or more criteria are satisfied, ceasing display of the textual representation of the speech input; When the soft keyboard, the user interface, and the text representation of the second speech input are simultaneously displayed via the display generation component: detecting, via the one or more input devices, that the one or more criteria are satisfied; and In response to detecting that the one or more criteria are satisfied, display of the textual representation of the second speech input is maintained.

185. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system that communicates with a display generating component and one or more input devices, the one or more programs comprising instructions for executing a method according to any one of claims 159 to 184.

186. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs 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 159 to 184.

187. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: A component for carrying out the method according to any one of claims 159 to 184.

188. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system in communication with a display generation component and one or more input devices, the one or more programs comprising instructions for: simultaneously displaying, via the display generation component, a user interface including a text entry field and a text entry element configured to enter text into the text entry field; When the text entry element and the user interface are displayed simultaneously via the display generation component: receiving, via the one or more input devices, text entry input directed to the text entry element, wherein the text entry input comprises speech input; and In response to receiving the text entry input, a display of the text entry element is updated via the display generation component to include a text representation of the speech input without entering text into the text entry field.

189. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for: simultaneously displaying, via the display generation component, a user interface including a text entry field and a text entry element configured to enter text into the text entry field; When the text entry element and the user interface are displayed simultaneously via the display generation component: receiving, via the one or more input devices, text entry input directed to the text entry element, wherein the text entry input comprises speech input; and In response to receiving the text entry input, a display of the text entry element is updated via the display generation component to include a text representation of the speech input without entering text into the text entry field.

190. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: means for simultaneously displaying, via the display generating component, a user interface including a text entry field and a text entry element configured to enter text into the text entry field; Means for performing the following operations when simultaneously displaying the text entry element and the user interface via the display generation component: receiving, via the one or more input devices, text entry input directed to the text entry element, wherein the text entry input comprises speech input; and In response to receiving the text entry input, a display of the text entry element is updated via the display generation component to include a text representation of the speech input without entering text into the text entry field.

191. A method comprising: At a computer system in communication with a display generating component and one or more input devices: simultaneously displaying, via the display generation component, a soft keyboard including a plurality of keys and a user interface element including a representation of text, wherein the representation of text corresponds to text included in a text entry field; and When the soft keyboard and the user interface element are displayed: receiving a selection input via the one or more input devices; In response to receiving the selection input: Based on determining that the selection input includes a user's attention directed to a first key of the plurality of keys of the soft keyboard: updating, via the display generation component, a display of the representation of the text to include a first character corresponding to the first key; Based on determining that the selection input includes the user's attention directed to a second key of the plurality of keys of the soft keyboard that is different from the first key: updating, via the display generation component, a display of the representation of the text to include a second character corresponding to the second key, the second character being different from the first character; and Based on determining that the selection input includes the user's attention directed to a portion of the user interface element: A display of the representation of the text is updated via the display generation component to delete one or more characters from the representation of the text.

192. A method according to claim 191, wherein the portion of the user interface element is the end of the representation of the text.

193. A method according to any one of claims 191 to 192, wherein the user interface element includes a cursor displayed in association with the representation of the text, and the portion of the user interface element is the cursor.

194. The method of any one of claims 191 to 193, further comprising: Prior to receiving the selection input, detecting, via the one or more input devices, that the user's attention is directed toward the portion of the user interface element; as well as In response to detecting that the user's attention is directed to the portion of the user interface element, a visual indication is displayed via the display generation component, the visual indication indicating that selection of the portion of the user interface element will cause deletion of the one or more characters from the representation of the text.

195. The method of any one of claims 191 to 194, further comprising: In response to receiving the selection input, based on determining that the selection input includes the user's attention directed to a delete key included in the plurality of keys of the soft keyboard: A display of the representation of the text is updated via the display generation component to delete the one or more characters from the representation of the text.

196. The method of any one of claims 191 to 195, further comprising: after updating, in response to receiving the selection input, the display of the representation of the text to delete one or more characters from the representation of the text based on determining that the selection input includes the user's attention directed to the portion of the user interface element, receiving, via the one or more input devices, a second selection input including the user's attention directed to the portion of the user interface element; as well as In response to receiving the second selection input, updating, via the display generation component, a display of the representation of the text to delete one or more additional characters from the representation of the text.

197. The method of any one of claims 191 to 196, further comprising: In response to receiving the selection input, display of the representation of the text via the display generation component is ceased based on determining that the selection input includes the user's attention away from the soft keyboard.

198. The method according to claim 197, further comprising: In response to receiving the selection input, based on determining that the selection input includes the user's attention directed to a portion of a user interface without a text entry field, ceasing display of the soft keyboard via the display generation component, wherein the user interface includes the text entry field.

199. The method of any one of claims 197 to 198, further comprising: In response to receiving the selection input, based on determining that the selection input includes the user's attention directed to a second text entry field, ceasing display of the representation of the text via the display generation component while maintaining display of the soft keyboard via the display generation component.

200. The method of any one of claims 191 to 199, wherein: Updating display of the representation of the text to include the first character corresponding to the first key comprises: scrolling the representation of the text based on determining that space between the representation of the text and a predefined boundary in the user interface element is insufficient to display the first character, and Updating display of the representation of the text to include the second character corresponding to the second key includes scrolling the representation of the text based on determining that the space between the representation of the text and the predefined boundary in the user interface element is insufficient to display the second character.

201. The method according to any one of claims 191 to 200, further comprising: While displaying the soft keyboard, the user interface element, and the text included in the text entry field: receiving, via the one or more input devices, a second input corresponding to a request to select a portion of the text included in the text entry field; and In response to receiving the second input: updating a display of the portion of the text included in the text entry field to be displayed with a first visual characteristic having a first value, wherein prior to detecting the second input, the portion of the text included in the text entry field is displayed with the first visual characteristic having a second value different from the first value; and Update the display of a portion of the representation of text corresponding to the portion of the text included in the text entry field so that it is displayed with a second visual characteristic having a third value, wherein before detecting the second input, the portion of the representation of text is displayed with the second visual characteristic having a fourth value different from the third value.

202. A method according to any one of claims 191 to 201, wherein displaying the representation of the text comprises displaying a portion of the representation of the text within a threshold distance of a border of the user interface element with a visual characteristic having a first value, and displaying a portion of the representation of the text farther from the border of the user interface element than the threshold distance with the visual characteristic having a second value different from the first value.

203. The method of claim 202, wherein displaying the representation of the text further comprises: Based on determining that the portion of the text within the threshold distance of the border of the user interface is currently selected, displaying the portion of the text within the threshold distance of the border of the user interface element with a visual indication that it is currently selected, the visual indication being displayed with the visual characteristic having the first value; and Based on determining that the portion of the text that is farther from the border of the user interface element than the threshold distance is currently selected, the portion of the text that is farther from the border of the user interface element than the threshold distance is displayed with the visual indication that is currently selected, and the visual indication is displayed with the visual characteristic having the second value.

204. A method according to any one of claims 191 to 203, wherein the representation of displayed text includes a portion of the representation of displayed text having a first orientation relative to an insertion marker included in the user interface element with a visual characteristic having a first value, and a portion of the representation of displayed text having a second orientation relative to the insertion marker with the visual characteristic having a second value different from the first value.

205. The method of any one of claims 191 to 204, further comprising: receiving, via the one or more input devices, text entry input comprising verbal input and the user's attention directed to the representation of the text or the text entry field; as well as In response to receiving the text entry input: updating, via the display generation component, a display of the representation of the text to include a first textual representation of the speech input; and A display of the text included in the text entry field is updated via the display generation component to include a second textual representation of the speech input.

206. The method of any one of claims 191 to 205, further comprising: receiving text entry input including speech input via the one or more input devices; as well as In response to receiving the text entry input: Based on determining that the text entry input includes the user's attention directed to the text entry field: updating, via the display generation component, a display of the representation of the text to include a first textual representation of the speech input; and updating, via the display generation component, a display of the text included in the text entry field to include a second textual representation of the speech input; and Based on determining that the text entry input includes the user's attention directed toward the representation of the text: foregoing updating, via the display generating component, the display of the representation of the text to include the first textual representation of the speech input; and Updating, via the display generation component, a display of the text included in the text entry field to include the second textual representation of the speech input is foregone.

207. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system that communicates with a display generating component and one or more input devices, the one or more programs comprising instructions for executing a method according to any one of claims 191 to 206.

208. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs 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 191 to 206.

209. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: A component for carrying out the method according to any one of claims 191 to 206.

210. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system in communication with a display generation component and one or more input devices, the one or more programs comprising instructions for: simultaneously displaying, via the display generation component, a soft keyboard including a plurality of keys and a user interface element including a representation of text, wherein the representation of text corresponds to text included in a text entry field; and When the soft keyboard and the user interface element are displayed: receiving a selection input via the one or more input devices; In response to receiving the selection input: Based on determining that the selection input includes a user's attention directed to a first key of the plurality of keys of the soft keyboard: updating, via the display generation component, a display of the representation of the text to include a first character corresponding to the first key; Based on determining that the selection input includes the user's attention directed to a second key of the plurality of keys of the soft keyboard that is different from the first key: updating, via the display generation component, a display of the representation of the text to include a second character corresponding to the second key, the second character being different from the first character; and Based on determining that the selection input includes the user's attention directed to a portion of the user interface element: A display of the representation of the text is updated via the display generation component to delete one or more characters from the representation of the text.

211. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for: simultaneously displaying, via the display generation component, a soft keyboard including a plurality of keys and a user interface element including a representation of text, wherein the representation of text corresponds to text included in a text entry field; and When the soft keyboard and the user interface element are displayed: receiving a selection input via the one or more input devices; In response to receiving the selection input: Based on determining that the selection input includes a user's attention directed to a first key of the plurality of keys of the soft keyboard: updating, via the display generation component, a display of the representation of the text to include a first character corresponding to the first key; Based on determining that the selection input includes the user's attention directed to a second key of the plurality of keys of the soft keyboard that is different from the first key: updating, via the display generation component, a display of the representation of the text to include a second character corresponding to the second key, the second character being different from the first character; and Based on determining that the selection input includes the user's attention directed to a portion of the user interface element: A display of the representation of the text is updated via the display generation component to delete one or more characters from the representation of the text.

212. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: means for simultaneously displaying, via the display generation component, a soft keyboard comprising a plurality of keys and a user interface element comprising a representation of text, wherein the representation of text corresponds to text included in a text entry field; and A component for performing the following operations when the soft keyboard and the user interface element are displayed: receiving a selection input via the one or more input devices; In response to receiving the selection input: Based on determining that the selection input includes a user's attention directed to a first key of the plurality of keys of the soft keyboard: updating, via the display generation component, a display of the representation of the text to include a first character corresponding to the first key; Based on determining that the selection input includes the user's attention directed to a second key of the plurality of keys of the soft keyboard that is different from the first key: updating, via the display generation component, a display of the representation of the text to include a second character corresponding to the second key, the second character being different from the first character; and Based on determining that the selection input includes the user's attention directed to a portion of the user interface element: A display of the representation of the text is updated via the display generation component to delete one or more characters from the representation of the text.

213. A method comprising: At a computer system in communication with a display generating component and one or more input devices: A user interface element including a text entry field is displayed in an environment via the display generation component, wherein: Based on determining that a hardware input device of the one or more input devices has a first position relative to the environment, the user interface element is displayed at a second position in the environment in a first spatial relationship relative to the hardware input device, and Based on determining that the hardware input device has a third position relative to the environment, the third position being different than the first position relative to the environment, the user interface element is displayed at a fourth position in the environment in the first spatial relationship relative to the hardware input device; and When displaying the user interface element in the environment in the first spatial relationship relative to the hardware input device: receiving text entry input via the hardware input device; and In response to receiving the text entry input: The text entry field is updated to include text corresponding to the text entry input.

214. The method of claim 213, wherein displaying the user interface element including the text entry field comprises displaying selectable options included in the user interface element, and the method further comprises: receiving, via the one or more input devices, input corresponding to a selection of the selectable option; as well as In response to receiving the input corresponding to a selection of the selectable option, an operation is performed according to the selectable option.

215. The method of claim 214, wherein: The selectable option includes an indication of a first text, and Performing the operation according to the selectable option includes updating the text entry field to include the first text.

216. The method of claim 214, wherein performing the operation according to the selectable option comprises configuring the computer system to accept spoken input directed to the text entry field, and the method further comprises: receiving speech input via the one or more input devices; In response to receiving the speech input: Based on determining that the computer system is configured to accept the spoken input directed to the text entry field, updating the text entry field to include a text representation of the verbal input; and Based on determining that the computer system is not configured to accept the spoken input directed to a text entry field, updating the text entry field to include the text representation of the verbal input is foregone.

217. The method of claim 214, wherein performing the operation according to the selectable option comprises displaying a soft keyboard in the environment via the display generating component.

218. A method according to any one of claims 214 to 217, wherein receiving the input corresponding to the selection of the selectable option includes detecting, via the one or more input devices, the predefined part of the user performing a predefined gesture when the predefined part of the user is within a threshold distance of the location corresponding to the selectable option.

219. A method according to any one of claims 214 to 217, wherein receiving the input corresponding to the selection of the selectable option includes detecting, via the one or more input devices, that the predefined part of the user performs a predefined gesture when the predefined part of the user is farther than a threshold distance from the position corresponding to the selectable option and the attention of the user of the computer system is directed toward the selectable option.

220. The method of any one of claims 214 to 219, further comprising: receiving, via the one or more input devices, a selection input comprising the predefined portion of the user performing a predefined gesture when the predefined portion of the user is further than a threshold distance from a location corresponding to the selectable option and attention of the user of the computer system is directed toward the selectable option; In response to receiving the selection input: performing the operation according to the selectable option based on determining that the selection input is received when the hardware input device detects no input; and Based on determining that the selection input is received when the hardware input device detects the input, performing the operation based on the selectable option is abandoned.

221. A method according to any one of claims 214 to 220, wherein receiving the input corresponding to selection of the selectable option includes detecting activation of an element of the hardware input device when the user's attention is directed to the selectable option.

222. A method according to any one of claims 213 to 221, wherein a surface of the hardware input device has a first orientation relative to a viewpoint of a user of the computer system in the environment, and displaying the user interface element in the environment comprises displaying the user interface element at an orientation angle relative to the viewpoint, the second orientation being different from the first orientation.

223. The method according to any one of claims 213 to 222, further comprising: displaying the user interface element in response to determining that the hardware input device has been detected in a predefined area of ​​the environment via the one or more input devices and that the hardware input device is in communication with the computer system; and Based on a failure to detect, via the one or more input devices, the hardware input device in the predefined area of ​​the environment and in communication with the computer system, display of the user interface element is foregone.

224. The method of any one of claims 213 to 223, further comprising: A visual indication of a status of the hardware input device is displayed, wherein: Based on determining that the hardware input device has the first position relative to the environment, the visual indication is displayed at a fifth position in the environment in a second spatial relationship relative to the hardware input device; and Based on determining that the hardware input device has the third position relative to the environment, the visual indication is displayed at a sixth position in the environment different from the fifth position and in a second spatial relationship relative to the hardware input device.

225. The method of any one of claims 213 to 224, further comprising: When displaying the user interface element at a fifth position in the environment from a first viewpoint of a user of the computer system when the hardware input device has a sixth position relative to the environment via the display generation component, the fifth position has the first spatial relationship relative to the hardware input device: detecting movement of the user's viewpoint from the first viewpoint to a second viewpoint different from the first viewpoint; and In response to detecting the movement of the viewpoint of the user from the first viewpoint to the second viewpoint: Based on determining that the hardware input device has the sixth position relative to the environment, display of the user interface element at the fifth position in the environment via the display generation component is maintained.

226. The method of any one of claims 213 to 225, further comprising: while displaying the user interface element including the text entry field, displaying, via the display generation component, a user interface including a second text entry field having current focus of the hardware input device; as well as In response to receiving the text entry input, the second text entry field is updated to include the text corresponding to the text entry input.

227. The method according to claim 226, further comprising: Upon displaying the user interface element at a fifth location in the environment via the display generation component and displaying the user interface including the second text entry field: receiving, via the one or more input devices, input corresponding to a request to update a position of the user interface including the second text entry field; In response to receiving the input corresponding to the request to update the position of the user interface including the second text entry field, updating the position of the user interface including the second text entry field while maintaining display of the user interface element at the fifth position in the environment.

228. The method of any one of claims 226 to 227, further comprising: While displaying the user interface element at a fifth location in the environment via the display generating component, and while the second text entry field has the current focus of the hardware input device: receiving, via the one or more input devices, input corresponding to a request to update the current focus of the hardware input device from the second text entry field to a third text entry field; as well as In response to receiving the input corresponding to the request to update the current focus of the hardware input device from the second text entry field to the third text entry field, updating the current focus of the hardware input device from the second text entry field to the third text entry field while maintaining display of the user interface element at the fifth position.

229. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system that communicates with a display generating component and one or more input devices, the one or more programs comprising instructions for executing a method according to any one of claims 213 to 228.

230. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs 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 213 to 228.

231. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: A component for performing a method according to any one of claims 213 to 228.

232. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of a computer system in communication with a display generation component and one or more input devices, the one or more programs comprising instructions for: A user interface element including a text entry field is displayed in an environment via the display generation component, wherein: Based on determining that a hardware input device of the one or more input devices has a first position relative to the environment, the user interface element is displayed at a second position in the environment in a first spatial relationship relative to the hardware input device, and Based on determining that the hardware input device has a third position relative to the environment, the third position being different than the first position relative to the environment, the user interface element is displayed at a fourth position in the environment in the first spatial relationship relative to the hardware input device; as well as When displaying the user interface element in the environment in the first spatial relationship relative to the hardware input device: receiving text entry input via the hardware input device; and In response to receiving the text entry input: The text entry field is updated to include text corresponding to the text entry input.

233. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: one or more processors; and A memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for: A user interface element including a text entry field is displayed in an environment via the display generation component, wherein: Based on determining that a hardware input device of the one or more input devices has a first position relative to the environment, the user interface element is displayed at a second position in the environment in a first spatial relationship relative to the hardware input device, and Based on determining that the hardware input device has a third position relative to the environment, the third position being different than the first position relative to the environment, the user interface element is displayed at a fourth position in the environment in the first spatial relationship relative to the hardware input device; as well as When displaying the user interface element in the environment in the first spatial relationship relative to the hardware input device: receiving text entry input via the hardware input device; and In response to receiving the text entry input: The text entry field is updated to include text corresponding to the text entry input.

234. A computer system in communication with a display generation component and one or more input devices, the computer system comprising: means for displaying, via the display generating component, a user interface element comprising a text entry field in an environment, wherein: Based on determining that a hardware input device of the one or more input devices has a first position relative to the environment, the user interface element is displayed at a second position in the environment in a first spatial relationship relative to the hardware input device, and Based on determining that the hardware input device has a third position relative to the environment, the third position different from the first position relative to the environment, the user interface element is displayed at a fourth position in the environment in the first spatial relationship relative to the hardware input device; and Means for performing the following operations when displaying the user interface element in the environment in the first spatial relationship relative to the hardware input device: receiving text entry input via the hardware input device; and In response to receiving the text entry input: The text entry field is updated to include text corresponding to the text entry input.