Re: Optimize speed on Android

2018-06-27 Thread After24
I use exclusively the Greensock TweenLite library for animation. Vincent. -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Optimize speed on Android

2018-06-27 Thread Lydecker
That's what I was going to go with, thanks. Any recommendations re animations? Do you use any external libraries - or just Spark animate components in your apps (for example when you fade alpha)? Thanks -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Optimize speed on Android

2018-06-27 Thread After24
Lydecker, I would recommend to use UIComponent instead of LabelItemRenderer to make your item renderers as lightweight as possible. In My case, I create a MobileItemRender base class that extends UIComponent and implements the required interface IItemRenderer. Vincent. -- Sent from:

Re: Optimize speed on Android

2018-06-27 Thread Lydecker
Thanks for your response. (P.S I've found your posts really insightful on these forums) > I already use destructionPolicy=never on my views. It's just that initial > start up which is a killer! I might try making includeinlayout=false for > all my MXML on the view, then set them to true in

Re: Optimize speed on Android

2018-06-27 Thread After24
Hello, I also noticed that performance vary significantly on android between devices, even between devices with comparable hardware. I don't have any explanation for the data processing performance degradation when renderMode is set to gpu. Complicated views can take a while to initialize, you

Re: Optimize speed on Android

2018-06-27 Thread Lydecker
Thanks for the info - I only set 80 as that is what you recommended in your post above. But what you say about 60 makes sense. The Android thing is weird. On a Nexus 5X - everything is super smooth. Same app on a Samsung S8 - not smooth. I'm currently using MXML renderers - however following

Re: Optimize speed on Android

2018-06-26 Thread After24
Hello, Going beyond 60 for maxDragRate will not improve dragging performance. This parameter has no effect on the scrolling after the user releases his touch on the screen and the view continues to scroll due to the inertia. Using AS3 item renderers instead of mxml with flash displayObjects only

Re: Optimize speed on Android

2018-06-25 Thread Erik J. Thomas
Wow, you're really testing some great stuff to share with the community. Please let us know your conclusions on best combination of settings. You're in territory it never occurred to me to dive into. And yes, the spark List component includes a "scroller" property and that too will use the

Re: Optimize speed on Android

2018-06-25 Thread Lydecker
Yea - will do. I've created a business app (a lot of data processing and SQLite calls). Worked perfectly on iOS no issues or noticeable lag. As soon as I put it on a Galaxy S8 - slow as f***! (and I've been doing sensible renderers from the start: cacheAsBitmap, ContentCache, no nested MXML,

Re: Optimize speed on Android

2018-06-25 Thread Erik J. Thomas
No problem. I'm interested to know if you are able to improve scrolling on android with this setting. Please let me know your results and the setting you like, if you don't mind. Thanks! On Jun 25, 2018, at 11:36 AM, Lydecker wrote: Thanks for the reply - I literally just figured this out

Re: Optimize speed on Android

2018-06-25 Thread Lydecker
Thanks for the reply - I literally just figured this out before you replied! Thanks for taking the time to respond. -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Optimize speed on Android

2018-06-25 Thread Erik J. Thomas
Scroller.maxDragRate = 30; Being a static member just means you set it globally for all instances of the Scroller type in your app. Erik On Jun 25, 2018, at 6:48 AM, Lydecker wrote: How to I set maxDragRate? I can't target it on a Scroller instance as it's a static member? Thanks --

Re: Optimize speed on Android

2018-06-25 Thread Lydecker
How to I set maxDragRate? I can't target it on a Scroller instance as it's a static member? Thanks -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Optimize speed on Android

2017-06-16 Thread After24
Hi, You can optimize a bit more by setting the Color depth to 16 bit in the XML app descriptor. 16bit The gain is not huge but not neglictable if your app manipumates bitmap objects. you can also set : stage.frameRate to 60; stage.quality to StageQuality.LOW; Scroller.maxDragRate to 80

Re: Optimize speed on Android

2017-06-16 Thread agm65
thx alot! -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Optimize-speed-on-Android-tp15284p15325.html Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Optimize speed on Android

2017-06-12 Thread leokan23
Follow these guides: http://flexponential.com/2011/10/05/performance-tuning-mobile-flex-applications/ https://www.slideshare.net/mitulgolakiya/flex-mobile-application-performance-tips-on-iosandroid?qid=c17108cd-f488-44e1-b763-42ea8c6d4729==_search=1 It will help a lot. Scout will also help a

Re: Optimize speed on Android

2017-06-06 Thread Nemi
Can you find out, what or where it makes huge difference precisely? Maybe using Scout. -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Optimize-speed-on-Android-tp15284p15289.html Sent from the Apache Flex Users mailing list archive at Nabble.com.