equal
deleted
inserted
replaced
55 aSourceSize.iWidth); |
55 aSourceSize.iWidth); |
56 DEBUG_INT("MMA::CMMACanvasDisplay::SourceSizeChanged %d", |
56 DEBUG_INT("MMA::CMMACanvasDisplay::SourceSizeChanged %d", |
57 aSourceSize.iHeight); |
57 aSourceSize.iHeight); |
58 |
58 |
59 iSourceSize = aSourceSize; |
59 iSourceSize = aSourceSize; |
|
60 // If user rect size was set or full screen was set then we need to take |
|
61 // that into account then the actual source size |
|
62 if(IsUserRectSet() || iFullScreen) |
|
63 { |
|
64 return; |
|
65 } |
60 TSize fullScreenSize(iCanvas->ContentSize()); |
66 TSize fullScreenSize(iCanvas->ContentSize()); |
61 |
67 |
62 TBool sourceIsBigger = (aSourceSize.iWidth > fullScreenSize.iWidth || |
68 TBool sourceIsBigger = (aSourceSize.iWidth > fullScreenSize.iWidth || |
63 aSourceSize.iHeight > fullScreenSize.iHeight); |
69 aSourceSize.iHeight > fullScreenSize.iHeight); |
64 |
70 |