335 MUTABLE_CAST( CIncallAnim* , this ); |
335 MUTABLE_CAST( CIncallAnim* , this ); |
336 |
336 |
337 // Start animation - we can't do a thing if this fails |
337 // Start animation - we can't do a thing if this fails |
338 if ( iCallAnimType == EVoipCallAnim ) |
338 if ( iCallAnimType == EVoipCallAnim ) |
339 { |
339 { |
340 TRAP( error , iIndiVoIPAnim->StartAnimationL(EFalse) ); |
340 TRAP( error , iIndiVoIPAnim->StartAnimationL() ); |
341 mutableThis->iIsVoIPRunning = ETrue; |
341 mutableThis->iIsVoIPRunning = ETrue; |
342 mutableThis->iIsRunning = EFalse; |
342 mutableThis->iIsRunning = EFalse; |
343 mutableThis->iIsVideoRunning = EFalse; |
343 mutableThis->iIsVideoRunning = EFalse; |
344 } |
344 } |
345 else if ( iCallAnimType == EVideoCallAnim ) |
345 else if ( iCallAnimType == EVideoCallAnim ) |
346 { |
346 { |
347 TRAP( error , iIndiVideoAnim->StartAnimationL(EFalse) ); |
347 TRAP( error , iIndiVideoAnim->StartAnimationL() ); |
348 mutableThis->iIsVoIPRunning = EFalse; |
348 mutableThis->iIsVoIPRunning = EFalse; |
349 mutableThis->iIsVideoRunning = ETrue; |
349 mutableThis->iIsVideoRunning = ETrue; |
350 mutableThis->iIsRunning = EFalse; |
350 mutableThis->iIsRunning = EFalse; |
351 } |
351 } |
352 else |
352 else |
353 { |
353 { |
354 TRAP( error , iIndiAnim->StartAnimationL(EFalse) ); |
354 TRAP( error , iIndiAnim->StartAnimationL() ); |
355 mutableThis->iIsVoIPRunning = EFalse; |
355 mutableThis->iIsVoIPRunning = EFalse; |
356 mutableThis->iIsRunning = ETrue; |
356 mutableThis->iIsRunning = ETrue; |
357 mutableThis->iIsVideoRunning = EFalse; |
357 mutableThis->iIsVideoRunning = EFalse; |
358 } |
358 } |
359 } |
359 } |
936 callTypeIndicationLayoutRect.LayoutRect( |
936 callTypeIndicationLayoutRect.LayoutRect( |
937 rect, |
937 rect, |
938 AknLayoutScalable_Apps::call_type_pane( isLandscape ) ); |
938 AknLayoutScalable_Apps::call_type_pane( isLandscape ) ); |
939 TRect callTypeIndicationRect( callTypeIndicationLayoutRect.Rect() ); |
939 TRect callTypeIndicationRect( callTypeIndicationLayoutRect.Rect() ); |
940 |
940 |
941 TBool hideTypeIndication = isLandscape |
941 TBool hideTypeIndication = isLandscape && !AknStatuspaneUtils::HDLayoutActive(); |
942 && !AknStatuspaneUtils::HDLayoutActive() |
|
943 && !AknStatuspaneUtils::FlatLayoutActive(); |
|
944 |
942 |
945 if ( iFlags & ESBVideo ) |
943 if ( iFlags & ESBVideo ) |
946 { |
944 { |
947 // video indicator is different size than others |
945 // video indicator is different size than others |
948 AknLayoutUtils::LayoutControl( iTypeIndication1, rect, layout2 ); |
946 AknLayoutUtils::LayoutControl( iTypeIndication1, rect, layout2 ); |