equal
deleted
inserted
replaced
255 return ETrue; |
255 return ETrue; |
256 } |
256 } |
257 |
257 |
258 case EAknsMinorQsnBgAreaMainAppsGrid: |
258 case EAknsMinorQsnBgAreaMainAppsGrid: |
259 { |
259 { |
260 if (iGridMode == -1) |
260 if(Layout_Meta_Data::IsLandscapeOrientation()) |
261 { |
261 { |
262 // if gridmode is -1, it has not beed read |
262 layRect.LayoutRect( normParentRect, |
263 // so read it here |
263 iAknLayoutScalable_Avkon.main_pane(4)); |
264 TRAP_IGNORE( iGridMode = GetGridModeL() ); |
264 aRect = layRect.Rect(); |
265 } |
265 } |
266 if (!Layout_Meta_Data::IsLandscapeOrientation() && iGridMode == 1) //3x4 mode |
266 else |
267 { |
267 { |
268 layRect.LayoutRect( normParentRect, |
268 layRect.LayoutRect( normParentRect, |
269 iAknLayoutScalable_Avkon.main_pane(7)); |
269 iAknLayoutScalable_Avkon.main_pane(7)); |
270 aRect = layRect.Rect(); |
270 aRect = layRect.Rect(); |
271 return ETrue; |
|
272 } |
271 } |
273 else // normal 3x3 mode |
272 return ETrue; |
274 { |
|
275 return AknLayoutUtils::LayoutMetricsRect( |
|
276 AknLayoutUtils::EMainPane, aRect ); |
|
277 } |
|
278 } |
273 } |
279 |
274 |
280 case EAknsMinorQsnBgAreaMain: |
275 case EAknsMinorQsnBgAreaMain: |
281 case EAknsMinorQsnBgAreaMainListGene: |
276 case EAknsMinorQsnBgAreaMainListGene: |
282 case EAknsMinorQsnBgAreaMainListSet: |
277 case EAknsMinorQsnBgAreaMainListSet: |