photosgallery/viewframework/dataprovider/src/glxpreviewthumbnailbinding.cpp
branchRCL_3
changeset 13 bcb43dc84c44
parent 2 7d9067c6fcb1
child 23 b023a8d2866a
equal deleted inserted replaced
12:ce1c7ad1f18b 13:bcb43dc84c44
   280 // has not reached till the max limit to be shown
   280 // has not reached till the max limit to be shown
   281 // ----------------------------------------------------------------------------
   281 // ----------------------------------------------------------------------------
   282 //
   282 //
   283 void CGlxPreviewThumbnailBinding::TimerTicked()
   283 void CGlxPreviewThumbnailBinding::TimerTicked()
   284     {
   284     {
   285     //iTimerTicked = ETrue;
       
   286     TRACER("CGlxPreviewThumbnailBinding::TimerTicked");
   285     TRACER("CGlxPreviewThumbnailBinding::TimerTicked");
   287     iCurrentOrientationLandscape = GlxGeneralUiUtilities::IsLandscape();
   286     iCurrentOrientationLandscape = GlxGeneralUiUtilities::IsLandscape();
   288     
   287     
   289          if(iMediaList)
   288          if(iMediaList)
   290             {
   289             {
   294                 && iProgressIndex < iMediaList->Count()-1)
   293                 && iProgressIndex < iMediaList->Count()-1)
   295                 {
   294                 {
   296                 iTimerTicked = ETrue;
   295                 iTimerTicked = ETrue;
   297                 iProgressIndex++;
   296                 iProgressIndex++;
   298                 Update();
   297                 Update();
   299                 //iTimerTicked = EFalse;
       
   300                 }
   298                 }
   301             else
   299             else
   302                 {
   300                 {
   303                 iProgressIndex = KErrNotFound;
   301                 iProgressIndex = KErrNotFound;
   304                 //iStartedShowingThumbnails = EFalse;
       
   305                 }
   302                 }
   306             }     
   303             }     
   307          
   304          
   308     }
   305     }
   309     
   306     
   502 // ----------------------------------------------------------------------------
   499 // ----------------------------------------------------------------------------
   503 //  
   500 //  
   504 void CGlxPreviewThumbnailBinding::HandleFocusChangedL( NGlxListDefs::
   501 void CGlxPreviewThumbnailBinding::HandleFocusChangedL( NGlxListDefs::
   505     TFocusChangeType /*aType*/, TInt /*aNewIndex*/, TInt /*aOldIndex*/, MGlxMediaList* /*aList*/ )
   502     TFocusChangeType /*aType*/, TInt /*aNewIndex*/, TInt /*aOldIndex*/, MGlxMediaList* /*aList*/ )
   506     {
   503     {
   507    // HandleFocusChanged(ETrue);
       
   508    	TRACER("CGlxPreviewThumbnailBinding::HandleFocusChangedL");
   504    	TRACER("CGlxPreviewThumbnailBinding::HandleFocusChangedL");
   509     }
   505     }
   510 
   506 
   511 // ----------   ------------------------------------------------------------------
   507 // ----------   ------------------------------------------------------------------
   512 // HandleItemSelected
   508 // HandleItemSelected