Lines Matching refs:proto
21 Task.fromProto = function (proto: any, isActivityInTree: Boolean): Task {
22 if (proto == null) {
25 const windowContainerProto = proto.taskFragment?.windowContainer ?? proto.windowContainer; constant
33 proto.taskFragment?.activityType ?? proto.activityType,
34 proto.fillsParent,
35 toRect(proto.bounds),
36 proto.id,
37 proto.rootTaskId,
38 proto.taskFragment?.displayId,
39 toRect(proto.lastNonFullscreenBounds),
40 proto.realActivity,
41 proto.origActivity,
42 proto.resizeMode,
43 proto.resumedActivity?.title ?? "",
44 proto.animatingBounds,
45 proto.surfaceWidth,
46 proto.surfaceHeight,
47 proto.createdByOrganizer,
48 proto.taskFragment?.minWidth ?? proto.minWidth,
49 proto.taskFragment?.minHeight ?? proto.minHeight,
53 addAttributes(entry, proto);
59 function addAttributes(entry: Task, proto: any) {
60 entry.proto = proto;