Giter VIP home page Giter VIP logo

taskmoveonmulti-screen's Introduction

TaskMoveOnMulti-Screen

车载多屏画面拖动到另一屏幕实现
环境:aosp 13
1 move-to-other.patch ---这个实现的是多屏互动没有动画的版本
2 move-to-other-display-animation.patch ---多屏互动有动画完美支持屏幕大小一样多屏情况,屏幕大小不一样也支持
3 get_active_buffer_width.patch ---获取surfaceflinger层面layer的实际buffer大小

核心点
1、屏幕1的镜像Task创建
copyTaskBuffer = SurfaceControl.mirrorSurface(rootTask.getSurfaceControl());
2、画面移动过程,两边背景是黑的,解决方法让Activity下面的task显示
otherTopActivity.mLaunchTaskBehind = true;

taskmoveonmulti-screen's People

Contributors

ore-lingyu avatar

Watchers

 avatar

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.