phoneapp/phoneuicontrol/src/cphonestateincoming.cpp
branchRCL_3
changeset 25 91c2fb4b78df
parent 17 38529f706030
child 58 40a3f856b14d
equal deleted inserted replaced
19:544e34b3255a 25:91c2fb4b78df
   369         &globalNotifierParam );
   369         &globalNotifierParam );
   370     iViewCommandHandle->ExecuteCommandL( EPhoneViewSetEikonNotifiersDisabled,
   370     iViewCommandHandle->ExecuteCommandL( EPhoneViewSetEikonNotifiersDisabled,
   371         &globalNotifierParam );
   371         &globalNotifierParam );
   372     // Stop tone playing, if necessary
   372     // Stop tone playing, if necessary
   373     iViewCommandHandle->ExecuteCommandL( EPhoneViewStopRingTone );
   373     iViewCommandHandle->ExecuteCommandL( EPhoneViewStopRingTone );
   374     
       
   375     
       
   376     BeginTransEffectLC( ENumberEntryOpen );
       
   377 
   374 
   378     BeginUiUpdateLC();
   375     BeginUiUpdateLC();
   379     
   376     
   380     // Update single call
   377     // Update single call
   381     UpdateSingleActiveCallL( aCallId );
   378     UpdateSingleActiveCallL( aCallId );
   382 
   379 
   383     SetTouchPaneButtons( EPhoneIncallButtons );
   380     SetTouchPaneButtons( EPhoneIncallButtons );
   384     SetToolbarDimming( EFalse );
   381     SetToolbarDimming( EFalse );
   385             
   382             
   386     EndUiUpdate();
   383     EndUiUpdate();
   387     EndTransEffect();
       
   388 
   384 
   389     // Go to single state
   385     // Go to single state
   390     iCbaManager->UpdateCbaL( EPhoneCallHandlingInCallCBA );
   386     iCbaManager->UpdateCbaL( EPhoneCallHandlingInCallCBA );
   391 
   387 
   392     iStateMachine->ChangeState( EPhoneStateSingle );
   388     iStateMachine->ChangeState( EPhoneStateSingle );
   433 void CPhoneStateIncoming::HandleIdleL( TInt aCallId )
   429 void CPhoneStateIncoming::HandleIdleL( TInt aCallId )
   434     {
   430     {
   435     __LOGMETHODSTARTEND(EPhoneControl,
   431     __LOGMETHODSTARTEND(EPhoneControl,
   436         "CPhoneStateIncoming::HandleIdleL ()" );
   432         "CPhoneStateIncoming::HandleIdleL ()" );
   437 
   433 
   438     BeginTransEffectLC( ENumberEntryOpen );
       
   439     BeginUiUpdateLC();
   434     BeginUiUpdateLC();
   440 
   435 
   441     // Remove call
   436     // Remove call
   442     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId );
   437     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId );
   443     // Close menu bar, if it is displayed
   438     // Close menu bar, if it is displayed
   484         DisplayIdleScreenL();
   479         DisplayIdleScreenL();
   485         }
   480         }
   486  
   481  
   487     DeleteTouchPaneButtons();
   482     DeleteTouchPaneButtons();
   488     EndUiUpdate();
   483     EndUiUpdate();
   489     EndTransEffect();
   484 
   490     // Go to idle state   
   485     // Go to idle state   
   491     iCbaManager->UpdateCbaL( EPhoneEmptyCBA );
   486     iCbaManager->UpdateCbaL( EPhoneEmptyCBA );
   492     iStateMachine->ChangeState( EPhoneStateIdle );
   487     iStateMachine->ChangeState( EPhoneStateIdle );
   493     }
   488     }
   494 
   489