UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

136 lines (113 loc) 4.93 kB
// // Copyright (C) 2024 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/view/viewrootimpl.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 { RectProto } from "../graphics/rect_pb"; import { file_protos_perfetto_trace_android_graphics_rect } from "../graphics/rect_pb"; import type { DisplayCutoutProto } from "./displaycutout_pb"; import { file_protos_perfetto_trace_android_view_displaycutout } from "./displaycutout_pb"; import type { WindowLayoutParamsProto } from "./windowlayoutparams_pb"; import { file_protos_perfetto_trace_android_view_windowlayoutparams } from "./windowlayoutparams_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/trace/android/view/viewrootimpl.proto. */ export const file_protos_perfetto_trace_android_view_viewrootimpl: GenFile = /*@__PURE__*/ fileDesc("CjVwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC92aWV3L3ZpZXdyb290aW1wbC5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIv8DChFWaWV3Um9vdEltcGxQcm90bxIMCgR2aWV3GAEgASgJEhIKCmRpc3BsYXlfaWQYAiABKAUSEwoLYXBwX3Zpc2libGUYAyABKAgSDQoFd2lkdGgYBCABKAUSDgoGaGVpZ2h0GAUgASgFEhQKDGlzX2FuaW1hdGluZxgGIAEoCBIwCgx2aXNpYmxlX3JlY3QYByABKAsyGi5wZXJmZXR0by5wcm90b3MuUmVjdFByb3RvEhIKCmlzX2RyYXdpbmcYCCABKAgSDQoFYWRkZWQYCSABKAgSLQoJd2luX2ZyYW1lGAogASgLMhoucGVyZmV0dG8ucHJvdG9zLlJlY3RQcm90bxJHChZwZW5kaW5nX2Rpc3BsYXlfY3V0b3V0GAsgASgLMiMucGVyZmV0dG8ucHJvdG9zLkRpc3BsYXlDdXRvdXRQcm90b0ICGAESGgoSbGFzdF93aW5kb3dfaW5zZXRzGAwgASgJEhcKD3NvZnRfaW5wdXRfbW9kZRgNIAEoCRIQCghzY3JvbGxfeRgOIAEoBRIUCgxjdXJfc2Nyb2xsX3kYDyABKAUSDwoHcmVtb3ZlZBgQIAEoCBJDChF3aW5kb3dfYXR0cmlidXRlcxgRIAEoCzIoLnBlcmZldHRvLnByb3Rvcy5XaW5kb3dMYXlvdXRQYXJhbXNQcm90bw", [file_protos_perfetto_trace_android_graphics_rect, file_protos_perfetto_trace_android_view_displaycutout, file_protos_perfetto_trace_android_view_windowlayoutparams]); /** * Represents a {@link android.view.ViewRootImpl} object * * @generated from message perfetto.protos.ViewRootImplProto */ export type ViewRootImplProto = Message<"perfetto.protos.ViewRootImplProto"> & { /** * @generated from field: optional string view = 1; */ view: string; /** * @generated from field: optional int32 display_id = 2; */ displayId: number; /** * @generated from field: optional bool app_visible = 3; */ appVisible: boolean; /** * @generated from field: optional int32 width = 4; */ width: number; /** * @generated from field: optional int32 height = 5; */ height: number; /** * @generated from field: optional bool is_animating = 6; */ isAnimating: boolean; /** * @generated from field: optional perfetto.protos.RectProto visible_rect = 7; */ visibleRect?: RectProto; /** * @generated from field: optional bool is_drawing = 8; */ isDrawing: boolean; /** * @generated from field: optional bool added = 9; */ added: boolean; /** * @generated from field: optional perfetto.protos.RectProto win_frame = 10; */ winFrame?: RectProto; /** * @generated from field: optional perfetto.protos.DisplayCutoutProto pending_display_cutout = 11 [deprecated = true]; * @deprecated */ pendingDisplayCutout?: DisplayCutoutProto; /** * @generated from field: optional string last_window_insets = 12; */ lastWindowInsets: string; /** * @generated from field: optional string soft_input_mode = 13; */ softInputMode: string; /** * @generated from field: optional int32 scroll_y = 14; */ scrollY: number; /** * @generated from field: optional int32 cur_scroll_y = 15; */ curScrollY: number; /** * @generated from field: optional bool removed = 16; */ removed: boolean; /** * @generated from field: optional perfetto.protos.WindowLayoutParamsProto window_attributes = 17; */ windowAttributes?: WindowLayoutParamsProto; }; /** * Describes the message perfetto.protos.ViewRootImplProto. * Use `create(ViewRootImplProtoSchema)` to create a new message. */ export const ViewRootImplProtoSchema: GenMessage<ViewRootImplProto> = /*@__PURE__*/ messageDesc(file_protos_perfetto_trace_android_view_viewrootimpl, 0);