# Patent

## Title
Pointer tool with touch-enabled precise placement

## Abstract

A pointer tool in a touch-screen display is disclosed. The method includes activating a pointer tool in a touch screen display in response to contact with an area of the touch screen and persisting the displaying of the pointer tool in the touch screen display after the contact with the touch screen is removed. Once editing data is received, the pointer tool is removed from the touch screen display.

## Background
FIELD
The disclosed embodiments relate generally to user interfaces, and more particularly to a pointer tool for a user interface.
BACKGROUND
With the increasing popularity of mobile devices, including cellphone devices, handheld devices, handheld computers, smartphones, PDAs, etc., there is a need for improving the user interface experience by increasing user input entry speed, reducing entry errors, and improving the overall user experience.
Mobile devices with capacitive or resistive touch capabilities are well known. Modern mobile phones have evolved over recent years to the point where they now possess a broad range of capabilities. They are not only capable of placing and receiving mobile phone calls, multimedia messaging (MMS), and sending and receiving email, they can also access the Internet, are GPS-enabled, possess considerable processing power and large amounts of memory, and are equipped with high-resolution color liquid crystal displays capable of detecting touch input. As such, today's mobile phones are general purpose computing and telecommunication devices capable of running a multitude of applications. For example, modern mobile phones can run web browser, navigation system, media player and gaming applications.
Along with these enhanced capabilities has come a demand for larger displays to provide a richer user experience. Mobile phone displays have increased in size to the point where they can now consume almost the entire viewing surface of a phone. To increase the size of displays any further would require an increase in the size of the phones themselves. Even with the display size being at its maximum, the content on the display remains relatively small.
Indeed, a finger touching the display can obfuscate the very content being manipulated, making precise operations difficult. For example, moving an insertion point in text often requires a user to grab and drag an insertion cursor. However, the cursor is small relative to a user's finger and often positioned amongst other characters. As a result, the touch screen needs to decide whether the user is attempting to grab the cursor or select the surrounding text. With the user's finger covering both the cursor and text simultaneously, it is impossible to know what operation is being attempted. As a result, the user interface often provides inconsistent results, which causes user frustration.
SUMMARY
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The above deficiencies and other problems associated with interacting with touch screen displays are reduced or eliminated by the disclosed pointer tool. The claimed subject matter is not limited to implementations that solve any or all of the noted disadvantages.
The pointer tool allows an insertion point of text to be interactively changed and manipulated by a user. In one embodiment, the pointer tool can be activated (such as by a press-and-hold operation) on the user interface display. When activated, the pointer tool can be automatically positioned adjacent the user's finger regardless of the location of a current cursor. In the activated mode, the pointer tool can be free floating on the user interface and can move with the user's finger to create an insertion point for entering information. Once the user moves the pointer tool to the desired location, the user can remove his or her finger from the display and the pointer tool can persist on the user interface. As such, the user can re-grab the pointer tool (without the need to reactivate it) and move it to a different location. Once the user enters editing information or re-taps the display, the pointer tool can be automatically removed from the display.
In another embodiment, the pointer tool can be an enlarged “I” beam that is greater in size than text on the user interface. Additionally, a triangle or other symbol can be associated with the I-beam and located near the bottom thereof to weight the pointer tool and to prompt the user to grab the pointer tool at the bottom so as not to obfuscate the content being manipulated.
In yet another embodiment, the pointer tool can automatically switch between two modes of operation: a free floating mode wherein the pointer tool can move wherever the user's finger is located and independently of content (e.g., the pointer tool can float over the top of text); and a notched mode wherein the pointer tool can only move to possible cursor positions and, consequently, is dependent upon content. For example, when a user's finger is within a predetermined distance from a candidate cursor location, the pointer tool automatically changes to the notched mode wherein the pointer tool can move to potential cursor locations so it does not overlap with text.
In still a further embodiment, the user can move the pointer tool near a boundary of the display in order to initiate an auto-scrolling mode wherein text outside of a visible area can be automatically scrolled into view.
The foregoing and other features, and advantages will become more apparent from the following detailed description, which proceeds with reference to the accompanying figures.



BRIEF DESCRIPTION OF THE DRAWINGS
FIGS. 1A-1D illustrate an embodiment of using a pointer tool to edit data.
FIG. 2 is a flow diagram illustrating an embodiment of using a pointer tool.
FIG. 3A illustrates an embodiment of a pointer tool graphic.
FIG. 3B illustrates an embodiment of a pointer tool hit target.
FIG. 3C illustrates an embodiment of a notched pointer tool.
FIGS. 4A-4C illustrate embodiments of a pointer tool as it moves in a user interface.
FIGS. 5A-5B illustrate an embodiment of a pointer tool transitioning from floating mode to notched mode.
FIG. 5C illustrates an embodiment of a pointer tool transitioning to notched mode.
FIGS. 6A-6F illustrate an embodiment of using a pointer tool to manipulate text in a single line edit field.
FIG. 7A illustrates an embodiment of a pointer tool being used with a stylus.
FIG. 7B illustrates an embodiment of a pointer tool used for selecting a word.
FIG. 7C illustrates an embodiment of a pointer tool used for handwriting on a screen.
FIG. 7D illustrates an embodiment of a pointer tool being used for scrolling.
FIG. 8A illustrates various embodiments of hit test points for fingers.
FIG. 8B illustrates an embodiment of a vector used to detect finger movement.
FIG. 8C illustrates an embodiment of a pointer tool hot spot offset from a contact point.
FIG. 9 is a flow diagram that illustrates an embodiment of activating a pointer tool.
FIG. 10 is a block diagram illustrating an exemplary mobile device.
FIG. 11 is a block diagram that illustrates an example of a suitable computing environment for implementing a pointer tool user interface.
FIG. 12A illustrate a generalized example of a suitable architecture for implementing a pointer tool user interface.
FIG. 12B illustrates an embodiment of a user interface framework using a text editing engine.



DETAILED DESCRIPTION
Reference will now be made in detail to embodiments, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be apparent to one of ordinary skill in the art that the embodiments may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the embodiments.
Accordingly, FIGS. 1A-1D illustrate one embodiment for implementing a pointer tool. FIG. 1A shows text 100 entered into display 110 on a mobile device touch sensitive screen 114. Also, FIG. 1A shows a finger 118 contacting the touch screen 114 and activating pointer tool 120 at a precise point in the text. Notably, the user can touch anywhere in the text to activate the pointer tool regardless of the current location of a cursor. Additionally, the pointer tool 120 is shown as an enlarged “I” beam that is sized to be larger than the text. Additionally, the I-beam has a triangle at the lower end thereof to weight the I-beam and prompt the user to grab below the I-beam. FIG. 1B illustrates an example of the pointer tool persisting in the display 110 after finger contact with the touch screen 114 is removed. FIG. 1C shows an example of finger 118 re-grabbing the pointer tool within a hit target 124 and moving or dragging the pointer tool 120 to a cursor position insertion point in the text string 100. In this example, the pointer tool is moved by dragging finger 118 and moving the contact point with the touch screen 114. FIG. 1D shows an example of the pointer tool removed from the display and replaced by a cursor 130 at its last location, when editing data 136 is entered into the display 110.
FIG. 2 is a flowchart of a method that illustrates using a pointer tool. In various implementations, the illustrated process blocks may be merged, divided into sub-blocks, or omitted. At block 200 the pointer tool is activated. For example, the pointer tool can be implemented as a floating user interface element that comes up near the top edge of a user's finger, in response to when the user presses and holds on a touch screen. When floating, the pointer tool can appear anywhere in the user interface, including overlapping with text or wherever a cursor can be displayed. For example, the pointer tool, upon activation, may be located at any position within a body of text. Also, the pointer tool can be displayed in an edit control, text editing box, data entry screen, input data field, editable text field, or menu screen. The pointer tool can also be activated in some other manner, such as through pressing a button, key, menu item, or through voice activation, detected device movement, or a camera detected gesture. The cursor can disappear upon pointer tool activation or continue to be displayed. The distance from the contact point with the touch screen and the edge of the pointer can be a predetermined distance, such as a specific number of pixels (e.g. 40 pixels). Also, the pointer tool can be activated in a display and can be independent of the location of a cursor, which enables users to precisely place the pointer tool without having to grab a cursor. However, the pointer tool can include a cursor or activate relative to a cursor's location. In some embodiments, the activation of the pointer tool can be animated or not, and can play a sound upon activation. The pointer tool, upon activation or otherwise, desirably does not magnify or displace surrounding text or data, although it can do so. In another embodiment, contact would not have to be made on text to activate the pointer tool. For example, the pointer tool can be activated in the display where there is no text or entered data. In one embodiment activating the pointer tool can change functionality or the display of other areas. For example, the pointer tool can be active at the same time as other user interface elements. For example, the pointer tool can be active in a text entry area of the user interface at the same time that a keyboard is open. If a user types or accidentally hits a key on the keyboard, then the input can be ignored. Contact can be made with a finger, stylus, or some other object. Alternatively, the pointer tool can be activated, for example, upon detecting a gesture such as a press and hold, tapping, swiping, or panning.
At block 210 the pointer tool persists in the display after contact with the touch screen is removed, such as on a finger up. For example, the pointer tool continues to be displayed until removed. While persisting in the display the pointer tool can be re-grabbed. For example, the user can grab the pointer tool again by contacting the display near the pointer tool without re-activating the pointer tool. For example, the pointer tool can be re-grabbed by detecting contact with a touch screen within a hit target or area surrounding the pointer tool. When the pointer tool is grabbed it can be relocated. For example, after re-grabbing the pointer tool, the user's finger is dragged and the pointer tool follows the contact movement. Also, for example, the pointer tool can be relocated to an insertion point in an input data field. Additionally, the pointer tool can be moved between sections of the display. In one embodiment, the distance between the point of contact with the touch screen and the pointer tool location can be set at a certain distance (e.g. 40 pixels). Thus, the user can grab the pointer tool even though the user touches the screen within a predetermined distance from the pointer tool. In other embodiments, the pointer tool can be relocated through detecting a user command. For example, a user command could be a voice command, a camera detected gesture, or detected device movement.
The pointer tool can be placed at character level precision when relocated. For example, the pointer tool can be placed before or after any character. Also, for example, when in floating mode, upon releasing contact, such as a finger up, the pointer tool can be automatically re-positioned with character level precision, meaning the pointer tool can be automatically repositioned to a possible cursor location. After being re-positioned, the pointer tool can move in character increments.
In other embodiments, relocating the pointer tool in text allows for the generation of suggestions based on the location of the pointer tool. For example, in one embodiment, if the pointer tool is moved to the middle of a word, word suggestions can be generated based on the letters before the pointer tool location. Also, in other embodiments the suggestions can be generated in some other manner, and suggestions can be generated for multiple languages. Also, suggestions can be text strings, characters or addresses.
Removing the pointer tool from the touch screen display when data is entered or a gesture is detected is shown in block 220. For example, a gesture can be a defined and bounded motion by a user such as a tap on the screen, a flick, a pan, or some other motion. Also, for example, data can be entered by typing or selecting text. The data can be editing data. The data can be entered by a keyboard either on screen or hardware, through curve drawing, handwriting, or some other input method. An on-screen keyboard may have a variety of keys that can be selected with contact with the touch screen. Also, an on screen keyboard can be displayed simultaneously with the pointer tool. In some embodiments, the removal of the pointer tool can be animated and/or play a sound upon removal. In another example embodiment, the pointer tool can be removed if not re-grabbed in a predetermined period of time. Also, in another embodiment, the pointer tool, can be removed if an on screen keyboard is closed manually. In one embodiment, when the pointer tool is removed from the display, a cursor appears in the display where the pointer tool was located.
FIG. 3A is a diagram that shows an exemplary embodiment of a pointer tool graphic. For example, the pointer tool graphic can be an I-beam 300 with a triangle 302 or some other symbol adjacent to its bottom edge. The height 304 of the I-beam, for example, can be the distance between the top point on the ascender 308 for text in an editable text field and a descender 310. In FIG. 3A, the height of the I-beam is greater than the text to increase visibility. However, the height can vary depending on the particular application, and can even change with usability. The size of the triangle 302 can also vary. In additional embodiments, the pointer tool can be visually weighted towards the lower end to indicate where it is able to be grabbed so that it can be used such that text being manipulated by the user is not obscured. For example, the pointer tool can be an arrow, a triangle and cursor, triangle, or other symbol. In other embodiments, the pointer tool can have a large handle so that the pointer tool can be easily grabbed from below. For example, the triangle gives the user a visual indicator of where to grab the pointer tool. In some embodiments, the pointer tool is grabbable from below such that a user's finger does not obfuscate text or data being manipulated.
FIG. 3B illustrates an embodiment of a pointer tool 314 with a hit target 320. For example, the hit target 320 can indicate an area where the pointer tool can be grabbed or interacted with by contact with a touch screen. Thus, if the user touches anywhere within the hit target, the pointer tool 314 is automatically grabbed. The size of the hit target can vary depending on the application. For example, the hit target height, in one embodiment, can be half the height of the I-beam plus the height of the triangle plus a number of display pixels. The hit target width can be, for example, the width of the triangle plus 2 mm to the left and right. Also, for example, the hit target 320 can be larger than the pointer tool. The hit target 320 need not be visible to the user.
FIG. 3C illustrates an embodiment of a notched pointer tool. In FIG. 3C text is displayed into an edit field 322, and pointer tool 314 is notched in a cursor position. By notching, the pointer tool is not in a free-floating mode above the text, but rather moves to positions between the text where a cursor can be located. Contact can be made at contact area 330 within the hit target to grab the pointer tool 314.
Attention is now directed to FIGS. 4A-4C. FIGS. 4A-4C depict an example embodiment of a pointer tool moving according to one mode of operation. For example, at FIG. 4A the pointer tool 410 moves according to a floating mode and moves in a floating fashion. In floating mode, for example, the pointer tool moves with an area of contact 412 in the touch screen 414, and is independent of text location. For example, in floating mode the pointer tool can move so as to overlap with the text or can move in an area where there is no text at all. The pointer tool can be activated as floating when a press and hold occurs in a location such that the pointer tool is not aligned with text. Thus, in floating mode the pointer tool can be dragged or moved anywhere in a display. For example, the pointer tool can overlap the edge of an edit control, or the screen display edge, so use of the pointer tool is not degraded in those areas.
FIG. 4B shows an exemplary embodiment of the pointer tool transitioning from floating mode to notched mode. For example, in this embodiment, the pointer tool 410 can transition from floating mode to notched mode when the pointer tool enters an area relative to a possible cursor location 424. In one embodiment, when the pointer tool moves within a predetermined distance of a possible cursor location, the mode switches automatically to notched mode. In another example, the pointer tool 410 can transition from floating mode to notched mode when contact with a device touch screen is removed. For example, the pointer tool can relocate and notch to the closest possible cursor position.
FIG. 4C shows an exemplary embodiment of the pointer tool 410 moving according to a notched mode. For example, in this embodiment the pointer tool 410 can move according to a notched mode and move in a notched fashion. In notched mode, for example, the pointer tool 410 moves such that it is always located in a possible cursor position. In this example, pointer tool 412 moves from the cursor location 424 of FIG. 4B to cursor location 426 of FIG. 4C. The selected cursor position is typically the nearest possible cursor position to the finger or pointer tool. The pointer tool can activate, for example, such that it is aligned with text when it appears in the display and is notched at that position. Moving in a notched fashion allows for the pointer tool to move without overlapping text.
FIGS. 5A-5C show example embodiments of a pointer tool transitioning to notched mode. In the embodiment of FIG. 5A, pointer tool 500 is activated in floating mode in touch screen 510, by making contact with the touch screen 510 at area 512. Notably, the pointer tool is free floating and is positioned where a cursor can not be located. In the embodiment of FIG. 5B, the contact with the touch screen 510 is removed, and pointer tool 500 relocates to the nearest cursor position 522 and transitions to notched mode. In the example embodiment in FIG. 5C, the pointer tool 500 transitions to notched mode when the pointer tool hot spot 560 enters a margin 570 around a possible cursor position in text 580. Thus, when the pointer tool is at a predetermined distance from a potential cursor position, it automatically transitions to the notched mode by monitoring the location of the pointer tool, comparing it to a potential cursor location and calculating a distance between the two. If the distance is less than a predetermined amount the pointer tool is automatically converted to the notched mode and automatically moved to the cursor position.
FIGS. 6A-6F show an example embodiment of using the pointer tool to manipulate text in a single line edit field. In FIG. 6A pointer tool 600 can be activated in the single line edit field 604 by making contact with an area 610 of the touch screen 612, which coincides, at least in part, with the edit field 604. In FIG. 6B, the contact can be moved to area 620 and the pointer tool 600 can move in floating mode according to contact movement. In FIG. 6C, the pointer tool 600 can be moved near text in edit field 604 and transitions to notched mode. In FIG. 6D, the pointer tool 600 moves in a notched fashion in the edit field 604 according to contact movement to contact area 640. In FIG. 6E, contact with the touch screen 612 can be removed and pointer tool 600 can persist in the touch screen 612. In FIG. 6F, a cursor 650 appears, and the pointer tool can be removed from the touch screen 612 in response to text being removed from the single line edit field 604. In particular, the word “it's” is changed to “its” and the pointer tool is automatically terminated and replaced with a cursor.
FIGS. 7A-7D show additional embodiments of the pointer tool being used in various displays. FIG. 7A shows a computer 710 with pointer tool 720 in touch screen 730 being used with stylus 732. The pointer tool can be displayed in touch screens and screens that are not touch sensitive. The pointer tool 720 can be manipulated with a finger, a stylus, or a joystick. FIG. 7B shows an exemplary embodiment of a pointer tool 720 being used to select a word 736 in a television screen 738. FIG. 7C shows an exemplary embodiment of pointer tool 720 being used for handwriting on a screen 700. In other embodiments the pointer tool 720 can be used for other actions that require precise interaction with a touch screen, because the pointer tool allows for the user to clearly see where the pointer tool is pointing. FIG. 7D shows an embodiment of the pointer tool 720 being dragged to allow scrolling and showing of the complete contents of a text field or edit control 740. The scrolling can be automatic or otherwise. For example, whenever the pointer tool 720 reaches an area relative to (e.g. very close) or around the control edge 750 auto scroll can occur. The auto scroll can scroll vertically (e.g. Up/Down), horizontally (e.g. Right/Left), or some other direction depending upon direction of drag, edge or otherwise.
Exemplary Embodiment for Detecting Contact
FIGS. 8A-8C show embodiments of tracking contact movement for using the pointer tool. When an end-user is manipulating text, the finger can be used to manipulate the pointer tool. However, as a finger can be wider than the pointer tool, it is desirable to define a contact point associated with a finger. For example, FIG. 8A shows fingers and various contact points. If the center of the finger shown at 800 is used as the contact point for the location in the text range a user is selecting, the finger itself will cover this point. This can prevent the user from seeing feedback as changes are made. Alternatively, a leading edge of a finger's movement can be a contact point 802. If the point that is used to contact is actually to the side of the finger as shown in 804 and 806, then the end-user can see the changes as they are made. In alternative embodiments, the contact point can be the same as the point reported from the touch input system, above or below the finger contact area 802, 808 when the finger is generally moving up or down, to the right or left of the finger when the finger is generally moving to the right or left. In one example embodiment, as shown in FIG. 8B to determine the direction the finger is generally moving one can store three previous points and use the oldest with the current point to calculate a vector 814. This vector can be used to determine what direction the user is moving. FIG. 8C shows an example embodiment of a hot spot 820 relative to pointer tool 822 that can be offset from contact point 824 to be used in hit testing while using pointer tool 822.
FIG. 9 is a flow chart that illustrates an embodiment of activating a pointer tool. In various other implementations, the illustrated process blocks may be merged, divided into sub-blocks, or omitted. At block 900, a user gesture is detected on an activated editable field. At decision block 920 it is decided whether the edit field contains text. If there is text in the edit field, at decision block 930 it is decided if the detected gesture is a press and hold. If the detected gesture is a press and hold then the pointer tool is activated at block 940.
In alternative embodiments, for example, a press and hold gesture can be detected by detecting continuous contact with the touch screen while ignoring some slight movements of the finger within a specified tolerance range thereby interpreting a hold gesture. For example, the hold delay can be set at a duration (e.g. 500 ms). This can be achieved with a gesture engine specifying in a registry key in inch units without regard to dots per inch (DPI) differences, however this can work with various DPI. In another embodiment, upon a user gesture of press and hold, inside an editable field the pointer tool can activate near the top edge of the finger making contact with the touch screen. In a further embodiment, a press and hold on selected text can dismiss a selection and activate a pointer tool. In other embodiments, a press and hold on empty space can cause the pointer tool to activate. Also, for example, a press and hold towards the top most boundary of an edit field may cause the pointer tool to appear overlapping the edit field boundary. If a user, for example, drags a pointer tool on screen outside the edit field with text in the edit field, the pointer tool may follow the finger until finger is let up. In another embodiment, if an edit field is the topmost field in a display, a press and hold towards the top most boundary of the edit field may cause the pointer tool to appear overlapping the screen boundary. Part of a pointer tool may not be visible while overlapping the screen boundary. In another embodiment activating the pointer tool (e.g. via press and hold) in a single line edit field can display the pointer tool overflowing the boundary. If the pointer tool is overflowing the edit field, a user can, for example, drag such that the pointer tool aligns with text.
Exemplary User Scenario
In one exemplary scenario of an embodiment, a user can receive an email from a potential customer asking for a quote. The user can type out a reply with the work breakdown and quote for each item. Before she hits send, the user can re-read the reply and notice that one of the work items has the wrong quote; instead of $527 the user should have typed $5027. The user puts her finger on the figure and press and holds down. The user can then view a pointer tool appearing near her finger and follows her finger as she moves it around. The user can align the pointer tool to a cursor position that is after the digit “2”. Keeping her finger down, the user can drag it to the left and see the pointer tool move in real time and without changing the appearance of the text. As soon as the pointer tool is located before the digit “2” the user can stop dragging and lift her finger. The user can then press a Backspace key on the on-screen keyboard to delete the digit “0”. The pointer tool then can disappear and a cursor can take the position of the pointer tool in the display.
Exemplary Advantages
The following describes exemplary advantages of various embodiments. For example, the pointer tool can provide an improved way to precisely interact with touch sensitive displays. According to some embodiments, the pointer tool offers the user an intuitive way of moving a cursor or setting a target in a composition string through direct manipulation with a finger without causing occlusion of manipulated text. Another advantage, for example, of an embodiment of a pointer tool is that it enables a user to place a cursor without having to grab the existing cursor. Also, the text that can be edited with the pointer tool can be from a soft keyboard or imported from other devices, or some other text source. Furthermore, exemplary embodiments of the pointer tool can be used for precise curve drawing or handwriting in a display. In some embodiments, the pointer tool is weighted toward the bottom to encourage a user to grab it at that end so that the insertion point, where data can be entered, is viewable while the pointer tool is being used. Because the pointer tool does not need to displace or magnify surrounding text the user does not have to change their mental focus to manipulate content, and the usability of the pointer tool is not degraded on the edges of a screen or device. Also, in an exemplary embodiment, the pointer tool can persist in the display so a user can review their work or extend a task without having to reactivate the pointer tool.
Example Mobile Environment
FIG. 10 is an exemplary mobile device 1000 including a variety of optional hardware and software components, shown generally at 1002. Any components 1002 in the mobile device can communicate with any other component, although not all connections are shown, for ease of illustration. The mobile device can be any of a variety of computing devices (e.g., cell phone, handheld computer, Personal Digital Assistant (PDA), etc.) and can allow wireless two-way communications with one or more mobile communications networks 1004, such as a cellular or satellite network.
The illustrated mobile device can include a controller or processor 1010 (e.g., signal processor, microprocessor, ASIC, or other control and processing logic circuitry) for performing such tasks as signal coding, data processing, input/output processing, power control, and/or other functions for implementing the mobile device. An operating system 1012 can control the allocation and usage of the components 1002 and support for one or more application programs 1014, and support for the pointer tool user interface 1015. The application programs typically include email applications, calendars, contact managers, web browsers, text and media messaging applications.
Memory 1020 can include non-removable memory 1022 and/or removable memory 1024. The non-removable memory 1022 can include RAM, ROM, flash memory, a hard disk, or other well-known memory storage technologies and can be used for storing data and/or code for running the operating system 1012, the applications 1014, and the pointer tool user interface 1015. Example data can include web pages, text, images, sound files, video data, or other data sets to and from one or more network servers or other mobile devices via one or more wired or wireless networks. The removable memory 1024 can include flash memory or a Subscriber Identity Module (SIM) card, which is well known in GSM communication systems, or other well-known memory storage technologies, such as “smart cards.” The memory 1020 can be used to store a subscriber identifier, such as an International Mobile Subscriber Identity (IMSI), and an equipment identifier, such as an International Mobile Equipment Identifier (IMEI). Such identifiers can be transmitted to a network server to identify users and equipment.
The mobile device can support one or more input devices 1030, such as a touch screen 1032, microphone 1034, camera 1036, physical keyboard 1038 and/or trackball 1040, joystick, mouse, and one or more output devices 1050, such as a speaker 1052 and a display 1054. Other possible output devices (not shown) can include piezoelectric or other haptic output devices. Touch screen 1032 can support, an on screen keyboard, edit controls, and the like.
A wireless modem 1060 can be coupled to an antenna (not shown) and can support two-way communications between the processor 1010 and external devices, as is well understood in the art. The modem 1060 is shown generically and can include a cellular modem for communicating with the mobile communication network 1004 and/or other radio-based modems (e.g., Bluetooth or Wi-Fi). The wireless modem 1060 is typically configured for communication with one or more cellular networks, such as a GSM network for data and voice communications within a single cellular network, between cellular networks, or between the mobile device and a public switched telephone network (PSSTN).
The mobile device can further include at least one input/output port 1080, a power supply 1082, a satellite navigation system receiver 1084, such as a Global Positioning System (GPS) receiver, an accelerometer 1086, a transceiver 1088 (for wirelessly transmitting analog or digital signals) and/or a physical connector 1090, which can be a USB port, IEEE 1094 (firewall) port, and RS-232 port. The illustrated components 1002 are not required or all-inclusive, as any components can deleted and other components can be added.
Example Computing Environment
FIG. 11 illustrates a generalized example of a suitable computing environment 1100 in which described embodiments, techniques, and technologies may be implemented. For example, the computing environment 1100 can be one of the computing devices (e.g., a mobile device) used to implement the pointer tool 1130.
The computing environment 1100 is not intended to suggest any limitation as to scope of use or functionality of the technology, as the technology may be implemented in diverse general-purpose or special-purpose computing environments. For example, the disclosed technology may be implemented with other computer system configurations, including hand held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, and the like. The disclosed technology may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
With reference to FIG. 11, the computing environment 1100 includes at least one central processing unit 1110 and memory 1120. In FIG. 11, this most basic configuration 1130 is included within a dashed line. The central processing unit 1110 executes computer-executable instructions and may be a real or a virtual processor. In a multi-processing system, multiple processing units execute computer-executable instructions to increase processing power and as such, multiple processors can be running simultaneously. The memory 1120 may be volatile memory (e.g., registers, cache, RAM), non-volatile memory (e.g., ROM, EEPROM, flash memory, etc.), or some combination of the two. The memory 1120 stores software 1190 that can, for example, implement the technologies described herein. A computing environment may have additional features. For example, the computing environment 1100 includes storage 1140, one or more input devices 1150, one or more output devices 1160, and one or more communication connections 1170. An interconnection mechanism (not shown) such as a bus, a controller, or a network, interconnects the components of the computing environment 1100. Typically, operating system software (not shown) provides an operating environment for other software executing in the computing environment 1100, and coordinates activities of the components of the computing environment 1100.
The storage 1140 may be removable or non-removable, and includes magnetic disks, magnetic tapes or cassettes, CD-ROMs, CD-RWs, DVDs, or any other medium which can be used to store information and which can be accessed within the computing environment 1100. The storage 1140 stores instructions for the software 1190, which can implement technologies described herein.
The input device(s) 1150 may be a touch input device, such as a keyboard, keypad, mouse, pen, or trackball, a voice input device, a scanning device, or another device, that provides input to the computing environment 1100. The environment may also have a touch screen 1180 as an input device and display. For audio, the input device(s) 1150 may be a sound card or similar device that accepts audio input in analog or digital form, or a CD-ROM reader that provides audio samples to the computing environment 1100. The output device(s) 1160 may be a display, printer, speaker, CD-writer, or another device that provides output from the computing environment 1100.
The communication connection(s) 1170 enable communication over a communication medium (e.g., a connecting network) to another computing entity. The communication medium conveys information such as computer-executable instructions, compressed graphics information, or other data in a modulated data signal.
Computer-readable media are any available media that can be accessed within a computing environment 1100. By way of example, and not limitation, with the computing environment 1100, computer-readable media include memory 1120, storage 1140, communication media (not shown), and combinations of any of the above.
Computer-readable media are any available media that can be accessed within a computing environment 1100. By way of example, and not limitation, with the computing environment 1100, computer-readable media include memory 1120 and/or storage 1140. As should be readily understood, the term computer-readable storage media includes the media for data storage such as memory 1120 and storage 1140, and not transmission media such as modulated data signals.
Exemplary Architecture
FIG. 12A illustrates a generalized example of a suitable architecture 1200 in which described embodiments, techniques, and technologies may be implemented. Other architectures and implementations can be used also. For example, in FIG. 12A, a device can have an edit field control 1208. The edit field control can build on top of a user interface framework 1210. For example, the edit control can utilize the features of a text editing engine 1218 by using API exposed through objects in the user interface framework 1210, which in turn communicate through an events interface 1240 to a text editing engine 1218. In an example embodiment, text editing engine 1218 is a component that does complex layout and formatting of text, supports editing behaviors, and can provide a windowed/GDI control and a window-less control. The edit field control can implement the pointer tool to allow an end-user to precisely place the pointer tool or interact with a touch screen display. In another embodiment, an API function can allow displaying of the pointer tool at an arbitrary screen coordinate outside of an edit field control.
Furthermore, in one embodiment, a user interface framework can communicate touch input through input handlers. An edit field control can consume a handler that can be modified to communicate touch events to a text editing engine through a touch events interface. The touch events interface can contain a method that can allow the text editing hosts, such as a user interface framework, to forward touch input directly to the touch events interface without the need to directly forward window events.
In another embodiment, a method in a touch events interface to a text editing engine can be implemented to perform selection behavior. For example, selection and pointer tool placement can be modified using selection and pointer tool internal APIs of a text editing engine.
FIG. 12B, illustrates an embodiment of using a text editing engine without a window message, which can be used by a user interface framework. In one embodiment, a text editing engine can function through a dual relationship between a host interface 1250 and a touch events interface 1260. Depending on the features needed or used, various versions of these interfaces can exist. The application 1262 (e.g. framework) can implement its own host interface 1250 making calls to and receiving information from the touch events interface 1260. An embodiment using window events can be implemented by a text editing engine implementing the host and an application can create a window type that corresponds with the host.
In an example embodiment, in order to place the pointer tool at the correct location on screen, a text editing engine can communicate with hosts through a client-to-screen method. This communication can allow a user interface framework host to convert between text editing engine coordinates and screen coordinates.
Furthermore in another example embodiment, a host interface can be an interface that a text editing engine exposes for hosts to implement in order for the text editing engine to communicate with the host. For example, a method of the interface can allow hosts to be notified when the pointer tool is updated. For example, it returns OK if the host handles updating the pointer tool, or returns FALSE if the host uses a default implementation of the pointer tool.
In one embodiment, for example, the pointer tool can be implemented by calling HRESULT CaretPlacementArrow (bool visible, bool interactive, int x, int y, int height). For example, the parameters can describe whether to display or hide the pointer tool, whether the pointer tool is being interacted with, screen coordinates for locating the pointer tool, and the height of the pointer tool. In one implementation, to assist in calculations, macros and constants can be defined for update of the pointer tool. For example, the amount of offset from the actual touch point to create the hotspot to be used in hit testing can be defined. Also, for example, when in floating mode or when a line height is not available, the height of the pointer tool can be defined as a default height. Additionally, for example, in one embodiment, a margin around a cursor position that transitions the pointer tool from floating mode to notched mode when the pointer tool hotspot enters the margin can be defined.
Example Alternatives and Combinations
In view of the many possible embodiments to which the principles of the disclosed invention may be applied, it should be recognized that the illustrated embodiments are only preferred examples of the invention and should not be taken as limiting the scope of the invention. Rather, the scope of the invention is defined by the following claims. We therefore claim as our invention all that comes within the scope of these claims.

## Claims

1. A computer-implemented method comprising:
activating a pointer tool in a touch screen display in response to a contact with an area of the touch screen display to display the pointer tool, the pointer tool displayed independent of a location of text in a floating mode such that the pointer tool can be positioned in locations in which a cursor cannot be located, the pointer tool being independent of a location of the cursor and a position of the pointer tool is independent of the text, wherein, in the floating mode, the pointer tool moves in relation to the text without duplication or magnification of the text;
when the pointer tool enters an area that is a predetermined distance relative to a possible cursor position in the text, automatically relocating the pointer tool to notch to the possible cursor position in the text, so as to transition from the floating mode to a notched mode wherein the pointer tool is dependent upon the text;
persisting the displaying of the pointer tool in the touch screen display after the contact with the touch screen display is removed; and
removing the pointer tool from the touch screen display in response to receiving editing data.

2. The computer-implemented method of claim 1 further comprising:
relocating the pointer tool in the touch screen display to an insertion point at character level precision.

3. The computer-implemented method of claim 2,
wherein, in the floating mode, the pointer tool moves in a floating fashion respective to the area of contact with the touch screen display.

4. The computer-implemented method of claim 1,
wherein locating the pointer tool in the touch screen display upon activation is independent of the location of the cursor and both the cursor and the pointer tool are displayed simultaneously.

5. The computer-implemented method of claim 1 further comprising:
re-grabbing the pointer tool without reactivating the pointer tool by detecting a contact with the touch screen display in a hit target area of the pointer tool after the contact with the touch screen display has been removed.

6. The computer-implemented method of claim 1, wherein the pointer tool is visually weighted towards a lower end thereof to indicate an area of the touch screen where the pointer tool is able to be grabbed so that a manipulated text is not obscured.

7. The computer-implemented method of claim 1, wherein the pointer tool comprises one selected from a list comprising: an I-beam, a triangle, an arrow, or an I-beam and triangle.

8. The computer-implemented method of claim 1 further comprising: scrolling the text into view by detecting the pointer tool located in an area relative to an edge of an input data field to scroll through the input data field.

9. The computer-implemented method of claim 1 further comprising: selecting text using the pointer tool.

10. The computer-implemented method of claim 1, wherein the contact with the touch screen display is made with one selected from a list comprising: a stylus, or a finger.

11. A computer-readable storage medium, which is non-volatile, storing computer-executable instructions that cause a computing device coupled to a touch screen to perform a method, the method comprising:
activating a pointer tool in a touch screen display to display the pointer tool in response to a contact with the touch screen display, a location of the pointer tool upon activation being independent of a cursor location and a location of text, the pointer tool movable in a floating mode to locations in the touch screen display in which the cursor cannot be located and locations where the cursor can be located and, in the floating mode, the pointer tool moves in relation to the text without duplication or magnification of the text;
when the pointer tool enters an area that is a predetermined distance relative to an insertion point in the text, automatically relocating the pointer tool in the touch screen display to be notched at the insertion point at character level precision, at least by displaying the pointer tool relative to a contact movement indicating the insertion point, wherein the pointer tool at the insertion point is displayed such that the text in the touch screen display is not overlapped;
persisting the displaying of the pointer tool in the touch screen display after the contact with the touch screen display is removed; and
removing the pointer tool from the touch screen display in response to receiving editing data.

12. The computer-readable storage medium of claim 11, further comprising: wherein, in the floating mode, the pointer tool moves in a floating fashion respective to the area of contact with the touch screen display.

13. The computer-readable storage medium of claim 11, further comprising: re-grabbing the pointer tool by detecting a different contact with the touch screen display; and wherein the pointer tool is visually weighted towards the lower end to indicate an area of the touch screen display where the pointer tool is able to be grabbed so that a manipulated text is not obscured.

14. The computer-readable storage medium of claim 11, further comprising:
wherein the pointer tool comprises an I-beam and a triangle.

15. The computer-readable storage medium of claim 11, further comprising: wherein the pointer tool moves in a notched fashion respective to an area of contact with the touch screen display, wherein moving in the notched fashion comprises locating the pointer tool in possible cursor locations such that the pointer tool does not overlap the text.

16. The computer-readable storage medium of claim 11, further comprising:
wherein the pointer tool moves in a floating fashion respective to an area of contact with the touch screen display until the pointer tool enters the area relative to the insertion point; and
moving the pointer tool in a notched fashion when the pointer tool enters the area relative to the insertion point, wherein moving in the notched fashion comprises locating the pointer tool in possible cursor locations such that the pointer tool does not overlap the text.

17. The computer-readable storage medium of claim 11, further comprising: re-grabbing the pointer tool without reactivating the pointer tool by detecting a different contact with the touch screen display in an area respective of the pointer tool after the contact with the touch screen has been removed.

18. A computer-implemented method comprising:
activating a pointer tool on a touch screen display in response to a contact with an area of the touch screen display that coincides at least in part with a single line edit field, wherein the activating comprises:
detecting a press and hold gesture on a selection of text;
responsive to the detecting of the press and hold gesture on the selection of the text, dismissing the selection of the text; and
responsive to the detecting of the press and hold gesture on the selection of the text, displaying the pointer tool that is independent of a cursor, the pointer tool displayed such that part of the pointer tool is not visible while overlapping a boundary of the touch screen display above the area of a contact with the touch screen display;
moving the pointer tool, in response to a user input, in a free floating mode to a location that the cursor cannot be positioned, the pointer tool movement in the free floating mode being independent of a cursor placement;
when the pointer tool enters an area that is a predetermined distance relative to a first cursor position in an editable text field, automatically relocating the pointer tool in the touch screen display to the first cursor position in the editable text field to be aligned with text at character level precision, at least by moving the pointer tool in the touch screen display relative to a first contact movement indicating the first cursor position in the editable text field, wherein the pointer tool at the first cursor position is displayed so that the text is not overlapped in the editable text field;
wherein the pointer tool moves in a floating fashion without duplication or magnification of the text until the pointer tool enters the area that is the predetermined distance relative to the first cursor position in the editable text field;
moving the pointer tool in a notched fashion when the pointer tool enters the area that is the predetermined distance relative to the first cursor position in the editable text field, wherein moving in the notched fashion comprises locating the pointer tool in possible cursor positions such that the pointer tool does not obscure the text;
persisting the displaying of the pointer tool in the touch screen display after the contact with the touch screen display is removed;
relocating the pointer tool by re-grabbing the displayed pointer tool through a different contact with the touch screen display within a pointer tool hit target area and moving the pointer tool to a second cursor position relative to a second contact movement; and
removing the pointer tool from the touch screen display when a text character is entered into the editable text field.