Home
last modified time | relevance | path

Searched refs:partition (Results 1 – 9 of 9) sorted by relevance

/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/res/raw/
Ddefault_field_types15 "partition": 1,
33 "partition": 0,
50 "partition": 3,
69 "partition": 1,
94 "partition": 0,
112 "partition": 0,
134 "partition": 0,
152 "partition": 1,
171 "partition": 2,
189 "partition": 0,
[all …]
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/
DFakeAutofillDataBuilder.java45 for (int partition : AutofillHints.PARTITIONS) { in buildDatasetsByPartition()
47 "dataset-" + datasetNumber + "." + partition, mPackageName); in buildDatasetsByPartition()
49 buildCollectionForPartition(autofillDataset, partition); in buildDatasetsByPartition()
60 AutofillDataset dataset, int partition) { in buildCollectionForPartition() argument
66 fieldTypeWithHeuristics.getFieldType().getPartition(), partition)) { in buildCollectionForPartition()
DClientAutofillDataBuilder.java57 for (int partition : AutofillHints.PARTITIONS) { in buildDatasetsByPartition()
59 "dataset-" + datasetNumber + "." + partition, mPackageName); in buildDatasetsByPartition()
61 buildDatasetForPartition(autofillDataset, partition); in buildDatasetsByPartition()
74 int partition) { in buildDatasetForPartition() argument
79 parseAutofillFields(node, datasetWithFilledAutofillFields, partition) in buildDatasetForPartition()
86 DatasetWithFilledAutofillFields datasetWithFilledAutofillFields, int partition) { in parseAutofillFields() argument
112 hints, partition, textValue, dateValue, toggleValue, in parseAutofillFields()
117 datasetWithFilledAutofillFields, @NonNull String[] hints, int partition, in appendViewMetadata() argument
126 if (!AutofillHints.matchesPartition(fieldType.getPartition(), partition)) { in appendViewMetadata()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/
DAutofillHints.java80 @NonNull List<String> hints, int partition) { in getFieldTypeNameFromAutofillHints() argument
87 matchesPartition(fieldTypeWithHints.fieldType.getPartition(), partition)) in getFieldTypeNameFromAutofillHints()
97 public static boolean matchesPartition(int partition, int otherPartition) { in matchesPartition() argument
98 return partition == PARTITION_ALL || otherPartition == PARTITION_ALL || in matchesPartition()
99 partition == otherPartition; in matchesPartition()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/model/
DFieldType.java49 @NonNull Integer saveInfo, @NonNull Integer partition, @NonNull FakeData fakeData) { in FieldType() argument
53 mPartition = partition; in FieldType()
DDefaultFieldTypeWithHints.java57 public int partition; field in DefaultFieldTypeWithHints.DefaultFieldType
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/
DCustomVirtualView.java83 Partition partition = mPartitionsByAutofillId.get(id); in autofill() local
84 if (partition == null) { in autofill()
89 partitions.add(partition.mName); in autofill()
186 protected void onLineAdded(int id, Partition partition) { in onLineAdded() argument
187 mPartitionsByAutofillId.put(id, partition); in onLineAdded()
DAbstractCustomVirtualView.java190 Partition partition = new Partition(name); in addPartition() local
191 mPartitionsByName.put(name, partition); in addPartition()
192 return partition; in addPartition()
200 protected void onLineAdded(int id, Partition partition) { in onLineAdded() argument
201 if (VERBOSE) Log.v(TAG, "onLineAdded: id=" + id + ", partition=" + partition); in onLineAdded()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/db/
DAutofillDatabase.java102 defaultFieldType.saveInfo, defaultFieldType.partition, fakeData); in saveDefaultFieldTypes()