LXG Blog

Rome was not built in a day.

Android P resizeTask

Android Freeform 模式窗口大小调整

Systrace System 2020-09-01 17:06:56.991 2084-2169/system_process D/LXG: dispatchResized: reportDraw: true java.lang.Throwable at com.android.server.wm.WindowState.dispatchResized...

Android 动画

Animation

Android-Animation-Set-Github Activity动画的设置过程-简书 动画 Window 动画 过渡动画 View 动画 窗口动画 在Android系统中,窗口动画的本质就是对原始窗口施加一个变换(Transformation)。 在线性数学中,对物体的形状进行变换是通过乘以一个矩阵(Matrix)来实现,目的就是对物体进行偏移、旋转、缩放...

DecorCaptionView

Freeform winfow maximize_window

效果图 布局文件-Android 9 frameworks/base/core/res/res/layout/decor_caption.xml <?xml version="1.0" encoding="utf-8"?> <com.android.internal.widget.DecorCaptionView xmlns:android="http://sc...

Android Window Draw

窗口结构、布局、绘制

Activity窗口构成和绘制解析-简书 窗口结构 APP 数据结构 uml startWindow system_process D/WWW: scheduleAddStartingWindow:java.lang.Throwable at com.android.server.wm.AppWindowContainerController.sc...

Android P WindowMode

WINDOWING_MODE_FREEFORM

Taskbar-github WindowConfiguration public class WindowConfiguration implements Parcelable, Comparable<WindowConfiguration> { /** Can be freely resized within its parent container. */ ...

Android PhoneWindowManager

WindowManagerPolicy implementation for the Android phone UI

代码 SystemServer public final class SystemServer { private void startOtherServices() { ------------------------------------------------------------------ wm = WindowM...

Android StackId

ActivityStack

Android Stack与Task-简书 android 8 Home Stack App Stack ActivityManager public class ActivityManager { public static class StackId { /** Invalid stack ID. */ public stat...

Android AMS WMS Debug

dumpsys

dumpsys activity -h Activity manager dump options: [-a] [-c] [-p PACKAGE] [-h] [WHAT] ... WHAT may be one of: a[ctivities]: activity stack state r[recents]: recent activities state ...

Android P WindowConfiguration

窗口配置

类图 代码 WindowConfiguration public class WindowConfiguration implements Parcelable, Comparable<WindowConfiguration> { /** * bounds that can differ from app bounds, which may inc...

Android Display

屏幕显示相关

Android Display的初始化-简书 单手模式的实现-简书 DMS WMS Display WindowManagerService public class WindowManagerService extends IWindowManager.Stub implements Watchdog.Monitor, WindowManagerPoli...