widgets/widgetapp/src/WidgetUiWindowManager.cpp
branchRCL_3
changeset 67 4917f9bf7995
parent 62 c711bdda59f4
child 70 8bfb9186a8b8
equal deleted inserted replaced
64:ac77f89b1d9e 67:4917f9bf7995
    44 #include <internetconnectionmanager.h>
    44 #include <internetconnectionmanager.h>
    45 #include <ActiveApDb.h>
    45 #include <ActiveApDb.h>
    46 #include <oommonitorsession.h>
    46 #include <oommonitorsession.h>
    47 #include <aknglobalnote.h>
    47 #include <aknglobalnote.h>
    48 
    48 
       
    49 #ifdef BRDO_MULTITOUCH_ENABLED_FF  
       
    50 #include<akntranseffect.h>
       
    51 #include<gfxtranseffect/GfxTransEffect.h>
       
    52 #endif
       
    53 
    49 #ifdef BRDO_OCC_ENABLED_FF
    54 #ifdef BRDO_OCC_ENABLED_FF
    50 #include <extendedconnpref.h>
    55 #include <extendedconnpref.h>
    51 #endif
    56 #endif
    52 
    57 
    53 // LOCAL FUNCTION PROTOTYPES
    58 // LOCAL FUNCTION PROTOTYPES
   344             break;
   349             break;
   345         case WidgetSelect:
   350         case WidgetSelect:
   346             {            	
   351             {            	
   347             // If we don't have window we know that WidgetUI has died
   352             // If we don't have window we know that WidgetUI has died
   348             // We must enable miniview state
   353             // We must enable miniview state
       
   354 #ifdef BRDO_MULTITOUCH_ENABLED_FF
       
   355             GfxTransEffect::BeginFullScreen(AknTransEffect::EApplicationStart,TRect(0,0,0,0),AknTransEffect::EParameterType,AknTransEffect::GfxTransParam(TUid::Uid(KWidgetAppUid)));
       
   356 #endif
   349             if( !GetWindow(aUid))
   357             if( !GetWindow(aUid))
   350                 {        
   358                 {        
   351                 needToNotify = EFalse;
   359                 needToNotify = EFalse;
   352                 CanWindowBeCreated( aUid, aOperation );
   360                 CanWindowBeCreated( aUid, aOperation );
   353                 break;
   361                 break;
   354                 }
   362                 }
   355             //WidgetLauncher modified to bring app to foreground
   363             //WidgetLauncher modified to bring app to foreground
   356             GetWindow( aUid)->IncrementClickCount();
   364             GetWindow( aUid)->IncrementClickCount();
   357             OpenOrCreateWindowL( aUid, LaunchFullscreen );            
   365             OpenOrCreateWindowL( aUid, LaunchFullscreen );            
       
   366 #ifdef BRDO_MULTITOUCH_ENABLED_FF            
       
   367             GfxTransEffect::EndFullScreen();
       
   368 #endif            
   358             }
   369             }
   359             break;
   370             break;
   360         case WidgetOnline:
   371         case WidgetOnline:
   361             {
   372             {
   362             iNetworkMode = EOnlineMode;
   373             iNetworkMode = EOnlineMode;
   799         return;
   810         return;
   800         
   811         
   801 #ifdef BRDO_WRT_HS_FF
   812 #ifdef BRDO_WRT_HS_FF
   802           iCpsPublisher->ClearScreenshotL(*(GetWindow(aUid )->WidgetBundleId()), aUid.iUid);
   813           iCpsPublisher->ClearScreenshotL(*(GetWindow(aUid )->WidgetBundleId()), aUid.iUid);
   803 #endif
   814 #endif
   804 
   815 #ifdef BRDO_MULTITOUCH_ENABLED_FF      
       
   816     GfxTransEffect::BeginFullScreen(AknTransEffect::EApplicationExit,TRect(0,0,0,0),AknTransEffect::EParameterType,AknTransEffect::GfxTransParam(TUid::Uid(KWidgetAppUid)));
       
   817 #endif    
   805     // make widgets act like separate applications by pushing to background
   818     // make widgets act like separate applications by pushing to background
   806     // this way user is sent back to app shell or idle to run another widget
   819     // this way user is sent back to app shell or idle to run another widget
   807     iAppUi.SendAppToBackground();
   820     iAppUi.SendAppToBackground();
   808     if ( window == iActiveFsWindow )
   821     if ( window == iActiveFsWindow )
   809         {
   822         {