camerauis/cameraapp/generic/src/CamDecorator.cpp
branchRCL_3
changeset 67 756ad29ed18e
parent 57 2c87b2808fd7
equal deleted inserted replaced
62:f0c0788c4de2 67:756ad29ed18e
   239 void CCamDecorator::CreateRecordingIconL(TResourceReader& /* aResourceReader */)  
   239 void CCamDecorator::CreateRecordingIconL(TResourceReader& /* aResourceReader */)  
   240     {
   240     {
   241     PRINT( _L("Camera => CCamDecorator::CreateRecordingIconL") );	
   241     PRINT( _L("Camera => CCamDecorator::CreateRecordingIconL") );	
   242     
   242     
   243     TRect screenRect;
   243     TRect screenRect;
   244     if ( Layout_Meta_Data::IsLandscapeOrientation() || AknLayoutUtils::PenEnabled() )
   244     if ( Layout_Meta_Data::IsLandscapeOrientation() || CamUtility::IsNhdDevice() )
   245         {
   245         {
   246         AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EScreen, screenRect );
   246         AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EScreen, screenRect );
   247         }
   247         }
   248     else
   248     else
   249         {
   249         {
   251         }
   251         }
   252     
   252     
   253     TAknLayoutRect progressPaneLayout;
   253     TAknLayoutRect progressPaneLayout;
   254     TAknLayoutRect recIconLayout;
   254     TAknLayoutRect recIconLayout;
   255     TInt vari = Layout_Meta_Data::IsLandscapeOrientation();
   255     TInt vari = Layout_Meta_Data::IsLandscapeOrientation();
   256     if ( AknLayoutUtils::PenEnabled() )
   256     if ( CamUtility::IsNhdDevice() )
   257         {
   257         {
   258          progressPaneLayout.LayoutRect( screenRect,
   258          progressPaneLayout.LayoutRect( screenRect,
   259              AknLayoutScalable_Apps::vid4_progress_pane( vari ) );
   259              AknLayoutScalable_Apps::vid4_progress_pane( vari ) );
   260             
   260             
   261          recIconLayout.LayoutRect( progressPaneLayout.Rect(),
   261          recIconLayout.LayoutRect( progressPaneLayout.Rect(),