uifw/AvKon/aknphysics/inc/aknphysicsconstants.h
author William Roberts <williamr@symbian.org>
Wed, 10 Nov 2010 12:08:34 +0000
branchRCL_3
changeset 76 5c9f0ba5102a
parent 56 d48ab3b357f1
permissions -rw-r--r--
Improve debug tracing of AknGlobalNote::StartL - Bug 2673

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  AknPhysics constant definitions
*
*/


#ifndef AKNPHYSICSCONSTANTS_H
#define AKNPHYSICSCONSTANTS_H

// Physics Constants
const TInt KDefaultFriction( 10 );
const TInt KFps( 60 ); // desired framerate
const TInt KPhysicsTime( 1000000/KFps ); // timer value
const TInt KPhysicsMinTime( 8500 ); // ~1000000/(2*KFps);
const TInt KAknHighResMinWait( 500 ); // minimum wait time between callbacks
const TInt KAknHighResMaxWait( 100000 ); // maximum wait time between callbacks
const TInt KMaxContacts( 2 ); // max amount of contacts with 2 objects
const TInt KZDepth( 1000 ); // Just something
const TInt KSwipeDuration( 800000 ); // 800ms
const TReal KStepFactor( .00000001 ); // used in drag calculations
const TReal KErpFactor( 0.5 );
const TReal KCfmFactor( 0.001 );
const TReal KCfmSoftFactor( .01 );
const TReal KBounceFactor( .001 );
const TInt KFlickMaxDuration( 500000 );

#endif // AKNPHYSICSCONSTANTS_H