[android-developers] View animation cannot repeat

2014-04-06 Thread Booker
I have tried to load an animation xml to animate an ImageVIew. I set the animation to repeatMode RESERVE and set the repeat count to INFINITIE. However, it just stops after the it completes. My animation is below, I just want the view to go from left to right and then come back to left

[android-developers] Re: View animation cannot repeat

2014-04-06 Thread Booker
For more information: My imageview go from left to right and I want to come back from right to left. However, it just go back to the original position instantly. On Sunday, 6 April 2014 22:28:19 UTC+8, Booker wrote: I have tried to load an animation xml to animate an ImageVIew. I set

[android-developers] How to access and write to an Allocation in Renderscript

2012-04-17 Thread Booker
Hi, all. I am now developing a renderscript based application and I want to use it to do filter on images. I would like to ask if I can have a function to access a specific pixel of an allocation which is a bitmap? I can use rsGetElementAt() to read but any set function? -- You received this

[android-developers] Please help about Renderscript compute

2012-04-16 Thread Booker
Hi, all. I am a newbie of Android development and I am developing an app for image processing and I ported some filters to android. However, the performance is not good and I read some articles pointing renderscript is one of the way to boost performance. I read some codes but I find it too