taskswitcher/taskswitcherui/taskswitcherapp/inc/tsfastswaparea.h
branchRCL_3
changeset 16 9674c1a575e9
parent 15 ff572dfe6d86
child 30 b8fae6b8a148
equal deleted inserted replaced
15:ff572dfe6d86 16:9674c1a575e9
   182 public:
   182 public:
   183     /**
   183     /**
   184      * Implements drag gesture handling
   184      * Implements drag gesture handling
   185      * @see MTsEventControlerObserver
   185      * @see MTsEventControlerObserver
   186      */
   186      */
   187     void MoveOffset(const TPoint&);
   187     void MoveOffset(const TPoint&, TBool);
   188 
   188 
   189     /**
   189     /**
   190      * Implements tap gesture handling
   190      * Implements tap gesture handling
   191      * @see MTsEventControlerObserver
   191      * @see MTsEventControlerObserver
   192      */
   192      */
   373     /**
   373     /**
   374      * Show highlight when disabled and 
   374      * Show highlight when disabled and 
   375      * consume EEventKeyUp that follows after event that swiched on the highlight.
   375      * consume EEventKeyUp that follows after event that swiched on the highlight.
   376      */
   376      */
   377     TKeyResponse ShowHighlightOnKeyEvent(const TKeyEvent& aKeyEvent, TEventCode aType);
   377     TKeyResponse ShowHighlightOnKeyEvent(const TKeyEvent& aKeyEvent, TEventCode aType);
       
   378     
       
   379     /**
       
   380      * Returns current screen orientation:
       
   381      * 
       
   382      * @return  1 if landscape, 0 if portait 
       
   383      */
       
   384     TInt GetCurrentScreenOrientation();
   378 
   385 
   379 private: // Data
   386 private: // Data
   380     
   387     
   381     // parent control
   388     // parent control
   382     CCoeControl& iParent;
   389     CCoeControl& iParent;
   413     
   420     
   414     // Tap event
   421     // Tap event
   415     TPointerEvent iTapEvent;
   422     TPointerEvent iTapEvent;
   416     CTsFastSwapTimer* iHighlightTimer;
   423     CTsFastSwapTimer* iHighlightTimer;
   417     
   424     
   418     //Ignore physics move when request is cased by drag outside owned area
   425     // View offset position, used by animation physics
   419     TBool iIgnorePhysicsMove;
   426     TInt iLogicalViewPosOffset;
   420     
   427     
   421     // Grid scrolling
   428     // Grid scrolling
   422     TInt iGridItemWidth;
   429     TInt iGridItemWidth;
   423     TInt iGridItemGap;
   430     TInt iGridItemGap;
   424     
   431     
   425     CTsFastSwapTimer* iRedrawTimer; // owned
   432     CTsFastSwapTimer* iRedrawTimer; // owned
   426     
       
   427     CTsFastSwapTimer* iUpdateGridTimer;//owned
   433     CTsFastSwapTimer* iUpdateGridTimer;//owned
       
   434     CTsFastSwapTimer* iOrientationSignalTimer; // owned
       
   435     TInt iPrevScreenOrientation;
       
   436     TBool iIgnoreLayoutSwitch;
   428     
   437     
   429     // Key event handling
   438     // Key event handling
   430     TBool iConsumeEvent;
   439     TBool iConsumeEvent;
   431     TBool iKeyEvent;
   440     TBool iKeyEvent;
   432     };
   441     };