uifw/AvKon/src/AknCharMap.cpp
branchRCL_3
changeset 6 9f56a4e1b8ab
parent 5 aabf2c525e0f
child 9 0aa5fbdfbc30
equal deleted inserted replaced
5:aabf2c525e0f 6:9f56a4e1b8ab
  3971 
  3971 
  3972 void CAknCharMap::DoHandleResourceChangeL(TInt aType)
  3972 void CAknCharMap::DoHandleResourceChangeL(TInt aType)
  3973     {
  3973     {
  3974     if (aType == KEikDynamicLayoutVariantSwitch)
  3974     if (aType == KEikDynamicLayoutVariantSwitch)
  3975         {
  3975         {
       
  3976     
       
  3977         SetSmileyAnimationActivityInCurrentPageL(EFalse);
       
  3978         
  3976         TInt cursorIndexBeforeSwitch = (iFirstVisibleRow + iCursorPos.iY) * iMaxColumns + iCursorPos.iX;
  3979         TInt cursorIndexBeforeSwitch = (iFirstVisibleRow + iCursorPos.iY) * iMaxColumns + iCursorPos.iX;
  3977         TInt recentLengthBeforeSwitch = iMaxColumns;
  3980         TInt recentLengthBeforeSwitch = iMaxColumns;
  3978         TBool recentWasSetBeforeSwitch = iSetRecentSct;
  3981         TBool recentWasSetBeforeSwitch = iSetRecentSct;
  3979 
  3982 
  3980         // Disabled because the buffer content may change due to diffent layout.
  3983         // Disabled because the buffer content may change due to diffent layout.
  3986         // Append right amount of recent characters due to different layout.
  3989         // Append right amount of recent characters due to different layout.
  3987         if (recentWasSetBeforeSwitch) AppendRecentCharL();
  3990         if (recentWasSetBeforeSwitch) AppendRecentCharL();
  3988 
  3991 
  3989         // Sets the character case because the buffer content may have changed.
  3992         // Sets the character case because the buffer content may have changed.
  3990         SetCharacterCaseL(iSpecialCharCase);
  3993         SetCharacterCaseL(iSpecialCharCase);
       
  3994 		
       
  3995         SetSmileyAnimationActivityInCurrentPageL(ETrue);
       
  3996 		
  3991         TInt cursorIndexAfterSwitch;
  3997         TInt cursorIndexAfterSwitch;
  3992         if ( !iExtension->iKeyBrdEvent )
  3998         if ( !iExtension->iKeyBrdEvent )
  3993             {
  3999             {
  3994             cursorIndexAfterSwitch = cursorIndexBeforeSwitch;
  4000             cursorIndexAfterSwitch = cursorIndexBeforeSwitch;
  3995             }
  4001             }