Home
last modified time | relevance | path

Searched refs:oldTree (Results 1 – 2 of 2) sorted by relevance

/development/tools/winscope/src/utils/
Ddiff.js125 _generateDiffTree(newTree, oldTree, newTreeSiblings, oldTreeSiblings) { argument
130 const oldId = oldTree ? this.getNodeId(oldTree) : null;
171 if (oldTree && !newTreeSiblingIds.includes(oldId)) {
172 const deletedTreeDiff = this._cloneNode(oldTree);
184 deletedTreeDiff.children = this._visitChildren(null, oldTree);
190 oldTree = nextOldTree;
195 if (this.isModified && this.isModified(newTree, oldTree)) {
200 diffTree.children = this._visitChildren(newTree, oldTree);
202 } else if (oldTree) {
205 const diffTree = this._cloneNode(oldTree);
[all …]
/development/tools/winscope/spec/
DDiffSpec.js17 function checkDiffTreeWithNoModifiedCheck(oldTree, newTree, expectedDiffTree) { argument
19 .compareWith(oldTree)
29 const oldTree = treeOne; constant
42 checkDiffTreeWithNoModifiedCheck(oldTree, newTree, expectedDiffTree);
46 const oldTree = treeTwo; constant
59 checkDiffTreeWithNoModifiedCheck(oldTree, newTree, expectedDiffTree);
63 const oldTree = treeTwo; constant
85 checkDiffTreeWithNoModifiedCheck(oldTree, newTree, expectedDiffTree);
89 const oldTree = new Node({ id: 1, data: "xyz" }, [ constant
107 .compareWith(oldTree)
[all …]