textinput/peninputcommonctrls/src/peninputbuttons/peninputbutton.cpp
branchRCL_3
changeset 15 6c2c2d3ab788
parent 12 5e18d8c489d6
child 18 b1ea1642412e
equal deleted inserted replaced
12:5e18d8c489d6 15:6c2c2d3ab788
  4219     {
  4219     {
  4220     //PRINTF((_L("CAknFepCtrlLongPressButton::HandleButtonDown()\n")));
  4220     //PRINTF((_L("CAknFepCtrlLongPressButton::HandleButtonDown()\n")));
  4221     //PRINTF((_L("Set long press Timer\n")));
  4221     //PRINTF((_L("Set long press Timer\n")));
  4222     if ( IsDimmed() )
  4222     if ( IsDimmed() )
  4223         {
  4223         {
  4224         return;
  4224         return NULL;
  4225         }
  4225         }
  4226     
  4226     
  4227     iLongPressTimer->SetTimer(iLongPressInterval);
  4227     iLongPressTimer->SetTimer(iLongPressInterval);
  4228 
  4228 
  4229     return CAknFepCtrlCommonButton::HandlePointerDownEventL(aPt);
  4229     return CAknFepCtrlCommonButton::HandlePointerDownEventL(aPt);
  4237     {
  4237     {
  4238     //PRINTF((_L("CAknFepCtrlLongPressButton::HandleButtonUp()\n")));
  4238     //PRINTF((_L("CAknFepCtrlLongPressButton::HandleButtonUp()\n")));
  4239 
  4239 
  4240     if ( IsDimmed() )
  4240     if ( IsDimmed() )
  4241         {
  4241         {
  4242         return;
  4242         return NULL;
  4243         }
  4243         }
  4244 
  4244 
  4245     CancelTimer();
  4245     CancelTimer();
  4246     
  4246     
  4247     if (!iIsLongPress)
  4247     if (!iIsLongPress)