144 static CMediaClientVideoDisplayBody* FindDisplayWithWindowL(const RPointerArray<CMediaClientVideoDisplayBody>& aDisplays, const RWindowBase& aWindow); |
144 static CMediaClientVideoDisplayBody* FindDisplayWithWindowL(const RPointerArray<CMediaClientVideoDisplayBody>& aDisplays, const RWindowBase& aWindow); |
145 TBool IsSurfaceCreated() const; |
145 TBool IsSurfaceCreated() const; |
146 TInt SetBackgroundSurface(TWindowData& aWindowData, const TRect& aCropRegion); |
146 TInt SetBackgroundSurface(TWindowData& aWindowData, const TRect& aCropRegion); |
147 TBool HasWindows() const; |
147 TBool HasWindows() const; |
148 |
148 |
149 void UpdateCropRegionL(const TRect& aCropRegion, TInt aPos); |
149 void UpdateCropRegionL(const TRect& aCropRegion, TInt aPos, TBool aRedrawIndividualWindow); |
150 void CreateExtDisplayPluginL(); |
150 void CreateExtDisplayPluginL(); |
151 void RemoveExtDisplayPlugin(); |
151 void RemoveExtDisplayPlugin(); |
152 void CreateExtDisplayHandlerL(); |
152 void CreateExtDisplayHandlerL(); |
153 void RemoveExtDisplayHandler(); |
153 void RemoveExtDisplayHandler(); |
154 void SetWindowArrayPtr2Client(); |
154 void SetWindowArrayPtr2Client(); |
155 void SetWindowArrayPtr2Ext(); |
155 void SetWindowArrayPtr2Ext(); |
156 void SwitchSurface(); |
156 void SwitchSurface(); |
157 void UpdateFocus(); |
157 void UpdateFocus(); |
|
158 TBool IsRotationValid(TVideoRotation aVideoRotation); |
|
159 TBool IsAutoScaleTypeValid(TAutoScaleType aAutoScaleType); |
|
160 TBool SurfaceCropRectChangeRequiresRedraw(TRect aOldSurfaceCropRect, TRect aNewSurfaceCropRect, TRect aClientCropRegion); |
|
161 TBool ClientCropRegionChangeRequiresRedraw(TRect aOldClientCropRegion, TRect aNewClientCropRegion, TRect aSurfaceCropRect); |
|
162 TBool IntersectionAreaChanged(TRect aOldRect, TRect aNewRect, TRect aOtherRect); |
158 |
163 |
159 // MExtDisplayConnectionProviderCallback |
164 // MExtDisplayConnectionProviderCallback |
160 void MedcpcExtDisplayNotifyConnected(TBool aExtDisplayConnected); |
165 void MedcpcExtDisplayNotifyConnected(TBool aExtDisplayConnected); |
161 |
166 |
162 // MMediaClientWsEventObserverCallback |
167 // MMediaClientWsEventObserverCallback |