Home
last modified time | relevance | path

Searched refs:TreeNode (Results 1 – 3 of 3) sorted by relevance

/development/tools/winscope/src/common/
Dtree_utils.ts17 interface TreeNode { interface
19 parent?: TreeNode;
20 children?: TreeNode[];
23 type FilterType = (node: TreeNode | undefined | null) => boolean;
26 static findDescendantNode(node: TreeNode, isTargetNode: FilterType): TreeNode | undefined {
45 static findAncestorNode(node: TreeNode, isTargetNode: FilterType): TreeNode | undefined {
56 const filter = (item: TreeNode | undefined | null) => {
67 export {TreeNode, TreeUtils, FilterType};
/development/tools/winscope/src/viewers/common/
Dtree_transformer.ts16 import {FilterType, TreeNode} from 'common/tree_utils';
346 return this.filter(item as TreeNode) ?? false;
Dtree_generator.ts16 import {FilterType, TreeNode} from 'common/tree_utils';
158 private filterMatches(item?: TreeNode | null): boolean {