equal
deleted
inserted
replaced
130 |
130 |
131 #include <eikedwin.h> |
131 #include <eikedwin.h> |
132 #include <aknCharMap.h> |
132 #include <aknCharMap.h> |
133 |
133 |
134 #include <AknFepInternalPSKeys.h> |
134 #include <AknFepInternalPSKeys.h> |
|
135 #include <e32property.h> |
|
136 #include <AknDef.h> |
135 |
137 |
136 const TInt KSelectItemSize(10); |
138 const TInt KSelectItemSize(10); |
137 _LIT(KAknFepResourceFileName, "z:\\resource\\fep\\aknfep.rsc"); |
139 _LIT(KAknFepResourceFileName, "z:\\resource\\fep\\aknfep.rsc"); |
138 |
140 |
139 #define text_to_field_mode_hash_key ';' |
141 #define text_to_field_mode_hash_key ';' |
247 const TInt KWordToFocusInCandidateList = 1; |
249 const TInt KWordToFocusInCandidateList = 1; |
248 #endif |
250 #endif |
249 |
251 |
250 LOCAL_C TInt RemapVietnameseAccentedCharacter(TUint16 aChr); |
252 LOCAL_C TInt RemapVietnameseAccentedCharacter(TUint16 aChr); |
251 |
253 |
|
254 static _LIT_SECURITY_POLICY_PASS( KAllowAllPolicy ); |
|
255 static _LIT_SECURITY_POLICY_C1( KPowerMgmtPolicy, ECapabilityPowerMgmt ); |
|
256 |
252 // |
257 // |
253 // Class TTextDirectionalInfo |
258 // Class TTextDirectionalInfo |
254 // |
259 // |
255 /** |
260 /** |
256 * The implementation inializes with well-defined "null" state |
261 * The implementation inializes with well-defined "null" state |
440 iZhuyinAnalyser = CAknFepZhuyinAnalyser::NewL(iZhuyinAnalyserDb); |
445 iZhuyinAnalyser = CAknFepZhuyinAnalyser::NewL(iZhuyinAnalyserDb); |
441 iAknFepThaiSCTSelector = CAknFepThaiSCTSelector::NewL(); |
446 iAknFepThaiSCTSelector = CAknFepThaiSCTSelector::NewL(); |
442 iHybridAplphaChangedToAlphanumeric = EFalse; |
447 iHybridAplphaChangedToAlphanumeric = EFalse; |
443 iLastFocusedEditor = NULL; |
448 iLastFocusedEditor = NULL; |
444 iFepAwareDialogParentEditor = NULL; |
449 iFepAwareDialogParentEditor = NULL; |
|
450 |
|
451 RProperty::Define( |
|
452 KPSUidAknFep, |
|
453 KAknFepSettingDialogState, |
|
454 RProperty::EInt, |
|
455 KAllowAllPolicy, // None |
|
456 KPowerMgmtPolicy ); |
445 } |
457 } |
446 |
458 |
447 void CAknFepManager::ConstructFullyL() |
459 void CAknFepManager::ConstructFullyL() |
448 { |
460 { |
449 if (!iPtiEngine) |
461 if (!iPtiEngine) |
8856 SetFlag(EFlagForegroundUIComponentVisible); |
8868 SetFlag(EFlagForegroundUIComponentVisible); |
8857 |
8869 |
8858 TInt textQueryEditorFlag = 0; |
8870 TInt textQueryEditorFlag = 0; |
8859 if ((aResourceId == R_AVKON_INSERT_WORD_QUERY || |
8871 if ((aResourceId == R_AVKON_INSERT_WORD_QUERY || |
8860 aResourceId == R_AVKON_EDIT_WORD_QUERY ) && |
8872 aResourceId == R_AVKON_EDIT_WORD_QUERY ) && |
8861 IsChineseInputLanguage()) |
8873 FeatureManager::FeatureSupported( KFeatureIdChinese )) |
8862 { |
8874 { |
8863 textQueryEditorFlag = EAknEditorFlagLatinInputModesOnly; |
8875 textQueryEditorFlag = EAknEditorFlagLatinInputModesOnly; |
8864 } |
8876 } |
8865 #ifdef RD_SCALABLE_UI_V2 |
8877 #ifdef RD_SCALABLE_UI_V2 |
8866 if (iFepFullyConstructed && |
8878 if (iFepFullyConstructed && |