textinput/peninputsplitqwerty/src/peninputsplitqwertylafdatamgr.cpp
branchRCL_3
changeset 12 4eb1ae11334f
parent 7 a47de9135b21
child 29 857bebeecec0
equal deleted inserted replaced
10:6defe5d1bd39 12:4eb1ae11334f
   327 
   327 
   328     linelayout = AknLayoutScalable_Avkon::bg_cell_vkbss_key_g1(v2).LayoutLine();
   328     linelayout = AknLayoutScalable_Avkon::bg_cell_vkbss_key_g1(v2).LayoutLine();
   329     keycellRect.LayoutRect( keypaneRect.Rect(), linelayout );
   329     keycellRect.LayoutRect( keypaneRect.Rect(), linelayout );
   330 
   330 
   331     keyText = AknLayoutScalable_Avkon::cell_vkbss_key_t1(v2).LayoutLine();
   331     keyText = AknLayoutScalable_Avkon::cell_vkbss_key_t1(v2).LayoutLine();
   332     keyText.iB += 3; //todo split-view, temp solution
   332     keyText.iB += 3; 
   333     
   333     
   334     linelayout = AknLayoutScalable_Avkon::cell_vkbss_key_g1(v2).LayoutLine();
   334     linelayout = AknLayoutScalable_Avkon::cell_vkbss_key_g1(v2).LayoutLine();
   335     keylabelRect.LayoutRect( keypaneRect.Rect(), linelayout );
   335     keylabelRect.LayoutRect( keypaneRect.Rect(), linelayout );
   336 
   336 
   337     linelayout = AknLayoutScalable_Avkon::cell_vkbss_key_3p_pane(v2).LayoutLine();
   337     linelayout = AknLayoutScalable_Avkon::cell_vkbss_key_3p_pane(v2).LayoutLine();
   376     for ( TInt i = 0; i < aRows; i++ )
   376     for ( TInt i = 0; i < aRows; i++ )
   377         {
   377         {
   378         TInt indent = ( i % 2 == 1 ) ? rowIndentWidth : 0;
   378         TInt indent = ( i % 2 == 1 ) ? rowIndentWidth : 0;
   379         for ( TInt j = 0; j < aCols; j++ )
   379         for ( TInt j = 0; j < aCols; j++ )
   380             {
   380             {
   381             TRect bound = rectXBorder;
   381 			TRect bound = rectXPane;
   382             bound.Move( j * rectXPane.Width(), i * rectXPane.Height() );
   382             bound.Move( j * rectXPane.Width(), i * rectXPane.Height() );
   383             bound.Move( indent, 0 );
   383             bound.Move( indent, 0 );
   384             
   384             
   385             data->iKeypad.iRects.AppendL( bound );
   385             data->iKeypad.iRects.AppendL( bound );
   386             
   386