1syntax = "proto2";
2
3package winscope.test;
4
5message RootMessage {
6  optional InputWindowInfoProto intdef_mapping_entry = 1;
7  optional WindowLayoutParamsProto window_layout_params = 2;
8}
9
10message InputWindowInfoProto {
11  optional int32 layoutParamsFlags = 1;
12}
13
14/* represents WindowManager.LayoutParams */
15message WindowLayoutParamsProto {
16    option (.android.msg_privacy).dest = DEST_AUTOMATIC;
17
18    optional int32 type = 1 [(.android.typedef) = "android.view.WindowManager.LayoutParams.WindowType"];
19    optional int32 gravity = 8 [(.android.typedef) = "android.view.Gravity.GravityFlags"];
20    optional int32 soft_input_mode = 9 [(.android.typedef) = "android.view.WindowManager.LayoutParams.SoftInputModeFlags"];
21    optional uint32 input_feature_flags = 19 [(.android.typedef) = "android.view.WindowManager.LayoutParams.InputFeatureFlags"];
22    optional uint32 flags = 24 [(.android.typedef) = "android.view.WindowManager.LayoutParams.Flags"];
23    optional uint32 system_ui_visibility_flags = 27 [(.android.typedef) = "android.view.WindowManager.LayoutParams.SystemUiVisibilityFlags"];
24    optional uint32 subtree_system_ui_visibility_flags = 28 [(.android.typedef) = "android.view.WindowManager.LayoutParams.SystemUiVisibilityFlags"];
25    optional uint32 appearance = 29 [(.android.typedef) = "android.view.WindowInsetsController.Appearance"];
26    optional uint32 behavior = 30 [(.android.typedef) = "android.view.WindowInsetsController.Behavior"];
27}
28