blob: 49c0a290c36878002e03c870b9877c929df3a65d [file] [log] [blame]
Steven Timotiusaf03df62017-07-18 16:56:43 -07001/*
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
Yi Jinc7f93072017-09-29 15:29:38 -070017syntax = "proto2";
Steven Timotiusaf03df62017-07-18 16:56:43 -070018package android.view;
19
Joe Onorato99598ee2019-02-11 15:55:13 +000020import "frameworks/base/core/proto/android/privacy.proto";
Yi Jin0d7bc2d12018-01-23 17:35:19 -080021
Steven Timotiusaf03df62017-07-18 16:56:43 -070022option java_multiple_files = true;
23
Kweku Adams87c60a02018-06-13 12:13:52 -070024// Represents DisplayInfo. Describes the characteristics of a particular
25// logical display.
Steven Timotiusaf03df62017-07-18 16:56:43 -070026message DisplayInfoProto {
Kweku Adams21b8d262018-03-30 12:19:58 -070027 option (.android.msg_privacy).dest = DEST_AUTOMATIC;
Yi Jin0d7bc2d12018-01-23 17:35:19 -080028
Kweku Adams21b8d262018-03-30 12:19:58 -070029 optional int32 logical_width = 1;
30 optional int32 logical_height = 2;
31 optional int32 app_width = 3;
32 optional int32 app_height = 4;
Kweku Adams87c60a02018-06-13 12:13:52 -070033 // The human-readable name of the display.
34 // Eg: "Built-in Screen"
35 optional string name = 5;
Steven Timotiusaf03df62017-07-18 16:56:43 -070036}