We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
是的,关于 SKIA 的文档很少。您可以通过 http://code.google.com/p/skia/ 从 Skia 主页获取一些信息。并且,您可以在https://code.google.com/p 中搜索有关skia 的错误/android/issues/list 带有关键字。我认为最多的工作就是阅读代码和调试代码。
Yes,there is little doc about SKIA. You can get some information from Skia's main page from http://code.google.com/p/skia/ . And, you can search the bug's about skia in https://code.google.com/p/android/issues/list with the key word. The most work i think is reading the code and debugging the code.
您可以在此处找到文档和更多信息:https://skia.org/
You can find documentation and more info here: https://skia.org/
D/skia(2111) 的日志行: --- gOptions_mCancelID
表示已取消图像解码。当您调用BitmapFactory.Options 时,会发生这种情况。 html#requestCancelDecode()
在您的代码中。只是一些使用此方法的注意事项,
- 在 Android N 及更高版本上,此方法已被弃用,除了将
BitmapFactory.Options
对象的mCancel
字段设置为true
之外,它不会执行任何操作- 在M及以下,它将取消解码。如果这样做,您应该创建一个新的 BitmapFactory.Options 对象。
更多信息:
requestCancelDecode()
的源代码The log line of
D/skia(2111): --- gOptions_mCancelID
means that a cancel of an image decode has occurred. This happens when you callingBitmapFactory.Options.html#requestCancelDecode()
in your code.Just some notes on using this method,
- On Android N and higher this method is deprecated and does not do anything other than set the
mCancel
field of yourBitmapFactory.Options
object totrue
- On M and below, it will cancel the decode. If you do this you should create a new
BitmapFactory.Options
object.More info :
requestCancelDecode()
通过 USB 连接 Android 设备,发送
adb logcatskia:D *:S
通过命令行会将任何带有“skia”的消息设置为显示(如果它们的优先级为“D”或更高)。找到除“skia”之外的相关关键词; Logcat 的文档对该命令没有很好的解释。我正在研究一种视觉替代方案,我会将其发布在我的网站(wikipeeria)上。
With an Android device connected via USB, sending
adb logcat skia:D *:S
via command line will set any messages with 'skia' in them to show if they carry priority 'D' or above. Finding what keywords other than 'skia' to be relevant would be your bag; the documentation for Logcat leaves the command not well-explained. I am working on a visual alternative, which I'll post on my site (wikipeeria).