camerauis/cameraapp/generic/src/CamLocationIconController.cpp
branchRCL_3
changeset 67 756ad29ed18e
parent 57 2c87b2808fd7
equal deleted inserted replaced
62:f0c0788c4de2 67:756ad29ed18e
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  Implemantation for CCamLocationIconController class.
    14 * Description:  Implemantation for CCamLocationIconController class.
       
    15 *
       
    16 *  Copyright © 2007 Nokia.  All rights reserved.
       
    17 *  This material, including documentation and any related computer
       
    18 *  programs, is protected by copyright controlled by Nokia.  All
       
    19 *  rights are reserved.  Copying, including reproducing, storing,
       
    20 *  adapting or translating, any or all of this material requires the
       
    21 *  prior written consent of Nokia.  This material also contains
       
    22 *  confidential information which may not be disclosed to others
       
    23 *  without the prior written consent of Nokia.
       
    24 
       
    25 *
    15 *
    26 *
    16 */
    27 */
    17 
    28 
    18 
    29 
    19 #include "CamLocationIconController.h"
    30 #include "CamLocationIconController.h"
   246 		if ( ( ECamCapturing == operation )||
   257 		if ( ( ECamCapturing == operation )||
   247 		     ( ECamPausing == operation )  ||
   258 		     ( ECamPausing == operation )  ||
   248 			 ( ECamPaused == operation )   ||
   259 			 ( ECamPaused == operation )   ||
   249 			 ( ECamResuming == operation ))
   260 			 ( ECamResuming == operation ))
   250 			{
   261 			{
   251 	        if ( AknLayoutUtils::PenEnabled() ) 
   262 	        if ( CamUtility::IsNhdDevice() ) 
   252 	            {
   263 	            {
   253                 if ( Layout_Meta_Data::IsLandscapeOrientation() )
   264                 if ( Layout_Meta_Data::IsLandscapeOrientation() )
   254                     {
   265                     {
   255                     camIndicatorPane.LayoutRect(
   266                     camIndicatorPane.LayoutRect(
   256                         extent,
   267                         extent,
   291 	                }
   302 	                }
   292 	            }
   303 	            }
   293 			}
   304 			}
   294 		else
   305 		else
   295 			{
   306 			{
   296             if ( AknLayoutUtils::PenEnabled() ) 
   307             if ( CamUtility::IsNhdDevice() ) 
   297                 {
   308                 {
   298                 if ( Layout_Meta_Data::IsLandscapeOrientation() )
   309                 if ( Layout_Meta_Data::IsLandscapeOrientation() )
   299                     {
   310                     {
   300                     camIndicatorPane.LayoutRect( extent,
   311                     camIndicatorPane.LayoutRect( extent,
   301                              AknLayoutScalable_Apps::vid4_progress_pane( 1 ) ); // vid4_indicators_pane should be used
   312                              AknLayoutScalable_Apps::vid4_progress_pane( 1 ) ); // vid4_indicators_pane should be used
   335                 }
   346                 }
   336 			}
   347 			}
   337 		}
   348 		}
   338 	else
   349 	else
   339 		{
   350 		{
   340         if ( AknLayoutUtils::PenEnabled() ) 
   351         if ( CamUtility::IsNhdDevice() ) 
   341             {
   352             {
   342     	    if ( Layout_Meta_Data::IsLandscapeOrientation() )
   353     	    if ( Layout_Meta_Data::IsLandscapeOrientation() )
   343     	        {
   354     	        {
   344     	        camIndicatorPane.LayoutRect(
   355     	        camIndicatorPane.LayoutRect(
   345     	            extent,
   356     	            extent,