/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/ |
D | AutofillHints.java | 74 @NonNull List<String> hints) { in getFieldTypeNameFromAutofillHints() argument 75 return getFieldTypeNameFromAutofillHints(fieldTypesByAutofillHint, hints, PARTITION_ALL); in getFieldTypeNameFromAutofillHints() 80 @NonNull List<String> hints, int partition) { in getFieldTypeNameFromAutofillHints() argument 81 List<String> fieldTypeNames = removePrefixes(hints) in getFieldTypeNameFromAutofillHints() 102 private static List<String> removePrefixes(@NonNull List<String> hints) { in removePrefixes() argument 105 for (int i = 0; i < hints.size(); i++) { in removePrefixes() 106 String hint = hints.get(i); in removePrefixes() 107 if (i < hints.size() - 1) { in removePrefixes() 108 nextHint = hints.get(i + 1); in removePrefixes() 111 if (isW3cSectionPrefix(hint) && i < hints.size() - 1) { in removePrefixes() [all …]
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/simple/ |
D | SimpleAuthActivity.java | 70 String[] hints = myIntent.getStringArrayExtra(EXTRA_HINTS); in onYes() local 73 int size = hints.length; in onYes() 76 fields.put(hints[i], (AutofillId) ids[i]); in onYes() 98 @NonNull String[] hints, @NonNull AutofillId[] ids, boolean authenticateDatasets) { in newIntentSenderForResponse() argument 99 return newIntentSender(context, null, hints, ids, authenticateDatasets); in newIntentSenderForResponse() 103 @Nullable Dataset dataset, @Nullable String[] hints, @Nullable AutofillId[] ids, in newIntentSender() argument 109 intent.putExtra(EXTRA_HINTS, hints); in newIntentSender()
|
D | DebugService.java | 105 String[] hints = new String[size]; in onFillRequest() local 108 hints[i] = fields.keyAt(i); in onFillRequest() 112 IntentSender authentication = SimpleAuthActivity.newIntentSenderForResponse(this, hints, in onFillRequest() 179 String[] hints = node.getAutofillHints(); in getHint() local 180 if (hints != null) { in getHint() 182 return hints[0].toLowerCase(); in getHint()
|
D | BasicService.java | 144 String[] hints = node.getAutofillHints(); in addAutofillableFields() local 145 if (hints != null) { in addAutofillableFields() 147 String hint = hints[0].toLowerCase(); in addAutofillableFields()
|
D | MultiStepsService.java | 158 String[] hints = node.getAutofillHints(); in addAutofillableFields() local 159 if (hints != null) { in addAutofillableFields() 161 String hint = hints[0]; in addAutofillableFields()
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/ |
D | ClientAutofillDataBuilder.java | 87 String[] hints = viewNode.getAutofillHints(); in parseAutofillFields() local 88 if (hints == null || hints.length == 0) { in parseAutofillFields() 112 hints, partition, textValue, dateValue, toggleValue, in parseAutofillFields() 117 datasetWithFilledAutofillFields, @NonNull String[] hints, int partition, in appendViewMetadata() argument 120 for (int i = 0; i < hints.length; i++) { in appendViewMetadata() 121 String hint = hints[i]; in appendViewMetadata()
|
D | ClientViewMetadataBuilder.java | 76 String[] hints = root.getAutofillHints(); in parseNode() local 77 if (hints != null) { in parseNode() 78 for (String hint : hints) { in parseNode()
|
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/ |
D | AbstractCustomVirtualView.java | 227 public final String[] hints; field in AbstractCustomVirtualView.Item 234 Item(Line line, int id, String idEntry, String[] hints, int type, CharSequence text, in Item() argument 242 this.hints = hints; in Item() 253 + (hints == null ? " (no hints)" : " ( " + Arrays.toString(hints) + ")"); in toString() 372 private Line(String idEntryPrefix, int autofillType, String label, String[] hints, in Line() argument 377 this.mFieldTextItem = new Item(this, ++sNextId, idEntryPrefix + "Field", hints, in Line()
|
D | CustomVirtualView.java | 159 child.setAutofillHints(item.hints); in onProvideAutofillVirtualStructure()
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
D | CustomVirtualView.kt | 103 setAutofillHints(item.hints) in onProvideAutofillVirtualStructure() 168 private fun addLine(idEntry: String, label: String, hints: Array<String>, text: String, in addLine() 169 sanitized: Boolean) = Line(idEntry, label, hints, text, sanitized).also { in addLine() 180 val hints: Array<String>?, constant in Item 196 private inner class Line constructor(val idEntry: String, label: String, hints: Array<String>, 202 …var fieldTextItem: Item = Item(this, ++nextId, hints, View.AUTOFILL_TYPE_TEXT, text, true, sanitiz…
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/ |
D | README.md | 32 supports the hints listed [here](https://developer.android.com/reference/android/view/View.html#AUT… 92 child.setAutofillHints(item.hints)
|