camerauis/cameraapp/generic/src/CamPreCaptureViewBase.cpp
branchRCL_3
changeset 16 d486e5e3cc9a
parent 12 8c55c525d5d7
child 18 51dda465e618
equal deleted inserted replaced
12:8c55c525d5d7 16:d486e5e3cc9a
  1777 void CCamPreCaptureViewBase::HandleTouchGestureL( MAknTouchGestureFwEvent& aEvent )
  1777 void CCamPreCaptureViewBase::HandleTouchGestureL( MAknTouchGestureFwEvent& aEvent )
  1778     {
  1778     {
  1779     PRINT( _L("Camera => CCamPreCaptureViewBase::HandleTouchGestureL") );
  1779     PRINT( _L("Camera => CCamPreCaptureViewBase::HandleTouchGestureL") );
  1780     
  1780     
  1781     // Skipped modes here
  1781     // Skipped modes here
  1782     if ( iController.ActiveCamera() == ECamActiveCameraSecondary )
  1782     if ( ( iController.ActiveCamera() == ECamActiveCameraSecondary ) || 
       
  1783          ( ECamNoOperation != iController.CurrentOperation() )  )
  1783         {
  1784         {
  1784         PRINT( _L("Camera <= CCamPreCaptureViewBase::HandleTouchGestureL") );
  1785         PRINT( _L("Camera <= CCamPreCaptureViewBase::HandleTouchGestureL") );
  1785         return;
  1786         return;
  1786         }
  1787         }
  1787 
  1788 
  1798             {
  1799             {
  1799             // Enable the blinking for resolution indicators and toggle image/video quality
  1800             // Enable the blinking for resolution indicators and toggle image/video quality
  1800             // level between top widescreen and vga levels
  1801             // level between top widescreen and vga levels
  1801             CCamPreCaptureContainerBase* container = static_cast<CCamPreCaptureContainerBase*>( iContainer );
  1802             CCamPreCaptureContainerBase* container = static_cast<CCamPreCaptureContainerBase*>( iContainer );
  1802             container->BlinkResolutionIndicatorOnChange( ETrue );
  1803             container->BlinkResolutionIndicatorOnChange( ETrue );
       
  1804 
       
  1805             // Hide the zoom pane in case of pinch
       
  1806             CCamAppUi* appUi = static_cast<CCamAppUi*>( iEikonEnv->AppUi() );
       
  1807             appUi->ZoomPane()->MakeVisible( EFalse, ETrue );
       
  1808 
  1803             if ( iController.ToggleWideScreenQuality( wide ) )
  1809             if ( iController.ToggleWideScreenQuality( wide ) )
  1804                 {
  1810                 {
  1805                 iLastMovement = currMove;
  1811                 iLastMovement = currMove;
  1806                 }
  1812                 }
  1807             else
  1813             else