56 #include <hlplch.h> |
56 #include <hlplch.h> |
57 #include <apgwgnam.h> |
57 #include <apgwgnam.h> |
58 #include <StringLoader.h> |
58 #include <StringLoader.h> |
59 #include <AknDef.h> |
59 #include <AknDef.h> |
60 #include <aknconsts.h> |
60 #include <aknconsts.h> |
61 |
61 #include <akntoolbar.h> |
62 |
62 |
63 #include <e32property.h> |
63 #include <e32property.h> |
64 #include <ecom/ecom.h> |
64 #include <ecom/ecom.h> |
65 #include <coreapplicationuisdomainpskeys.h> |
65 #include <coreapplicationuisdomainpskeys.h> |
66 #include <UikonInternalPSKeys.h> |
66 #include <UikonInternalPSKeys.h> |
2502 } |
2506 } |
2503 if ( iInstance->iNaviPane ) |
2507 if ( iInstance->iNaviPane ) |
2504 { |
2508 { |
2505 iInstance->iNaviPane->HandleResourceChange( aType ); |
2509 iInstance->iNaviPane->HandleResourceChange( aType ); |
2506 } |
2510 } |
2507 // Handle layout change only when type == DLVS |
2511 } |
2508 if ( aType == KEikDynamicLayoutVariantSwitch ) |
|
2509 { |
|
2510 (void) HandleLayoutChanged(); |
|
2511 } |
|
2512 } |
|
2513 |
|
2514 iComponentManager->HandleResourceChangeL( aType ); |
2512 iComponentManager->HandleResourceChangeL( aType ); |
2515 |
2513 |
|
2514 // Handle layout change only when type == DLVS |
|
2515 if ( iInstance && aType == KEikDynamicLayoutVariantSwitch ) |
|
2516 { |
|
2517 (void) DelayedHandleLayoutChanged( this ); |
|
2518 } |
2516 __VTPRINTEXIT( "VtUi.HandleResourceChangeL"); |
2519 __VTPRINTEXIT( "VtUi.HandleResourceChangeL"); |
2517 } |
2520 } |
2518 |
2521 |
2519 // ----------------------------------------------------------------------------- |
2522 // ----------------------------------------------------------------------------- |
2520 // CVtUiAppUi::HandleForegroundEventL |
2523 // CVtUiAppUi::HandleForegroundEventL |
6485 TRect parent; |
6488 TRect parent; |
6486 TAknWindowLineLayout control; |
6489 TAknWindowLineLayout control; |
6487 VtUiLayout::GetApplicationParentRect( parent ); |
6490 VtUiLayout::GetApplicationParentRect( parent ); |
6488 VtUiLayout::GetMainPaneLayout( control ); |
6491 VtUiLayout::GetMainPaneLayout( control ); |
6489 AknLayoutUtils::LayoutControl( iMainControl, parent, control ); |
6492 AknLayoutUtils::LayoutControl( iMainControl, parent, control ); |
|
6493 iMainControl->DrawNow(); |
6490 if(iMainControl) |
6494 if(iMainControl) |
6491 iMainControl->LayoutRemoteVideo(); |
6495 iMainControl->LayoutRemoteVideo(); |
6492 AknLayoutUtils::LayoutControl( iNumberEntryActivation, parent, control ); |
6496 AknLayoutUtils::LayoutControl( iNumberEntryActivation, parent, control ); |
6493 VtUiLayout::GetFirstWindowBackgroundLayout( control ); |
6497 VtUiLayout::GetFirstWindowBackgroundLayout( control ); |
6494 AknLayoutUtils::LayoutControl( iContextControl, parent, control ); |
6498 AknLayoutUtils::LayoutControl( iContextControl, parent, control ); |
6495 |
6499 iContextControl->DrawNow(); |
|
6500 if(iContextControl) |
|
6501 iContextControl->LayoutRemoteVideo(); |
6496 VtUiLayout::GetButtonPaneLayout( control ); |
6502 VtUiLayout::GetButtonPaneLayout( control ); |
6497 AknLayoutUtils::LayoutControl( iEndCallButtonPane, parent, control ); |
6503 AknLayoutUtils::LayoutControl( iEndCallButtonPane, parent, control ); |
6498 |
6504 iEndCallButtonPane->DrawNow(); |
6499 if(iContextControl) |
|
6500 iContextControl->LayoutRemoteVideo(); |
|
6501 |
|
6502 } |
6505 } |
6503 |
6506 |
6504 // ----------------------------------------------------------------------------- |
6507 // ----------------------------------------------------------------------------- |
6505 // CVtUiAppUi::CInstance::VolumeKeyPressedL |
6508 // CVtUiAppUi::CInstance::VolumeKeyPressedL |
6506 // ----------------------------------------------------------------------------- |
6509 // ----------------------------------------------------------------------------- |