perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
173 lines • 6.25 kB
TypeScript
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import type { PointProto } from "../graphics/point_pb";
import type { RemoteAnimationTargetProto } from "../view/remote_animation_target_pb";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/trace/android/server/animationadapter.proto.
*/
export declare const file_protos_perfetto_trace_android_server_animationadapter: GenFile;
/**
* @generated from message perfetto.protos.AnimationAdapterProto
*/
export type AnimationAdapterProto = Message<"perfetto.protos.AnimationAdapterProto"> & {
/**
* @generated from field: optional perfetto.protos.LocalAnimationAdapterProto local = 1;
*/
local?: LocalAnimationAdapterProto;
/**
* @generated from field: optional perfetto.protos.RemoteAnimationAdapterWrapperProto remote = 2;
*/
remote?: RemoteAnimationAdapterWrapperProto;
};
/**
* Describes the message perfetto.protos.AnimationAdapterProto.
* Use `create(AnimationAdapterProtoSchema)` to create a new message.
*/
export declare const AnimationAdapterProtoSchema: GenMessage<AnimationAdapterProto>;
/**
* represents RemoteAnimationAdapterWrapper
*
* @generated from message perfetto.protos.RemoteAnimationAdapterWrapperProto
*/
export type RemoteAnimationAdapterWrapperProto = Message<"perfetto.protos.RemoteAnimationAdapterWrapperProto"> & {
/**
* @generated from field: optional perfetto.protos.RemoteAnimationTargetProto target = 1;
*/
target?: RemoteAnimationTargetProto;
};
/**
* Describes the message perfetto.protos.RemoteAnimationAdapterWrapperProto.
* Use `create(RemoteAnimationAdapterWrapperProtoSchema)` to create a new message.
*/
export declare const RemoteAnimationAdapterWrapperProtoSchema: GenMessage<RemoteAnimationAdapterWrapperProto>;
/**
* represents LocalAnimationAdapter
*
* @generated from message perfetto.protos.LocalAnimationAdapterProto
*/
export type LocalAnimationAdapterProto = Message<"perfetto.protos.LocalAnimationAdapterProto"> & {
/**
* @generated from field: optional perfetto.protos.AnimationSpecProto animation_spec = 1;
*/
animationSpec?: AnimationSpecProto;
};
/**
* Describes the message perfetto.protos.LocalAnimationAdapterProto.
* Use `create(LocalAnimationAdapterProtoSchema)` to create a new message.
*/
export declare const LocalAnimationAdapterProtoSchema: GenMessage<LocalAnimationAdapterProto>;
/**
* @generated from message perfetto.protos.AnimationSpecProto
*/
export type AnimationSpecProto = Message<"perfetto.protos.AnimationSpecProto"> & {
/**
* @generated from field: optional perfetto.protos.WindowAnimationSpecProto window = 1;
*/
window?: WindowAnimationSpecProto;
/**
* @generated from field: optional perfetto.protos.MoveAnimationSpecProto move = 2;
*/
move?: MoveAnimationSpecProto;
/**
* @generated from field: optional perfetto.protos.AlphaAnimationSpecProto alpha = 3;
*/
alpha?: AlphaAnimationSpecProto;
/**
* @generated from field: optional perfetto.protos.RotationAnimationSpecProto rotate = 4;
*/
rotate?: RotationAnimationSpecProto;
};
/**
* Describes the message perfetto.protos.AnimationSpecProto.
* Use `create(AnimationSpecProtoSchema)` to create a new message.
*/
export declare const AnimationSpecProtoSchema: GenMessage<AnimationSpecProto>;
/**
* represents WindowAnimationSpec
*
* @generated from message perfetto.protos.WindowAnimationSpecProto
*/
export type WindowAnimationSpecProto = Message<"perfetto.protos.WindowAnimationSpecProto"> & {
/**
* @generated from field: optional string animation = 1;
*/
animation: string;
};
/**
* Describes the message perfetto.protos.WindowAnimationSpecProto.
* Use `create(WindowAnimationSpecProtoSchema)` to create a new message.
*/
export declare const WindowAnimationSpecProtoSchema: GenMessage<WindowAnimationSpecProto>;
/**
* represents MoveAnimationSpec
*
* @generated from message perfetto.protos.MoveAnimationSpecProto
*/
export type MoveAnimationSpecProto = Message<"perfetto.protos.MoveAnimationSpecProto"> & {
/**
* @generated from field: optional perfetto.protos.PointProto from = 1;
*/
from?: PointProto;
/**
* @generated from field: optional perfetto.protos.PointProto to = 2;
*/
to?: PointProto;
/**
* @generated from field: optional int64 duration_ms = 3;
*/
durationMs: bigint;
};
/**
* Describes the message perfetto.protos.MoveAnimationSpecProto.
* Use `create(MoveAnimationSpecProtoSchema)` to create a new message.
*/
export declare const MoveAnimationSpecProtoSchema: GenMessage<MoveAnimationSpecProto>;
/**
* represents AlphaAnimationSpec
*
* @generated from message perfetto.protos.AlphaAnimationSpecProto
*/
export type AlphaAnimationSpecProto = Message<"perfetto.protos.AlphaAnimationSpecProto"> & {
/**
* @generated from field: optional float from = 1;
*/
from: number;
/**
* @generated from field: optional float to = 2;
*/
to: number;
/**
* @generated from field: optional int64 duration_ms = 3;
*/
durationMs: bigint;
};
/**
* Describes the message perfetto.protos.AlphaAnimationSpecProto.
* Use `create(AlphaAnimationSpecProtoSchema)` to create a new message.
*/
export declare const AlphaAnimationSpecProtoSchema: GenMessage<AlphaAnimationSpecProto>;
/**
* represents RotationAnimationSpec
*
* @generated from message perfetto.protos.RotationAnimationSpecProto
*/
export type RotationAnimationSpecProto = Message<"perfetto.protos.RotationAnimationSpecProto"> & {
/**
* @generated from field: optional float start_luma = 1;
*/
startLuma: number;
/**
* @generated from field: optional float end_luma = 2;
*/
endLuma: number;
/**
* @generated from field: optional int64 duration_ms = 3;
*/
durationMs: bigint;
};
/**
* Describes the message perfetto.protos.RotationAnimationSpecProto.
* Use `create(RotationAnimationSpecProtoSchema)` to create a new message.
*/
export declare const RotationAnimationSpecProtoSchema: GenMessage<RotationAnimationSpecProto>;
//# sourceMappingURL=animationadapter_pb.d.ts.map