1 <?xml version="1.0" encoding="UTF-8"?> |
1 <?xml version="1.0" encoding="utf-8"?> |
2 <!--Arbortext, Inc., 1988-2008, v.4002--> |
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
3 <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" |
3 <!-- This component and the accompanying materials are made available under the terms of the License |
4 "concept.dtd"> |
4 "Eclipse Public License v1.0" which accompanies this distribution, |
5 <concept id="GUID-2C0C173D-C659-4011-8B7A-8EB35E64D150" xml:lang="en"> |
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
6 <title>Touch gestures</title> |
6 <!-- Initial Contributors: |
7 <prolog> |
7 Nokia Corporation - initial contribution. |
8 <metadata><keywords></keywords></metadata> |
8 Contributors: |
9 </prolog> |
9 --> |
10 <conbody> |
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-2C0C173D-C659-4011-8B7A-8EB35E64D150" xml:lang="en"><title>Touch gestures</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
11 <p>The touch gestures (finger movements on the device display area) |
13 <p>The touch gestures (finger movements on the device display area) |
12 are interpreted using touch gesture framework provided by UI framework. |
14 are interpreted using touch gesture framework provided by UI framework. |
13 The UI FW listens to the pointer events and notifies the client after |
15 The UI FW listens to the pointer events and notifies the client after |
14 recognizing the gestures. The client can enable listening of desired |
16 recognizing the gestures. The client can enable listening of desired |
15 gestures.</p> |
17 gestures.</p> |
19 <li><p>Double tap</p></li> |
21 <li><p>Double tap</p></li> |
20 <li><p>Drag</p></li> |
22 <li><p>Drag</p></li> |
21 <li><p>Flick</p></li> |
23 <li><p>Flick</p></li> |
22 <li><p>Swipe (up, down, left and right)</p></li> |
24 <li><p>Swipe (up, down, left and right)</p></li> |
23 </ul> Gesture Framework can provide swipe speed that can be used as |
25 </ul> Gesture Framework can provide swipe speed that can be used as |
24 input to inertia based effects. Two finger pinch (zoom) multiple <?Pub |
26 input to inertia based effects. Two finger pinch (zoom) multiple touch gesture is also recognized.</p> |
25 Caret?>touch gesture is also recognized.</p> |
|
26 <p> Additionally, there is an option to support drag and drop. It |
27 <p> Additionally, there is an option to support drag and drop. It |
27 is initiated by holding the touch position for a short time in the |
28 is initiated by holding the touch position for a short time in the |
28 same place. The holding mode is active until the user releases the |
29 same place. The holding mode is active until the user releases the |
29 touch. </p> |
30 touch. </p> |
30 <section id="GUID-8E20288C-9B08-484E-8212-040D8B47BC6F"> <title |
31 <section id="GUID-8E20288C-9B08-484E-8212-040D8B47BC6F"> <title>Using touch gestures in C++ applications</title><p>The API to use |
31 >Using touch gestures in C++ applications</title><p>The API to use |
|
32 for recognizing touch gestures is Touch Gesture API.</p><p>Touch Gesture |
32 for recognizing touch gestures is Touch Gesture API.</p><p>Touch Gesture |
33 Framework contains a pointer to a control (derived from <xref |
33 Framework contains a pointer to a control (derived from <xref href="GUID-B06F99BD-F032-3B87-AB26-5DD6EBE8C160.dita"><apiname>CCoeControl</apiname></xref>) where gestures are recognized. These gestures are reported to the |
34 href="GUID-B06F99BD-F032-3B87-AB26-5DD6EBE8C160.dita"><apiname>CCoeControl</apiname |
34 gesture observer. Based on the gesture interest set by the gesture |
35 ></xref>) where gestures are recognized. These gestures are reported |
35 observer, <xref href="GUID-C0559E40-20E1-3D2C-A6EF-51F3E80A651E.dita"><apiname>CAknTouchGestureFw</apiname></xref> converts the pointer |
36 to the gesture observer. Based on the gesture interest set by the |
36 events to the logical gesture.</p></section> |
37 gesture observer, <xref |
37 </conbody></concept> |
38 href="GUID-C0559E40-20E1-3D2C-A6EF-51F3E80A651E.dita"><apiname>CAknTouchGestureFw</apiname |
|
39 ></xref> converts the pointer events to the logical gesture.</p></section> |
|
40 </conbody> |
|
41 </concept> |
|
42 <?Pub *0000001962?> |
|