uifw/AvKon/src/aknlongtapdetector.cpp
branchRCL_3
changeset 29 a8834a2e9a96
parent 4 8ca85d2f0db7
child 55 aecbbf00d063
equal deleted inserted replaced
25:941195f2d488 29:a8834a2e9a96
   252     
   252     
   253     if ( iState == EShowingAnimation )
   253     if ( iState == EShowingAnimation )
   254         {
   254         {
   255         StopAnimation();
   255         StopAnimation();
   256         }
   256         }
       
   257     iState = EWaiting;
   257     }
   258     }
   258 
   259 
   259 
   260 
   260 // -----------------------------------------------------------------------------
   261 // -----------------------------------------------------------------------------
   261 // CAknLongTapDetector::StartAnimationL
   262 // CAknLongTapDetector::StartAnimationL
   319     if ( aEvent.Type() == EEventKey || aEvent.Type() == EEventKeyUp 
   320     if ( aEvent.Type() == EEventKey || aEvent.Type() == EEventKeyUp 
   320             || aEvent.Type() == EEventKeyDown || (aEvent.Type() == EEventPointer
   321             || aEvent.Type() == EEventKeyDown || (aEvent.Type() == EEventPointer
   321             && aEvent.Pointer()->iType == TPointerEvent::EButton1Up ) )
   322             && aEvent.Pointer()->iType == TPointerEvent::EButton1Up ) )
   322 		{
   323 		{
   323         Cancel();
   324         Cancel();
   324         iState = EWaiting;		
       
   325 	    }
   325 	    }
   326     }
   326     }
   327 
   327 
   328 //  End of File
   328 //  End of File