uiacceltk/hitchcock/ServerCore/Inc/alfeffectutils.h
branchRCL_3
changeset 20 31fccae4f8a7
parent 19 e5af45d51884
equal deleted inserted replaced
19:e5af45d51884 20:31fccae4f8a7
   122     
   122     
   123     public:
   123     public:
   124         void Blank(TBool aEnabled);
   124         void Blank(TBool aEnabled);
   125         void LowMemoryEvent();
   125         void LowMemoryEvent();
   126         void BeginLayoutSwitch();
   126         void BeginLayoutSwitch();
       
   127         void ImplicitBlank();
   127         
   128         
   128         void Event(TEvent aEvent);
   129         void Event(TEvent aEvent);
   129         void Transition(TState aNewState, TState aPreviousState);
   130         void Transition(TState aNewState, TState aPreviousState);
   130 
   131 
   131     private:
   132     private:
   136 
   137 
   137         void HandleFreezeEvent(TEvent aEvent);
   138         void HandleFreezeEvent(TEvent aEvent);
   138         void HandleThemeEvent(TEvent aEvent);
   139         void HandleThemeEvent(TEvent aEvent);
   139 
   140 
   140         void FreezeFinished();
   141         void FreezeFinished();
   141 
   142         void HandleBlankChange();
       
   143         
   142     public:            
   144     public:            
   143         TBool IsThemeEffectEnabled() const;
   145         TBool IsThemeEffectEnabled() const;
   144         TBool LayoutSwitchEffectsExist() const;
   146         TBool LayoutSwitchEffectsExist() const;
   145 
   147 
   146 		void EnableSafeCounter(TBool aEnable)
   148 		void EnableSafeCounter(TBool aEnable)
   164         
   166         
   165         void FreezeRoster(TBool aFrozen);
   167         void FreezeRoster(TBool aFrozen);
   166         
   168         
   167         static TInt DoFreezeFinished(TAny* aAny);
   169         static TInt DoFreezeFinished(TAny* aAny);
   168         static TInt DoNextLayoutSwitchContext(TAny* aAny);
   170         static TInt DoNextLayoutSwitchContext(TAny* aAny);
       
   171         static TInt DoImplicitBlankOff(TAny* aAny);
   169         
   172         
   170     private: // Data
   173     private: // Data
   171         
   174         
   172         CAlfBridge& iBridge;
   175         CAlfBridge& iBridge;
   173         AknTransEffect::TContext iLayoutSwitchEffectContext;
   176         AknTransEffect::TContext iLayoutSwitchEffectContext;
   174         TThreadPriority iOriginalPriority;
   177         TThreadPriority iOriginalPriority;
   175         CAlfRosterFreezeEndTimer* iRosterFreezeEndTimer;
   178         CAlfRosterFreezeEndTimer* iRosterFreezeEndTimer;
   176         TBool iBlankEnabled;
   179         TBool iBlankEnabled;
       
   180         TBool iImplicitBlankEnabled;
       
   181         TBool iAknBlankEnabled;
   177         
   182         
   178         TState iCurrentState;
   183         TState iCurrentState;
   179         TBool iLayoutSwitchNotCompleted;
   184         TBool iLayoutSwitchNotCompleted;
       
   185         CPeriodic* iImplicitBlankTimer;
   180 	};
   186 	};
   181 
   187 
   182 // ---------------------------------------------------------
   188 // ---------------------------------------------------------
   183 // Effects states are used for effects request that arrive before the effected 
   189 // Effects states are used for effects request that arrive before the effected 
   184 // window has been created. This is very common with fullscreen effects and 
   190 // window has been created. This is very common with fullscreen effects and 
   255         TInt iToSecureId;
   261         TInt iToSecureId;
   256         TInt iFromSecureId;
   262         TInt iFromSecureId;
   257         TRect iRect;
   263         TRect iRect;
   258         TBool iLongAppStartTimeout;
   264         TBool iLongAppStartTimeout;
   259         TBool iTimeout;
   265         TBool iTimeout;
   260         
   266         TBool iIsRedirected;
   261          
   267          
   262         void SetState(TEffectState aState);
   268         void SetState(TEffectState aState);
   263        
   269        
   264         TEffectState State();
   270         TEffectState State();
   265        
   271