|
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __TCONEMULTIPTRCONST_H__ |
|
17 #define __TCONEMULTIPTRCONST_H__ |
|
18 |
|
19 |
|
20 const TRect KMultPtrTestContainerRect( 40, 40, 300, 200 ); |
|
21 const TRect KMultPtrTestContainerRectTwo( 340, 40, 600, 200 ); |
|
22 |
|
23 const TPoint KMultPtrSmallSimplePosition( 280, 0 ); |
|
24 const TSize KMultPtrSmallSimpleSize( 40, 40 ); |
|
25 |
|
26 const TPoint KMultiPtrTestControlParentPosition( 20, 20 ); |
|
27 const TPoint KMultiPtrTestControlPositionOrigin( 0, 0 ); |
|
28 const TPoint KMultPtrTestCentreScreen( 320, 120 ); |
|
29 |
|
30 const TInt8 KMultiPtrTestPointerNumberLowest = 0; |
|
31 const TInt KMultiPtrTestCoOrdinateIncrement = 10; |
|
32 const TInt KMultiPtrTestCoOrdinateDecrement = 5; |
|
33 const TInt KMultiPtrTestCoOrdinateIncrementSmall = 2; |
|
34 const TInt KMultiPtrTestCoOrdinateDecrementSmall = 2; |
|
35 |
|
36 // The thresholds we configure |
|
37 const TInt KControlTestEnterCloseProximityThreshold = -10; // millimetres |
|
38 const TInt KControlTestExitCloseProximityThreshold = -20; // millimetres |
|
39 const TInt KControlTestEnterHighPressureThreshold = 2000; // milliNewtons |
|
40 const TInt KControlTestExitHighPressureThreshold = 1000; // milliNewtons |
|
41 // The values used to stimulate the frameworks |
|
42 const TInt KControlTestEnterCloseProximity = -5; // millimetres |
|
43 const TInt KControlTestExitCloseProximity = -25; // millimetres |
|
44 const TInt KControlTestOutOfRange = 1000; // millimetres |
|
45 const TInt KControlTestEnterHighPressure = 2500; // milliNewtons |
|
46 const TInt KControlTestExitHighPressure = 500; // milliNewtons |
|
47 const TInt KControlTestLessThanHighPressure = KControlTestExitHighPressure; |
|
48 |
|
49 |
|
50 enum TMultiPtrTestLeaves |
|
51 { |
|
52 ETestPassed=0, |
|
53 ETestFailed=1, |
|
54 }; |
|
55 |
|
56 #endif // __TCONEMULTIPTRCONST_H__ |