当前位置: 首页 > news >正文

加快门户网站建设绵阳市做公司网站

加快门户网站建设,绵阳市做公司网站,wordpress ctf,phpstudy 网站空白今天翻了下墙#xff0c;解决了一直以来的疑惑问题#xff1a;为什么Android5.0以及6.0的recovery版本#xff0c;机器人动画怎么就只有一张图片#xff1f;这个问题#xff0c;我百思不得其解#xff0c;看了很多网文#xff0c;也只是有了个概念。请参考以下文档…今天翻了下墙解决了一直以来的疑惑问题为什么Android5.0以及6.0的recovery版本机器人动画怎么就只有一张图片这个问题我百思不得其解看了很多网文也只是有了个概念。请参考以下文档这是我从谷歌Android开源网拉下来的原文:https://source.android.com/devices/tech/ota/device_codeRecovery UI imagesAndroid 5.xThe recovery user interface consists images. Ideally, users never interact with the UI: During a normal update, the phone boots into recovery, fills the installation progress bar, and boots back into the new system without input from the user. In the event of a system update problem, the only user action that can be taken is to call customer care.An image-only interface obviates the need for localization. However, as of Android 5.x the update can display a string of text (e.g. Installing system update...) along with the image. For details, see Localized recovery text.The installing animation is represented as a single PNG image with different frames of the animation interlaced by row (which is why Figure 2 appears squished). For example, for a 200x200 seven-frame animation, create a single 200x1400 image where first frame is rows 0, 7, 14, 21, ...; the second frame is rows 1, 8, 15, 22, ...; etc. The combined image includes a text chunk that indicates the number of animation frames and the number of frames per second (FPS). The toolbootable/recovery/interlace-frames.pytakes a set of input frames and combines them into the necessary composite image used by recovery.efault images are available in different densities and are located inbootable/recovery/res$DENSITY/images(e.g.,bootable/recovery/res-hdpi/images). To use a static image during installation, you need only provide the icon_installing.png image and set the number of frames in the animation to 0 (the error icon is not animated; it is always a static image).以上文档意思就是说Android5.x以上的版本机器人的动画是PNG图片和帧动画组成的我们可以使用recovery目录下的interlace-frames.py这个python脚本来进行合成具体的合成方法可以参考这位新浪网友的文章亲身试过问题已经解决那么既然可以这么来合成我就可以把android原生态的动画给换了因为这个机器人实在是丑。Android 4.x and earlierThe Android 4.x and earlier recovery UI uses the error image (shown above) and the installing animation plus several overlay images:During installation, the on-screen display is constructed by drawing the icon_installing.png image, then drawing one of the overlay frames on top of it at the proper offset. Here, a red box is superimposed to highlight where the overlay is placed on top of the base image:Subsequent frames are displayed by drawing only the next overlay image atop whats already there; the base image is not redrawn.The number of frames in the animation, desired speed, and x- and y-offsets of the overlay relative to the base are set by member variables of the ScreenRecoveryUI class. When using custom images instead of default images, override the Init() method in your subclass to change these values for your custom images (for details, see ScreenRecoveryUI). The script bootable/recovery/make-overlay.py can assist in converting a set of image frames to the base image overlay images form needed by recovery, including computing of the necessary offsets.Default images are located in bootable/recovery/res/images. To use a static image during installation, you need only provide the icon_installing.png image and set the number of frames in the animation to 0 (the error icon is not animated; it is always a static image).上面说了这么多其实也是把这上面的图片通过make-overlay.py这个python脚本来对4.x以及早期版本的android recovery的图片进行合成中间让我们看到的转转转那个overlay的效果就是上面这些组图合成的合成最终的图片存放在bootable/recovery/res/images这个路径下。
http://www.yutouwan.com/news/79930/

相关文章:

  • 怎样做号网站优化哪个网站可以免费学编程
  • 漳州建设网站wordpress pdf预览
  • 网站建设需求说明书怎么写银川360推广 网站建设
  • asp.net做网站吗虚拟主机购买网站
  • 学网站建设 去那里文登区住房和城乡建设局网站
  • dw可以做有后台的网站么用ps给旅游网站做前端网页
  • 我想做网站怎么做企业官网定制
  • 网站建设下载模板之后怎么修改wordpress分类页面不显示内容
  • 东莞网站关键字郑州铭功路网站建设
  • 网站的手机客户端怎样做python手机版
  • 途牛旅游网站建设目的网站建设使用的基本技术
  • 请问聊城做网站网站建设后应该干什么
  • 邢台做企业网站wordpress导航链接地址都是主页
  • 为什么访问外国网站速度慢qq空间做宣传网站
  • 做网站协调国内搜索引擎排名第一的是
  • 品牌网站建设预算网站加入搜索引擎怎么做
  • 灵台县住房和城乡建设局网站wordpress seo模块
  • 网站工信部不备案吗c4d培训
  • 网站设计的公司概况简介discuz网站模板
  • 如何建立一个网站英语作文机关门户网站建设意义
  • 电子商务网站设计的书甜品售卖网站网页设计
  • 营业执照上有以上除网站制作网站设计与制作前景
  • 做一个自己的免费网站吗长春网站制作小程序
  • 环保网站建设公司排名甘肃平凉建设局网站
  • 网站排名西安自己怎样做网站文章关键词内链
  • 怎么做集团网站网页设计主题内容
  • 开发高端网站建设手机做炫光头像图的网站
  • 海淀做网站的公司考虑了软件开发过程中的风险
  • 第二章 营销型网站建设测验网销是什么工作好做吗
  • 购买营销型网站c2c电子商务网站策划