Home
last modified time | relevance | path

Searched refs:highlightedItems (Results 1 – 17 of 17) sorted by relevance

/development/tools/winscope/src/viewers/viewer_view_capture/
Dpresenter.ts45 private highlightedItems: string[] = []; property in Presenter
124 this.highlightedItems,
208 if (this.highlightedItems.includes(id)) {
209 this.highlightedItems = this.highlightedItems.filter((hl) => hl !== id);
211 this.highlightedItems = [];
212 this.highlightedItems.push(id);
214 this.uiData!!.highlightedItems = this.highlightedItems;
Dui_data.ts32 public highlightedItems: string[], property in UiData
Dpresenter_test.ts80 expect(uiData.highlightedItems?.length).toEqual(0);
103 expect(uiData.highlightedItems).toEqual([]);
108 expect(uiData.highlightedItems).toContain(id);
/development/tools/winscope/src/viewers/common/
Dpresenter_input_method.ts51 protected highlightedItems: string[] = [];
113 this.uiData.highlightedItems = this.highlightedItems;
137 if (this.highlightedItems.includes(id)) {
138 this.highlightedItems = this.highlightedItems.filter((hl) => hl !== id);
140 this.highlightedItems = []; //if multi-select surfaces implemented, remove this line
141 this.highlightedItems.push(id);
143 this.uiData.highlightedItems = this.highlightedItems;
Dui_tree_utils.ts86 static isHighlighted(item: UiTreeNode, highlightedItems: string[]) {
87 return item instanceof HierarchyTreeNode && highlightedItems.includes(`${item.stableId}`);
Dime_ui_data.ts24 highlightedItems: string[] = []; property in ImeUiData
Dpresenter_input_method_test_utils.ts117 expect(uiData.highlightedItems).toEqual([]);
120 expect(uiData.highlightedItems).toContain(id);
/development/tools/winscope/src/viewers/viewer_window_manager/
Dpresenter.ts43 private highlightedItems: string[] = []; property in Presenter
116 if (this.highlightedItems.includes(id)) {
117 this.highlightedItems = this.highlightedItems.filter((hl) => hl !== id);
119 this.highlightedItems = []; //if multi-select implemented, remove this line
120 this.highlightedItems.push(id);
122 this.uiData.highlightedItems = this.highlightedItems;
167 this.uiData.highlightedItems = this.highlightedItems;
Dui_data.ts25 highlightedItems: string[] = []; property in UiData
Dpresenter_test.ts87 expect(uiData.highlightedItems?.length).toEqual(0);
119 expect(uiData.highlightedItems).toEqual([]);
122 expect(uiData.highlightedItems).toContain(id);
/development/tools/winscope/src/viewers/viewer_surface_flinger/
Dpresenter.ts42 private highlightedItems: string[] = []; property in Presenter
116 this.uiData.highlightedItems = this.highlightedItems;
138 if (this.highlightedItems.includes(id)) {
139 this.highlightedItems = this.highlightedItems.filter((hl) => hl !== id);
141 this.highlightedItems = []; //if multi-select surfaces implemented, remove this line
142 this.highlightedItems.push(id);
144 this.uiData.highlightedItems = this.highlightedItems;
Dui_data.ts26 highlightedItems: string[] = []; property in UiData
Dpresenter_test.ts79 expect(uiData.highlightedItems?.length).toEqual(0);
112 expect(uiData.highlightedItems).toEqual([]);
116 expect(uiData.highlightedItems).toContain(id);
/development/tools/winscope/src/viewers/components/
Dime_additional_properties_component.ts324 @Input() highlightedItems: string[] = [];
329 return UiTreeUtils.isHighlighted(item, this.highlightedItems);
Dtree_component.ts97 @Input() highlightedItems: string[] = [];
147 UiTreeUtils.isHighlighted(this.item, this.highlightedItems)
Dhierarchy_component.ts133 @Input() highlightedItems: string[] = [];
/development/tools/winscope/src/viewers/components/rects/
Drects_component.ts184 @Input() set highlightedItems(stableIds: string[]) { method in RectsComponent