uifw/AvKon/src/AknIndicatorContainer.cpp
branchRCL_3
changeset 23 3d340a0166ff
parent 18 0aa5fbdfbc30
child 25 941195f2d488
equal deleted inserted replaced
18:0aa5fbdfbc30 23:3d340a0166ff
  1156                             aPointerEvent );
  1156                             aPointerEvent );
  1157                         }
  1157                         }
  1158 
  1158 
  1159                     CAknSmallIndicator* indicatorNotifier = CAknSmallIndicator::NewLC( TUid::Uid( 0 ) );
  1159                     CAknSmallIndicator* indicatorNotifier = CAknSmallIndicator::NewLC( TUid::Uid( 0 ) );
  1160                     indicatorNotifier->HandleIndicatorTapL();
  1160                     indicatorNotifier->HandleIndicatorTapL();
       
  1161                     //for indicator popup event
       
  1162                     MTouchFeedback* feedback = MTouchFeedback::Instance();
       
  1163                     if ( feedback )
       
  1164                         {
       
  1165                         feedback->InstantFeedback(
       
  1166                                            this,
       
  1167                                            ETouchFeedbackPopUp,
       
  1168                                            ETouchFeedbackVibra,
       
  1169                                            aPointerEvent );
       
  1170                         }
  1161                     CleanupStack::PopAndDestroy( indicatorNotifier );
  1171                     CleanupStack::PopAndDestroy( indicatorNotifier );
  1162                     }
  1172                     }
  1163 
  1173 
  1164                 // Up happened, reset button down flag
  1174                 // Up happened, reset button down flag
  1165                 iExtension->iFlags &=
  1175                 iExtension->iFlags &=
  4056 
  4066 
  4057             break;
  4067             break;
  4058             }
  4068             }
  4059         }
  4069         }
  4060 
  4070 
  4061     if ( indicator &&
  4071     if (indicator && (indicator->IndicatorState() || 
  4062          indicator->IndicatorState() ||
  4072             indicator->Priority()!= KIndicatorNotShown))
  4063          indicator->Priority() != KIndicatorNotShown )
       
  4064         {
  4073         {
  4065         SizeChanged();
  4074         SizeChanged();
  4066         DrawDeferred();
  4075         DrawDeferred();
  4067         }
  4076         }
  4068     }
  4077     }