uiacceltk/hitchcock/plugins/alftranseffect/alftranseffectplugin/src/alfserverdrawer.cpp
equal
deleted
inserted
replaced
942 iFullScreenTransitionEndObserver->StartObserving( TCallBack( FullScreenTransitionFinished, this ), iCurrentFullScreenHandle ); |
942 iFullScreenTransitionEndObserver->StartObserving( TCallBack( FullScreenTransitionFinished, this ), iCurrentFullScreenHandle ); |
943 } |
943 } |
944 |
944 |
945 iFullScreenFinished = EFalse; |
945 iFullScreenFinished = EFalse; |
946 iFullScreenTimeout->iIsStartEffect = EFalse; |
946 iFullScreenTimeout->iIsStartEffect = EFalse; |
|
947 |
947 if (triggerStartEffectTimeout) |
948 if (triggerStartEffectTimeout) |
948 { |
949 { |
949 return KErrNone; |
950 //return KErrNone; // even long app start effects need some hardcore timeout |
950 } |
951 } |
951 if ( iAction == AknTransEffect::EApplicationExit /*|| |
952 if ( iAction == AknTransEffect::EApplicationExit /*|| |
952 iAction == 1001*/ ) |
953 iAction == 1001*/ ) |
953 { |
954 { |
954 // no more events expected |
955 // no more events expected |
956 } |
957 } |
957 else |
958 else |
958 { |
959 { |
959 iFinishFullScreen->Start( KAlfLongEffectTimeout, TCallBack( FinishFullScreenTimeout, this ) ); |
960 iFinishFullScreen->Start( KAlfLongEffectTimeout, TCallBack( FinishFullScreenTimeout, this ) ); |
960 } |
961 } |
961 return KErrNone; |
962 return triggerStartEffectTimeout; |
962 } |
963 } |
963 |
964 |
964 // --------------------------------------------------------------------------- |
965 // --------------------------------------------------------------------------- |
965 // --------------------------------------------------------------------------- |
966 // --------------------------------------------------------------------------- |
966 // |
967 // |
973 { |
974 { |
974 return KErrNone; |
975 return KErrNone; |
975 } |
976 } |
976 |
977 |
977 iFullScreenTransitionEndObserver->Cancel(); |
978 iFullScreenTransitionEndObserver->Cancel(); |
978 |
979 iFinishFullScreen->Cancel(); |
|
980 iFullScreenTimeout->Cancel(); |
979 iFullScreenFxSent = EFalse; |
981 iFullScreenFxSent = EFalse; |
980 iFullScreenEndSent = ETrue; |
982 iFullScreenEndSent = ETrue; |
981 |
983 |
982 // Send the data to CAlfAppUI via bridge |
984 // Send the data to CAlfAppUI via bridge |
983 TAlfBridgerData bridgerData; |
985 TAlfBridgerData bridgerData; |