272 { |
272 { |
273 // Check what type of transition will be trigerred |
273 // Check what type of transition will be trigerred |
274 if ( aWgId == iUnderAppWgId ) |
274 if ( aWgId == iUnderAppWgId ) |
275 { |
275 { |
276 // App under task switcher was launched |
276 // App under task switcher was launched |
277 StartTransition( EActivationTransition, |
277 StartTransition( EBackgroundTransition, |
278 EFalse, |
278 EFalse, |
279 ETrue, |
279 ETrue, |
280 CAknTransitionUtils::EForceInvisible ); |
280 CAknTransitionUtils::EForceInvisible ); |
281 } |
281 } |
282 else |
282 else |
288 TInt groupId = GfxTransEffect::BeginGroup(); |
288 TInt groupId = GfxTransEffect::BeginGroup(); |
289 GfxTransEffect::BeginFullScreen( |
289 GfxTransEffect::BeginFullScreen( |
290 EActivationAppShowTransition, ApplicationRect(), |
290 EActivationAppShowTransition, ApplicationRect(), |
291 AknTransEffect::EParameterType, |
291 AknTransEffect::EParameterType, |
292 AknTransEffect::GfxTransParam( aNextAppUid , KTsAppUid ) ); |
292 AknTransEffect::GfxTransParam( aNextAppUid , KTsAppUid ) ); |
293 GfxTransEffect::Begin( iAppView, EActivationTransition ); |
293 GfxTransEffect::Begin( iAppView, EBackgroundTransition ); |
294 GfxTransEffect::SetDemarcation( iAppView, iAppView->Rect() ); |
294 GfxTransEffect::SetDemarcation( iAppView, iAppView->Rect() ); |
295 GfxTransEffect::NotifyExternalState( ECaptureComponentsBegin, ptr ); |
295 GfxTransEffect::NotifyExternalState( ECaptureComponentsBegin, ptr ); |
296 iAppView->MakeVisible( EFalse ); |
296 iAppView->MakeVisible( EFalse ); |
297 CAknTransitionUtils::MakeVisibleSubComponents( |
297 CAknTransitionUtils::MakeVisibleSubComponents( |
298 iAppView, |
298 iAppView, |