author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 14 Sep 2010 20:58:58 +0300 | |
branch | RCL_3 |
changeset 88 | 3321d3e205b6 |
parent 83 | 5456b4e8b3a8 |
child 102 | ba63c83f4716 |
permissions | -rw-r--r-- |
83 | 1 |
/* |
2 |
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 |
* All rights reserved. |
|
4 |
* This component and the accompanying materials are made available |
|
5 |
* under the terms of "Eclipse Public License v1.0" |
|
6 |
* which accompanies this distribution, and is available |
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
* |
|
9 |
* Initial Contributors: |
|
10 |
* Nokia Corporation - initial contribution. |
|
11 |
* |
|
12 |
* Contributors: |
|
13 |
* |
|
14 |
* Description: |
|
88
3321d3e205b6
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
83
diff
changeset
|
15 |
* Version : %version: MM_45 % << Don't touch! Updated by Synergy at check-out. |
83 | 16 |
* |
17 |
*/ |
|
18 |
||
19 |
#include <AknUtils.h> |
|
20 |
||
21 |
#include "mmdraweranimator.h" |
|
22 |
#include "mmlistboxitemdrawer.h" |
|
23 |
#include "mmfloatingitem.h" |
|
24 |
#include "mmwidgetcontainer.h" |
|
25 |
||
26 |
// ----------------------------------------------------------------------------- |
|
27 |
// |
|
28 |
// ----------------------------------------------------------------------------- |
|
29 |
// |
|
30 |
CMmDrawerAnimator::CMmDrawerAnimator( CMmListBoxItemDrawer& aDrawer ) : |
|
31 |
CActive( AknLayoutUtils::PenEnabled() |
|
32 |
? EPriorityAbsoluteVeryLow |
|
33 |
: EPriorityAbsoluteRealTime8 ), iDrawer( aDrawer ), |
|
34 |
iLastNotedHighlight( KErrNotFound ), iLastNotedTopItem( KErrNotFound ), |
|
35 |
iLastNotedVerticalOffset( 0 ), |
|
36 |
iUsualAnimationFramesCount( AknLayoutUtils::PenEnabled() |
|
37 |
? MmEffects::KUsualAnimationFramesCount |
|
38 |
: MmEffects::KUsualAnimationFramesCountNonTouch ), |
|
39 |
iPreparedForGarbage( EFalse ) |
|
40 |
{ |
|
41 |
} |
|
42 |
||
43 |
// ----------------------------------------------------------------------------- |
|
44 |
// |
|
45 |
// ----------------------------------------------------------------------------- |
|
46 |
// |
|
47 |
CMmDrawerAnimator* CMmDrawerAnimator::NewLC( CMmListBoxItemDrawer& aDrawer ) |
|
48 |
{ |
|
49 |
CMmDrawerAnimator* self = new ( ELeave ) CMmDrawerAnimator( aDrawer ); |
|
50 |
CleanupStack::PushL( self ); |
|
51 |
self->ConstructL(); |
|
52 |
return self; |
|
53 |
} |
|
54 |
||
55 |
// ----------------------------------------------------------------------------- |
|
56 |
// |
|
57 |
// ----------------------------------------------------------------------------- |
|
58 |
// |
|
59 |
CMmDrawerAnimator* CMmDrawerAnimator::NewL( CMmListBoxItemDrawer& aDrawer ) |
|
60 |
{ |
|
61 |
CMmDrawerAnimator* self = CMmDrawerAnimator::NewLC( aDrawer ); |
|
62 |
CleanupStack::Pop( self ); |
|
63 |
return self; |
|
64 |
} |
|
65 |
||
66 |
// ----------------------------------------------------------------------------- |
|
67 |
// |
|
68 |
// ----------------------------------------------------------------------------- |
|
69 |
// |
|
70 |
void CMmDrawerAnimator::ConstructL() |
|
71 |
{ |
|
72 |
User::LeaveIfError( iTimer.CreateLocal() ); // Initialize timer |
|
73 |
CActiveScheduler::Add( this ); // Add to scheduler |
|
74 |
} |
|
75 |
||
76 |
// ----------------------------------------------------------------------------- |
|
77 |
// |
|
78 |
// ----------------------------------------------------------------------------- |
|
79 |
// |
|
80 |
CMmDrawerAnimator::~CMmDrawerAnimator() |
|
81 |
{ |
|
82 |
Cancel(); // Cancel any request, if outstanding |
|
83 |
iTimer.Close(); // Destroy the RTimer object |
|
84 |
// Delete instance variables if any |
|
85 |
} |
|
86 |
||
87 |
// ----------------------------------------------------------------------------- |
|
88 |
// |
|
89 |
// ----------------------------------------------------------------------------- |
|
90 |
// |
|
91 |
void CMmDrawerAnimator::DoCancel() |
|
92 |
{ |
|
93 |
iTimer.Cancel(); |
|
94 |
if( iDrawer.GetFloatingItemCount() == 0 ) |
|
95 |
{ |
|
96 |
TRAP_IGNORE(TriggerMoveItemL()); |
|
97 |
} |
|
98 |
} |
|
99 |
||
100 |
// ----------------------------------------------------------------------------- |
|
101 |
// |
|
102 |
// ----------------------------------------------------------------------------- |
|
103 |
// |
|
104 |
void CMmDrawerAnimator::RunL() |
|
105 |
{ |
|
106 |
if( iPreparedForGarbage ) |
|
107 |
{ |
|
108 |
return; |
|
109 |
} |
|
110 |
||
111 |
if( iDrawer.GetFloatingItemCount() > 0 ) |
|
112 |
{ |
|
113 |
TRect refreshRect; |
|
114 |
for( int i = 0; i < iDrawer.GetFloatingItemCount(); i++ ) |
|
115 |
{ |
|
116 |
TMmFloatingItem& current = iDrawer.GetFloatingItemAtIndex( i ); |
|
117 |
TSize itemSize = iDrawer.GetItemSize(current.GetDrawnItemIndex(), EFalse); |
|
118 |
||
119 |
TRect beforeRect( current.GetItemPosition(), itemSize ); |
|
120 |
current.MakeStep(); |
|
121 |
TRect afterRect( current.GetItemPosition(), itemSize ); |
|
122 |
||
123 |
if( ( current.GetFloatingItemType() == EDrag |
|
124 |
&& iDrawer.GetFloatingItemIndex( EDragStart ) == KErrNotFound ) |
|
125 |
|| current.GetFloatingItemType() == EDragStart ) |
|
126 |
{ |
|
127 |
TInt dragTrail = iDrawer.GetFloatingItemIndex( EPostDragRefreshItem ); |
|
128 |
if( dragTrail != KErrNotFound ) |
|
129 |
{ |
|
130 |
refreshRect = ( refreshRect == TRect() ) ? beforeRect : refreshRect; |
|
131 |
refreshRect.BoundingRect( afterRect ); |
|
132 |
static_cast<CMmWidgetContainer*> ( iDrawer.Widget()->Parent() )-> |
|
133 |
SetAllowMove( EFalse ); |
|
134 |
} |
|
135 |
} |
|
136 |
else if( ( current.GetFloatingItemType() == EDrag |
|
137 |
&& iDrawer.GetFloatingItemIndex( EDragStart ) == KErrNotFound ) |
|
138 |
|| current.GetFloatingItemType() != EDrag ) |
|
139 |
{ |
|
140 |
refreshRect = (refreshRect == TRect() ) ? beforeRect : refreshRect; |
|
141 |
refreshRect.BoundingRect( beforeRect ); |
|
142 |
refreshRect.BoundingRect( afterRect ); |
|
143 |
} |
|
88
3321d3e205b6
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
83
diff
changeset
|
144 |
if( current.GetFloatingItemType() == EPostDragRefreshItem ) |
3321d3e205b6
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
83
diff
changeset
|
145 |
{ |
3321d3e205b6
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
83
diff
changeset
|
146 |
iDrawer.RemoveFloatingItem( i-- ); |
3321d3e205b6
Revision: 201033
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
83
diff
changeset
|
147 |
} |
83 | 148 |
} |
149 |
const TInt highlightedItemIndex = iDrawer.Widget()->View()->CurrentItemIndex(); |
|
150 |
if( iLastNotedHighlight != highlightedItemIndex ) |
|
151 |
{ |
|
152 |
TRect highlightedItemRect( |
|
153 |
iDrawer.Widget()->View()->ItemPos( highlightedItemIndex ), |
|
154 |
iDrawer.Widget()->View()->ItemSize( highlightedItemIndex ) ); |
|
155 |
refreshRect.BoundingRect( highlightedItemRect ); |
|
156 |
iLastNotedHighlight = highlightedItemIndex; |
|
157 |
} |
|
158 |
||
159 |
||
160 |
TInt currentVerticalOffset = static_cast<CMmWidgetContainer*>( |
|
161 |
iDrawer.Widget()->Parent() )->VerticalItemOffset(); |
|
162 |
||
163 |
if( iLastNotedTopItem != iDrawer.Widget()->TopItemIndex() |
|
164 |
|| iLastNotedVerticalOffset != currentVerticalOffset ) |
|
165 |
{ |
|
166 |
iDrawer.Widget()->DrawNow(); |
|
167 |
iLastNotedTopItem = iDrawer.Widget()->TopItemIndex(); |
|
168 |
iLastNotedVerticalOffset = currentVerticalOffset; |
|
169 |
} |
|
170 |
else |
|
171 |
{ |
|
172 |
if( refreshRect != TRect() ) |
|
173 |
{ |
|
174 |
TRect prev( iPreviousRefreshRect ); |
|
175 |
iPreviousRefreshRect = refreshRect; |
|
176 |
refreshRect.BoundingRect( prev ); |
|
177 |
||
178 |
// expand rect if non-touch |
|
179 |
refreshRect = TRect( AdjustRefreshRectToNonTouch( refreshRect ) ); |
|
180 |
||
181 |
// never draw on the outside of widget's view rectangle |
|
182 |
refreshRect.Intersection( iDrawer.Widget()->View()->ViewRect() ); |
|
183 |
||
184 |
iDrawer.Widget()->View()->Draw( &refreshRect ); |
|
185 |
} |
|
186 |
} |
|
187 |
} |
|
188 |
||
189 |
if( iDrawer.GetFloatingItemCount() > 0 ) |
|
190 |
{ |
|
191 |
Trigger(); |
|
192 |
} |
|
193 |
else |
|
194 |
{ |
|
195 |
TriggerMoveItemL(); |
|
196 |
Cancel(); |
|
197 |
||
198 |
#ifdef RD_UI_TRANSITION_EFFECTS_LIST |
|
199 |
if( iTransTfx && iTransTfxInternal->EffectsDisabled() ) |
|
200 |
{ |
|
201 |
iTransTfx->EnableEffects( ETrue ); |
|
202 |
||
203 |
if( iTransTfx ) |
|
204 |
{ |
|
205 |
iTransTfxInternal->Remove( MAknListBoxTfxInternal::EListEverything ); |
|
206 |
iDrawer.Widget()->DrawNow(); |
|
207 |
iTransTfxInternal->Draw( iDrawer.Widget()->Rect() ); |
|
208 |
} |
|
209 |
} |
|
210 |
#endif |
|
211 |
} |
|
212 |
} |
|
213 |
||
214 |
// ----------------------------------------------------------------------------- |
|
215 |
// |
|
216 |
// ----------------------------------------------------------------------------- |
|
217 |
// |
|
218 |
TRect CMmDrawerAnimator::AdjustRefreshRectToNonTouch( const TRect& aRefreshRect ) |
|
219 |
{ |
|
220 |
TRect rect( aRefreshRect ); |
|
221 |
if( !AknLayoutUtils::PenEnabled() ) |
|
222 |
{ |
|
223 |
TRect indicatorRect( iDrawer.GetIndicatorRect() ); |
|
224 |
TSize itemSize( iDrawer.GetItemSize( |
|
225 |
iDrawer.Widget()->CurrentItemIndex(), ETrue ) ); |
|
226 |
||
227 |
TInt horizontalMargin( ( indicatorRect.Width() - itemSize.iWidth ) / 2 ); |
|
228 |
TInt verticalMargin( ( indicatorRect.Height() - itemSize.iHeight ) / 2 ); |
|
229 |
rect.Grow(horizontalMargin, verticalMargin); |
|
230 |
} |
|
231 |
return rect; |
|
232 |
} |
|
233 |
||
234 |
// ----------------------------------------------------------------------------- |
|
235 |
// |
|
236 |
// ----------------------------------------------------------------------------- |
|
237 |
// |
|
238 |
TInt CMmDrawerAnimator::Trigger() |
|
239 |
{ |
|
240 |
if( iPreparedForGarbage ) |
|
241 |
{ |
|
242 |
return KErrCancel; |
|
243 |
} |
|
244 |
||
245 |
if( !IsActive() && iDrawer.GetFloatingItemCount() > 0 ) |
|
246 |
{ |
|
247 |
#ifdef RD_UI_TRANSITION_EFFECTS_LIST |
|
248 |
iTransTfx = CAknListLoader::TfxApi( iDrawer.Gc() ); |
|
249 |
iTransTfxInternal = CAknListLoader::TfxApiInternal( iDrawer.Gc() ); |
|
250 |
||
251 |
if( iTransTfx && !iTransTfxInternal->EffectsDisabled() ) |
|
252 |
{ |
|
253 |
iTransTfx->EnableEffects( EFalse ); |
|
254 |
||
255 |
if( iTransTfxInternal ) |
|
256 |
{ |
|
257 |
iTransTfxInternal->Remove( MAknListBoxTfxInternal::EListEverything ); |
|
258 |
iTransTfxInternal->Draw( iDrawer.Widget()->Rect() ); |
|
259 |
} |
|
260 |
} |
|
261 |
#endif |
|
262 |
||
263 |
iTimer.After( iStatus, TTimeIntervalMicroSeconds32( |
|
264 |
MmEffects::KAnimationFrameDelay ) ); |
|
265 |
SetActive(); |
|
266 |
} |
|
267 |
return KErrNone; |
|
268 |
} |
|
269 |
||
270 |
// ----------------------------------------------------------------------------- |
|
271 |
// |
|
272 |
// ----------------------------------------------------------------------------- |
|
273 |
// |
|
274 |
TInt CMmDrawerAnimator::RunError( TInt aError ) |
|
275 |
{ |
|
276 |
return aError; |
|
277 |
} |
|
278 |
||
279 |
// ----------------------------------------------------------------------------- |
|
280 |
// |
|
281 |
// ----------------------------------------------------------------------------- |
|
282 |
// |
|
283 |
void CMmDrawerAnimator::AnimateDragItemTransitionL() |
|
284 |
{ |
|
285 |
if( KErrNotFound != iDrawer.GetFloatingItemIndex( EDrag ) |
|
286 |
|| KErrNotFound != iDrawer.GetFloatingItemIndex( EDragStart ) ) |
|
287 |
{ |
|
288 |
TMmFloatingItemType floatingType = |
|
289 |
iDrawer.GetFloatingItemIndex( EDrag ) != KErrNotFound |
|
290 |
? EDrag : EDragStart; |
|
291 |
TMmFloatingItem floatingItem( |
|
292 |
iDrawer.GetFloatingItemL( floatingType ).GetDrawnItemIndex(), |
|
293 |
iDrawer.GetFloatingItemL( floatingType ).GetItemPosition(), |
|
294 |
EDragTransition, floatingType == EDrag |
|
295 |
? iUsualAnimationFramesCount : MmEffects::KNoAnimationFramesCount, |
|
296 |
iDrawer.Widget()->View() ); |
|
297 |
TPoint pointEnd = iDrawer.Widget()->View()->ItemPos( floatingItem.GetDrawnItemIndex() ); |
|
298 |
floatingItem.SetPositionStep( pointEnd - floatingItem.GetItemPosition() ); |
|
299 |
iDrawer.AddFloatingItemL( floatingItem, 0 ); |
|
300 |
||
301 |
TMmFloatingItem postDragRefresh( |
|
302 |
iDrawer.GetFloatingItemL( floatingType ).GetDrawnItemIndex(), |
|
303 |
pointEnd, EPostDragRefreshItem, |
|
304 |
MmEffects::KNoAnimationFramesCount, iDrawer.Widget()->View() ); |
|
305 |
iDrawer.AddFloatingItemL( postDragRefresh ); |
|
306 |
||
307 |
iDrawer.RemoveFloatingItem( iDrawer.GetFloatingItemIndex( EDrag ) ); |
|
308 |
iDrawer.RemoveFloatingItem( iDrawer.GetFloatingItemIndex( EDragStart ) ); |
|
309 |
} |
|
310 |
} |
|
311 |
||
312 |
// ----------------------------------------------------------------------------- |
|
313 |
// |
|
314 |
// ----------------------------------------------------------------------------- |
|
315 |
// |
|
316 |
TBool CMmDrawerAnimator::IsReadyForNewAnimation() |
|
317 |
{ |
|
318 |
if( iPreparedForGarbage ) |
|
319 |
{ |
|
320 |
return EFalse; |
|
321 |
} |
|
322 |
||
323 |
for( int i = 0; i < iDrawer.GetFloatingItemCount(); i++ ) |
|
324 |
{ |
|
325 |
TMmFloatingItemType type = |
|
326 |
iDrawer.GetFloatingItemAtIndex( i ).GetFloatingItemType(); |
|
327 |
if( type != EDrag && type != EZoomTransition ) |
|
328 |
{ |
|
329 |
return EFalse; |
|
330 |
} |
|
331 |
} |
|
332 |
return ETrue; |
|
333 |
} |
|
334 |
||
335 |
// ----------------------------------------------------------------------------- |
|
336 |
// |
|
337 |
// ----------------------------------------------------------------------------- |
|
338 |
// |
|
339 |
void CMmDrawerAnimator::CancelAnimationsL() |
|
340 |
{ |
|
341 |
for( int i = 0; i < iDrawer.GetFloatingItemCount(); i++ ) |
|
342 |
{ |
|
343 |
TMmFloatingItem& current = iDrawer.GetFloatingItemAtIndex( i ); |
|
344 |
if( current.GetFloatingItemType() != EDrag ) |
|
345 |
{ |
|
346 |
current.InvalidateFloatingItem(); |
|
347 |
} |
|
348 |
} |
|
349 |
} |
|
350 |
||
351 |
// ----------------------------------------------------------------------------- |
|
352 |
// |
|
353 |
// ----------------------------------------------------------------------------- |
|
354 |
// |
|
355 |
void CMmDrawerAnimator::AnimateItemSwapL( TInt aItemFrom, TInt aItemTo ) |
|
356 |
{ |
|
357 |
TMmFloatingItem floatingItem( aItemTo, |
|
358 |
iDrawer.Widget()->View()->ItemPos( aItemFrom ), |
|
359 |
ESwapTransition, iUsualAnimationFramesCount, |
|
360 |
iDrawer.Widget()->View() ); |
|
361 |
||
362 |
for( int i = 0; i < iDrawer.GetFloatingItemCount(); i++ ) |
|
363 |
{ |
|
364 |
TMmFloatingItem& current = iDrawer.GetFloatingItemAtIndex( i ); |
|
365 |
||
366 |
if( current.GetFloatingItemType() == EZoomTransition |
|
367 |
&& current.GetDrawnItemIndex() == aItemFrom ) |
|
368 |
{ |
|
369 |
current.InvalidateFloatingItem(); |
|
370 |
floatingItem.SetSizeStep( current.GetCurrentZoomRatio(), 1.0f ); |
|
371 |
break; |
|
372 |
} |
|
373 |
} |
|
374 |
||
375 |
floatingItem.SetPositionStep( iDrawer.Widget()->View()->ItemPos(aItemTo) |
|
376 |
- iDrawer.Widget()->View()->ItemPos(aItemFrom) ); |
|
377 |
iDrawer.AddFloatingItemL( floatingItem ); |
|
378 |
} |
|
379 |
||
380 |
// ----------------------------------------------------------------------------- |
|
381 |
// |
|
382 |
// ----------------------------------------------------------------------------- |
|
383 |
// |
|
384 |
void CMmDrawerAnimator::AnimateItemZoomL( TInt aItemIndex, TBool aZoomIn ) |
|
385 |
{ |
|
386 |
TMmFloatingItem floatingItem( aItemIndex, |
|
387 |
iDrawer.Widget()->View()->ItemPos( aItemIndex ), |
|
388 |
EZoomTransition, iUsualAnimationFramesCount, |
|
389 |
iDrawer.Widget()->View() ); |
|
390 |
floatingItem.SetManualDelete( aZoomIn ); |
|
391 |
floatingItem.SetSizeStep( |
|
392 |
(aZoomIn) ? KNormalStateZoomRatio : KZoomStateZoomRatio, |
|
393 |
(aZoomIn) ? KZoomStateZoomRatio : KNormalStateZoomRatio ); |
|
394 |
||
395 |
TInt animationFound = EFalse; |
|
396 |
for( int i = 0; i < iDrawer.GetFloatingItemCount(); i++ ) |
|
397 |
{ |
|
398 |
TMmFloatingItem& current = iDrawer.GetFloatingItemAtIndex( i ); |
|
399 |
if( current.GetFloatingItemType() == EZoomTransition |
|
400 |
&& current.GetDrawnItemIndex() == aItemIndex ) |
|
401 |
{ |
|
402 |
current.InvalidateFloatingItem(); |
|
403 |
floatingItem.SetSizeStep( current.GetCurrentZoomRatio(), |
|
404 |
(aZoomIn) ? KZoomStateZoomRatio : KNormalStateZoomRatio); |
|
405 |
animationFound = ETrue; |
|
406 |
static_cast<CMmWidgetContainer*> ( iDrawer.Widget()->Parent() )-> |
|
407 |
SetAllowMove( EFalse ); |
|
408 |
break; |
|
409 |
} |
|
410 |
} |
|
411 |
||
412 |
if( ( aZoomIn != EFalse || animationFound != EFalse ) ) |
|
413 |
{ |
|
414 |
// This covers the situation, when a zoom out animation is requested |
|
415 |
// whilst no zoom in occured earlier. In this case the request is |
|
416 |
// neglected. |
|
417 |
iDrawer.AddFloatingItemL( floatingItem ); |
|
418 |
} |
|
419 |
} |
|
420 |
||
421 |
// ----------------------------------------------------------------------------- |
|
422 |
// |
|
423 |
// ----------------------------------------------------------------------------- |
|
424 |
// |
|
425 |
void CMmDrawerAnimator::SetNextRedrawToWholeScreen() |
|
426 |
{ |
|
427 |
iPreviousRefreshRect = iDrawer.Widget()->View()->ViewRect(); |
|
428 |
} |
|
429 |
||
430 |
// ----------------------------------------------------------------------------- |
|
431 |
// |
|
432 |
// ----------------------------------------------------------------------------- |
|
433 |
// |
|
434 |
void CMmDrawerAnimator::PrepareForGarbage() |
|
435 |
{ |
|
436 |
// Cancel any outstanding requests |
|
437 |
Cancel(); |
|
438 |
iPreparedForGarbage = ETrue; |
|
439 |
} |
|
440 |
||
441 |
// ----------------------------------------------------------------------------- |
|
442 |
// |
|
443 |
// ----------------------------------------------------------------------------- |
|
444 |
// |
|
445 |
void CMmDrawerAnimator::TriggerMoveItemL() |
|
446 |
{ |
|
447 |
static_cast<CMmWidgetContainer*> ( iDrawer.Widget()->Parent() )-> |
|
448 |
TriggerMoveItemL(); |
|
449 |
} |
|
450 |
||
451 |
// ----------------------------------------------------------------------------- |
|
452 |
// |
|
453 |
// ----------------------------------------------------------------------------- |
|
454 |
// |
|
455 |
void CMmDrawerAnimator::AnimateDragItemStartL( TInt aDraggedIndex, TPoint aPoint ) |
|
456 |
{ |
|
457 |
TMmFloatingItem floatingItem( |
|
458 |
aDraggedIndex, |
|
459 |
iDrawer.Widget()->View()->ItemPos( aDraggedIndex ), |
|
460 |
EDragStart, |
|
461 |
MmEffects::KUsualAnimationFramesCountNonTouch, |
|
462 |
iDrawer.Widget()->View() ); |
|
463 |
floatingItem.SetPositionStep( aPoint - floatingItem.GetItemPosition() ); |
|
464 |
iDrawer.AddFloatingItemL( floatingItem, 0 ); |
|
465 |
} |
|
466 |
//End of file |