equal
deleted
inserted
replaced
60 // Layout UID for portrait FSQ. Used for distinguish between |
60 // Layout UID for portrait FSQ. Used for distinguish between |
61 // landscape and portrait FSQ for EPluginInputModeFSQ, which |
61 // landscape and portrait FSQ for EPluginInputModeFSQ, which |
62 // is used for both orientation in Pen Input server side code. |
62 // is used for both orientation in Pen Input server side code. |
63 const TInt KPenInputSrvPrtFsqUiId = 0x20026837; |
63 const TInt KPenInputSrvPrtFsqUiId = 0x20026837; |
64 |
64 |
|
65 // The UID of the PopupClock application |
|
66 const TInt KBigClockUid = 0x2000FDC3; |
|
67 |
|
68 // The UID of the SreenSaver application |
|
69 const TInt KScreenSaverUid = 0x100056CF; |
|
70 |
|
71 // The UID of the AutoLock application |
|
72 const TInt KAutoLockUid = 0x100059B5; |
65 |
73 |
66 enum TActivationFlag |
74 enum TActivationFlag |
67 { |
75 { |
68 ECmdDeactivate = EFalse, |
76 ECmdDeactivate = EFalse, |
69 ECmdActivate = ETrue, |
77 ECmdActivate = ETrue, |
2573 { |
2581 { |
2574 if(iInGlobalNotesState) |
2582 if(iInGlobalNotesState) |
2575 { |
2583 { |
2576 //fix for fast swap case |
2584 //fix for fast swap case |
2577 iInGlobalNotesState = EFalse; |
2585 iInGlobalNotesState = EFalse; |
2578 if(iPreNonGloebalNotesWndGrpId != focusApp.iUid ) |
2586 |
|
2587 // Don't handle switching focus group |
|
2588 // when current focus of the application is screen saver, auto lock or popup clock. |
|
2589 if ( iPreNonGloebalNotesWndGrpId != focusApp.iUid && |
|
2590 focusApp.iUid != KScreenSaverUid && |
|
2591 focusApp.iUid != KAutoLockUid && |
|
2592 focusApp.iUid != KBigClockUid ) |
2579 { |
2593 { |
2580 iPreNonGloebalNotesWndGrpId = focusApp.iUid; |
2594 iPreNonGloebalNotesWndGrpId = focusApp.iUid; |
2581 DeactivateSprite(ETrue);//hide pen ui immediately if switched to another application |
2595 DeactivateSprite(ETrue);//hide pen ui immediately if switched to another application |
2582 // Notify FEP to close touch input window. |
2596 // Notify FEP to close touch input window. |
2583 // Under this case, touch input window can't be closed without norifying FEP side. |
2597 // Under this case, touch input window can't be closed without norifying FEP side. |