equal
deleted
inserted
replaced
272 //needed for the non NGA case: only the old API is allowed to be used |
272 //needed for the non NGA case: only the old API is allowed to be used |
273 iDrawer=CDirectScreenAccess::NewL(TheClient->iWs,*TheClient->iScreen,win,*this); |
273 iDrawer=CDirectScreenAccess::NewL(TheClient->iWs,*TheClient->iScreen,win,*this); |
274 } |
274 } |
275 } |
275 } |
276 TheClient->Flush(); |
276 TheClient->Flush(); |
277 iTimer=CPeriodic::NewL(0); |
277 if (iId == 4) |
|
278 { |
|
279 // This clause is needed to prevent sub-test 9 from taking an |
|
280 // exceedingly large amount of time. The CColorAnimation with iId 4 is |
|
281 // the one which controls when the test stops. This raise in |
|
282 // priority compared to the other CColorAnimations, allows it's |
|
283 // callbacks to get through when otherwise they would take much longer |
|
284 // due to the volume of callbacks generated by the other |
|
285 // CColorAnimations |
|
286 iTimer=CPeriodic::NewL(1); |
|
287 } |
|
288 else |
|
289 { |
|
290 iTimer=CPeriodic::NewL(0); |
|
291 } |
278 } |
292 } |
279 |
293 |
280 TPoint CColorAnimation::AbsoluteWindowPosition(TInt aWindowId/*=0*/) |
294 TPoint CColorAnimation::AbsoluteWindowPosition(TInt aWindowId/*=0*/) |
281 { |
295 { |
282 if (iSingleWinForMultipleDSA) |
296 if (iSingleWinForMultipleDSA) |