blob: 24d27858bd20c35f1d9a186bff77be8c5c683647 [file] [log] [blame]
Jorim Jaggif75d1612018-02-27 15:05:21 +01001/*
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";
Jorim Jaggif75d1612018-02-27 15:05:21 +010018option java_multiple_files = true;
19
20package android.view;
21
22import "frameworks/base/core/proto/android/app/window_configuration.proto";
23import "frameworks/base/core/proto/android/graphics/point.proto";
24import "frameworks/base/core/proto/android/graphics/rect.proto";
25import "frameworks/base/core/proto/android/view/surfacecontrol.proto";
Joe Onorato99598ee2019-02-11 15:55:13 +000026import "frameworks/base/core/proto/android/privacy.proto";
Jorim Jaggif75d1612018-02-27 15:05:21 +010027
Kweku Adams87c60a02018-06-13 12:13:52 -070028/** Proto representation for android.view.RemoteAnimationTarget.java class. */
Jorim Jaggif75d1612018-02-27 15:05:21 +010029message RemoteAnimationTargetProto {
Kweku Adams21b8d262018-03-30 12:19:58 -070030 option (android.msg_privacy).dest = DEST_AUTOMATIC;
Jorim Jaggif75d1612018-02-27 15:05:21 +010031
Kweku Adams21b8d262018-03-30 12:19:58 -070032 optional int32 task_id = 1;
33 optional int32 mode = 2;
34 optional .android.view.SurfaceControlProto leash = 3;
35 optional bool is_translucent = 4;
36 optional .android.graphics.RectProto clip_rect = 5;
Kweku Adams87c60a02018-06-13 12:13:52 -070037 optional .android.graphics.RectProto content_insets = 6;
Kweku Adams21b8d262018-03-30 12:19:58 -070038 optional int32 prefix_order_index = 7;
Kweku Adams87c60a02018-06-13 12:13:52 -070039 // The source position of the app, in screen spaces coordinates. If the
40 // position of the leash is modified from the controlling app, any animation
41 // transform needs to be offset by this amount.
Kweku Adams21b8d262018-03-30 12:19:58 -070042 optional .android.graphics.PointProto position = 8;
43 optional .android.graphics.RectProto source_container_bounds = 9;
44 optional .android.app.WindowConfigurationProto window_configuration = 10;
Evan Rosky2289ba12018-11-19 18:28:18 -080045 optional .android.view.SurfaceControlProto start_leash = 11;
46 optional .android.graphics.RectProto start_bounds = 12;
Jorim Jaggif75d1612018-02-27 15:05:21 +010047}