Home
last modified time | relevance | path

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

/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/
DClientParser.java40 public ClientParser(@NonNull AssistStructure structure) { in ClientParser() argument
41 this(ImmutableList.of(structure)); in ClientParser()
50 for (AssistStructure structure : mStructures) { in parse()
51 int nodes = structure.getWindowNodeCount(); in parse()
53 AssistStructure.ViewNode viewNode = structure.getWindowNodeAt(i).getRootViewNode(); in parse()
DAuthActivity.java149 AssistStructure structure = intent.getParcelableExtra(EXTRA_ASSIST_STRUCTURE); in onSuccess() local
150 ClientParser clientParser = new ClientParser(structure); in onSuccess()
DManualActivity.java168 AssistStructure structure = intent.getParcelableExtra(EXTRA_ASSIST_STRUCTURE); in onFieldSelected() local
169 ClientParser clientParser = new ClientParser(structure); in onFieldSelected()
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/
DMyAutofillService.kt37 val structure = request.fillContexts[request.fillContexts.size - 1].structure in onFillRequest() constant
38 val packageName = structure.activityComponent.packageName in onFillRequest()
48 val parser = StructureParser(structure) in onFillRequest()
75 val structure = context[context.size - 1].structure in onSaveRequest() constant
76 val packageName = structure.activityComponent.packageName in onSaveRequest()
84 val parser = StructureParser(structure) in onSaveRequest()
DAuthActivity.kt89 val structure = intent.getParcelableExtra<AssistStructure>(EXTRA_ASSIST_STRUCTURE) in <lambda>() constant
90 val parser = StructureParser(structure) in <lambda>()
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/
DCustomVirtualView.java140 public void onProvideAutofillVirtualStructure(ViewStructure structure, int flags) { in onProvideAutofillVirtualStructure() argument
143 structure.setClassName(getClass().getName()); in onProvideAutofillVirtualStructure()
147 + childrenSize + ", extras: " + bundleToString(structure.getExtras())); in onProvideAutofillVirtualStructure()
149 int index = structure.addChildCount(childrenSize); in onProvideAutofillVirtualStructure()
157 ViewStructure child = structure.newChild(index); in onProvideAutofillVirtualStructure()
158 child.setAutofillId(structure.getAutofillId(), item.id); in onProvideAutofillVirtualStructure()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/util/
DUtil.java104 public static void dumpStructure(AssistStructure structure) { in dumpStructure() argument
106 int nodeCount = structure.getWindowNodeCount(); in dumpStructure()
108 structure.getActivityComponent(), nodeCount); in dumpStructure()
111 WindowNode node = structure.getWindowNodeAt(i); in dumpStructure()
207 public static ViewNode findNodeByFilter(@NonNull AssistStructure structure, @NonNull Object id, in findNodeByFilter() argument
209 logv("Parsing request for activity %s", structure.getActivityComponent()); in findNodeByFilter()
210 final int nodes = structure.getWindowNodeCount(); in findNodeByFilter()
212 final WindowNode windowNode = structure.getWindowNodeAt(i); in findNodeByFilter()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/simple/
DBasicService.java71 AssistStructure structure = getLatestAssistStructure(request); in onFillRequest() local
72 Map<String, AutofillId> fields = getAutofillableFields(structure); in onFillRequest()
129 private Map<String, AutofillId> getAutofillableFields(@NonNull AssistStructure structure) { in getAutofillableFields() argument
131 int nodes = structure.getWindowNodeCount(); in getAutofillableFields()
133 ViewNode node = structure.getWindowNodeAt(i).getRootViewNode(); in getAutofillableFields()
DMultiStepsService.java78 AssistStructure structure = getLatestAssistStructure(request); in onFillRequest() local
79 ArrayMap<String, AutofillId> fields = getAutofillableFields(structure); in onFillRequest()
146 private ArrayMap<String, AutofillId> getAutofillableFields(@NonNull AssistStructure structure) { in getAutofillableFields() argument
148 int nodes = structure.getWindowNodeCount(); in getAutofillableFields()
150 ViewNode node = structure.getWindowNodeAt(i).getRootViewNode(); in getAutofillableFields()
DDebugService.java91 AssistStructure structure = getLatestAssistStructure(request); in onFillRequest() local
92 ArrayMap<String, AutofillId> fields = getAutofillableFields(structure); in onFillRequest()
142 private ArrayMap<String, AutofillId> getAutofillableFields(@NonNull AssistStructure structure) { in getAutofillableFields() argument
144 int nodes = structure.getWindowNodeCount(); in getAutofillableFields()
146 ViewNode node = structure.getWindowNodeAt(i).getRootViewNode(); in getAutofillableFields()
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/
DUtil.java95 public static void dumpStructure(AssistStructure structure) { in dumpStructure() argument
96 int nodeCount = structure.getWindowNodeCount(); in dumpStructure()
97 Log.v(TAG, "dumpStructure(): component=" + structure.getActivityComponent() in dumpStructure()
101 WindowNode node = structure.getWindowNodeAt(i); in dumpStructure()
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/
DCustomVirtualView.kt91 override fun onProvideAutofillVirtualStructure(structure: ViewStructure, flags: Int) { in onProvideAutofillVirtualStructure()
93 structure.setClassName(javaClass.name) in onProvideAutofillVirtualStructure()
96 + childrenSize + ", extras: " + bundleToString(structure.extras)) in onProvideAutofillVirtualStructure()
97 var index = structure.addChildCount(childrenSize) in onProvideAutofillVirtualStructure()
101 structure.newChild(index).apply { in onProvideAutofillVirtualStructure()
102 setAutofillId(structure.autofillId, item.id) in onProvideAutofillVirtualStructure()
/developers/build/templates/base/_MODULE_/src/template/
Dproject.properties.ftl9 # project structure.
/developers/samples/android/renderScript/BasicRenderScript/Application/
Dproject.properties8 # project structure.
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/
DREADME.md78 override fun onProvideAutofillVirtualStructure(structure: ViewStructure, flags: Int) {
80 structure.setClassName(javaClass.name)
83 + childrenSize + ", extras: " + bundleToString(structure.extras))
84 var index = structure.addChildCount(childrenSize)
90 val child = structure.newChild(index)
91 child.setAutofillId(structure, item.id)
/developers/samples/android/notification/Bubbles/
Dgradle.properties14 # AndroidX package structure to make it clearer which packages are bundled with the
/developers/build/buildSrc/src/main/groovy/com/example/android/samples/build/
DSampleGenProperties.groovy227 // Parse the xml into Freemarker's DOM structure