Multi-touch input information processing apparatus, method, and storage medium
First Claim
1. An information processing apparatus configured to recognize a multi-touch operation, the information processing apparatus comprising:
- an input information acquisition unit configured to repetitively acquire, in a situation where two touched points are detected on a touch detection area, a position of each of the two touched points sequentially one by one;
a holding unit configured to hold, each time a latest position of one of the two touched points has been newly acquired by the input information acquisition unit a position of the one of the two touched points having been updated with a latest position in a memory;
a determination unit configured to determine whether all positions of the two touched points held in the memory are updated with latest positions each time a position of one of the two touched points is acquired by the input information acquisition unit; and
a distance acquisition unit configured to acquire an amount of distance between positions of the two touched points based on the positions of the two touched points being held in the memory in a case where the determination unit determines that all positions of the two touched points held in the memory are updated with the latest positions;
a decision unit configured to decide a type of input to the information processing apparatus using the amount of distance between positions of the two touched points acquired by the distance acquisition unit, the type of input being one of a first operation where the amount of distance between the positions of the two touched points is changed, and a second operation where the two touched points are moved in a same direction and the amount of distance between the positions of the two touched points is unchanged;
a display control unit configured to cause a display unit to display one of a plurality of images stored in a predetermined order,wherein the display control unit causes the display unit to enlarge or reduce the displayed image, in response to a decision by the decision unit that input by the two touched points is the first operation and selects, from within the plurality of images stored in the predetermined order, an image at a position within the predetermined order that is not adjacent to the displayed image, and cause the display unit to display the selected image in response to a decision by the decision unit that input by the two touched points is the second operation, andwherein the holding unit, the input information acquisition unit, the determination unit, the distance acquisition unit, the decision unit and the display control unit are implemented by at least one processor in the information processing apparatus.
1 Assignment
0 Petitions
Accused Products
Abstract
A control method for an information processing apparatus configured to acquire position information of one or more touched points one by one detected according to a predetermined detection period on a touch panel includes holding the position information of each of the one or more touched points in a holding unit, acquiring a number of the touched points whose position information is held in the holding unit, determining at each predetermined detection period that latest position information of all the touched points whose position information is held in the holding unit is specified, in a case where the number of the acquired touched point is two or more, and deciding the multi-touch operation performed to the information processing apparatus after the determination.
-
Citations
8 Claims
-
1. An information processing apparatus configured to recognize a multi-touch operation, the information processing apparatus comprising:
-
an input information acquisition unit configured to repetitively acquire, in a situation where two touched points are detected on a touch detection area, a position of each of the two touched points sequentially one by one; a holding unit configured to hold, each time a latest position of one of the two touched points has been newly acquired by the input information acquisition unit a position of the one of the two touched points having been updated with a latest position in a memory; a determination unit configured to determine whether all positions of the two touched points held in the memory are updated with latest positions each time a position of one of the two touched points is acquired by the input information acquisition unit; and a distance acquisition unit configured to acquire an amount of distance between positions of the two touched points based on the positions of the two touched points being held in the memory in a case where the determination unit determines that all positions of the two touched points held in the memory are updated with the latest positions; a decision unit configured to decide a type of input to the information processing apparatus using the amount of distance between positions of the two touched points acquired by the distance acquisition unit, the type of input being one of a first operation where the amount of distance between the positions of the two touched points is changed, and a second operation where the two touched points are moved in a same direction and the amount of distance between the positions of the two touched points is unchanged; a display control unit configured to cause a display unit to display one of a plurality of images stored in a predetermined order, wherein the display control unit causes the display unit to enlarge or reduce the displayed image, in response to a decision by the decision unit that input by the two touched points is the first operation and selects, from within the plurality of images stored in the predetermined order, an image at a position within the predetermined order that is not adjacent to the displayed image, and cause the display unit to display the selected image in response to a decision by the decision unit that input by the two touched points is the second operation, and wherein the holding unit, the input information acquisition unit, the determination unit, the distance acquisition unit, the decision unit and the display control unit are implemented by at least one processor in the information processing apparatus. - View Dependent Claims (2, 3, 4, 7)
-
-
5. A non-transitory computer-readable storage medium storing a computer-executable program, when read and executed by a computer, for causing the computer to operate as an information processing apparatus configured to recognize a multi-touch operation, the information processing apparatus comprising:
-
an input information acquisition unit configured to repetitively acquire, in a situation where two touched points are detected on a touch detection area, a position of each of the two touched points sequentially one by one; a holding unit configured to hold, each time a latest position of one of the two touched points has been newly acquired by the input information acquisition unit a position of the one of the two touched points having been updated with a latest position in a memory; a determination unit configured to determine whether all positions of the two touched points held in the memory are updated with latest positions each time a position of one of the two touched points is acquired by the input information acquisition unit; and a distance acquisition unit configured to acquire an amount of distance between positions of the two touched points based on the positions of the two touched points being held in the memory in a case where the determination unit determines that all positions of the two touched points held in the memory are updated with the latest positions; a decision unit configured to decide a type of input to the information processing apparatus using the amount of distance between positions of the two touched points acquired by the distance acquisition unit, the type of input being one of a first operation where the amount of distance between the positions of the two touched points is changed, and a second operation where the two touched points are moved in a same direction and the amount of distance between the positions of the two touched points is unchanged; a display control unit configured to cause a display unit to display one of a plurality of images stored in a predetermined order, wherein the display control unit causes the display unit to enlarge or reduce the displayed image, in response to a decision by the decision unit that input by the two touched points is the first operation and selects, from within the plurality of images stored in the predetermined order, an image at a position within the predetermined order that is not adjacent to the displayed image, and cause the display unit to display the selected image in response to a decision by the decision unit that input by the two touched points is the second operation, and wherein the holding unit, the input information acquisition unit, the determination unit, the distance acquisition unit, the decision unit and the display control unit are implemented by at least one processor in the information processing apparatus.
-
-
6. A control method for an information processing apparatus configured to acquire position information of one or more touched points one by one detected according to a predetermined detection period on a touch panel, the method comprising:
-
repetitively acquiring, in a situation where two touched points are detected on a touch detection area, a position of each of the two touched points sequentially one by one; holding, each time a latest position of one of the two touched points has been newly acquired, a position of the one of the two touched points having been updated with a latest position in a memory determining whether all positions of the two touched points held in the memory are updated with latest positions each time a position of one of the two touched points is acquired; and acquiring an amount of distance between positions of the two touched points based on the positions of the two touched points being held in the memory in a case where it is determined that all positions of the two touched points held in memory are updated with the latest positions; deciding a type of input to the information processing apparatus using the amount of distance between positions of the two touched points acquired by the distance acquisition unit, the type of input being one of a first operation where the amount of distance between the positions of the two touched points is changed, and a second operation where the two touched points are moved in a same direction and the amount of distance between the positions of the two touched points is unchanged; enlarging or reducing an image displayed on a display unit in response to a decision that input by the two touched points is first operation, and selecting an image from a plurality of images stored in a predetermined order, the selected image being in a position within the predetermined order that is not adjacent to a currently displayed image being displayed on the display unit and displaying the selected image in response to a decision that input by the two touched points is second operation.
-
-
8. An information processing apparatus configured to recognize a multi-touch operation, the information processing apparatus comprising:
-
a touch information acquisition unit configured to repetitively acquire, in a situation where two touched points are detected on a touch detection area, a position of each of the two touched points sequentially one by one; a holding unit configured to hold information indicating that touched points have been newly acquired one by one by the touch information acquisition unit; a determination unit configured to determine, by using the information indicating that touched points have been newly acquired, whether all positions of the two touched points are updated with latest positions, wherein the determination is performed after processing by the touch information acquisition unit has been completed; and a distance acquisition unit configured to acquire an amount of distance between positions of the two touched points based on the positions of the two touched points being held in the memory in a case where the determination unit determines that all positions of the two touched points held in memory are updated with the latest positions; a decision unit configured to decide a type of input to the information processing apparatus using the amount of distance, between positions of the two touched points, acquired by the distance acquisition unit, the type of input being one of a first operation where the amount of distance between the positions of the two touched points is changed, and a second operation where the two touched points are moved in a same direction and the amount of distance between the positions of the two touched points is unchanged; a display control unit configured to cause a display unit to display one of a plurality of images stored in a predetermined order, wherein the display control unit causes the display unit to enlarge or reduce the displayed image, in response to a decision that input by the two touched points is the first operation and selects, from within the plurality of images stored in the predetermined order, an image at a position within the predetermined order that is not adjacent to the displayed image, and cause the display unit to display the selected image in response to a decision that input by the two touched points is the second operation, and wherein the holding unit, the determination unit, the distance acquisition unit, the decision unit and the display control unit are implemented by at least one processor in the information processing apparatus.
-
Specification