Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 14 of 14) sorted by relevance

/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/simple/
DDebugService.java157 String hint = getHint(node); in addAutofillableFields() local
158 if (hint != null) { in addAutofillableFields()
160 if (!fields.containsKey(hint)) { in addAutofillableFields()
161 Log.v(TAG, "Setting hint '" + hint + "' on " + id); in addAutofillableFields()
162 fields.put(hint, id); in addAutofillableFields()
164 Log.v(TAG, "Ignoring hint '" + hint + "' on " + id in addAutofillableFields()
188 String hint = inferHint(node, viewHint); in getHint() local
189 if (hint != null) { in getHint()
190 Log.d(TAG, "Found hint using view hint(" + viewHint + "): " + hint); in getHint()
191 return hint; in getHint()
[all …]
DBasicService.java89 String hint = field.getKey(); in onFillRequest() local
91 String value = i + "-" + hint; in onFillRequest()
95 String displayValue = hint.contains("password") ? "password for #" + i : value; in onFillRequest()
147 String hint = hints[0].toLowerCase(); in addAutofillableFields() local
149 if (hint != null) { in addAutofillableFields()
151 if (!fields.containsKey(hint)) { in addAutofillableFields()
152 Log.v(TAG, "Setting hint '" + hint + "' on " + id); in addAutofillableFields()
153 fields.put(hint, id); in addAutofillableFields()
155 Log.v(TAG, "Ignoring hint '" + hint + "' on " + id in addAutofillableFields()
DMultiStepsService.java92 String hint = fields.keyAt(i); in onFillRequest() local
93 switch (hint) { in onFillRequest()
116 Log.d(TAG, "Ignoring hint '" + hint + "'"); in onFillRequest()
161 String hint = hints[0]; in addAutofillableFields() local
163 if (!fields.containsKey(hint)) { in addAutofillableFields()
164 Log.v(TAG, "Setting hint '" + hint + "' on " + id); in addAutofillableFields()
165 fields.put(hint, id); in addAutofillableFields()
167 Log.v(TAG, "Ignoring hint '" + hint + "' on " + id in addAutofillableFields()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/
DAutofillHints.java106 String hint = hints.get(i); in removePrefixes() local
111 if (isW3cSectionPrefix(hint) && i < hints.size() - 1) { in removePrefixes()
113 hint = hints.get(i); in removePrefixes()
114 logd("Hint is a W3C section prefix; using %s instead", hint); in removePrefixes()
119 if (isW3cTypePrefix(hint) && nextHint != null && isW3cTypeHint(nextHint)) { in removePrefixes()
120 hint = nextHint; in removePrefixes()
122 logd("Hint is a W3C type prefix; using %s instead", hint); in removePrefixes()
124 if (isW3cAddressType(hint) && nextHint != null) { in removePrefixes()
125 hint = nextHint; in removePrefixes()
127 logd("Hint is a W3C address prefix; using %s instead", hint); in removePrefixes()
[all …]
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/
DClientAutofillDataBuilder.java121 String hint = hints[i]; in appendViewMetadata() local
123 FieldTypeWithHeuristics fieldTypeWithHeuristics = mFieldTypesByAutofillHint.get(hint); in appendViewMetadata()
132 loge("Text is invalid type for hint '%s'", hint); in appendViewMetadata()
138 loge("List is invalid type for hint '%s'", hint); in appendViewMetadata()
144 loge("Date is invalid type for hint '%s'", hint); in appendViewMetadata()
149 loge("Toggle is invalid type for hint '%s'", hint); in appendViewMetadata()
156 loge("Invalid hint: %s", hint); in appendViewMetadata()
DClientViewMetadataBuilder.java78 for (String hint : hints) { in parseNode()
79 FieldTypeWithHeuristics fieldTypeWithHints = mFieldTypesByAutofillHint.get(hint); in parseNode()
81 allHints.add(hint); in parseNode()
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/
DAutofillFieldMetadataCollection.kt49 fun getFieldsForHint(hint: String): MutableList<AutofillFieldMetadata>? { in getFieldsForHint()
50 return autofillHintsToFieldsMap[hint] in getFieldsForHint()
DAutofillFieldMetadata.kt55 for (hint in autofillHints) { in updateSaveTypeFromHints() method
56 when (hint) { in updateSaveTypeFromHints()
DAutofillHelper.kt99 fun isValidHint(hint: String): Boolean { in <lambda>()
100 when (hint) { in <lambda>()
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/model/
DFilledAutofillFieldCollection.kt58 for (hint in autofillFieldMetadataCollection.allAutofillHints) { in <lambda>() variable
59 val autofillFields = autofillFieldMetadataCollection.getFieldsForHint(hint) ?: continue in <lambda>()
63 val savedAutofillValue = hintMap[hint] in <lambda>()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/
DLocalAutofillDataSource.java219 for (AutofillHint hint : fieldType.autofillHints) { in getFieldTypeByAutofillHints()
220 hintMap.put(hint.mAutofillHint, fieldType); in getFieldTypeByAutofillHints()
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/
DREADME.md31 strings that hint to the service **what** data to fill the view with. This sample service only
/developers/build/templates/CardStream/_MODULE_/src/template/java/_PACKAGE_/cardstream/
DCard.java.ftl86 * This "type" can be used as a UI hint.
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...