equal
deleted
inserted
replaced
115 } |
115 } |
116 else //AknTouchGestureFw::EAknTouchGestureFwStop |
116 else //AknTouchGestureFw::EAknTouchGestureFwStop |
117 { |
117 { |
118 TPoint drag(iStartPosition - aEvent.CurrentPosition()); |
118 TPoint drag(iStartPosition - aEvent.CurrentPosition()); |
119 iPhysics->StartPhysics(drag, iStartTime); |
119 iPhysics->StartPhysics(drag, iStartTime); |
|
120 if( Abs(drag.iX) < iPhysics->DragThreshold() && |
|
121 (TInt)CAknPhysics::EAknPhysicsActionBouncing != |
|
122 iPhysics->OngoingPhysicsAction() ) |
|
123 { |
|
124 iPhysics->StopPhysics(); |
|
125 } |
120 } |
126 } |
121 } |
127 } |
122 |
128 |
123 // ----------------------------------------------------------------------------- |
129 // ----------------------------------------------------------------------------- |
124 // CTsPhysicsEngine::Stop |
130 // CTsPhysicsEngine::Stop |