UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

63 lines (54 loc) 2.96 kB
// // Copyright (C) 2018 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // @generated by protoc-gen-es v2.2.2 with parameter "target=ts" // @generated from file protos/perfetto/trace/android/server/surfaceanimator.proto (package perfetto.protos, syntax proto2) /* eslint-disable */ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1"; import type { AnimationAdapterProto } from "./animationadapter_pb"; import { file_protos_perfetto_trace_android_server_animationadapter } from "./animationadapter_pb"; import type { SurfaceControlProto } from "../view/surfacecontrol_pb"; import { file_protos_perfetto_trace_android_view_surfacecontrol } from "../view/surfacecontrol_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/trace/android/server/surfaceanimator.proto. */ export const file_protos_perfetto_trace_android_server_surfaceanimator: GenFile = /*@__PURE__*/ fileDesc("Cjpwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC9zZXJ2ZXIvc3VyZmFjZWFuaW1hdG9yLnByb3RvEg9wZXJmZXR0by5wcm90b3MirwEKFFN1cmZhY2VBbmltYXRvclByb3RvEjMKBWxlYXNoGAEgASgLMiQucGVyZmV0dG8ucHJvdG9zLlN1cmZhY2VDb250cm9sUHJvdG8SHwoXYW5pbWF0aW9uX3N0YXJ0X2RlbGF5ZWQYAiABKAgSQQoRYW5pbWF0aW9uX2FkYXB0ZXIYAyABKAsyJi5wZXJmZXR0by5wcm90b3MuQW5pbWF0aW9uQWRhcHRlclByb3Rv", [file_protos_perfetto_trace_android_server_animationadapter, file_protos_perfetto_trace_android_view_surfacecontrol]); /** * Represents a {@link com.android.server.wm.SurfaceAnimator} object * * @generated from message perfetto.protos.SurfaceAnimatorProto */ export type SurfaceAnimatorProto = Message<"perfetto.protos.SurfaceAnimatorProto"> & { /** * @generated from field: optional perfetto.protos.SurfaceControlProto leash = 1; */ leash?: SurfaceControlProto; /** * @generated from field: optional bool animation_start_delayed = 2; */ animationStartDelayed: boolean; /** * @generated from field: optional perfetto.protos.AnimationAdapterProto animation_adapter = 3; */ animationAdapter?: AnimationAdapterProto; }; /** * Describes the message perfetto.protos.SurfaceAnimatorProto. * Use `create(SurfaceAnimatorProtoSchema)` to create a new message. */ export const SurfaceAnimatorProtoSchema: GenMessage<SurfaceAnimatorProto> = /*@__PURE__*/ messageDesc(file_protos_perfetto_trace_android_server_surfaceanimator, 0);