camerauis/cameraapp/generic/src/CamStillPreCaptureView.cpp
changeset 3 8b2d6d0384b0
parent 1 f5ec9446e5bf
child 11 792dfc98fb3b
equal deleted inserted replaced
2:e8773a61782d 3:8b2d6d0384b0
   144             	}
   144             	}
   145             else if ( aCommand == ECamMSKCmdAppCapture )
   145             else if ( aCommand == ECamMSKCmdAppCapture )
   146                // if the Camera in the Portrait mode
   146                // if the Camera in the Portrait mode
   147           	   // MSK event is handled like a capture key
   147           	   // MSK event is handled like a capture key
   148           		{
   148           		{
       
   149           		OstTrace0( CAMERAAPP_PERFORMANCE, DUP8_CCAMSTILLPRECAPTUREVIEW_HANDLECOMMANDL, "e_CAM_PRI_SHUTTER_RELEASE_LAG 1" );
   149           		if ( iController.IsViewFinding() && appUi->CheckMemoryL() )
   150           		if ( iController.IsViewFinding() && appUi->CheckMemoryL() )
   150                 	{
   151                 	{
   151                     OstTrace0( CAMERAAPP_PERFORMANCE, CCAMSTILLPRECAPTUREVIEW_HANDLECOMMANDL, "e_CAM_APP_SHOT_TO_SNAPSHOT 1" );
   152                     OstTrace0( CAMERAAPP_PERFORMANCE, CCAMSTILLPRECAPTUREVIEW_HANDLECOMMANDL, "e_CAM_APP_SHOT_TO_SNAPSHOT 1" );
   152                     OstTrace0( CAMERAAPP_PERFORMANCE, DUP1_CCAMSTILLPRECAPTUREVIEW_HANDLECOMMANDL, "e_CAM_PRI_SHOT_TO_SNAPSHOT 1" );
   153                     OstTrace0( CAMERAAPP_PERFORMANCE, DUP1_CCAMSTILLPRECAPTUREVIEW_HANDLECOMMANDL, "e_CAM_PRI_SHOT_TO_SNAPSHOT 1" );
   153                     OstTrace0( CAMERAAPP_PERFORMANCE, DUP2_CCAMSTILLPRECAPTUREVIEW_HANDLECOMMANDL, "e_CAM_PRI_SHOT_TO_SAVE 1" );
   154                     OstTrace0( CAMERAAPP_PERFORMANCE, DUP2_CCAMSTILLPRECAPTUREVIEW_HANDLECOMMANDL, "e_CAM_PRI_SHOT_TO_SAVE 1" );
   161           		}
   162           		}
   162             break;
   163             break;
   163         	}
   164         	}
   164         case ECamCmdCaptureImage:
   165         case ECamCmdCaptureImage:
   165             {
   166             {
       
   167       	    OstTrace0( CAMERAAPP_PERFORMANCE, DUP9_CCAMSTILLPRECAPTUREVIEW_HANDLECOMMANDL, "e_CAM_PRI_AF_LOCK 1" );
       
   168       	    OstTrace0( CAMERAAPP_PERFORMANCE, DUP10_CCAMSTILLPRECAPTUREVIEW_HANDLECOMMANDL, "e_CAM_PRI_SHUTTER_RELEASE_LAG 1" );
   166       	    if ( iController.IsViewFinding() && appUi->CheckMemoryL() &&
   169       	    if ( iController.IsViewFinding() && appUi->CheckMemoryL() &&
   167                 !iController.CaptureModeTransitionInProgress() &&
   170                 !iController.CaptureModeTransitionInProgress() &&
   168                 !iController.IsProcessingCapture() ) 
   171                 !iController.IsProcessingCapture() ) 
   169             	{
   172             	{
   170             	SetSoftKeysL( R_CAM_SOFTKEYS_BLANK );
   173             	SetSoftKeysL( R_CAM_SOFTKEYS_BLANK );
  1805 		// in CCamStillPreCaptureContainer
  1808 		// in CCamStillPreCaptureContainer
  1806 		if ( appUi && !appUi->IsToolBarVisible()
  1809 		if ( appUi && !appUi->IsToolBarVisible()
  1807 		     && iController.UiConfigManagerPtr() 
  1810 		     && iController.UiConfigManagerPtr() 
  1808 		     && !iController.UiConfigManagerPtr()->IsOpticalJoyStickSupported() )
  1811 		     && !iController.UiConfigManagerPtr()->IsOpticalJoyStickSupported() )
  1809 		    {
  1812 		    {
       
  1813       	    OstTrace0( CAMERAAPP_PERFORMANCE, DUP1_CCAMSTILLPRECAPTUREVIEW_STARTMSKCAPTUREL, "e_CAM_PRI_AF_LOCK 1" );
  1810       	    if ( iController.IsViewFinding() && appUi->CheckMemoryL() &&
  1814       	    if ( iController.IsViewFinding() && appUi->CheckMemoryL() &&
  1811                 !iController.CaptureModeTransitionInProgress() ) 
  1815                 !iController.CaptureModeTransitionInProgress() ) 
  1812             	{
  1816             	{
  1813             	SetSoftKeysL( R_CAM_SOFTKEYS_BLANK );
  1817             	SetSoftKeysL( R_CAM_SOFTKEYS_BLANK );
  1814 
  1818