mmlibs/mmfw/src/Client/Video/mediaclientvideodisplaybody.h
branchGCC_SURGE
changeset 36 6320e299b97a
parent 33 0267baa9dea9
child 54 b68f3e90dca1
equal deleted inserted replaced
25:2efdf657cbe0 36:6320e299b97a
   158 	TBool IsRotationValid(TVideoRotation aVideoRotation);
   158 	TBool IsRotationValid(TVideoRotation aVideoRotation);
   159 	TBool IsAutoScaleTypeValid(TAutoScaleType aAutoScaleType);
   159 	TBool IsAutoScaleTypeValid(TAutoScaleType aAutoScaleType);
   160 	TBool SurfaceCropRectChangeRequiresRedraw(TRect aOldSurfaceCropRect, TRect aNewSurfaceCropRect, TRect aClientCropRegion);
   160 	TBool SurfaceCropRectChangeRequiresRedraw(TRect aOldSurfaceCropRect, TRect aNewSurfaceCropRect, TRect aClientCropRegion);
   161 	TBool ClientCropRegionChangeRequiresRedraw(TRect aOldClientCropRegion, TRect aNewClientCropRegion, TRect aSurfaceCropRect);
   161 	TBool ClientCropRegionChangeRequiresRedraw(TRect aOldClientCropRegion, TRect aNewClientCropRegion, TRect aSurfaceCropRect);
   162 	TBool IntersectionAreaChanged(TRect aOldRect, TRect aNewRect, TRect aOtherRect);
   162 	TBool IntersectionAreaChanged(TRect aOldRect, TRect aNewRect, TRect aOtherRect);
   163 
   163 	void UpdateDeltaForExtDisplay(TReal32 aViewportAspect, const TRect& aVideoExtent, TInt& aDeltaHeight, TInt& aDeltaWidth);
       
   164 	TBool IsWideScreenL();
       
   165 	TAutoScaleType ExtDisplayAutoScaleTypeL();
       
   166 	
   164     // MExtDisplayConnectionProviderCallback
   167     // MExtDisplayConnectionProviderCallback
   165     void MedcpcExtDisplayNotifyConnected(TBool aExtDisplayConnected);
   168     void MedcpcExtDisplayNotifyConnected(TExtDisplayConnectionProviderConnType aExtDisplayConnType);
   166 
   169 
   167     // MMediaClientWsEventObserverCallback
   170     // MMediaClientWsEventObserverCallback
   168     void MmcweoFocusWindowGroupChanged();
   171     void MmcweoFocusWindowGroupChanged();
   169     TBool MmcweoIgnoreProcess(TSecureId aId);
   172     TBool MmcweoIgnoreProcess(TSecureId aId);
       
   173     
       
   174 #ifdef MEDIA_CLIENT_SURFACE_NOT_REMOVED_FROM_CLIENT_WINDOW
       
   175     void HideAllClientWindows();
       
   176     TInt HideWindow(RWindowBase* aWindow);
       
   177     void SetHiddenBackgroundSurfaceOnAllClientWindows();
       
   178     TInt SetHiddenBackgroundSurfaceOnClientWindow(TWindowData& aWindowData);
       
   179 #endif
   170     
   180     
   171 private:
   181 private:
   172 
   182 
   173     MMMFSurfaceEventHandler* iEventHandler;
   183     MMMFSurfaceEventHandler* iEventHandler;
   174 	const TInt iDisplayId;
   184 	const TInt iDisplayId;
   187 	CMediaClientExtDisplayHandler* iExtDisplayHandler;
   197 	CMediaClientExtDisplayHandler* iExtDisplayHandler;
   188 	CMediaClientWsEventObserver* iWsEventObserver;
   198 	CMediaClientWsEventObserver* iWsEventObserver;
   189 	TBool iClientWindowIsInFocus;
   199 	TBool iClientWindowIsInFocus;
   190     TBool iExtDisplayConnected;
   200     TBool iExtDisplayConnected;
   191     TBool iExtDisplaySwitchingSupported;
   201     TBool iExtDisplaySwitchingSupported;
   192 	
   202     TExtDisplayConnectionProviderConnType iExtDisplayConnType;
       
   203     
   193     CMediaClientPolicyServerClient* iServerClient;
   204     CMediaClientPolicyServerClient* iServerClient;
   194     
   205     
   195 	friend class CVideoPlayerUtility::CBody;	
   206 	friend class CVideoPlayerUtility::CBody;	
   196 	friend class CTestStepUnitMMFVidClient;
   207 	friend class CTestStepUnitMMFVidClient;
   197 	};
   208 	};