javauis/lcdui_akn/lcduiphysicswrapper/src/CMIDPhysicsWrapper.cpp
branchRCL_3
changeset 19 71c436fe3ce0
parent 14 04becd199f91
equal deleted inserted replaced
18:9ac0a0a7da70 19:71c436fe3ce0
   127 TBool CMIDPhysicsWrapper::StartFlick(const TPoint& aLength, TTime aDuration)
   127 TBool CMIDPhysicsWrapper::StartFlick(const TPoint& aLength, TTime aDuration)
   128 {
   128 {
   129     if (iPhysics)
   129     if (iPhysics)
   130     {
   130     {
   131         TPoint drag(aLength);
   131         TPoint drag(aLength);
   132         iPhysics->StartPhysics(drag, aDuration);
   132         return iPhysics->StartPhysics(drag, aDuration);
   133         return ETrue;
       
   134     }
   133     }
   135 
   134 
   136     PhysicEmulationEnded();
   135     PhysicEmulationEnded();
   137     return EFalse;
   136     return EFalse;
   138 }
   137 }