blob: 2006fb3d7bf1684da9f00d816ef3b0f2c2cff948 [file] [log] [blame]
Jorim Jaggif9084ec2017-01-16 13:16:59 +01001/*
2 * Copyright (C) 2017 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
17 syntax = "proto3";
18
19 package com.android.server.wm;
20
21 option java_package = "com.android.server.wm";
22 option java_outer_classname = "WindowManagerProtos";
23
24 message TaskSnapshotProto {
25 int32 orientation = 1;
26 int32 inset_left = 2;
27 int32 inset_top = 3;
28 int32 inset_right = 4;
29 int32 inset_bottom = 5;
Winson Chungf3e412e2018-03-08 11:07:40 -080030 bool is_real_snapshot = 6;
Winson Chunga4fa8d52018-04-20 15:54:51 -070031 int32 windowing_mode = 7;
Winson Chung173020c2018-05-04 15:36:47 -070032 int32 system_ui_visibility = 8;
33 bool is_translucent = 9;
Winson Chung48b25652018-10-22 14:04:30 -070034 string top_activity_component = 10;
Peter Kalauskasfe0a4132020-01-31 16:50:42 -080035 // deprecated because original width and height are stored now instead of the scale.
36 float legacy_scale = 11 [deprecated=true];
Hongwei Wang3b9bdcf2019-07-15 10:23:03 -070037 int64 id = 12;
Vinit Nayakffd9dff2019-11-05 15:20:11 -080038 int32 rotation = 13;
Peter Kalauskasfe0a4132020-01-31 16:50:42 -080039 // The task width when the snapshot was taken
40 int32 task_width = 14;
41 // The task height when the snapshot was taken
42 int32 task_height = 15;
Hongwei Wang3b9bdcf2019-07-15 10:23:03 -070043 }