• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2020 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17syntax = "proto2";
18
19import "frameworks/base/core/proto/android/graphics/rect.proto";
20import "frameworks/base/core/proto/android/view/displaycutout.proto";
21import "frameworks/base/core/proto/android/view/windowlayoutparams.proto";
22
23package android.view;
24
25option java_multiple_files = true;
26
27/**
28 * Represents a {@link android.view.ViewRootImpl} object.
29 */
30message ViewRootImplProto {
31    optional string view = 1;
32    optional int32 display_id = 2;
33    optional bool app_visible = 3;
34    optional int32 width = 4;
35    optional int32 height = 5;
36    optional bool is_animating = 6;
37    optional .android.graphics.RectProto visible_rect = 7;
38    optional bool is_drawing = 8;
39    optional bool added = 9;
40    optional .android.graphics.RectProto win_frame = 10;
41    optional DisplayCutoutProto pending_display_cutout = 11 [deprecated=true];
42    optional string last_window_insets = 12;
43    optional string soft_input_mode = 13;
44    optional int32 scroll_y = 14;
45    optional int32 cur_scroll_y = 15;
46    optional bool removed = 16;
47    optional .android.view.WindowLayoutParamsProto window_attributes = 17;
48}