uifw/AknGlobalUI/AknCapServer/src/AknFastswapWindowControl.cpp
branchRCL_3
changeset 4 8ca85d2f0db7
parent 0 2f259fa3e83a
child 18 0aa5fbdfbc30
equal deleted inserted replaced
0:2f259fa3e83a 4:8ca85d2f0db7
    37 #include <skinlayout.cdl.h>
    37 #include <skinlayout.cdl.h>
    38 
    38 
    39 #include <akntransitionutils.h>
    39 #include <akntransitionutils.h>
    40 #include <akntranseffect.h>
    40 #include <akntranseffect.h>
    41 #include <gfxtranseffect/gfxtranseffect.h>
    41 #include <gfxtranseffect/gfxtranseffect.h>
    42 #include <WidgetRegistryConstants.h>
    42 #include <widgetregistryconstants.h>
    43 #include <WidgetRegistryData.h>
    43 #include <widgetregistrydata.h>
    44 #include <featmgr.h>
    44 #include <featmgr.h>
    45 #include <aknglobalpopupprioritycontroller.h>
    45 #include <aknglobalpopupprioritycontroller.h>
    46 #include <centralrepository.h>
    46 #include <centralrepository.h>
    47 #include <AknTasHook.h>
    47 #include <AknTasHook.h>
    48 #include <touchfeedback.h>
    48 #include <touchfeedback.h>
  1638         case MEikListBoxObserver::EEventEnterKeyPressed:
  1638         case MEikListBoxObserver::EEventEnterKeyPressed:
  1639             SwitchToApplicationL( iGrid->CurrentDataIndex() );    
  1639             SwitchToApplicationL( iGrid->CurrentDataIndex() );    
  1640             break;
  1640             break;
  1641 
  1641 
  1642         case MEikListBoxObserver::EEventItemClicked:
  1642         case MEikListBoxObserver::EEventItemClicked:
       
  1643         case MEikListBoxObserver::EEventItemSingleClicked:
  1643             if ( !iItemDraggingActioned && !iIsStylusPopupShow )
  1644             if ( !iItemDraggingActioned && !iIsStylusPopupShow )
  1644                 {
  1645                 {
  1645                 TTime now;
  1646                 TTime now;
  1646                 now.HomeTime();
  1647                 now.HomeTime();
  1647                 TInt64 diffTime = KPressedDownEffectTime - now.MicroSecondsFrom(iPressDownTime).Int64();         
  1648                 TInt64 diffTime = KPressedDownEffectTime - now.MicroSecondsFrom(iPressDownTime).Int64();