Home | History | Annotate | Download | only in profview

Lines Matching refs:currentState

48   currentState : emptyState(),
51 if (mode !== main.currentState.mode) {
54 let callTreeState = Object.assign({}, main.currentState.callTree);
61 let state = Object.assign({}, main.currentState);
80 main.currentState = state;
86 if (attribution !== main.currentState.attribution) {
87 let callTreeState = Object.assign({}, main.currentState.callTree);
89 main.currentState = setCallTreeState(main.currentState, callTreeState);
95 if (sort !== main.currentState.sort) {
96 let callTreeState = Object.assign({}, main.currentState.callTree);
98 main.currentState = setCallTreeState(main.currentState, callTreeState);
104 if (categories !== main.currentState.categories) {
105 let callTreeState = Object.assign({}, main.currentState.callTree);
107 main.currentState = setCallTreeState(main.currentState, callTreeState);
113 if (start !== main.currentState.start ||
114 end !== main.currentState.end) {
115 main.currentState = Object.assign({}, main.currentState);
116 main.currentState.start = start;
117 main.currentState.end = end;
123 if (file !== main.currentState.file) {
124 let lastMode = main.currentState.mode || "summary";
125 main.currentState = emptyState();
126 main.currentState.file = file;
133 if (codeId !== main.currentState.currentCodeId) {
134 main.currentState = Object.assign({}, main.currentState);
135 main.currentState.currentCodeId = codeId;
169 c.render(main.currentState);
354 this.currentState = null;
406 filterFromFilterId(this.currentState.callTree.attribution);
412 expandTreeNode(this.currentState.file, child, filter);
416 children.sort(this.sortFromId(this.currentState.callTree.sort));
438 if (this.currentState.mode !== "bottom-up") {
456 if (this.currentState.mode !== "bottom-up") {
564 let oldState = this.currentState;
567 this.currentState = null;
571 this.currentState = newState;
587 let mode = this.currentState.mode;
603 let filter = filterFromFilterId(this.currentState.callTree.attribution);
605 if (this.currentState.callTree.categories === "rt-entry") {
614 filter, this.currentState.callTree.categories === "code-type");
618 if (this.currentState.callTree.categories === "none") {
622 console.assert(this.currentState.callTree.categories === "code-type");
628 generateTree(this.currentState.file,
629 this.currentState.start,
630 this.currentState.end,
669 this.currentState = null;
699 let file = this.currentState.file;
745 let file = this.currentState.file;
789 let oldState = this.currentState;
810 this.currentState = newState;
811 this.currentState.timelineSize.width = width;
812 this.currentState.timelineSize.height = height;
816 let file = this.currentState.file;
831 let currentCodeId = this.currentState.currentCodeId;
835 let start = Math.max(this.currentState.start, firstTime);
836 let end = Math.min(this.currentState.end, lastTime);
845 filterFromFilterId(this.currentState.callTree.attribution));
1035 if (main.currentState.mode === id) return;
1036 let old = $("mode-" + main.currentState.mode);
1063 this.currentState = null;
1067 let oldState = this.currentState;
1071 this.currentState = null;
1075 this.currentState = newState;
1092 this.currentState.file, newState.start, newState.end);