Activity Window View
public class Activity extends ContextThemeWrapper
implements LayoutInflater.Factory2,
Window.Callback, KeyEvent.Callback,
OnCreateContextMenuListener, ComponentCallbacks2,
Window.OnWindowDismissedCallback, WindowControllerCallback,
AutofillManager.AutofillClient {
private IBinder mToken;
private Window mWindow;
final void attach(Context context, ActivityThread aThread,
Instrumentation instr, IBinder token, int ident,
Application application, Intent intent, ActivityInfo info,
CharSequence title, Activity parent, String id,
NonConfigurationInstances lastNonConfigurationInstances,
Configuration config, String referrer, IVoiceInteractor voiceInteractor,
Window window, ActivityConfigCallback activityConfigCallback) {
attachBaseContext(context);
mWindow = new PhoneWindow(this, window, activityConfigCallback);
mToken = token;
}
}
WindowManager WindowManagerImpl WindowManagerGlobal
下图引用自窗口管理-简书
AMS App WMS Token
Window 加载视图过程
Input ViewRootImpl
InputChannel
数据结构
事件处理
FEATURED TAGS
Android
debug
dumpsys
shell
linux
Permission
心理学
ubuntu
JNI
android
IMS
systemui
selinux
eSIM
androidstudio
performance
pms
wms
view
flutter
iptables
netd
property
c++
kernel
mqtt
usb
company
statusbar
docker
hardware
webrtc
recovery
web
camera
rk3288
A133
driver
rockchip
rk3399
chip
rk3588
a133
qt
t113
buildroot
AI
MCU