taskswitcher/taskswitcherui/taskswitcherapp/src/tsphysicsengine.cpp
branchRCL_3
changeset 9 f966699dea19
parent 4 4d54b72983ae
child 15 ff572dfe6d86
equal deleted inserted replaced
5:c743ef5928ba 9:f966699dea19
   100         }
   100         }
   101     else if (AknTouchGestureFw::EAknTouchGestureFwOn == aEvent.State())
   101     else if (AknTouchGestureFw::EAknTouchGestureFwOn == aEvent.State())
   102         {
   102         {
   103         TPoint deltaPoint(aEvent.PreviousPosition() - aEvent.CurrentPosition());
   103         TPoint deltaPoint(aEvent.PreviousPosition() - aEvent.CurrentPosition());
   104         iPhysics->RegisterPanningPosition(deltaPoint);
   104         iPhysics->RegisterPanningPosition(deltaPoint);
       
   105         iStartTime.HomeTime();
   105         }
   106         }
   106     else //AknTouchGestureFw::EAknTouchGestureFwStop
   107     else //AknTouchGestureFw::EAknTouchGestureFwStop
   107         {
   108         {
   108         TPoint drag(aEvent.PreviousPosition() - aEvent.CurrentPosition());
   109         TPoint drag(aEvent.PreviousPosition() - aEvent.CurrentPosition());
   109         iPhysics->StartPhysics(drag, iStartTime);
   110         iPhysics->StartPhysics(drag, iStartTime);