The disclosure of Japanese Patent Application No. 2009-227169 filed on Sep. 30, 2009, No. 2010-077254 filed on Mar. 30, 2010, and No. 2010-103853 filed on Apr. 28, 2010 including the claims, specification, drawings and abstract thereof, is incorporated herein by reference in its entirety.
1. Technical Field
The present disclosure relates to an information display device that performs a predetermined function according to a touch panel operation.
2. Related Art
In recent years, portable electronic devices such as cellular phones, PDAs (Personal Digital Assistant), electronic dictionaries, and music players have become increasingly popular. In order to downsize an operation part that a user operates, widely-used portable electronic devices include a transparent-type touch panel, that detects a touch and a touched point, in front of a display part. On the transparent-type touch panel, the user can perform an input by looking at a display screen on the display part where selectable items, such as icons, file names, and the like, are displayed, and touching a part of the touch panel that corresponds to a display position of the selected item. Although the display screen of a portable electronic device has a small area, more and more selectable items can be displayed on such display screen as the resolution of the display screen increases.
When a portable electronic device displays an image in a size greater than the display area of the display screen, the display area is set to a part of the image, and a scroll display is performed by moving the display area on the image through the user touching the touch panel provided in front of the display screen. For example, Japanese Patent Application Publication No. JP-A-6-149531 discloses a scroll control device, in which the scroll display is possible by the user performing a drag operation on the touch panel.
According to a first aspect, an information display device includes: a display part, a touch panel, a function execution unit, a touched-point number determination unit and a function control unit. The touch panel is provided in front of the display part and detects a drag operation. The function execution unit executes a predetermined function according to the drag operation. The touched-point number determination unit determines the number of touched points in the drag operation detected by the touch panel. The function control unit changes a control parameter of the predetermined function to be executed by the function execution unit according to the number of touched points determined by the touched-point number determination unit.
According to a second aspect, a method is provided for performing a predetermined function by an information display device in response to a drag operation on a touch panel of the information display device. The method includes determining a number of touched points in the drag operation as detected by the touch panel, and executing the predetermined function differently depending on the determined number of touched points.
According to a third aspect, a computer-readable medium contains a program for causing, when executed by a central processing unit of an information display device computer, the central processing unit to execute, in response to a drag operation on a touch panel of the information display device, a predetermined function differently depending on a number of touched points in the drag operation.
An information display device according to exemplary embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
The information display device 1 includes, in addition to the CPU (Central Processing Unit) 6 as a control part, a ROM (Read Only Memory) 7 that records a computer program to be executed in the CPU, a RAM (Random Access Memory) 8, and a recording part 9 that records data, e.g., map data for generating an image, e.g., a map image, to be displayed on the display part 3. The CPU 6, which is connected to the respective hardware parts in the information display device 1 through a bus 10, controls the respective hardware parts and executes processing of various kinds of software by reading and executing in the RAM 8 a computer program recorded in the ROM 7 and/or recording part 9. The RAM 8, ROM 7 or recording part 9 is/are also referred to herein as a computer-readable recording medium that, in some embodiments, includes external/removable and/or internal/built-in storage or memory unit, e.g., one or more of an optical disk, such as a DVD, a magnetic disk, such as a hard disk, a semiconductor memory, such as a memory card, and the like.
A drag operation is recognized by the information display device 1 when the user's finger physically contacts the touch panel 2 and slides on a surface of the touch panel 2, while keeping the contact, such that the change in the touched position (dragging distance) as indicated by a touch panel signal becomes equal to or more than a predetermined distance. The predetermined distance utilized for recognizing whether a user's touch on the touch panel 2 is a drag operation or not may be empirically acquired based on the changes in the touched position as detected by the touch panel 2 in operations where the user does not intend to perform a drag operation. Such predetermined distance is recorded in the ROM 7 or the recording part 9.
Next, the drag operation when the number of touched points is more than one, e.g., two, will be described with
Based on the number of touched points determined at S41, the CPU 6 changes, in the function control part 5, a control parameter of a predetermined function to be executed by the function execution part 11 (S42). For example, if the number of touched points has been determined as two touched points, the CPU 6 performs control such that a scroll movement amount of the image caused by a drag operation over a predetermined dragging distance, that is, the control parameter of a scroll function (the predetermined function), is greater than (for example, twice as much as) a scroll movement amount of the image caused by the same drag operation over the same predetermined dragging distance when the number of touched points has been determined as one touched point. When the user performs the drag operation on the touch panel 2 (S33), the CPU 6 performs, in the function execution part 11, a scroll as controlled by the function control part 5 (S34).
In the above description of the first embodiment, a partial image displayed on the display part 3 is a part of the map image generated from the map data, which is recorded in the recording part 9. However, the partial image is not limited to such configuration, and, in some configurations, includes a part of any image, such as graphic user-interface (GUI), window, text or the like that is being displayed in a size greater than the display screen of the display part 3. For example, the first embodiment is applicable to a list scroll when there are too many items to be displayed in the display screen in a list display.
Alternatively or additionally, the first embodiment is applicable to a case where the number of touched points has changed during the drag operation. For example, when the user starts the drag operation with one finger (one touched point) and subsequently changes to perform the drag operation with two fingers (two touched points), the control parameter (e.g., the scroll movement amount) of the scroll function is changed according to the change of the number of touched points.
In some configurations, the information display device 1 is built into a portable electronic device, such as a portable telephone device or a portable music player or a navigation device or the like, and has a small display screen. According to the present embodiment, if the number of touched points has been determined as two touched points, the scroll function is controlled such that the scroll movement amount caused by a drag operation is twice as much as that when the number of touched points has been determined as one touched point. Thus, a drag operation with two touched points will scroll the image twice as far as the same drag operation (over the same dragging distance) with one touched point. Thus, the desired position on the image can be reached faster, i.e., with fewer drag operations, by dragging with more than one touched points than with a single touched point. However, any control is possible as long as the control parameter of the scroll function (or any other function associated with the drag operation) differs according to different numbers of touched points.
Based on the number of touched points determined at S41, the CPU 6 controls, in the function control part 5, the function to be executed by the function execution part 11 (S42). For example, if the number of touched points has been determined as two touched points, the CPU 6 performs control such that a scale change amount caused by a drag operation over a predetermined dragging distance, that is, the control parameter of a scale change function (the predetermined function), is greater than (for example, twice as much as) a scale change amount caused by the same drag operation over the same predetermined dragging distance when the number of touched points has been determined as one touched point. When the user performs the drag operation on the touch panel 2 at S63, the CPU 6 performs, in the function execution part 11, a scale change as controlled by the function control part 5 (S64).
The second embodiment is applicable to a case where the number of touched points has changed during the drag operation. For example, when the user starts the drag operation with one finger (one touched point) and subsequently changes to perform the drag operation with two fingers (two touched points), the control parameter (i.e., the scale change amount) of the scale change function is changed according to the change of the number of touched points. In some configurations, the information display device 1 is built into a portable electronic device, such as a portable telephone device or a portable music player or a navigation device or the like, and has a small display screen. According to the present embodiment, if the number of touched points has been determined as two touched points, the scale change function is controlled such that the scale change amount caused by a drag operation is twice as much as that when the number of touched points has been determined as one touched point. Thus, a drag operation with two touched points will change the scale of the image twice as much as the same drag operation (over the same dragging distance) with one touched point. However, any control is possible as long as the control parameter of the scale change function (or any other function associated with the drag operation) differs according to different numbers of touched points.
The present invention is not limited to the first and second embodiments, but various modifications and/or variations may be made without departing from the spirit and scope of the disclosed underlying principles.
For example, both first and second embodiments are provided in a single portable electronic device.
For example, in some configurations of any or both of the first and second embodiments, if the number of the touched points is two or more, a change of the control parameter of the predetermined function is inhibited based on a spatial relationship, e.g., relative position or speed, of the respective touched points.
(A) For example, in some configurations of any or both of the first and second embodiments, as shown in
(B) For example, in some configurations of any or both of the first and second embodiments, the CPU 6 is configured to detect coordinates of the respective touched points 25 on the touch panel 2 at a predetermined interval (for example, every 100 msec), and to sequentially store the previous coordinates for the respective touched points 25 for a number of time points (for example, for the last 20 time points) in chronological order in the RAM 8. Further, the CPU 6 is configured, e.g., by appropriate programming, to include a movement direction acquisition unit which acquires movement directions of the respective touched points 25 based on the stored previous coordinates of the respective touched points 25. The movement direction acquisition unit in an alternative configuration is realized as hardware, such as an ASIC separate from the CPU 6.
For example, as shown in
(C) For example, in some configurations of any or both of the first and second embodiments, the CPU 6 is configured to detect the coordinates of the respective touched points 25 on the touch panel 2 at a predetermined interval (for example, every 100 msec), and to sequentially store the coordinates for the respective touched points 25 for a number of time points (for example, for the last 20 time points) in chronological order in the RAM 8. Further, the CPU 6 is configured, e.g., by appropriate programming, to include a movement speed acquisition unit which acquires movement speeds of the respective touched points 25 on the touch panel 2 based on the current coordinates and the stored, previous coordinates of the respective touched points 25. In an alternative configuration, the CPU 6 is configured, e.g., by appropriate programming, to include an average movement speed acquisition unit which acquires average movement speeds of the respective touched points 25 on the touch panel 2 based on the current coordinates and the stored, previous coordinates of the respective touched points 25. Any one or both of the movement speed acquisition unit and an average movement speed acquisition unit in alternative configurations is/are realized as hardware, such as one or more ASIC(s) separate from the CPU 6.
For example, as shown in
While various features have been described in conjunction with the examples outlined above, various alternatives, modifications, variations, and/or improvements of those features and/or examples may be possible. Accordingly, the examples, as set forth above, are intended to be illustrative. Various changes may be made without departing from the broad spirit and scope of the underlying principles.
Number | Date | Country | Kind |
---|---|---|---|
2009-227169 | Sep 2009 | JP | national |
2010-077254 | Mar 2010 | JP | national |
2010-103853 | Apr 2010 | JP | national |