|
1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: alfperfapp Configurable constants. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef AlFPERFAPPCONFIGCONSTANTS_H_ |
|
20 #define AlFPERFAPPCONFIGCONSTANTS_H_ |
|
21 |
|
22 //Image and Text test cases |
|
23 //Number of Text and Image Visuals in ManyVisuals Test cases of text and Image Visuals |
|
24 const TInt KVisualCout = 500; |
|
25 //Portion of screen to be animated in ImageAnimateFull test case. |
|
26 // Value 1 - Full area is animated |
|
27 // Value 0.5 - Half area is animated |
|
28 // Value 0.25 - One fourth area is animated ... so on |
|
29 const TReal KRelativeAnimatedArea = 1; |
|
30 //Image and text visual test cases position, size and opacity are timed values. |
|
31 //That animation speed could be controled with this value. |
|
32 const TInt KVisualAnimSpeed = 500; |
|
33 |
|
34 |
|
35 //Scroll Test cases |
|
36 //Cycle Length for Incremental scroll test case |
|
37 // ( this is basically transition time for setting viewport position ) |
|
38 const TInt KCycleLenghtIncremental = 400; |
|
39 //Cycle Length for ScrollContinuous test case |
|
40 // ( this is basically transition time for setting viewport position ) |
|
41 const TInt KCycleLenghtContinuous = 5000; |
|
42 //Number times scrolling cycle is executed |
|
43 const TInt KNumberOfRepeats = 5; |
|
44 |
|
45 |
|
46 #endif /* AlFPERFAPPCONFIGCONSTANTS_H_ */ |