photosgallery/viewframework/views/zoomview/inc/glxzoomcontrol.h
branchRCL_3
changeset 14 ce1c7ad1f18b
parent 9 6b87b143d312
child 30 a60acebbbd9d
equal deleted inserted replaced
13:71da52165949 14:ce1c7ad1f18b
   163             TSize  *apViewPortDimension = NULL,
   163             TSize  *apViewPortDimension = NULL,
   164             TInt aPrimarySliderLevel = -1);
   164             TInt aPrimarySliderLevel = -1);
   165 
   165 
   166     void HandleShowUi(TBool aShow= EFalse) ;
   166     void HandleShowUi(TBool aShow= EFalse) ;
   167 
   167 
   168     void HandleZoomOutL(TInt aCommandId);
   168     void HandleZoomOutL(TInt aCommandId);    
       
   169     
   169 private:
   170 private:
   170         /*
   171         /*
   171         * Call back function for the CPeriodic
   172         * Call back function for the CPeriodic
   172         */
   173         */
   173        static TInt TimeOut(TAny* aSelf);
   174        static TInt TimeOut(TAny* aSelf);
   174        void ActivateFullscreen();
   175        void ActivateFullscreen();
   175        void StartZoomAnimation();
   176        void StartZoomAnimation(TZoomStartMode aStartMode);
   176 
   177 
   177 private:
   178 private:
   178     /**
   179     /**
   179     * C++ default constructor.
   180     * C++ default constructor.
   180     */
   181     */
   221     void HandleGestureL( const GestureHelper::MGestureEvent& aEvent );
   222     void HandleGestureL( const GestureHelper::MGestureEvent& aEvent );
   222 
   223 
   223     TBool HandlePointerEventsL(const TAlfEvent &aEvent);
   224     TBool HandlePointerEventsL(const TAlfEvent &aEvent);
   224     
   225     
   225     TInt GetInitialZoomLevel(TSize& aSize );
   226     TInt GetInitialZoomLevel(TSize& aSize );
   226 
   227     
       
   228     /*
       
   229     * Does the zoom out on pinch released event
       
   230     */
       
   231     void HandleHDMIGestureReleased();
       
   232     
   227 private:    // Data
   233 private:    // Data
   228     CAlfEnv* iEnv;                                      // AlfEnv
   234     CAlfEnv* iEnv;                                      // AlfEnv
   229     MGlxMediaList& iMediaList;                          // Medialist (not owned)
   235     MGlxMediaList& iMediaList;                          // Medialist (not owned)
   230     GestureHelper::CGestureHelper* iGestureHelper;                     // Attribute context for image dimensions
   236     GestureHelper::CGestureHelper* iGestureHelper;                     // Attribute context for image dimensions
   231     IMulSliderModel* iZoomSliderModel;                  // Zoom slider model
   237     IMulSliderModel* iZoomSliderModel;                  // Zoom slider model