Lines Matching refs:structure
43 public void dispatchProvideAutofillStructure(ViewStructure structure, int flags) {
45 super.dispatchProvideAutofillStructure(structure, flags);
47 onProvideAutofillVirtualStructure(structure, flags);
52 public void onProvideAutofillVirtualStructure(ViewStructure structure, int flags) {
56 populateViewStructure(this, structure);
57 onProvideAutofillVirtualStructureRecursive(this, structure);
93 private void populateViewStructure(View view, ViewStructure structure) {
104 structure.setId(view.getId(), pkg, type, entry);
106 structure.setId(view.getId(), null, null, null);
108 Rect rect = structure.getTempRect();
110 structure.setDimens(rect.left, rect.top, 0, 0, rect.width(), rect.height());
111 structure.setVisibility(VISIBLE);
112 structure.setEnabled(view.isEnabled());
114 structure.setClickable(true);
117 structure.setFocusable(true);
120 structure.setFocused(true);
123 structure.setAccessibilityFocused(true);
126 structure.setSelected(true);
129 structure.setLongClickable(true);
132 structure.setClassName(cname != null ? cname.toString() : null);
133 structure.setContentDescription(view.getContentDescription());
136 structure.setText(textView.getText(), textView.getSelectionStart(),
139 structure.setAutofillHints(view.getAutofillHints());
140 structure.setAutofillType(view.getAutofillType());
141 structure.setAutofillValue(view.getAutofillValue());