Home
last modified time | relevance | path

Searched refs:rectNode (Results 1 – 4 of 4) sorted by relevance

/development/tools/winscope/src/parsers/
Draw_data_utils_test.ts115 const rectNode = assertDefined(region.getChildByName('rect')); constant
116 rectNode.addOrReplaceChild(
117 TreeNodeUtils.makeRectNode(0, 0, 1, 1, rectNode.id),
119 rectNode.addOrReplaceChild(
120 TreeNodeUtils.makeRectNode(0, 0, undefined, undefined, rectNode.id),
122 rectNode.addOrReplaceChild(
123 TreeNodeUtils.makeRectNode(undefined, undefined, 1, 1, rectNode.id),
127 rectNode.addOrReplaceChild(TreeNodeUtils.makeColorNode(0, 0, 0, 0));
/development/tools/winscope/src/trace/tree_node/
Dformatters.ts178 .forEach((rectNode: PropertyTreeNode) => {
179 res += `(${rectNode.getChildByName('left')?.getValue() ?? 0}, ${
180 rectNode.getChildByName('top')?.getValue() ?? 0
181 }, ${rectNode.getChildByName('right')?.getValue() ?? 0}, ${
182 rectNode.getChildByName('bottom')?.getValue() ?? 0
Dformatters_test.ts280 const rectNode = assertDefined(region.getChildByName('rect')); constant
281 rectNode.addOrReplaceChild(TreeNodeUtils.makeRectNode(0, 0, 1080, 2340));
/development/tools/winscope/src/parsers/surface_flinger/computations/
Dvisibility_properties_computation.ts309 private getRect(rectNode: PropertyTreeNode): Rect | undefined {
310 if (rectNode.getAllChildren().length === 0) return undefined;
311 return Rect.from(rectNode);
328 const rectNode = assertDefined( constant
331 return this.getRect(rectNode) ?? displaySize;