86 void ScaleBitmapToListSizeL(CFbsBitmap* aSrcBitmap, CFbsBitmap* aDestBitmap); |
86 void ScaleBitmapToListSizeL(CFbsBitmap* aSrcBitmap, CFbsBitmap* aDestBitmap); |
87 |
87 |
88 public: |
88 public: |
89 void HandleItemChangedL(const CMPXCollectionPath& aPath,TBool aPopulateListTNs, |
89 void HandleItemChangedL(const CMPXCollectionPath& aPath,TBool aPopulateListTNs, |
90 TBool aIsRefreshNeeded, TBool aBackwardNavigation); |
90 TBool aIsRefreshNeeded, TBool aBackwardNavigation); |
91 void StartTimer(TBool aPopulateListTNs); |
91 void StartTimer(); |
92 void StopTimer(); |
92 void StopTimer(); |
93 |
93 |
94 // From MGlxMediaListObserver |
94 // From MGlxMediaListObserver |
95 void HandleItemAddedL( TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList ); |
95 void HandleItemAddedL( TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList ); |
96 void HandleItemRemovedL( TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList ); |
96 void HandleItemRemovedL( TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList ); |
130 // Thumbnail Attrib context |
130 // Thumbnail Attrib context |
131 CGlxAttributeContext* iThumbnailContext; |
131 CGlxAttributeContext* iThumbnailContext; |
132 |
132 |
133 // for thumbnail context |
133 // for thumbnail context |
134 TGlxSequentialIterator iThumbnailIterator; |
134 TGlxSequentialIterator iThumbnailIterator; |
135 |
135 |
136 // Preview thumbnail index |
|
137 TInt iProgressIndex; |
|
138 |
|
139 // flag that says whether timer has expired |
136 // flag that says whether timer has expired |
140 TBool iTimerTicked; |
137 TBool iTimerTicked; |
141 |
138 |
142 //flag will be true, when initially the first thumbnails for all the |
139 //flag will be true, when initially the first thumbnails for all the |
143 //items in the list are populated. |
140 //items in the list are populated. |
144 TBool iPopulateListTNs; |
141 TBool iPopulateListTNs; |
145 |
142 |
146 TBool iIsRefreshNeeded; |
143 TBool iIsRefreshNeeded; |
147 |
|
148 //it holds the initial number of thumbnail to be displayed |
|
149 RArray<TInt> iPreviewItemCount; |
|
150 |
144 |
151 TSize iGridIconSize; |
145 TSize iGridIconSize; |
152 |
146 |
153 // Holds the numbers of trials count,after which PreviewTNReady callback |
147 // Holds the numbers of trials count,after which PreviewTNReady callback |
154 // has to be called |
148 // has to be called |
155 TInt iTrialCount; |
149 TInt iTrialCount; |
156 |
|
157 TInt iTrial; |
|
158 |
150 |
159 CMPXFilter* iPreviewFilter; |
151 CMPXFilter* iPreviewFilter; |
160 }; |
152 }; |
161 |
153 |
162 #endif //_GLXPREVIEWTHUMBNAILBINDING_H_ |
154 #endif //_GLXPREVIEWTHUMBNAILBINDING_H_ |