Giter VIP home page Giter VIP logo

framesurfaceview's People

Contributors

wisdomtl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

framesurfaceview's Issues

你好,运行代码遇到crash问题

手机系统信息:MIUI 12, Android 10

--------- beginning of crash
2020-11-05 10:31:09.593 30009-30051/taylor.com.framesurfaceview E/AndroidRuntime: FATAL EXCEPTION: DecodingThread
Process: taylor.com.framesurfaceview, PID: 30009
android.content.res.Resources$NotFoundException: File res/raw/frame18.png from drawable resource ID #0x7f0e000a
at android.content.res.ResourcesImpl.openRawResource(ResourcesImpl.java:362)
at android.content.res.MiuiResourcesImpl.openRawResource(MiuiResourcesImpl.java:170)
at android.content.res.Resources.openRawResource(Resources.java:1317)
at android.content.res.Resources.openRawResource(Resources.java:1261)
at taylor.lib.framesurfaceview.FrameSurfaceView.decodeBitmap(FrameSurfaceView.java:285)
at taylor.lib.framesurfaceview.FrameSurfaceView.putDecodedBitmap(FrameSurfaceView.java:299)
at taylor.lib.framesurfaceview.FrameSurfaceView.putDecodedBitmapByReuse(FrameSurfaceView.java:295)
at taylor.lib.framesurfaceview.FrameSurfaceView.access$000(FrameSurfaceView.java:22)
at taylor.lib.framesurfaceview.FrameSurfaceView$DecodeRunnable.run(FrameSurfaceView.java:361)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:224)
at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: java.io.FileNotFoundException: res/raw/frame18.png
at android.content.res.AssetManager.nativeOpenNonAsset(Native Method)
at android.content.res.AssetManager.openNonAsset(AssetManager.java:973)
at android.content.res.ResourcesImpl.openRawResource(ResourcesImpl.java:356)
at android.content.res.MiuiResourcesImpl.openRawResource(MiuiResourcesImpl.java:170) 
at android.content.res.Resources.openRawResource(Resources.java:1317) 
at android.content.res.Resources.openRawResource(Resources.java:1261) 
at taylor.lib.framesurfaceview.FrameSurfaceView.decodeBitmap(FrameSurfaceView.java:285) 
at taylor.lib.framesurfaceview.FrameSurfaceView.putDecodedBitmap(FrameSurfaceView.java:299) 
at taylor.lib.framesurfaceview.FrameSurfaceView.putDecodedBitmapByReuse(FrameSurfaceView.java:295) 
at taylor.lib.framesurfaceview.FrameSurfaceView.access$000(FrameSurfaceView.java:22) 
at taylor.lib.framesurfaceview.FrameSurfaceView$DecodeRunnable.run(FrameSurfaceView.java:361) 
at android.os.Handler.handleCallback(Handler.java:883) 
at android.os.Handler.dispatchMessage(Handler.java:100) 
at android.os.Looper.loop(Looper.java:224) 
at android.os.HandlerThread.run(HandlerThread.java:67) 

最后一帧清空后会闪屏

动画执行完一次之后会闪屏,然后如果把FrameSurfaceView的clearCanvas方法注释掉之后它不闪了,但是结束后会跳掉之前已经播放的帧

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.