|
1 /* |
|
2 * Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: LAF coordinates |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "BMLayout.h" |
|
21 #include "BMPanic.h" |
|
22 #include "BMBubbleManager.h" |
|
23 #include <aknenv.h> |
|
24 #include <applayout.cdl.h> |
|
25 #include <AknUtils.h> |
|
26 #include <AknLayout2ScalableDef.h> |
|
27 #include <aknlayoutscalable_apps.cdl.h> |
|
28 #include <layoutmetadata.cdl.h> |
|
29 |
|
30 // ============================ MEMBER FUNCTIONS =============================== |
|
31 |
|
32 // ----------------------------------------------------------------------------- |
|
33 // BubbleLayout::LayoutColourWhite |
|
34 // ----------------------------------------------------------------------------- |
|
35 // |
|
36 TInt BubbleLayout::LayoutColourWhite() |
|
37 { |
|
38 return 0; |
|
39 } |
|
40 |
|
41 // ----------------------------------------------------------------------------- |
|
42 // BubbleLayout::MainPaneRect |
|
43 // ----------------------------------------------------------------------------- |
|
44 // |
|
45 const TRect BubbleLayout::MainPaneRect() |
|
46 { |
|
47 TSize screenSize = CEikonEnv::Static()->ScreenDevice()->SizeInPixels(); |
|
48 TRect screenRect( TPoint(0,0), screenSize ); |
|
49 |
|
50 TAknLayoutRect appRect; |
|
51 appRect.LayoutRect( screenRect, AknLayout::application_window( screenRect ) ); |
|
52 TAknLayoutRect mainRect; |
|
53 mainRect.LayoutRect( appRect.Rect(), |
|
54 AknLayout::main_pane( appRect.Rect(), 0, 1, 1 ) ); // 1 = normal status pane, control pane |
|
55 |
|
56 return mainRect.Rect(); |
|
57 } |
|
58 |
|
59 // ----------------------------------------------------------------------------- |
|
60 // BubbleLayout::popup_number_entry_window |
|
61 // ----------------------------------------------------------------------------- |
|
62 // |
|
63 const TAknWindowLineLayout |
|
64 BubbleLayout::popup_number_entry_window( TInt aIndex ) |
|
65 { |
|
66 if ( AknLayoutUtils::ScalableLayoutInterfaceAvailable() ) |
|
67 { |
|
68 if ( Layout_Meta_Data::IsLandscapeOrientation() ) |
|
69 { |
|
70 if ( aIndex < 4 ) |
|
71 { |
|
72 // portrait 0..1 == landscape 2..3 |
|
73 aIndex += 2; |
|
74 } |
|
75 else |
|
76 { |
|
77 // portrait 4 == landscape 5 |
|
78 aIndex += 1; |
|
79 } |
|
80 } |
|
81 |
|
82 TAknWindowComponentLayout layout1 = |
|
83 AknLayoutScalable_Apps::main_call_pane(); |
|
84 TAknWindowComponentLayout layout2 = |
|
85 AknLayoutScalable_Apps::popup_number_entry_window( aIndex ); |
|
86 return TAknWindowComponentLayout:: |
|
87 Compose( layout1, layout2 ).LayoutLine(); |
|
88 } |
|
89 else |
|
90 { |
|
91 return AppLayout::popup_number_entry_window(); |
|
92 } |
|
93 } |
|
94 |
|
95 // ----------------------------------------------------------------------------- |
|
96 // BubbleLayout::popup_call_audio_in_window |
|
97 // ----------------------------------------------------------------------------- |
|
98 // |
|
99 const TAknWindowLineLayout |
|
100 BubbleLayout::popup_call_audio_in_window( TInt aLine ) |
|
101 { |
|
102 if ( AknLayoutUtils::ScalableLayoutInterfaceAvailable() ) |
|
103 { |
|
104 if ( Layout_Meta_Data::IsLandscapeOrientation() ) |
|
105 { |
|
106 // portrait 0..3 == landscape 4..7 |
|
107 aLine += 4; |
|
108 } |
|
109 |
|
110 if ( aLine < 1 || aLine > 8 ) |
|
111 { |
|
112 Panic( EBMPanicLAF ); |
|
113 } |
|
114 |
|
115 return AknLayoutScalable_Apps::popup_call_audio_in_window( |
|
116 aLine - 1 ).LayoutLine(); |
|
117 } |
|
118 else |
|
119 { |
|
120 if ( aLine < 1 || aLine > 4 ) |
|
121 { |
|
122 Panic( EBMPanicLAF ); |
|
123 } |
|
124 |
|
125 return AppLayout::popup_call_audio_in_window( aLine - 1 ); |
|
126 } |
|
127 } |
|
128 |
|
129 // ----------------------------------------------------------------------------- |
|
130 // BubbleLayout::popup_call_audio_out_window |
|
131 // ----------------------------------------------------------------------------- |
|
132 // |
|
133 const TAknWindowLineLayout |
|
134 BubbleLayout::popup_call_audio_out_window( TInt aLine ) |
|
135 { |
|
136 if ( AknLayoutUtils::ScalableLayoutInterfaceAvailable() ) |
|
137 { |
|
138 if ( Layout_Meta_Data::IsLandscapeOrientation() ) |
|
139 { |
|
140 // portrait 0..2 == landscape 3..6 |
|
141 aLine += 3; |
|
142 } |
|
143 |
|
144 return AknLayoutScalable_Apps::popup_call_audio_out_window( |
|
145 aLine - 1 ).LayoutLine();; |
|
146 } |
|
147 else |
|
148 { |
|
149 if ( aLine < 1 || aLine > 2 ) |
|
150 { |
|
151 Panic( EBMPanicLAF ); |
|
152 } |
|
153 |
|
154 return AppLayout::popup_call_audio_out_window( aLine - 1 ); |
|
155 } |
|
156 } |
|
157 |
|
158 // ----------------------------------------------------------------------------- |
|
159 // BubbleLayout::popup_call_audio_first_window |
|
160 // ----------------------------------------------------------------------------- |
|
161 // |
|
162 const TAknWindowLineLayout |
|
163 BubbleLayout::popup_call_audio_first_window( TInt aLine ) |
|
164 { |
|
165 if ( AknLayoutUtils::ScalableLayoutInterfaceAvailable() ) |
|
166 { |
|
167 if ( Layout_Meta_Data::IsLandscapeOrientation() ) |
|
168 { |
|
169 // portrait 0..6 == landscape 7..13 |
|
170 aLine += 7; |
|
171 } |
|
172 |
|
173 return AknLayoutScalable_Apps::popup_call_audio_first_window( |
|
174 aLine - 1 ).LayoutLine();; |
|
175 } |
|
176 else |
|
177 { |
|
178 if ( aLine < 1 || aLine > 7 ) |
|
179 { |
|
180 Panic( EBMPanicLAF ); |
|
181 } |
|
182 |
|
183 // aLine = 3, 2, 4, 6 called before bootup fails. |
|
184 TInt command1 = aLine - 1; |
|
185 TInt command2 = command1; |
|
186 return AppLayout::popup_call_audio_first_window( command1, command2 ); |
|
187 } |
|
188 } |
|
189 |
|
190 // ----------------------------------------------------------------------------- |
|
191 // BubbleLayout::popup_call_audio_wait_window |
|
192 // ----------------------------------------------------------------------------- |
|
193 // |
|
194 const TAknWindowLineLayout |
|
195 BubbleLayout::popup_call_audio_wait_window( TInt aLine ) |
|
196 { |
|
197 if ( AknLayoutUtils::ScalableLayoutInterfaceAvailable() ) |
|
198 { |
|
199 if ( Layout_Meta_Data::IsLandscapeOrientation() ) |
|
200 { |
|
201 // portrait 0..3 == landscape 4..7 |
|
202 aLine += 4; |
|
203 } |
|
204 |
|
205 return AknLayoutScalable_Apps::popup_call_audio_wait_window( |
|
206 aLine - 1 ).LayoutLine();; |
|
207 } |
|
208 else |
|
209 { |
|
210 if ( aLine < 1 || aLine > 4 ) |
|
211 { |
|
212 Panic( EBMPanicLAF ); |
|
213 } |
|
214 |
|
215 return AppLayout::popup_call_audio_wait_window( aLine - 1 ); |
|
216 } |
|
217 } |
|
218 |
|
219 // ----------------------------------------------------------------------------- |
|
220 // BubbleLayout::popup_call_audio_second_window |
|
221 // ----------------------------------------------------------------------------- |
|
222 // |
|
223 const TAknWindowLineLayout |
|
224 BubbleLayout::popup_call_audio_second_window( TInt aLine ) |
|
225 { |
|
226 if ( AknLayoutUtils::ScalableLayoutInterfaceAvailable() ) |
|
227 { |
|
228 if ( Layout_Meta_Data::IsLandscapeOrientation() ) |
|
229 { |
|
230 // portrait 0..4 == landscape 5..9 |
|
231 aLine += 5; |
|
232 } |
|
233 |
|
234 return AknLayoutScalable_Apps::popup_call_audio_second_window( |
|
235 aLine - 1 ).LayoutLine(); |
|
236 } |
|
237 else |
|
238 { |
|
239 if ( aLine < 1 || aLine > 5 ) |
|
240 { |
|
241 Panic( EBMPanicLAF ); |
|
242 } |
|
243 |
|
244 TInt command1 = aLine - 1; |
|
245 TInt command2 = command1; |
|
246 return AppLayout::popup_call_audio_second_window( command1, command2 ); |
|
247 } |
|
248 } |
|
249 |
|
250 // ----------------------------------------------------------------------------- |
|
251 // BubbleLayout::popup_call_audio_conf_window |
|
252 // ----------------------------------------------------------------------------- |
|
253 // |
|
254 const TAknWindowLineLayout |
|
255 BubbleLayout::popup_call_audio_conf_window( TInt aLine ) |
|
256 { |
|
257 if ( AknLayoutUtils::ScalableLayoutInterfaceAvailable() ) |
|
258 { |
|
259 if ( Layout_Meta_Data::IsLandscapeOrientation() ) |
|
260 { |
|
261 // portrait 0..3 == landscape 4..7 |
|
262 aLine += 4; |
|
263 } |
|
264 |
|
265 return AknLayoutScalable_Apps::popup_call_audio_conf_window( |
|
266 aLine - 1 ).LayoutLine(); |
|
267 } |
|
268 else |
|
269 { |
|
270 if ( aLine < 1 || aLine > 4 ) |
|
271 { |
|
272 Panic( EBMPanicLAF ); |
|
273 } |
|
274 |
|
275 return AppLayout::popup_call_audio_conf_window( aLine - 1 ); |
|
276 } |
|
277 } |
|
278 |
|
279 // ----------------------------------------------------------------------------- |
|
280 // BubbleLayout::list_single_graphic_popup_conf_pane |
|
281 // ----------------------------------------------------------------------------- |
|
282 // |
|
283 const TAknWindowLineLayout |
|
284 BubbleLayout::list_single_graphic_popup_conf_pane( TInt aLine ) |
|
285 { |
|
286 if ( aLine < 1 || aLine > 6 ) |
|
287 { |
|
288 Panic( EBMPanicLAF ); |
|
289 } |
|
290 return AppLayout::list_single_graphic_popup_conf_pane( aLine - 1 ); |
|
291 } |
|
292 |
|
293 // ----------------------------------------------------------------------------- |
|
294 // BubbleLayout::list_single_graphic_popup_conf_pane_elements_1 |
|
295 // ----------------------------------------------------------------------------- |
|
296 // |
|
297 const TAknWindowLineLayout |
|
298 BubbleLayout::list_single_graphic_popup_conf_pane_elements_1() |
|
299 { |
|
300 return AppLayout::List_pane_elements__conf_single_graphic__Line_1(); |
|
301 } |
|
302 |
|
303 // ----------------------------------------------------------------------------- |
|
304 // BubbleLayout::list_single_graphic_popup_conf_pane_elements_2 |
|
305 // ----------------------------------------------------------------------------- |
|
306 // |
|
307 const TAknWindowLineLayout |
|
308 BubbleLayout::list_single_graphic_popup_conf_pane_elements_2() |
|
309 { |
|
310 return AppLayout::List_pane_elements__conf_single_graphic__Line_2(); |
|
311 } |
|
312 |
|
313 // ----------------------------------------------------------------------------- |
|
314 // BubbleLayout::list_single_graphic_popup_conf_pane_texts_1 |
|
315 // ----------------------------------------------------------------------------- |
|
316 // |
|
317 const TAknTextLineLayout |
|
318 BubbleLayout::list_single_graphic_popup_conf_pane_texts_1() |
|
319 { |
|
320 return AppLayout::List_pane_texts__conf_single_graphic__Line_1(); |
|
321 } |
|
322 |
|
323 // ----------------------------------------------------------------------------- |
|
324 // BubbleLayout::list_single_graphic_popup_conf_pane_graphics_1 |
|
325 // ----------------------------------------------------------------------------- |
|
326 // |
|
327 const TAknWindowLineLayout |
|
328 BubbleLayout::list_single_graphic_popup_conf_pane_graphics_1 |
|
329 ( const TRect& aParentRect ) |
|
330 { |
|
331 return AppLayout::Highlight_graphics_Line_1( aParentRect ); |
|
332 } |
|
333 |
|
334 // ----------------------------------------------------------------------------- |
|
335 // BubbleLayout::list_single_graphic_popup_conf_pane_graphics_2 |
|
336 // ----------------------------------------------------------------------------- |
|
337 // |
|
338 const TAknWindowLineLayout |
|
339 BubbleLayout::list_single_graphic_popup_conf_pane_graphics_2 |
|
340 ( const TRect& aParentRect ) |
|
341 { |
|
342 return AppLayout::Highlight_graphics_Line_2( aParentRect ); |
|
343 } |
|
344 |
|
345 // ----------------------------------------------------------------------------- |
|
346 // BubbleLayout::popup_number_entry_window_texts_1 |
|
347 // ----------------------------------------------------------------------------- |
|
348 // |
|
349 |
|
350 const TAknTextLineLayout |
|
351 BubbleLayout::popup_number_entry_window_texts_1( TInt aIndex ) |
|
352 { |
|
353 if ( aIndex < 0 || aIndex > 1 ) |
|
354 { |
|
355 Panic( EBMPanicLAF ); |
|
356 } |
|
357 return AppLayout::Number_entry_pop_up_window_texts_Line_1( aIndex ); |
|
358 } |
|
359 |
|
360 // ----------------------------------------------------------------------------- |
|
361 // BubbleLayout::popup_number_entry_window_texts_2 |
|
362 // ----------------------------------------------------------------------------- |
|
363 // |
|
364 |
|
365 const TAknTextLineLayout |
|
366 BubbleLayout::popup_number_entry_window_texts_2( TInt aIndex, TInt aLine ) |
|
367 { |
|
368 if ( ( aIndex < 0 || aIndex > 1 ) || ( aLine < 0 || aLine > 1 ) ) |
|
369 { |
|
370 Panic( EBMPanicLAF ); |
|
371 } |
|
372 |
|
373 if ( AknLayoutUtils::ScalableLayoutInterfaceAvailable() ) |
|
374 { |
|
375 aIndex = 0; |
|
376 } |
|
377 return AppLayout::Number_entry_pop_up_window_texts_Line_2( aIndex, aLine ); |
|
378 } |
|
379 |
|
380 // ----------------------------------------------------------------------------- |
|
381 // BubbleLayout::popup_number_entry_window_texts_2 |
|
382 // ----------------------------------------------------------------------------- |
|
383 // |
|
384 const TAknTextLineLayout |
|
385 BubbleLayout::popup_number_entry_window_texts_3( TInt aLine ) |
|
386 { |
|
387 if ( aLine < 0 || aLine > 1 ) |
|
388 { |
|
389 Panic( EBMPanicLAF ); |
|
390 } |
|
391 |
|
392 if ( aLine == 0 ) |
|
393 { |
|
394 return AknLayoutScalable_Apps::text_title_cp2(1).LayoutLine(); |
|
395 } |
|
396 else |
|
397 { |
|
398 return AknLayoutScalable_Apps::popup_number_entry_window_t5(1).LayoutLine(); |
|
399 } |
|
400 } |
|
401 |
|
402 // ----------------------------------------------------------------------------- |
|
403 // BubbleLayout::popup_number_entry_window_graphics_1 |
|
404 // ----------------------------------------------------------------------------- |
|
405 // |
|
406 const TAknWindowLineLayout |
|
407 BubbleLayout::popup_number_entry_window_graphics_1( TInt aIndex ) |
|
408 { |
|
409 return AppLayout::Number_entry_pop_up_window_graphics_Line_1( aIndex ); |
|
410 } |
|
411 |
|
412 // ----------------------------------------------------------------------------- |
|
413 // BubbleLayout::popup_call_audio_in_window_1_elements_1 |
|
414 // ----------------------------------------------------------------------------- |
|
415 // |
|
416 const TAknWindowLineLayout |
|
417 BubbleLayout::popup_call_audio_in_window_1_elements_1() |
|
418 { |
|
419 return AppLayout::Incoming_call_pop_up_window_elements_Line_1(); |
|
420 } |
|
421 |
|
422 // ----------------------------------------------------------------------------- |
|
423 // BubbleLayout::popup_call_audio_in_window_1_elements_2 |
|
424 // ----------------------------------------------------------------------------- |
|
425 // |
|
426 const TAknWindowLineLayout |
|
427 BubbleLayout::popup_call_audio_in_window_1_elements_2() |
|
428 { |
|
429 return AppLayout::Incoming_call_pop_up_window_elements_Line_2(); |
|
430 } |
|
431 |
|
432 // ----------------------------------------------------------------------------- |
|
433 // BubbleLayout::popup_call_audio_in_window_1_elements_15 |
|
434 // ----------------------------------------------------------------------------- |
|
435 // |
|
436 const TAknWindowLineLayout |
|
437 BubbleLayout::popup_call_audio_in_window_1_elements_15() |
|
438 { |
|
439 return AppLayout::Incoming_call_pop_up_window_elements_Line_15(); |
|
440 } |
|
441 |
|
442 // ----------------------------------------------------------------------------- |
|
443 // BubbleLayout::popup_call_audio_in_window_1_texts_1 |
|
444 // ----------------------------------------------------------------------------- |
|
445 // |
|
446 |
|
447 const TAknTextLineLayout |
|
448 BubbleLayout::popup_call_audio_in_window_1_texts_1( TInt aLine, |
|
449 TInt aType ) |
|
450 { |
|
451 if ( aLine < 1 && aLine > 2 ) |
|
452 { |
|
453 Panic( EBMPanicLAF ); |
|
454 } |
|
455 TInt command1 = aLine - 1 ; |
|
456 TInt command2 = aType; |
|
457 return AppLayout::Incoming_call_pop_up_window_texts_Line_1( command1, command2 ); |
|
458 } |
|
459 |
|
460 |
|
461 // ----------------------------------------------------------------------------- |
|
462 // BubbleLayout::popup_call_audio_in_window_1_texts_2 |
|
463 // ----------------------------------------------------------------------------- |
|
464 // |
|
465 |
|
466 const TAknTextLineLayout |
|
467 BubbleLayout::popup_call_audio_in_window_1_texts_2( TInt aLine, |
|
468 TInt aImageType ) |
|
469 { |
|
470 if ( aLine < 1 && aLine > 3 ) |
|
471 { |
|
472 Panic( EBMPanicLAF ); |
|
473 } |
|
474 TInt command1 = aLine - 1 ; |
|
475 TInt command2 = aImageType; |
|
476 return AppLayout::Incoming_call_pop_up_window_texts_Line_2( command1, command2 ); |
|
477 } |
|
478 |
|
479 // ----------------------------------------------------------------------------- |
|
480 // BubbleLayout::popup_call_audio_in_window_1_graphics_1 |
|
481 // ----------------------------------------------------------------------------- |
|
482 // |
|
483 const TAknWindowLineLayout |
|
484 BubbleLayout::popup_call_audio_in_window_1_graphics_1( TInt aLine ) |
|
485 { |
|
486 if ( aLine < 1 && aLine > 2 ) |
|
487 { |
|
488 Panic( EBMPanicLAF ); |
|
489 } |
|
490 TInt index_h = aLine - 1; |
|
491 return AppLayout::Incoming_call_pop_up_window_graphics_Line_1( index_h ); |
|
492 } |
|
493 |
|
494 // ----------------------------------------------------------------------------- |
|
495 // BubbleLayout::popup_call_audio_in_window_2_elements_1 |
|
496 // ----------------------------------------------------------------------------- |
|
497 // |
|
498 const TAknWindowLineLayout |
|
499 BubbleLayout::popup_call_audio_in_window_2_elements_1() |
|
500 { |
|
501 return AppLayout::Incoming_call_pop_up_window_elements__NE__Line_1(); |
|
502 } |
|
503 |
|
504 // ----------------------------------------------------------------------------- |
|
505 // BubbleLayout::popup_call_audio_in_window_2_elements_2 |
|
506 // ----------------------------------------------------------------------------- |
|
507 // |
|
508 const TAknWindowLineLayout |
|
509 BubbleLayout::popup_call_audio_in_window_2_elements_2() |
|
510 { |
|
511 return AppLayout::Incoming_call_pop_up_window_elements__NE__Line_2(); |
|
512 } |
|
513 |
|
514 // ----------------------------------------------------------------------------- |
|
515 // BubbleLayout::popup_call_audio_in_window_2_elements_15 |
|
516 // ----------------------------------------------------------------------------- |
|
517 // |
|
518 const TAknWindowLineLayout |
|
519 BubbleLayout::popup_call_audio_in_window_2_elements_15() |
|
520 { |
|
521 return AppLayout::Incoming_call_pop_up_window_elements__NE__Line_15(); |
|
522 } |
|
523 |
|
524 // ----------------------------------------------------------------------------- |
|
525 // BubbleLayout::popup_call_audio_in_window_2_texts_1 |
|
526 // ----------------------------------------------------------------------------- |
|
527 // |
|
528 |
|
529 const TAknTextLineLayout |
|
530 BubbleLayout::popup_call_audio_in_window_2_texts_1( TInt aLine, |
|
531 TInt aType ) |
|
532 { |
|
533 if ( aLine < 1 || aLine > 2 ) |
|
534 { |
|
535 Panic( EBMPanicLAF ); |
|
536 } |
|
537 TInt command1 = aLine - 1; |
|
538 TInt command2 = aType; |
|
539 return AppLayout::Incoming_call_pop_up_window_texts__NE__Line_1( command1, command2 ); |
|
540 } |
|
541 |
|
542 // ----------------------------------------------------------------------------- |
|
543 // BubbleLayout::popup_call_audio_in_window_2_texts_2 |
|
544 // ----------------------------------------------------------------------------- |
|
545 // |
|
546 |
|
547 const TAknTextLineLayout |
|
548 BubbleLayout::popup_call_audio_in_window_2_texts_2( TInt aLine, |
|
549 TInt aType ) |
|
550 { |
|
551 if ( aLine < 1 || aLine > 3 ) |
|
552 { |
|
553 Panic( EBMPanicLAF ); |
|
554 } |
|
555 TInt command1 = aLine - 1; |
|
556 TInt command2 = aType; |
|
557 return AppLayout::Incoming_call_pop_up_window_texts__NE__Line_2( command1, command2 ); |
|
558 } |
|
559 |
|
560 // ----------------------------------------------------------------------------- |
|
561 // BubbleLayout::popup_call_audio_in_window_2_graphics_1 |
|
562 // ----------------------------------------------------------------------------- |
|
563 // |
|
564 const TAknWindowLineLayout |
|
565 BubbleLayout::popup_call_audio_in_window_2_graphics_1() |
|
566 { |
|
567 return AppLayout::Incoming_call_pop_up_window_graphics__NE__Line_1(); |
|
568 } |
|
569 |
|
570 // ----------------------------------------------------------------------------- |
|
571 // BubbleLayout::popup_call_audio_out_window_1_elements_1 |
|
572 // ----------------------------------------------------------------------------- |
|
573 // |
|
574 const TAknWindowLineLayout |
|
575 BubbleLayout::popup_call_audio_out_window_1_elements_1() |
|
576 { |
|
577 return AppLayout::Outgoing_call_pop_up_window_elements__held__Line_1(); |
|
578 } |
|
579 |
|
580 // ----------------------------------------------------------------------------- |
|
581 // BubbleLayout::popup_call_audio_out_window_1_elements_2 |
|
582 // ----------------------------------------------------------------------------- |
|
583 // |
|
584 const TAknWindowLineLayout |
|
585 BubbleLayout::popup_call_audio_out_window_1_elements_2() |
|
586 { |
|
587 return AppLayout::Outgoing_call_pop_up_window_elements__held__Line_2(); |
|
588 } |
|
589 |
|
590 // ----------------------------------------------------------------------------- |
|
591 // BubbleLayout::popup_call_audio_out_window_1_elements_15 |
|
592 // ----------------------------------------------------------------------------- |
|
593 // |
|
594 const TAknWindowLineLayout |
|
595 BubbleLayout::popup_call_audio_out_window_1_elements_15() |
|
596 { |
|
597 return AppLayout::Outgoing_call_pop_up_window_elements__held__Line_15(); |
|
598 } |
|
599 |
|
600 // ----------------------------------------------------------------------------- |
|
601 // BubbleLayout::popup_call_audio_out_window_1_texts_1 |
|
602 // ----------------------------------------------------------------------------- |
|
603 // |
|
604 |
|
605 const TAknTextLineLayout |
|
606 BubbleLayout::popup_call_audio_out_window_1_texts_1( TInt aLine, |
|
607 TInt aType ) |
|
608 { |
|
609 if ( aLine < 1 || aLine > 2 ) |
|
610 { |
|
611 Panic( EBMPanicLAF ); |
|
612 } |
|
613 TInt command1 = aLine - 1; |
|
614 TInt command2 = aType; |
|
615 return AppLayout::Outgoing_call_pop_up_window_texts__held__Line_1( command1, command2 ); |
|
616 } |
|
617 |
|
618 // ----------------------------------------------------------------------------- |
|
619 // BubbleLayout::popup_call_audio_out_window_1_graphics_1 |
|
620 // ----------------------------------------------------------------------------- |
|
621 // |
|
622 const TAknWindowLineLayout |
|
623 BubbleLayout::popup_call_audio_out_window_1_graphics_1() |
|
624 { |
|
625 return AppLayout::Outgoing_call_pop_up_window_graphics__held__Line_1(); |
|
626 } |
|
627 |
|
628 // ----------------------------------------------------------------------------- |
|
629 // BubbleLayout::popup_call_audio_out_window_2_elements_1 |
|
630 // ----------------------------------------------------------------------------- |
|
631 // |
|
632 const TAknWindowLineLayout |
|
633 BubbleLayout::popup_call_audio_out_window_2_elements_1() |
|
634 { |
|
635 return AppLayout::Outgoing_call_pop_up_window_elements__held__Line_1(); |
|
636 } |
|
637 |
|
638 // ----------------------------------------------------------------------------- |
|
639 // BubbleLayout::popup_call_audio_out_window_2_elements_2 |
|
640 // ----------------------------------------------------------------------------- |
|
641 // |
|
642 const TAknWindowLineLayout |
|
643 BubbleLayout::popup_call_audio_out_window_2_elements_2() |
|
644 { |
|
645 return AppLayout::Outgoing_call_pop_up_window_elements__held__Line_2(); |
|
646 } |
|
647 |
|
648 // ----------------------------------------------------------------------------- |
|
649 // BubbleLayout::popup_call_audio_out_window_2_elements_3 |
|
650 // ----------------------------------------------------------------------------- |
|
651 // |
|
652 const TAknWindowLineLayout |
|
653 BubbleLayout::popup_call_audio_out_window_2_elements_3() |
|
654 { |
|
655 return AppLayout::Outgoing_call_pop_up_window_elements__held__Line_3(); |
|
656 } |
|
657 |
|
658 // ----------------------------------------------------------------------------- |
|
659 // BubbleLayout::popup_call_audio_out_window_2_elements_15 |
|
660 // ----------------------------------------------------------------------------- |
|
661 // |
|
662 const TAknWindowLineLayout |
|
663 BubbleLayout::popup_call_audio_out_window_2_elements_15() |
|
664 { |
|
665 return AppLayout::Outgoing_call_pop_up_window_elements__held__Line_15(); |
|
666 } |
|
667 |
|
668 // ----------------------------------------------------------------------------- |
|
669 // BubbleLayout::popup_call_audio_out_window_2_texts_1 |
|
670 // ----------------------------------------------------------------------------- |
|
671 // |
|
672 |
|
673 const TAknTextLineLayout |
|
674 BubbleLayout::popup_call_audio_out_window_2_texts_1() |
|
675 { |
|
676 return AppLayout::Outgoing_call_pop_up_window_texts__held_NE__Line_1(); |
|
677 } |
|
678 |
|
679 // ----------------------------------------------------------------------------- |
|
680 // BubbleLayout::popup_call_audio_out_window_2_graphics_1 |
|
681 // ----------------------------------------------------------------------------- |
|
682 // |
|
683 const TAknWindowLineLayout |
|
684 BubbleLayout::popup_call_audio_out_window_2_graphics_1() |
|
685 { |
|
686 return AppLayout::Outgoing_call_pop_up_window_graphics__held_NE__Line_1(); |
|
687 } |
|
688 |
|
689 // ----------------------------------------------------------------------------- |
|
690 // BubbleLayout::popup_call_audio_first_window_1_elements_1 |
|
691 // ----------------------------------------------------------------------------- |
|
692 // |
|
693 const TAknWindowLineLayout |
|
694 BubbleLayout::popup_call_audio_first_window_1_elements_1() |
|
695 { |
|
696 return AppLayout::First_call_pop_up_window_elements__one_call__Line_1(); |
|
697 } |
|
698 |
|
699 // ----------------------------------------------------------------------------- |
|
700 // BubbleLayout::popup_call_audio_first_window_1_elements_2 |
|
701 // ----------------------------------------------------------------------------- |
|
702 // |
|
703 const TAknWindowLineLayout |
|
704 BubbleLayout::popup_call_audio_first_window_1_elements_2() |
|
705 { |
|
706 return AppLayout::First_call_pop_up_window_elements__one_call__Line_2(); |
|
707 } |
|
708 |
|
709 // ----------------------------------------------------------------------------- |
|
710 // BubbleLayout::popup_call_audio_first_window_1_elements_3 |
|
711 // ----------------------------------------------------------------------------- |
|
712 // |
|
713 const TAknWindowLineLayout |
|
714 BubbleLayout::popup_call_audio_first_window_1_elements_3() |
|
715 { |
|
716 return AppLayout::First_call_pop_up_window_elements__one_call__Line_3(); |
|
717 } |
|
718 |
|
719 // ----------------------------------------------------------------------------- |
|
720 // BubbleLayout::popup_call_audio_first_window_1_texts_1 |
|
721 // ----------------------------------------------------------------------------- |
|
722 // |
|
723 |
|
724 const TAknTextLineLayout |
|
725 BubbleLayout::popup_call_audio_first_window_1_texts_1( TInt aLine, |
|
726 TInt aType ) |
|
727 { |
|
728 if ( aLine < 1 || aLine > 3 ) |
|
729 { |
|
730 Panic( EBMPanicLAF ); |
|
731 } |
|
732 TInt command1 = aLine - 1; |
|
733 TInt command2 = aType; |
|
734 return AppLayout::First_call_pop_up_window_texts__one_call__Line_1( command1, command2 ); |
|
735 } |
|
736 |
|
737 // ----------------------------------------------------------------------------- |
|
738 // BubbleLayout::popup_call_audio_first_window_1_texts_2 |
|
739 // ----------------------------------------------------------------------------- |
|
740 // |
|
741 |
|
742 const TAknTextLineLayout |
|
743 BubbleLayout::popup_call_audio_first_window_1_texts_2( TInt aLine, |
|
744 TInt aImageType ) |
|
745 { |
|
746 if ( aLine < 1 || aLine > 3 ) |
|
747 { |
|
748 Panic( EBMPanicLAF ); |
|
749 } |
|
750 TInt command1 = ( aImageType > 0 ) ? 1 : 0; |
|
751 return AppLayout::First_call_pop_up_window_texts__one_call__Line_2( command1 ); |
|
752 } |
|
753 |
|
754 // ----------------------------------------------------------------------------- |
|
755 // BubbleLayout::popup_call_audio_first_window_1_texts_3 |
|
756 // ----------------------------------------------------------------------------- |
|
757 // |
|
758 |
|
759 const TAknTextLineLayout |
|
760 BubbleLayout::popup_call_audio_first_window_1_texts_3() |
|
761 { |
|
762 return AppLayout::First_call_pop_up_window_texts__one_call__Line_3(); |
|
763 } |
|
764 |
|
765 |
|
766 // ----------------------------------------------------------------------------- |
|
767 // BubbleLayout::popup_call_audio_first_window_1_graphics_1 |
|
768 // ----------------------------------------------------------------------------- |
|
769 // |
|
770 const TAknWindowLineLayout |
|
771 BubbleLayout::popup_call_audio_first_window_1_graphics_1() |
|
772 { |
|
773 return AppLayout::First_call_pop_up_window_graphics__one_call__Line_1(); |
|
774 } |
|
775 |
|
776 // ----------------------------------------------------------------------------- |
|
777 // BubbleLayout::popup_call_audio_first_window_2_elements_1 |
|
778 // ----------------------------------------------------------------------------- |
|
779 // |
|
780 const TAknWindowLineLayout |
|
781 BubbleLayout::popup_call_audio_first_window_2_elements_1() |
|
782 { |
|
783 return AppLayout::First_call_pop_up_window_elements__two_calls__Line_1(); |
|
784 } |
|
785 |
|
786 // ----------------------------------------------------------------------------- |
|
787 // BubbleLayout::popup_call_audio_first_window_2_elements_2 |
|
788 // ----------------------------------------------------------------------------- |
|
789 // |
|
790 const TAknWindowLineLayout |
|
791 BubbleLayout::popup_call_audio_first_window_2_elements_2() |
|
792 { |
|
793 return AppLayout::First_call_pop_up_window_elements__two_calls__Line_2(); |
|
794 } |
|
795 |
|
796 // ----------------------------------------------------------------------------- |
|
797 // BubbleLayout::popup_call_audio_first_window_2_elements_15 |
|
798 // ----------------------------------------------------------------------------- |
|
799 // |
|
800 const TAknWindowLineLayout |
|
801 BubbleLayout::popup_call_audio_first_window_2_elements_15() |
|
802 { |
|
803 return AppLayout::First_call_pop_up_window_elements__two_calls__Line_15(); |
|
804 } |
|
805 |
|
806 // ----------------------------------------------------------------------------- |
|
807 // BubbleLayout::popup_call_audio_first_window_2_texts_1 |
|
808 // ----------------------------------------------------------------------------- |
|
809 // |
|
810 |
|
811 const TAknTextLineLayout |
|
812 BubbleLayout::popup_call_audio_first_window_2_texts_1( TInt aLine , |
|
813 TInt aType ) |
|
814 { |
|
815 if ( aLine < 1 || aLine > 2 ) |
|
816 { |
|
817 Panic( EBMPanicLAF ); |
|
818 } |
|
819 TInt command1 = aLine - 1; |
|
820 TInt command2 = aType; |
|
821 return AppLayout::First_call_pop_up_window_texts__two_calls__Line_1( command1, command2 ); |
|
822 } |
|
823 |
|
824 // ----------------------------------------------------------------------------- |
|
825 // BubbleLayout::popup_call_audio_first_window_2_texts_2 |
|
826 // ----------------------------------------------------------------------------- |
|
827 // |
|
828 const TAknTextLineLayout |
|
829 BubbleLayout::popup_call_audio_first_window_2_texts_2( TInt aLine , |
|
830 TInt aImageType ) |
|
831 { |
|
832 if ( aLine < 1 || aLine > 2 ) |
|
833 { |
|
834 Panic( EBMPanicLAF ); |
|
835 } |
|
836 TInt command1 = ( aImageType > 0 ) ? 1 : 0; |
|
837 return AppLayout::First_call_pop_up_window_texts__two_calls__Line_2( command1 ); |
|
838 } |
|
839 |
|
840 // ----------------------------------------------------------------------------- |
|
841 // BubbleLayout::popup_call_audio_first_window_2_texts_3 |
|
842 // ----------------------------------------------------------------------------- |
|
843 // |
|
844 const TAknTextLineLayout |
|
845 BubbleLayout::popup_call_audio_first_window_2_texts_3() |
|
846 { |
|
847 return AppLayout::First_call_pop_up_window_texts__two_calls__Line_3(); |
|
848 } |
|
849 |
|
850 // ----------------------------------------------------------------------------- |
|
851 // BubbleLayout::popup_call_audio_first_window_2_graphics_1 |
|
852 // ----------------------------------------------------------------------------- |
|
853 // |
|
854 const TAknWindowLineLayout |
|
855 BubbleLayout::popup_call_audio_first_window_2_graphics_1() |
|
856 { |
|
857 return AppLayout::First_call_pop_up_window_graphics__two_calls__Line_1(); |
|
858 } |
|
859 |
|
860 // ----------------------------------------------------------------------------- |
|
861 // BubbleLayout::popup_call_audio_first_window_4_elements_1 |
|
862 // ----------------------------------------------------------------------------- |
|
863 // |
|
864 const TAknWindowLineLayout |
|
865 BubbleLayout::popup_call_audio_first_window_4_elements_1() |
|
866 { |
|
867 return AppLayout::First_call_pop_up_window_elements__two_calls_a_waiting_call__Line_1(); |
|
868 } |
|
869 |
|
870 // ----------------------------------------------------------------------------- |
|
871 // BubbleLayout::popup_call_audio_first_window_4_elements_2 |
|
872 // ----------------------------------------------------------------------------- |
|
873 // |
|
874 const TAknWindowLineLayout |
|
875 BubbleLayout::popup_call_audio_first_window_4_elements_2() |
|
876 { |
|
877 return AppLayout::First_call_pop_up_window_elements__two_calls_a_waiting_call__Line_2(); |
|
878 } |
|
879 |
|
880 // ----------------------------------------------------------------------------- |
|
881 // BubbleLayout::popup_call_audio_first_window_4_elements_3 |
|
882 // ----------------------------------------------------------------------------- |
|
883 // |
|
884 const TAknWindowLineLayout |
|
885 BubbleLayout::popup_call_audio_first_window_4_elements_3() |
|
886 { |
|
887 return AppLayout::First_call_pop_up_window_elements__two_calls_a_waiting_call__Line_3(); |
|
888 } |
|
889 |
|
890 // ----------------------------------------------------------------------------- |
|
891 // BubbleLayout::popup_call_audio_first_window_4_texts_1 |
|
892 // ----------------------------------------------------------------------------- |
|
893 // |
|
894 |
|
895 const TAknTextLineLayout |
|
896 BubbleLayout::popup_call_audio_first_window_4_texts_1() |
|
897 { |
|
898 return AppLayout::First_call_pop_up_window_texts__two_calls_a_waiting_call__Line_1(); |
|
899 } |
|
900 |
|
901 // ----------------------------------------------------------------------------- |
|
902 // BubbleLayout::popup_call_audio_first_window_4_graphics_1 |
|
903 // ----------------------------------------------------------------------------- |
|
904 // |
|
905 const TAknWindowLineLayout |
|
906 BubbleLayout::popup_call_audio_first_window_4_graphics_1() |
|
907 { |
|
908 return AppLayout::First_call_pop_up_window_graphics__two_calls_a_waiting_call__Line_1(); |
|
909 } |
|
910 |
|
911 // ----------------------------------------------------------------------------- |
|
912 // BubbleLayout::popup_call_audio_first_window_6_graphics_1 |
|
913 // ----------------------------------------------------------------------------- |
|
914 // |
|
915 const TAknWindowLineLayout |
|
916 BubbleLayout::popup_call_audio_first_window_6_graphics_1() |
|
917 { |
|
918 return AppLayout::First_call_pop_up_window_graphics__two_wait_NE__Line_1(); |
|
919 } |
|
920 |
|
921 // ----------------------------------------------------------------------------- |
|
922 // BubbleLayout::popup_call_audio_first_window_7_graphics_1 |
|
923 // Three-line CDMA emergency call. |
|
924 // ----------------------------------------------------------------------------- |
|
925 // |
|
926 const AknLayoutUtils::SAknLayoutControl |
|
927 BubbleLayout::popup_call_audio_first_window_7_graphics_1() |
|
928 { |
|
929 AknLayoutUtils::SAknLayoutControl layout = {ELayoutEmpty, 0, 0, |
|
930 ELayoutEmpty, ELayoutEmpty, 176, 77}; |
|
931 return layout; |
|
932 } |
|
933 |
|
934 // ----------------------------------------------------------------------------- |
|
935 // BubbleLayout::popup_call_audio_wait_window_3_elements_1 |
|
936 // ----------------------------------------------------------------------------- |
|
937 // |
|
938 const TAknWindowLineLayout |
|
939 BubbleLayout::popup_call_audio_wait_window_3_elements_1() |
|
940 { |
|
941 return AppLayout::Waiting_call_pop_up_window_elements__held_out_NE__Line_1(); |
|
942 } |
|
943 |
|
944 // ----------------------------------------------------------------------------- |
|
945 // BubbleLayout::popup_call_audio_wait_window_3_elements_2 |
|
946 // ----------------------------------------------------------------------------- |
|
947 // |
|
948 const TAknWindowLineLayout |
|
949 BubbleLayout::popup_call_audio_wait_window_3_elements_2() |
|
950 { |
|
951 return AppLayout::Waiting_call_pop_up_window_elements__held_out_NE__Line_2(); |
|
952 } |
|
953 |
|
954 // ----------------------------------------------------------------------------- |
|
955 // BubbleLayout::popup_call_audio_wait_window_3_elements_3 |
|
956 // ----------------------------------------------------------------------------- |
|
957 // |
|
958 const TAknWindowLineLayout |
|
959 BubbleLayout::popup_call_audio_wait_window_3_elements_3() |
|
960 { |
|
961 return AppLayout::Waiting_call_pop_up_window_elements__held_out_NE__Line_3(); |
|
962 } |
|
963 |
|
964 // ----------------------------------------------------------------------------- |
|
965 // BubbleLayout::popup_call_audio_wait_window_3_texts_1 |
|
966 // ----------------------------------------------------------------------------- |
|
967 // |
|
968 const TAknTextLineLayout |
|
969 BubbleLayout::popup_call_audio_wait_window_3_texts_1() |
|
970 { |
|
971 return AppLayout::Waiting_call_pop_up_window_texts__held_out_NE__Line_1(); |
|
972 } |
|
973 |
|
974 // ----------------------------------------------------------------------------- |
|
975 // BubbleLayout::popup_call_audio_wait_window_3_graphics_1 |
|
976 // ----------------------------------------------------------------------------- |
|
977 // |
|
978 const TAknWindowLineLayout |
|
979 BubbleLayout::popup_call_audio_wait_window_3_graphics_1() |
|
980 { |
|
981 return AppLayout::First_call_pop_up_window_graphics__two_wait_NE__Line_1(); |
|
982 } |
|
983 |
|
984 // ----------------------------------------------------------------------------- |
|
985 // BubbleLayout::popup_call_audio_wait_window_4_graphics_1 |
|
986 // ----------------------------------------------------------------------------- |
|
987 // |
|
988 const TAknWindowLineLayout |
|
989 BubbleLayout::popup_call_audio_wait_window_4_graphics_1() |
|
990 { |
|
991 return AppLayout::Waiting_call_pop_up_window_graphics__out__Line_1(); |
|
992 } |
|
993 |
|
994 // ----------------------------------------------------------------------------- |
|
995 // BubbleLayout::popup_call_audio_second_window_1_elements_1 |
|
996 // ----------------------------------------------------------------------------- |
|
997 // |
|
998 const TAknWindowLineLayout |
|
999 BubbleLayout::popup_call_audio_second_window_1_elements_1() |
|
1000 { |
|
1001 return AppLayout::Second_call_pop_up_window_elements__two__Line_1(); |
|
1002 } |
|
1003 |
|
1004 // ----------------------------------------------------------------------------- |
|
1005 // BubbleLayout::popup_call_audio_second_window_1_elements_2 |
|
1006 // ----------------------------------------------------------------------------- |
|
1007 // |
|
1008 const TAknWindowLineLayout |
|
1009 BubbleLayout::popup_call_audio_second_window_1_elements_2() |
|
1010 { |
|
1011 return AppLayout::Second_call_pop_up_window_elements__two__Line_2(); |
|
1012 } |
|
1013 |
|
1014 // ----------------------------------------------------------------------------- |
|
1015 // BubbleLayout::popup_call_audio_second_window_1_elements_3 |
|
1016 // ----------------------------------------------------------------------------- |
|
1017 // |
|
1018 const TAknWindowLineLayout |
|
1019 BubbleLayout::popup_call_audio_second_window_1_elements_3() |
|
1020 { |
|
1021 return AppLayout::Second_call_pop_up_window_elements__two__Line_3(); |
|
1022 } |
|
1023 |
|
1024 // ----------------------------------------------------------------------------- |
|
1025 // BubbleLayout::popup_call_audio_second_window_1_texts_1 |
|
1026 // ----------------------------------------------------------------------------- |
|
1027 // |
|
1028 |
|
1029 const TAknTextLineLayout |
|
1030 BubbleLayout::popup_call_audio_second_window_1_texts_1( TInt aLine , |
|
1031 TInt aType ) |
|
1032 { |
|
1033 if ( aLine < 1 || aLine > 2 ) |
|
1034 { |
|
1035 Panic( EBMPanicLAF ); |
|
1036 } |
|
1037 TInt command1 = aLine - 1; |
|
1038 TInt command2 = aType; |
|
1039 return AppLayout::Second_call_pop_up_window_texts__two_calls__Line_1( command1, command2 ); |
|
1040 } |
|
1041 |
|
1042 // ----------------------------------------------------------------------------- |
|
1043 // BubbleLayout::popup_call_audio_second_window_1_texts_2 |
|
1044 // ----------------------------------------------------------------------------- |
|
1045 // |
|
1046 |
|
1047 const TAknTextLineLayout |
|
1048 BubbleLayout::popup_call_audio_second_window_1_texts_2( TInt aImageType ) |
|
1049 { |
|
1050 TInt command1 = ( aImageType > 0 ) ? 1 : 0; |
|
1051 return AppLayout::Second_call_pop_up_window_texts__two_calls__Line_2( command1 ); |
|
1052 } |
|
1053 |
|
1054 // ----------------------------------------------------------------------------- |
|
1055 // BubbleLayout::popup_call_audio_second_window_1_graphics_1 |
|
1056 // ----------------------------------------------------------------------------- |
|
1057 // |
|
1058 const TAknWindowLineLayout |
|
1059 BubbleLayout::popup_call_audio_second_window_1_graphics_1() |
|
1060 { |
|
1061 return AppLayout::Second_call_pop_up_window_graphics__two_calls__Line_1(); |
|
1062 } |
|
1063 |
|
1064 // ----------------------------------------------------------------------------- |
|
1065 // BubbleLayout::popup_call_audio_second_window_3_elements_1 |
|
1066 // ----------------------------------------------------------------------------- |
|
1067 // |
|
1068 const TAknWindowLineLayout |
|
1069 BubbleLayout::popup_call_audio_second_window_3_elements_1() |
|
1070 { |
|
1071 return AppLayout::Second_call_pop_up_window_elements__two_calls_waiting_call__Line_1(); |
|
1072 } |
|
1073 |
|
1074 // ----------------------------------------------------------------------------- |
|
1075 // BubbleLayout::popup_call_audio_second_window_3_elements_2 |
|
1076 // ----------------------------------------------------------------------------- |
|
1077 // |
|
1078 const TAknWindowLineLayout |
|
1079 BubbleLayout::popup_call_audio_second_window_3_elements_2() |
|
1080 { |
|
1081 return AppLayout::Second_call_pop_up_window_elements__two_calls_waiting_call__Line_2(); |
|
1082 } |
|
1083 |
|
1084 // ----------------------------------------------------------------------------- |
|
1085 // BubbleLayout::popup_call_audio_second_window_3_elements_3 |
|
1086 // ----------------------------------------------------------------------------- |
|
1087 // |
|
1088 const TAknWindowLineLayout |
|
1089 BubbleLayout::popup_call_audio_second_window_3_elements_3() |
|
1090 { |
|
1091 return AppLayout::Second_call_pop_up_window_elements__two_calls_waiting_call__Line_3(); |
|
1092 } |
|
1093 |
|
1094 // ----------------------------------------------------------------------------- |
|
1095 // BubbleLayout::popup_call_audio_second_window_3_texts_1 |
|
1096 // ----------------------------------------------------------------------------- |
|
1097 // |
|
1098 const TAknTextLineLayout |
|
1099 BubbleLayout::popup_call_audio_second_window_3_texts_1() |
|
1100 { |
|
1101 return AppLayout::Second_call_pop_up_window_texts__two_calls_waiting_call__Line_1(); |
|
1102 } |
|
1103 |
|
1104 // ----------------------------------------------------------------------------- |
|
1105 // BubbleLayout::popup_call_audio_second_window_3_graphics_1 |
|
1106 // ----------------------------------------------------------------------------- |
|
1107 // |
|
1108 const TAknWindowLineLayout |
|
1109 BubbleLayout::popup_call_audio_second_window_3_graphics_1() |
|
1110 { |
|
1111 return AppLayout::Second_call_pop_up_window_graphics__two_calls_waiting_call__Line_1(); |
|
1112 } |
|
1113 |
|
1114 // ----------------------------------------------------------------------------- |
|
1115 // BubbleLayout::popup_call_audio_conf_window_elements_1 |
|
1116 // ----------------------------------------------------------------------------- |
|
1117 // |
|
1118 const TAknWindowLineLayout |
|
1119 BubbleLayout::popup_call_audio_conf_window_elements_1( |
|
1120 const TRect& aParentRect ) |
|
1121 { |
|
1122 return AppLayout::Conference_call_pop_up_window_descendants_and_elements_Line_1( aParentRect ); |
|
1123 } |
|
1124 |
|
1125 // ----------------------------------------------------------------------------- |
|
1126 // BubbleLayout::popup_call_audio_conf_window_elements_2 |
|
1127 // ----------------------------------------------------------------------------- |
|
1128 // |
|
1129 const TAknWindowLineLayout |
|
1130 BubbleLayout::popup_call_audio_conf_window_elements_2( TInt aLine ) |
|
1131 { |
|
1132 |
|
1133 if ( aLine < 1 || aLine > 4 ) |
|
1134 { |
|
1135 Panic( EBMPanicLAF ); |
|
1136 } |
|
1137 TInt command1 = aLine - 1; |
|
1138 return AppLayout::list_conf_pane( command1 ); |
|
1139 } |
|
1140 |
|
1141 // ----------------------------------------------------------------------------- |
|
1142 // BubbleLayout::ConferencePaneHeight |
|
1143 // ----------------------------------------------------------------------------- |
|
1144 // |
|
1145 const TAknWindowLineLayout |
|
1146 BubbleLayout::ConferencePane() |
|
1147 { |
|
1148 TInt index_t = 0; |
|
1149 return AppLayout::list_single_graphic_popup_conf_pane( index_t ); |
|
1150 } |
|
1151 |
|
1152 // ----------------------------------------------------------------------------- |
|
1153 // BubbleLayout::popup_call_audio_cont_window_texts_1 |
|
1154 // ----------------------------------------------------------------------------- |
|
1155 // |
|
1156 |
|
1157 const TAknTextLineLayout |
|
1158 BubbleLayout::popup_call_audio_cont_window_texts_1( TInt aLine ) |
|
1159 { |
|
1160 if ( aLine < 1 || aLine > 4 ) |
|
1161 { |
|
1162 Panic( EBMPanicLAF ); |
|
1163 } |
|
1164 TInt command1 = aLine - 1; |
|
1165 return AppLayout::Conference_call_pop_up_window_texts_Line_1( command1 ); |
|
1166 } |
|
1167 |
|
1168 // ----------------------------------------------------------------------------- |
|
1169 // BubbleLayout::main_pane_elements_muted |
|
1170 // ----------------------------------------------------------------------------- |
|
1171 // |
|
1172 const TAknWindowLineLayout BubbleLayout::main_pane_elements_muted( |
|
1173 TBool aNumberEditorActive ) |
|
1174 { |
|
1175 if ( AknLayoutUtils::ScalableLayoutInterfaceAvailable() ) |
|
1176 { |
|
1177 if ( aNumberEditorActive ) |
|
1178 { |
|
1179 return AknLayoutScalable_Apps::call_muted_g2().LayoutLine(); |
|
1180 } |
|
1181 else |
|
1182 { |
|
1183 return AknLayoutScalable_Apps::call_muted_g(0).LayoutLine(); |
|
1184 } |
|
1185 } |
|
1186 else |
|
1187 { |
|
1188 return AppLayout::Muted_state_elements_Line_1(); |
|
1189 } |
|
1190 } |
|
1191 |
|
1192 // ----------------------------------------------------------------------------- |
|
1193 // BubbleLayout::call_type_pane_elements_1 |
|
1194 // ----------------------------------------------------------------------------- |
|
1195 // |
|
1196 const TAknWindowLineLayout |
|
1197 BubbleLayout::call_type_pane_elements_1() |
|
1198 { |
|
1199 return AppLayout::Call_type_pane_split_Line_1(); |
|
1200 } |
|
1201 |
|
1202 // ----------------------------------------------------------------------------- |
|
1203 // BubbleLayout::call_type_pane_elements_2 |
|
1204 // ----------------------------------------------------------------------------- |
|
1205 // |
|
1206 const TAknWindowLineLayout |
|
1207 BubbleLayout::call_type_pane_elements_2() |
|
1208 { |
|
1209 return AppLayout::Call_type_pane_split_Line_2(); |
|
1210 } |
|
1211 |
|
1212 // End of File |