有主体新增网站,海南省两学一做网站,花生壳怎么发布自己做的网站,四川成都网站制作公司前文
Android U 多任务启动分屏——Launcher流程#xff08;下分屏#xff09; 前文说到通过ISplitScreen接口跨进程调用到了SystemUI进程#xff0c;我们继续分析分屏在systemui中的实现。
wmshell实现分屏
实现ISplitScreen接口
代码路径#xff1a;frameworks/base/…前文
Android U 多任务启动分屏——Launcher流程下分屏 前文说到通过ISplitScreen接口跨进程调用到了SystemUI进程我们继续分析分屏在systemui中的实现。
wmshell实现分屏
实现ISplitScreen接口
代码路径frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/SplitScreenController.java /*** The interface for calls from outside the host process.*/BinderThreadprivate static class ISplitScreenImpl extends ISplitScreen.Stubimplements ExternalInterfaceBinder {......Overridepublic void startTasks(int taskId1, Nullable Bundle options1, int taskId2,Nullable Bundle options2, SplitPosition int splitPosition, float splitRatio,Nullable RemoteTransition remoteTransition, InstanceId instanceId) {executeRemoteCallWithTaskPermission(mController, startTasks,(controller) - controller.mStageCoordinator.startTasks(taskId1, options1,taskId2, options2, splitPosition, splitRatio, remoteTransition,instanceId));}......}