예제 #1
0
 @Override
 protected void finalize() throws Throwable {
   try {
     recycle();
   } finally {
     super.finalize();
   }
 }
예제 #2
0
 private GifAnimationMetaData(final GifInfoHandle gifInfoHandle) {
   mLoopCount = gifInfoHandle.getLoopCount();
   mDuration = gifInfoHandle.getDuration();
   mWidth = gifInfoHandle.getWidth();
   mHeight = gifInfoHandle.getHeight();
   mImageCount = gifInfoHandle.getNumberOfFrames();
   gifInfoHandle.recycle();
 }