uifw/EikStd/dlgsrc/EIKDPAGE.CPP
branchRCL_3
changeset 21 978afdc0236f
parent 20 d48ab3b357f1
equal deleted inserted replaced
20:d48ab3b357f1 21:978afdc0236f
  2243 
  2243 
  2244                 if ( iCurrentLine != KErrNotFound )
  2244                 if ( iCurrentLine != KErrNotFound )
  2245                     {
  2245                     {
  2246                     ExposeLine( iCurrentLine, ETrue );
  2246                     ExposeLine( iCurrentLine, ETrue );
  2247                     }
  2247                     }
       
  2248                 TRAP_IGNORE( RecordLinesL() );
       
  2249                 DrawDeferred();
  2248                 break;
  2250                 break;
  2249                 
  2251                 
  2250             case KAknMessageFocusLost:
  2252             case KAknMessageFocusLost:
  2251                 if ( !IsEditable() && iExtension && 
  2253                 if ( !IsEditable() && iExtension && 
  2252                     iExtension->iUsesSingleClick && HighlightVisible() )
  2254                     iExtension->iUsesSingleClick && HighlightVisible() )
  2257             
  2259             
  2258                     if ( line )
  2260                     if ( line )
  2259                         {
  2261                         {
  2260                         ShowFocus( EFalse, ETrue );
  2262                         ShowFocus( EFalse, ETrue );
  2261                         }
  2263                         }
       
  2264                     }
       
  2265                 //Stop physics and synchronize the page to reset KS
       
  2266                 //when page losing foreground.
       
  2267                 if ( IsEditable() && iExtension->iScrolling 
       
  2268                 	              && iPhysics->OngoingPhysicsAction() == 
       
  2269                                   CAknPhysics::EAknPhysicsActionDragging ) 
       
  2270                 	{
       
  2271                 	iPhysics->Stop();
       
  2272                     Synchronize();
  2262                     }
  2273                     }
  2263                 break;
  2274                 break;
  2264 
  2275 
  2265             default:
  2276             default:
  2266                 break;
  2277                 break;
  3200     
  3211     
  3201     TInt touchedLine = iExtension->iLastTouchedLine;
  3212     TInt touchedLine = iExtension->iLastTouchedLine;
  3202     
  3213     
  3203     if ( ( touchedLine < iLines->Count() ) && ( touchedLine != iCurrentLine ) )
  3214     if ( ( touchedLine < iLines->Count() ) && ( touchedLine != iCurrentLine ) )
  3204         {
  3215         {
  3205         (*iLines)[touchedLine]->ActivateL();
  3216         TRAP_IGNORE( (*iLines)[touchedLine]->ActivateL() );
  3206         
  3217         
  3207         if ( LineIsFocusable( touchedLine ) )
  3218         if ( LineIsFocusable( touchedLine ) )
  3208             {
  3219             {
  3209             TRAP_IGNORE( PrepareForFocusTransitionL();
  3220             TRAP_IGNORE( PrepareForFocusTransitionL();
  3210                          ChangeFocusToAndExposeL( touchedLine );
  3221                          ChangeFocusToAndExposeL( touchedLine );