uiacceltk/hitchcock/ServerCore/Inc/alfbridge.h
branchRCL_3
changeset 18 1801340c26a2
parent 17 c9d868f1e20c
child 19 e5af45d51884
equal deleted inserted replaced
17:c9d868f1e20c 18:1801340c26a2
   316             TBool aOnlyForEmbeddedAlfApp,
   316             TBool aOnlyForEmbeddedAlfApp,
   317             TInt aOrientation,
   317             TInt aOrientation,
   318             TInt aDuration,
   318             TInt aDuration,
   319             TBool& aCoverageRegionModified );
   319             TBool& aCoverageRegionModified );
   320 
   320 
       
   321     // Experimental
       
   322     
       
   323     /**
       
   324      * Checks if visual that's flagged as not ready for current orientation is reachable.
       
   325      */
       
   326     TBool IsVisualNotReadyReachable();
       
   327 
       
   328     /**
       
   329      * Recursive helper function for IsVisualNotReadyReachable.
       
   330      */
       
   331     TBool IsVisualNotReadyReachableRecursive(
       
   332             CHuiLayout* aLayout,
       
   333             CHuiControlGroup& aControlGroup,
       
   334             CHuiControl& aControl,
       
   335             TBool& aFullscreenCovered, 
       
   336             const TRect& aFullscreen,
       
   337             CAlfScreen* aScreen,
       
   338             TBool aChildCanBeOpaque, 
       
   339             TBool aOnlyForEmbeddedAlfApp);
   321 	
   340 	
   322     void LayoutSwitchStart();
   341     void LayoutSwitchStart();
   323     void LayoutSwitchComplete();
   342     void LayoutSwitchComplete();
   324     
   343     
   325     RAlfBridgerClient* BridgerClient();
   344     RAlfBridgerClient* BridgerClient();
   404 	*	@return ETrue	If storing was required and could be done.
   423 	*	@return ETrue	If storing was required and could be done.
   405     *					OR storing was not required. 
   424     *					OR storing was not required. 
   406 	*/    
   425 	*/    
   407     TBool StoreLayoutIfRequiredByEffectL(CHuiLayout* aLayout, CFullScreenEffectState& aEvent, TBool& aNeededStoredLayout);
   426     TBool StoreLayoutIfRequiredByEffectL(CHuiLayout* aLayout, CFullScreenEffectState& aEvent, TBool& aNeededStoredLayout);
   408 
   427 
       
   428     /**
       
   429      * HandleGfxRedirection
       
   430 	 *
       
   431 	 * Redirect effect to correct application in case of effect requested for host application, but
       
   432 	 * embedded (chained) application is on top of it.
       
   433 	 *
       
   434      * If effect setup has been already made for the layout, effect is not redirected.  
       
   435      */
   409     void HandleGfxRedirection(CFullScreenEffectState& aEvent, CHuiLayout*& aLayout);
   436     void HandleGfxRedirection(CFullScreenEffectState& aEvent, CHuiLayout*& aLayout);
       
   437 
   410     /**
   438     /**
   411      * Handles begin and end fullscreen events
   439      * Handles begin and end fullscreen events
   412      */
   440      */
   413     TBool HandleGfxEventL(CFullScreenEffectState& aEvent, CHuiLayout* aToLayout, CHuiLayout *aFromLayout);
   441     TBool HandleGfxEventL(CFullScreenEffectState& aEvent, CHuiLayout* aToLayout, CHuiLayout *aFromLayout);
   414     
   442     
   589 	void HandleSetWindowOpacityL( TAlfBridgerData& aData );
   617 	void HandleSetWindowOpacityL( TAlfBridgerData& aData );
   590 	
   618 	
   591 	void HandleSetTransparencyAlphaChannelL( TAlfBridgerData& aData );
   619 	void HandleSetTransparencyAlphaChannelL( TAlfBridgerData& aData );
   592 	
   620 	
   593 	void HandleIncludeToVisibilityCalculationL( TAlfBridgerData& aData );
   621 	void HandleIncludeToVisibilityCalculationL( TAlfBridgerData& aData );
       
   622 	
       
   623 	void HandleSetScreenDeviceValidL( TAlfBridgerData& aData );
   594 	
   624 	
   595 	void HandleSetWindowAreaL( TAlfBridgerData& aData );
   625 	void HandleSetWindowAreaL( TAlfBridgerData& aData );
   596 	
   626 	
   597 	void HandleReorderWindowL( TAlfBridgerData& aData );
   627 	void HandleReorderWindowL( TAlfBridgerData& aData );
   598 	
   628 	
   876      * This is for updating all the layout that are created to correspond the window server window groups.
   906      * This is for updating all the layout that are created to correspond the window server window groups.
   877      * This should be called immediately when layout switch happens. Layout extents must be update then otherwise
   907      * This should be called immediately when layout switch happens. Layout extents must be update then otherwise
   878      * visibility calculations will clip to old sizes.
   908      * visibility calculations will clip to old sizes.
   879      */
   909      */
   880     void UpdateRootVisualsToFullscreen();
   910     void UpdateRootVisualsToFullscreen();
       
   911     
       
   912     /**
       
   913      * Report memory consumption details (if enabled).
       
   914      */
       
   915     void ReportMemory();
       
   916     
       
   917     /**
       
   918      * Clears rasterizer cache.
       
   919      */
       
   920     void ClearRasterizerCache();
   881     
   921     
   882 private:
   922 private:
   883 
   923 
   884     RPointerArray<CAlfScreen> iAlfScreens;
   924     RPointerArray<CAlfScreen> iAlfScreens;
   885     void SetCursorTimerL(TUint aTime = 0, CHuiVisual* aCursor = 0);
   925     void SetCursorTimerL(TUint aTime = 0, CHuiVisual* aCursor = 0);