/development/tools/winscope/src/parsers/ |
D | parser_view_capture.ts | 55 this.formatProperties(decodedEntry.node, this.classNames); 69 node: any /* ViewNode */, 77 const newScaleX = scaleX * node.scaleX; 78 const newScaleY = scaleY * node.scaleY; 82 (node.left + node.translationX) * scaleX + 83 (node.width * (scaleX - newScaleX)) / 2; 86 (node.top + node.translationY) * scaleY + 87 (node.height * (scaleY - newScaleY)) / 2; 88 node.boxPos = { 91 width: node.width * newScaleX, [all …]
|
/development/tools/winscope/src/test/unit/ |
D | hierarchy_tree_builder.ts | 120 const node = new HierarchyTreeNode(this.name, this.kind, this.stableId, this.children); constant 122 node.chips = this.chips; 123 node.showInFilteredView = this.showInFilteredView; 124 node.simplifyNames = this.simplifyNames; 127 node.id = this.id; 131 node.diffType = this.diffType; 135 node.displayId = this.displayId; 139 node.layerId = this.layerId; 143 node.stackId = this.stackId; 147 node.isVisible = this.isVisible; [all …]
|
/development/tools/winscope/src/viewers/common/ |
D | tree_generator.ts | 29 type GetNodeIdCallbackType = (node: TraceTreeNode | null) => string | null; 88 this.getNodeId = (node: TraceTreeNode | null) => { 89 const id = getNodeId ? getNodeId(node) : this.defaultNodeIdCallback(node); 91 console.error('Null node ID for node', node); 272 node: TraceTreeNode, 277 const nodeId: string = this.getNodeId!(node)!; 282 acc.set(nodeId, node); 284 if (node.children) { 285 for (const child of node.children) { 292 private cloneDiffTreeNode(node: TraceTreeNode | null): TraceTreeNode | null { [all …]
|
D | tree_generator_test.ts | 112 .withUniqueNodeId((node: any) => { 113 if (node) return node.stableId; 184 .withUniqueNodeId((node: any) => { 185 if (node) return node.stableId;
|
/development/tools/winscope/src/common/ |
D | tree_utils.ts | 23 type FilterType = (node: TreeNode | undefined | null) => boolean; 26 static findDescendantNode(node: TreeNode, isTargetNode: FilterType): TreeNode | undefined { 27 if (isTargetNode(node)) { 28 return node; 31 if (!node.children) { 35 for (const child of node.children) { 45 static findAncestorNode(node: TreeNode, isTargetNode: FilterType): TreeNode | undefined { 46 let ancestor = node.parent;
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceNetworkViews.java | 77 public MonkeyCommandReturn query(AccessibilityNodeInfo node, List<String> args); in query() argument 164 AccessibilityNodeInfo node = sUiTestAutomationBridge.getRootInActiveWindow(); in translateCommand() local 167 if (node == null) { in translateCommand() 170 String packageName = node.getPackageName().toString(); in translateCommand() 202 AccessibilityNodeInfo node; in translateCommand() local 207 node = getNodeByViewId(command.get(2)); in translateCommand() 215 node = getNodeByAccessibilityIds(command.get(2), command.get(3)); in translateCommand() 224 if (node == null) { in translateCommand() 229 return getter.query(node, args); in translateCommand() 245 AccessibilityNodeInfo node = sUiTestAutomationBridge.getRootInActiveWindow(); in translateCommand() local [all …]
|
/development/tools/winscope/src/viewers/viewer_view_capture/ |
D | presenter.ts | 133 function inner(node: any /* ViewNode */) { 135 topLeft: new Point(node.boxPos.left, node.boxPos.top), 137 node.boxPos.left + node.boxPos.width, 138 node.boxPos.top + node.boxPos.height 142 isVisible: node.isVisible, 145 id: node.id, 150 depth: node.depth, 153 node.children.forEach((it: any) /* ViewNode */ => inner(it)); 155 if (this.selectedFrameData?.node) { 156 inner(this.selectedFrameData.node); [all …]
|
/development/samples/InlineFillService/src/com/example/android/inlinefillservice/ |
D | Helper.java | 78 AssistStructure.ViewNode node = structure.getWindowNodeAt(i).getRootViewNode(); in getAutofillableFields() local 79 addAutofillableFields(fields, node); in getAutofillableFields() 101 @NonNull AssistStructure.ViewNode node) { in addAutofillableFields() argument 102 if (node.getAutofillType() == View.AUTOFILL_TYPE_TEXT) { in addAutofillableFields() 103 if (!fields.containsValue(node.getAutofillId())) { in addAutofillableFields() 105 if (node.getHint() != null) { in addAutofillableFields() 106 key = node.getHint().toLowerCase(); in addAutofillableFields() 107 } else if (node.getAutofillHints() != null) { in addAutofillableFields() 108 key = node.getAutofillHints()[0].toLowerCase(); in addAutofillableFields() 110 key = node.getAutofillId().toString(); in addAutofillableFields() [all …]
|
/development/tools/line_endings/ |
D | line_endings.c | 63 Node* node = root; in main() local 64 node->buf[0] = 0; in main() 67 node->next = malloc(sizeof(Node)); in main() 68 node = node->next; in main() 69 node->next = NULL; in main() 82 strcpy(node->buf, buf); in main() 86 strcpy(node->buf, buf2); in main() 102 node = root; in main() 104 free(node); in main()
|
/development/samples/browseable/BasicMediaRouter/src/com.example.android.common.logger/ |
D | MessageOnlyLogFilter.java | 56 public void setNext(LogNode node) { in setNext() argument 57 mNext = node; in setNext()
|
/development/samples/browseable/BasicGestureDetect/src/com.example.android.common/logger/ |
D | MessageOnlyLogFilter.java | 56 public void setNext(LogNode node) { in setNext() argument 57 mNext = node; in setNext()
|
/development/samples/browseable/BasicContactables/src/com.example.android.common.logger/ |
D | MessageOnlyLogFilter.java | 56 public void setNext(LogNode node) { in setNext() argument 57 mNext = node; in setNext()
|
/development/samples/browseable/DragAndDropAcrossApps/DragSource/src/com.example.android/common/logger/ |
D | MessageOnlyLogFilter.java | 57 public void setNext(LogNode node) { in setNext() argument 58 mNext = node; in setNext()
|
/development/samples/browseable/RepeatingAlarm/src/com.example.android.common/logger/ |
D | MessageOnlyLogFilter.java | 56 public void setNext(LogNode node) { in setNext() argument 57 mNext = node; in setNext()
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.common.logger/ |
D | MessageOnlyLogFilter.java | 56 public void setNext(LogNode node) { in setNext() argument 57 mNext = node; in setNext()
|
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/logger/ |
D | MessageOnlyLogFilter.java | 56 public void setNext(LogNode node) { in setNext() argument 57 mNext = node; in setNext()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/logger/ |
D | MessageOnlyLogFilter.java | 56 public void setNext(LogNode node) { in setNext() argument 57 mNext = node; in setNext()
|
/development/samples/browseable/ElevationDrag/src/com.example.android.common/logger/ |
D | MessageOnlyLogFilter.java | 56 public void setNext(LogNode node) { in setNext() argument 57 mNext = node; in setNext()
|
/development/samples/browseable/Interpolator/src/com.example.android.common/logger/ |
D | MessageOnlyLogFilter.java | 56 public void setNext(LogNode node) { in setNext() argument 57 mNext = node; in setNext()
|
/development/samples/browseable/MediaEffects/src/com.example.android.common/logger/ |
D | MessageOnlyLogFilter.java | 56 public void setNext(LogNode node) { in setNext() argument 57 mNext = node; in setNext()
|
/development/samples/browseable/RecyclerView/src/com.example.android.common/logger/ |
D | MessageOnlyLogFilter.java | 56 public void setNext(LogNode node) { in setNext() argument 57 mNext = node; in setNext()
|
/development/samples/browseable/StorageProvider/src/com.example.android.common/logger/ |
D | MessageOnlyLogFilter.java | 56 public void setNext(LogNode node) { in setNext() argument 57 mNext = node; in setNext()
|
/development/samples/browseable/ActiveNotifications/src/com.example.android.common/logger/ |
D | MessageOnlyLogFilter.java | 56 public void setNext(LogNode node) { in setNext() argument 57 mNext = node; in setNext()
|
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.common/logger/ |
D | MessageOnlyLogFilter.java | 56 public void setNext(LogNode node) { in setNext() argument 57 mNext = node; in setNext()
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.common/logger/ |
D | MessageOnlyLogFilter.java | 56 public void setNext(LogNode node) { in setNext() argument 57 mNext = node; in setNext()
|