summaryrefslogtreecommitdiff
path: root/core/proto/android/view/viewrootimpl.proto
blob: 181b2bbc987cd0cb14599f78e444c375d2d967f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * Copyright (C) 2020 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

syntax = "proto2";

import "frameworks/base/core/proto/android/graphics/rect.proto";
import "frameworks/base/core/proto/android/view/displaycutout.proto";
import "frameworks/base/core/proto/android/view/windowlayoutparams.proto";

package android.view;

option java_multiple_files = true;

/**
 * Represents a {@link android.view.ViewRootImpl} object.
 */
message ViewRootImplProto {
    optional string view = 1;
    optional int32 display_id = 2;
    optional bool app_visible = 3;
    optional int32 width = 4;
    optional int32 height = 5;
    optional bool is_animating = 6;
    optional .android.graphics.RectProto visible_rect = 7;
    optional bool is_drawing = 8;
    optional bool added = 9;
    optional .android.graphics.RectProto win_frame = 10;
    optional DisplayCutoutProto pending_display_cutout = 11 [deprecated=true];
    optional string last_window_insets = 12;
    optional string soft_input_mode = 13;
    optional int32 scroll_y = 14;
    optional int32 cur_scroll_y = 15;
    optional bool removed = 16;
    optional .android.view.WindowLayoutParamsProto window_attributes = 17;
}