Lines Matching refs:proto

37     proto: any,
44 if (proto == null) {
52 const identifier = identifierOverride ?? proto.identifier; constant
56 const config = createConfigurationContainer(proto.configurationContainer);
60 proto.orientation,
61 proto.surfaceControl?.layerId ?? 0,
62 proto.visible,
67 addAttributes(entry, proto);
71 function addAttributes(entry: WindowContainer, proto: any) {
72 entry.proto = proto;
77 WindowContainer.childrenFromProto = function(proto: any, isActivityInTree: Boolean): WindowContaine…
78 return DisplayContent.fromProto(proto.displayContent, isActivityInTree) ??
79 DisplayArea.fromProto(proto.displayArea, isActivityInTree) ??
80 Task.fromProto(proto.task, isActivityInTree) ??
81 TaskFragment.fromProto(proto.taskFragment, isActivityInTree) ??
82 Activity.fromProto(proto.activity) ??
83 WindowToken.fromProto(proto.windowToken, isActivityInTree) ??
84 WindowState.fromProto(proto.window, isActivityInTree) ??
85 WindowContainer.fromProto(proto.windowContainer);
88 function createConfigurationContainer(proto: any): ConfigurationContainer {
90 createConfiguration(proto?.overrideConfiguration ?? null),
91 createConfiguration(proto?.fullConfiguration ?? null),
92 createConfiguration(proto?.mergedOverrideConfiguration ?? null)
99 function createConfiguration(proto: any): Configuration {
100 if (proto == null) {
105 if (proto != null && proto.windowConfiguration != null) {
106 windowConfiguration = createWindowConfiguration(proto.windowConfiguration);
111 proto?.densityDpi ?? 0,
112 proto?.orientation ?? 0,
113 proto?.screenHeightDp ?? 0,
114 proto?.screenHeightDp ?? 0,
115 proto?.smallestScreenWidthDp ?? 0,
116 proto?.screenLayout ?? 0,
117 proto?.uiMode ?? 0
121 function createWindowConfiguration(proto: any): WindowConfiguration {
123 toRect(proto.appBounds),
124 toRect(proto.bounds),
125 toRect(proto.maxBounds),
126 proto.windowingMode,
127 proto.activityType