Home
last modified time | relevance | path

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

/development/tools/winscope/src/viewers/common/
Drect_filter_test.ts23 let rectFilter: RectFilter; variable
49 rectFilter = new RectFilter((id: string) => id);
60 expect(rectFilter.getRectIdToShowState(allRects, allRects)).toEqual(
66 expect(rectFilter.getRectIdToShowState(allRects, preFilteredRects)).toEqual(
71 rectFilter.updateRectShowState(displayRect.id, RectShowState.SHOW);
73 expect(rectFilter.getRectIdToShowState(allRects, preFilteredRects)).toEqual(
82 rectFilter.updateRectShowState(visibleContentRect.id, RectShowState.SHOW);
85 rectFilter.updateRectShowState(visibleContentRect.id, RectShowState.HIDE);
89 rectFilter.updateRectShowState(visibleContentRect.id, RectShowState.HIDE);
92 rectFilter.updateRectShowState(visibleContentRect.id, RectShowState.SHOW);
[all …]
Drects_presenter.ts27 private readonly rectFilter = new RectFilter(this.convertToKey); property in RectsPresenter
82 this.rectFilter.updateRectShowState(id, newShowState);
89 this.rectFilter.clear();
92 this.rectFilter.updateRectShowState(id, state);
103 this.rectFilter.clear();
108 this.rectIdToShowState = this.rectFilter.getRectIdToShowState(
121 return this.rectFilter.filterRects(