equal
deleted
inserted
replaced
115 } |
115 } |
116 } |
116 } |
117 } |
117 } |
118 return number; |
118 return number; |
119 } |
119 } |
120 |
|
121 TBool TAknFepInputStateInitialChineseGenericQwerty::HandleKeyL(TInt aKey, TKeyPressLength aLength) |
120 TBool TAknFepInputStateInitialChineseGenericQwerty::HandleKeyL(TInt aKey, TKeyPressLength aLength) |
122 { |
121 { |
123 CPtiEngine* ptiengine = iOwner->PtiEngine(); |
122 CPtiEngine* ptiengine = iOwner->PtiEngine(); |
124 |
123 |
125 TBool ret = EFalse; |
124 TBool ret = EFalse; |
318 } |
317 } |
319 #endif |
318 #endif |
320 return response; |
319 return response; |
321 } |
320 } |
322 |
321 |
323 //-------------------------------------------------------------------------- |
|
324 // The gate to decide whether it is a character is whether it has valid mapping |
|
325 // If return ETrue, the key will pass to ptiengine. |
|
326 //-------------------------------------------------------------------------- |
|
327 // |
|
328 TBool TAknFepInputStateInitialChineseGenericQwerty::IsCharacter(TInt aKey) |
322 TBool TAknFepInputStateInitialChineseGenericQwerty::IsCharacter(TInt aKey) |
329 { |
323 { |
330 TBool response = EFalse; |
324 TBool response = EFalse; |
331 CPtiEngine* ptiengine = iOwner->PtiEngine(); |
325 CPtiEngine* ptiengine = iOwner->PtiEngine(); |
332 MAknFepManagerUIInterface* fepMan = iOwner->FepMan(); |
326 MAknFepManagerUIInterface* fepMan = iOwner->FepMan(); |
338 if (data.Length() > 0) |
332 if (data.Length() > 0) |
339 { |
333 { |
340 response = ETrue; |
334 response = ETrue; |
341 } |
335 } |
342 } |
336 } |
343 |
|
344 // exception Z might has no mapping but need to put into ptiengine. |
|
345 if(!response && aKey == EPtiKeyQwertyZ) |
337 if(!response && aKey == EPtiKeyQwertyZ) |
346 { |
338 { |
347 response = ETrue; |
339 response = ETrue; |
348 } |
340 } |
349 return response; |
341 return response; |