austgl / gifview

Automatically exported from code.google.com/p/gifview
0 stars 0 forks source link

I would like to share some changes I made to your code #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I added some features to your code and would like to share them back with you 
in case you want to incorporate any of them:
* added GifDecoder.playInReverse() method to reverse frames after reading them 
so that animation can be reverse.
* added corresponding GifView.playInReverse() method
* added GifView.setFullScreen() so that view will take up entire screen and 
then can be positioned in it
* added GifView.setNumberLoops() so that the view will stop drawing after a set 
number of loops of animation, optionally notifying caller when done.
* added another GifView.setShowDimension() that takes a double scale argument 
so that the animation can be easily scaled while preserving the aspect ration.
* added setPositionArea() to allow specifying where on full screen the 
animation will be drawn.  (probably better handled through LayoutParams - this 
was quick and dirty to get desired behavior)
* added setCoordinates to specify where the animation will be drawn.
* added setSpeed() to control how fast animation plays
* added setDrawingListener so caller can be notified of drawing start/finish 
events.
** added GifDrawingListener interface so that GifView user can be notified of 
drawing start and drawing finished events.

I hope you find some of this useful!  I hacked it together pretty quick, and 
haven't really cleaned it up after I got all the desired functionality.  

Original issue reported on code.google.com by mr.jerem...@gmail.com on 22 Aug 2011 at 6:17

Attachments:

GoogleCodeExporter commented 8 years ago
can you share your jar packge with your code changes for me? I'm interested for 
the function to control gif animation speed new feature. Thanks!

Original comment by Embedded...@gmail.com on 18 Sep 2011 at 2:41

GoogleCodeExporter commented 8 years ago
I didn't see the auto generated comment from my reply email here, so pasting it 
in case it didn't come through to you:
Hey,

I did share the code already in a .rar file, attached to the issue:
http://gifview.googlecode.com/issues/attachment?aid=50000000&name=changes.rar&to
ken=d46db0cd8a0e9984cdb4ea5a1cf72b13

Jeremy

- Hide quoted text -
On Sep 17, 2011 7:41 PM, <gifview@googlecode.com> wrote:
> 
> Comment #1 on issue 5 by Embedded...@gmail.com: I would like to share some 
> changes I made to your code
> http://code.google.com/p/gifview/issues/detail?id=5
> 
> can you share your jar packge with your code changes for me? I'm interested 
> for the function to control gif animation speed new feature. Thanks!
> 
> -- 
> You received this message because you starred the issue.
> You may adjust your notification preferences at:
> https://code.google.com/hosting/settings
> 
> Reply to this email to add a comment.

Original comment by mr.jerem...@gmail.com on 19 Sep 2011 at 9:48

GoogleCodeExporter commented 8 years ago
very good proposal,i'll add some function what i feel userful.

Original comment by cy.liao...@gmail.com on 25 Apr 2012 at 8:50