camerauis/cameraapp/generic/src/CamLocationIconController.cpp
branchRCL_3
changeset 25 2c87b2808fd7
parent 24 bac7acad7cb3
equal deleted inserted replaced
24:bac7acad7cb3 25:2c87b2808fd7
    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 *
       
    26 *
    15 *
    27 */
    16 */
    28 
    17 
    29 
    18 
    30 #include "CamLocationIconController.h"
    19 #include "CamLocationIconController.h"
   257 		if ( ( ECamCapturing == operation )||
   246 		if ( ( ECamCapturing == operation )||
   258 		     ( ECamPausing == operation )  ||
   247 		     ( ECamPausing == operation )  ||
   259 			 ( ECamPaused == operation )   ||
   248 			 ( ECamPaused == operation )   ||
   260 			 ( ECamResuming == operation ))
   249 			 ( ECamResuming == operation ))
   261 			{
   250 			{
   262 	        if ( CamUtility::IsNhdDevice() ) 
   251 	        if ( AknLayoutUtils::PenEnabled() ) 
   263 	            {
   252 	            {
   264                 if ( Layout_Meta_Data::IsLandscapeOrientation() )
   253                 if ( Layout_Meta_Data::IsLandscapeOrientation() )
   265                     {
   254                     {
   266                     camIndicatorPane.LayoutRect(
   255                     camIndicatorPane.LayoutRect(
   267                         extent,
   256                         extent,
   302 	                }
   291 	                }
   303 	            }
   292 	            }
   304 			}
   293 			}
   305 		else
   294 		else
   306 			{
   295 			{
   307             if ( CamUtility::IsNhdDevice() ) 
   296             if ( AknLayoutUtils::PenEnabled() ) 
   308                 {
   297                 {
   309                 if ( Layout_Meta_Data::IsLandscapeOrientation() )
   298                 if ( Layout_Meta_Data::IsLandscapeOrientation() )
   310                     {
   299                     {
   311                     camIndicatorPane.LayoutRect( extent,
   300                     camIndicatorPane.LayoutRect( extent,
   312                              AknLayoutScalable_Apps::vid4_progress_pane( 1 ) ); // vid4_indicators_pane should be used
   301                              AknLayoutScalable_Apps::vid4_progress_pane( 1 ) ); // vid4_indicators_pane should be used
   346                 }
   335                 }
   347 			}
   336 			}
   348 		}
   337 		}
   349 	else
   338 	else
   350 		{
   339 		{
   351         if ( CamUtility::IsNhdDevice() ) 
   340         if ( AknLayoutUtils::PenEnabled() ) 
   352             {
   341             {
   353     	    if ( Layout_Meta_Data::IsLandscapeOrientation() )
   342     	    if ( Layout_Meta_Data::IsLandscapeOrientation() )
   354     	        {
   343     	        {
   355     	        camIndicatorPane.LayoutRect(
   344     	        camIndicatorPane.LayoutRect(
   356     	            extent,
   345     	            extent,