javauis/mmapi_akn/baseline/src/cmmacanvasdisplay.cpp
branchRCL_3
changeset 71 d5e927d5853b
parent 19 04becd199f91
child 83 26b2b12093af
equal deleted inserted replaced
66:2455ef1f5bbc 71:d5e927d5853b
    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