equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
712 } |
712 } |
713 |
713 |
714 TInt statusPaneLayoutId = AknStatuspaneUtils::CurrentStatusPaneLayoutResId(); |
714 TInt statusPaneLayoutId = AknStatuspaneUtils::CurrentStatusPaneLayoutResId(); |
715 TAknLayoutRect layoutRect; |
715 TAknLayoutRect layoutRect; |
716 if ( isLandscape && |
716 if ( isLandscape && |
717 ( statusPaneLayoutId == R_AVKON_STATUS_PANE_LAYOUT_USUAL_FLAT || |
717 ( statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_USUAL_FLAT || |
718 statusPaneLayoutId == R_AVKON_STATUS_PANE_LAYOUT_IDLE_FLAT ) ) |
718 statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_IDLE_FLAT ) ) |
719 { |
719 { |
720 layoutRect.LayoutRect( |
720 layoutRect.LayoutRect( |
721 applicationWindow, |
721 applicationWindow, |
722 AknLayoutScalable_Avkon::popup_uni_indicator_window( 6 ) ); |
722 AknLayoutScalable_Avkon::popup_uni_indicator_window( 6 ) ); |
723 positionIsBottomLeft = ETrue; |
723 positionIsBottomLeft = ETrue; |
727 { |
727 { |
728 layoutRect.LayoutRect( |
728 layoutRect.LayoutRect( |
729 applicationWindow, |
729 applicationWindow, |
730 AknLayoutScalable_Avkon::popup_uni_indicator_window( 6 ) ); |
730 AknLayoutScalable_Avkon::popup_uni_indicator_window( 6 ) ); |
731 } |
731 } |
732 else if ( statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_USUAL_FLAT || |
732 else if ( statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_USUAL_FLAT_NO_SOFTKEYS || |
733 statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_IDLE_FLAT || |
|
734 statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_USUAL_FLAT_NO_SOFTKEYS || |
|
735 statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_IDLE_FLAT_NO_SOFTKEYS ) |
733 statusPaneLayoutId == R_AVKON_WIDESCREEN_PANE_LAYOUT_IDLE_FLAT_NO_SOFTKEYS ) |
736 { |
734 { |
737 layoutRect.LayoutRect( |
735 layoutRect.LayoutRect( |
738 applicationWindow, |
736 applicationWindow, |
739 AknLayoutScalable_Avkon::popup_uni_indicator_window( 5 ) ); |
737 AknLayoutScalable_Avkon::popup_uni_indicator_window( 5 ) ); |