taskswitcher/taskswitcherui/taskswitcherapp/inc/tsfastswaparea.h
branchRCL_3
changeset 9 f966699dea19
parent 5 c743ef5928ba
child 11 ff572dfe6d86
equal deleted inserted replaced
5:c743ef5928ba 9:f966699dea19
   194 
   194 
   195     /**
   195     /**
   196      * Implements drag gesture handling
   196      * Implements drag gesture handling
   197      * @see MTsEventControlerObserver
   197      * @see MTsEventControlerObserver
   198      */
   198      */
   199     void Drag(const AknTouchGestureFw::MAknTouchGestureFwDragEvent& aEvent);
   199     void DragL(const AknTouchGestureFw::MAknTouchGestureFwDragEvent& aEvent);
   200     
   200     
   201     /**
   201     /**
   202      * Implements animation stop handling
   202      * Implements animation stop handling
   203      * @see MTsEventControlerObserver
   203      * @see MTsEventControlerObserver
   204      */
   204      */
   254     void HandleFswContentChangedL();
   254     void HandleFswContentChangedL();
   255     
   255     
   256     /**
   256     /**
   257      * Shows the content from iArray on the screen.
   257      * Shows the content from iArray on the screen.
   258      */
   258      */
   259     void RenderContentL();
   259     void RenderContentL( TBool aSuppressAnimation = EFalse );
   260     
   260     
   261     /**
   261     /**
   262      * Creates the ganes grid control.
   262      * Creates the ganes grid control.
   263      */
   263      */
   264     void ReCreateGridL();
   264     void ReCreateGridL();
   309     
   309     
   310     /**
   310     /**
   311      * Selects next item in grid
   311      * Selects next item in grid
   312      */
   312      */
   313     void SelectNextItem();
   313     void SelectNextItem();
   314     
       
   315     /**
       
   316      * Highlight current grid'd item and redraw
       
   317      */
       
   318     void ShowHighlight();
       
   319     
   314     
   320     /**
   315     /**
   321      * Centralise most centered item so it was most exposed on the view.
   316      * Centralise most centered item so it was most exposed on the view.
   322      * Centered element is being selected by grid.
   317      * Centered element is being selected by grid.
   323      * Animation to the centered element is made after aRedrawDelay time.
   318      * Animation to the centered element is made after aRedrawDelay time.
   398     
   393     
   399     // fsw popup (activate, close, etc.), own
   394     // fsw popup (activate, close, etc.), own
   400     CAknStylusPopUpMenu* iPopup;
   395     CAknStylusPopUpMenu* iPopup;
   401     // the aIndex argument of ShowPopupL is stored here
   396     // the aIndex argument of ShowPopupL is stored here
   402     TInt iAppIndexForPopup;
   397     TInt iAppIndexForPopup;
   403 
       
   404     // Timestamp of the last application close operation
       
   405     TTime iTimeOfLastClose;
       
   406     
   398     
   407     // Observer ptr, may be NULL, not owned
   399     // Observer ptr, may be NULL, not owned
   408     MTsDataChangeObserver* iDcObserver;
   400     MTsDataChangeObserver* iDcObserver;
   409     
   401     
   410     //Input events handler
   402     //Input events handler
   414     TInt iPreviousNoOfItems;
   406     TInt iPreviousNoOfItems;
   415     
   407     
   416     // Tap event
   408     // Tap event
   417     TPointerEvent iTapEvent;
   409     TPointerEvent iTapEvent;
   418     CTsFastSwapTimer* iHighlightTimer;
   410     CTsFastSwapTimer* iHighlightTimer;
       
   411     
       
   412     //Ignore physics move when request is cased by drag outside owned area
       
   413     TBool iIgnorePhysicsMove;
   419     
   414     
   420     // Grid scrolling
   415     // Grid scrolling
   421     TInt iGridItemWidth;
   416     TInt iGridItemWidth;
   422     TInt iGridItemGap;
   417     TInt iGridItemGap;
   423     
   418