| 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 |
|
| 17 |
syntax = "proto2"; |
| 18 |
option java_multiple_files = true; |
| 19 |
|
| 20 |
package android.view; |
| 21 |
|
| 22 |
import "frameworks/base/core/proto/android/app/window_configuration.proto"; |
| 23 |
import "frameworks/base/core/proto/android/graphics/point.proto"; |
| 24 |
import "frameworks/base/core/proto/android/graphics/rect.proto"; |
| 25 |
import "frameworks/base/core/proto/android/view/surfacecontrol.proto"; |
| 26 |
import "frameworks/base/core/proto/android/privacy.proto"; |
| 27 |
|
| 28 |
/** Proto representation for android.view.RemoteAnimationTarget.java class. */ |
| 29 |
message RemoteAnimationTargetProto { |
| 30 |
option (android.msg_privacy).dest = DEST_AUTOMATIC; |
| 31 |
|
| 32 |
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; |
| 37 |
optional .android.graphics.RectProto content_insets = 6; |
| 38 |
optional int32 prefix_order_index = 7; |
| 39 |
// 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. |
| 42 |
optional .android.graphics.PointProto position = 8; |
| 43 |
optional .android.graphics.RectProto source_container_bounds = 9; |
| 44 |
optional .android.app.WindowConfigurationProto window_configuration = 10; |
| 45 |
optional .android.view.SurfaceControlProto start_leash = 11; |
| 46 |
optional .android.graphics.RectProto start_bounds = 12; |
| 47 |
optional .android.graphics.RectProto local_bounds = 13; |
| 48 |
optional .android.graphics.RectProto screen_space_bounds = 14; |
| 49 |
} |