textinput/peninputarc/src/peninputserverapp/penuiwndctrl.cpp
branchRCL_3
changeset 22 bd83ceabce89
parent 21 ecbabf52600f
equal deleted inserted replaced
21:ecbabf52600f 22:bd83ceabce89
   417 	ClaimPointerGrab( ETrue );
   417 	ClaimPointerGrab( ETrue );
   418 	
   418 	
   419 	
   419 	
   420 #ifdef RD_UI_TRANSITION_EFFECTS_POPUPS      
   420 #ifdef RD_UI_TRANSITION_EFFECTS_POPUPS      
   421 	
   421 	
   422     if ( GfxTransEffect::IsRegistered( this ) && !IsVisible())
   422     if ( iEnableGfxTransEffect && GfxTransEffect::IsRegistered( this ) && !IsVisible())
   423         {
   423         {
       
   424         iEnableGfxTransEffect = EFalse;
   424         this->MakeVisible(EFalse);
   425         this->MakeVisible(EFalse);
   425         GfxTransEffect::NotifyExternalState( ENotifyGlobalAbort ); 
   426         GfxTransEffect::NotifyExternalState( ENotifyGlobalAbort ); 
   426 
   427 
   427         //If still visible, do a transition to invisible state.
   428         //If still visible, do a transition to invisible state.
   428         CAknTransitionUtils::SetAllParents(this);
   429         CAknTransitionUtils::SetAllParents(this);
   461         TRAP_IGNORE(iIncallBubble->SetIncallBubbleFlagsL( EAknStatusBubbleInputHide ));
   462         TRAP_IGNORE(iIncallBubble->SetIncallBubbleFlagsL( EAknStatusBubbleInputHide ));
   462         MakeVisible( EFalse );
   463         MakeVisible( EFalse );
   463         return;
   464         return;
   464         }
   465         }
   465 #ifdef RD_UI_TRANSITION_EFFECTS_POPUPS           
   466 #ifdef RD_UI_TRANSITION_EFFECTS_POPUPS           
   466     if ( GfxTransEffect::IsRegistered( this ))
   467     if ( iEnableGfxTransEffect && GfxTransEffect::IsRegistered( this ) )
   467         {
   468         {
   468 
   469         iEnableGfxTransEffect = EFalse;
   469         GfxTransEffect::NotifyExternalState( ENotifyGlobalAbort ); 
   470         GfxTransEffect::NotifyExternalState( ENotifyGlobalAbort ); 
   470 
   471 
   471         //If still visible, do a transition to invisible state.
   472         //If still visible, do a transition to invisible state.
   472         CAknTransitionUtils::SetAllParents(this);
   473         CAknTransitionUtils::SetAllParents(this);
   473         GfxTransEffect::Begin(this, KGfxControlDisappearAction);
   474         GfxTransEffect::Begin(this, KGfxControlDisappearAction);