equal
deleted
inserted
replaced
301 * Prepare the content from iArray to be shown on the screen. |
301 * Prepare the content from iArray to be shown on the screen. |
302 */ |
302 */ |
303 void RenderContentL( ); |
303 void RenderContentL( ); |
304 |
304 |
305 /** |
305 /** |
|
306 * Prepare bitmap for item. |
|
307 */ |
|
308 CGulIcon* CreateItemIconLC( CTsFswEntry* aEntry, TBool aIsScreenshot ); |
|
309 |
|
310 /** |
306 * Creates the ganes grid control. |
311 * Creates the ganes grid control. |
307 */ |
312 */ |
308 void ReCreateGridL(); |
313 void ReCreateGridL(); |
309 |
314 |
310 /** |
315 /** |
381 * |
386 * |
382 * @param aHitPoint point where tapped event is registered |
387 * @param aHitPoint point where tapped event is registered |
383 * @return ETrue if long animation is allowed for that position |
388 * @return ETrue if long animation is allowed for that position |
384 */ |
389 */ |
385 TBool LongTapAnimForPos( const TPoint& aHitPoint ); |
390 TBool LongTapAnimForPos( const TPoint& aHitPoint ); |
|
391 |
|
392 /** |
|
393 * Count grid rectangle based on given item position |
|
394 */ |
|
395 TRect CountCenteredGridRect( TPoint aItemPosition); |
386 |
396 |
387 private: // Data |
397 private: // Data |
388 |
398 |
389 // parent control |
399 // parent control |
390 CCoeControl& iParent; |
400 CCoeControl& iParent; |
456 CTsFastSwapTimer* iLongTapAnimationTimer; |
466 CTsFastSwapTimer* iLongTapAnimationTimer; |
457 TBool iLongTapAnimationRunning; |
467 TBool iLongTapAnimationRunning; |
458 |
468 |
459 // Screenshot handling |
469 // Screenshot handling |
460 RArray<TInt> iPrevScreenshots; |
470 RArray<TInt> iPrevScreenshots; |
|
471 RArray<TInt> iPrevWgIds; |
461 }; |
472 }; |
462 |
473 |
463 #endif // TSFASTSWAPAREA_H |
474 #endif // TSFASTSWAPAREA_H |