videoplayback/inc/mpxvideoplaybackcontrolscontroller.h
branchRCL_3
changeset 12 7f2b2a65da29
parent 9 5294c000a26d
child 14 55fa1ec415c6
equal deleted inserted replaced
11:8970fbd719ec 12:7f2b2a65da29
    14 * Description:  Implementation of MPXVideoPlaybackControlsController
    14 * Description:  Implementation of MPXVideoPlaybackControlsController
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 // Version : %version: e003sa33#11 %
    19 // Version : %version: e003sa33#14 %
    20 
    20 
    21 
    21 
    22 #ifndef MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_
    22 #ifndef MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_
    23 #define MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_
    23 #define MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_
    24 
    24 
   137         TBool SetBackgroundBlack();
   137         TBool SetBackgroundBlack();
   138 
   138 
   139         inline TBool IsRealMediaFormat();
   139         inline TBool IsRealMediaFormat();
   140 
   140 
   141         /**
   141         /**
   142          *  Check if video clip's aspect ratio is equal to screen display aspect ratio
   142          *  Check aspect ratio icon
   143          */
   143          *  In case that Clip's AR is equals to Screen Display AR, also hide AR icon.  
   144         TBool IsSameAspectRatio();
   144          *  
       
   145          *  @return ETrue in case that clip's AspectRatioIcon can be shown
       
   146          */
       
   147         TBool ShowAspectRatioIcon();
   145 
   148 
   146     private:
   149     private:
   147         /**
   150         /**
   148         * Create controls
   151         * Create controls
   149         */
   152         */
   336         /*
   339         /*
   337          *  Closes Media Details Viewer
   340          *  Closes Media Details Viewer
   338          */
   341          */
   339         void CloseMediaDetailsViewer();
   342         void CloseMediaDetailsViewer();
   340 
   343 
       
   344         /*
       
   345          *   Handles the Loading Started command that was received after Buffering state was
       
   346          *   blocked by the playback view
       
   347          */
       
   348         void HandleLoadingStarted();
       
   349 
       
   350         /*
       
   351          *   This will cause the controls to be updated when the surface changes and the
       
   352          *   controls are visible.
       
   353          */
       
   354         void RedrawControlsForSurfaceChanges();
       
   355 
   341     private:
   356     private:
   342 
   357 
   343         CMPXVideoPlaybackControlPolicy*         iControlsPolicy;
   358         CMPXVideoPlaybackControlPolicy*         iControlsPolicy;
   344         CArrayPtrFlat<CMPXVideoPlaybackControl> iControls;
   359         CArrayPtrFlat<CMPXVideoPlaybackControl> iControls;
   345         CMPXVideoPlaybackControl*               iMediaDetailsViewerControl;
   360         CMPXVideoPlaybackControl*               iMediaDetailsViewerControl;