1/*
2 * Copyright (C) 2018 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";
18option java_package = "android.app";
19option java_multiple_files = true;
20
21package android.view;
22
23import "frameworks/base/core/proto/android/app/window_configuration.proto";
24import "frameworks/base/core/proto/android/graphics/point.proto";
25import "frameworks/base/core/proto/android/graphics/rect.proto";
26import "frameworks/base/core/proto/android/view/surfacecontrol.proto";
27import "frameworks/base/libs/incident/proto/android/privacy.proto";
28
29/** Proto representation for RemoteAnimationTarget.java class. */
30message RemoteAnimationTargetProto {
31    option (android.msg_privacy).dest = DEST_AUTOMATIC;
32
33    optional int32 task_id = 1;
34    optional int32 mode = 2;
35    optional .android.view.SurfaceControlProto leash = 3;
36    optional bool is_translucent = 4;
37    optional .android.graphics.RectProto clip_rect = 5;
38    optional .android.graphics.RectProto contentInsets = 6;
39    optional int32 prefix_order_index = 7;
40    optional .android.graphics.PointProto position = 8;
41    optional .android.graphics.RectProto source_container_bounds = 9;
42    optional .android.app.WindowConfigurationProto window_configuration = 10;
43}
44