equal
deleted
inserted
replaced
54 |
54 |
55 /** |
55 /** |
56 * tolerance in degrees to either side of an angle, for direction to be |
56 * tolerance in degrees to either side of an angle, for direction to be |
57 * the same as reference angle |
57 * the same as reference angle |
58 */ |
58 */ |
59 const TReal KAngleTolerance = 35; |
59 const TReal KAngleTolerance = 80; |
60 |
60 |
61 /** |
61 /** |
62 * maximum pointer movement from pointer down position for a gesture be |
62 * maximum pointer movement from pointer down position for a gesture be |
63 * a tap or hold gesture |
63 * a tap or hold gesture |
64 */ |
64 */ |
66 |
66 |
67 /** |
67 /** |
68 * minimum length of a valid swipe in pixels. should be larger than |
68 * minimum length of a valid swipe in pixels. should be larger than |
69 * KTapTolerance |
69 * KTapTolerance |
70 */ |
70 */ |
71 const TReal KMinSwipeLength = 100; |
71 const TReal KMinSwipeLength = 10; |
72 |
72 |
73 /** Nth pointer event before the latest point */ |
73 /** Nth pointer event before the latest point */ |
74 const TInt KPreviousPointOffset = 3; |
74 const TInt KPreviousPointOffset = 3; |
75 |
75 |
76 |
76 |