textinput/peninputfingerhwr/src/peninputfingerhwrlayout.cpp
branchRCL_3
changeset 12 5e18d8c489d6
parent 3 f5a1e66df979
child 13 1bbdde98cc2d
equal deleted inserted replaced
11:c8fb4cf7b3ae 12:5e18d8c489d6
  1033         // set first stroke flag for Auto Complete
  1033         // set first stroke flag for Auto Complete
  1034         iDataStore->SetFirstStroke(ETrue);
  1034         iDataStore->SetFirstStroke(ETrue);
  1035         
  1035         
  1036         // The default candidate cell is not highlight
  1036         // The default candidate cell is not highlight
  1037         iDataStore->SetHighlight(EFalse);
  1037         iDataStore->SetHighlight(EFalse);
  1038               
       
  1039         iHwrWnd->UpdateLayout(EFalse);
       
  1040         
       
  1041         // Show two empty dropdown list       
       
  1042         iHwrWnd->CandidateList()->ResetAndClear();
       
  1043         iHwrWnd->PredictiveList()->ResetAndClear();
       
  1044         
       
  1045 #else
  1038 #else
  1046         if(iDataStore->PrimaryRange() == ERangeEnglish)
  1039         if(iDataStore->PrimaryRange() == ERangeEnglish)
  1047             {
  1040             {
  1048             iDataStore->SetFixEnglishSymbolL();
  1041             iDataStore->SetFixEnglishSymbolL();
  1049             }
  1042             }
  1050         // Hide the fix English Symbol list         
  1043         // Hide the fix English Symbol list         
  1051         iHwrWnd->HideTwoRowEngSymbolList(ETrue);
  1044         iHwrWnd->HideTwoRowEngSymbolList(ETrue);
  1052         
  1045         
  1053         // The default candidate cell is not highlight
  1046         // The default candidate cell is not highlight
  1054         iDataStore->SetHighlight(EFalse);      
  1047         iDataStore->SetHighlight(EFalse);      
  1055         iHwrWnd->UpdateLayout(EFalse);
       
  1056         
       
  1057         // Show empty upper row in Native range
       
  1058         // Show fix English Symbol in English range
       
  1059         if(iDataStore->PrimaryRange() != ERangeEnglish)
       
  1060             {
       
  1061             iHwrWnd->CandidateList()->ResetAndClear();
       
  1062             }
       
  1063             
       
  1064         // Show empty lower row
       
  1065         iHwrWnd->PredictiveList()->ResetAndClear();
       
  1066         
       
  1067 #endif
  1048 #endif
  1068         }
  1049         }
  1069         
  1050         
  1070     // remember the start writing position.
  1051     // remember the start writing position.
  1071     iDataStore->SetStartCharacter(ETrue);
  1052     iDataStore->SetStartCharacter(ETrue);